|
@ -114,7 +114,7 @@ export const station = { |
|
|
key: "stakeMark[1]", |
|
|
key: "stakeMark[1]", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
} |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const startStation = { |
|
|
export const startStation = { |
|
@ -132,16 +132,20 @@ export const startStation = { |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
key: "startStakeMark[0]", |
|
|
key: "startStakeMark[0]", |
|
|
default:55, |
|
|
default: "55", |
|
|
rules: [ |
|
|
rules: [ |
|
|
{ |
|
|
{ |
|
|
message: "请补全桩号", |
|
|
message: "请补全桩号", |
|
|
callback(value, data) { |
|
|
callback(value, data) { |
|
|
if (!((value+'')?.trim() && data.startStakeMark[1]?.trim())) return false |
|
|
console.log(value, data.startStakeMark); |
|
|
else return true |
|
|
if ( |
|
|
} |
|
|
!((value + "")?.trim() && (data.startStakeMark[1] + "")?.trim()) |
|
|
} |
|
|
) |
|
|
] |
|
|
return false; |
|
|
|
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
prefix: { |
|
|
prefix: { |
|
@ -150,11 +154,11 @@ export const startStation = { |
|
|
color: "#3DE8FF", |
|
|
color: "#3DE8FF", |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
default: 378, |
|
|
default: "378", |
|
|
key: "startStakeMark[1]" |
|
|
key: "startStakeMark[1]", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
} |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const endStation = { |
|
|
export const endStation = { |
|
@ -172,16 +176,19 @@ export const endStation = { |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
key: "endStakeMark[0]", |
|
|
key: "endStakeMark[0]", |
|
|
default: 208, |
|
|
default: "208", |
|
|
rules: [ |
|
|
rules: [ |
|
|
{ |
|
|
{ |
|
|
message: "请补全桩号", |
|
|
message: "请补全桩号", |
|
|
callback(value, data) { |
|
|
callback(value, data) { |
|
|
if (!((value + '')?.trim() && data.endStakeMark[1]?.trim())) return false |
|
|
if ( |
|
|
else return true |
|
|
!((value + "")?.trim() && (data.endStakeMark[1] + "")?.trim()) |
|
|
} |
|
|
) |
|
|
} |
|
|
return false; |
|
|
] |
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
prefix: { |
|
|
prefix: { |
|
@ -190,11 +197,11 @@ export const endStation = { |
|
|
color: "#3DE8FF", |
|
|
color: "#3DE8FF", |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
default: 153, |
|
|
default: "153", |
|
|
key: "endStakeMark[1]", |
|
|
key: "endStakeMark[1]", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
} |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const startEndStation = { |
|
|
export const startEndStation = { |
|
@ -345,7 +352,6 @@ export const eventLevel = { |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const laneOccupancy = { |
|
|
export const laneOccupancy = { |
|
|
label: "车道占用:", |
|
|
label: "车道占用:", |
|
|
key: "lang", |
|
|
key: "lang", |
|
@ -1238,7 +1244,7 @@ export const congestionCause = { |
|
|
label: "备注项添加", |
|
|
label: "备注项添加", |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
2 : [ |
|
|
2: [ |
|
|
{ |
|
|
{ |
|
|
key: "1", |
|
|
key: "1", |
|
|
label: "主线车流量大", |
|
|
label: "主线车流量大", |
|
@ -1247,9 +1253,9 @@ export const congestionCause = { |
|
|
key: "2", |
|
|
key: "2", |
|
|
label: "收费站出口车流量大导致主线压车", |
|
|
label: "收费站出口车流量大导致主线压车", |
|
|
}, |
|
|
}, |
|
|
] |
|
|
], |
|
|
} |
|
|
}; |
|
|
config.options.options = (value != 1 ? ad[1] : ad[2]); |
|
|
config.options.options = value != 1 ? ad[1] : ad[2]; |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|