|
@ -36,75 +36,13 @@ export const addEditFormList = [ |
|
|
required: true, |
|
|
required: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
merge(cloneDeep(PresetFormItems.station), { |
|
|
merge(cloneDeep(PresetFormItems.startStation), { |
|
|
required: false, |
|
|
required: true, |
|
|
label: "起始桩号:", |
|
|
|
|
|
options: { |
|
|
|
|
|
options: [ |
|
|
|
|
|
{ |
|
|
|
|
|
rules: [ |
|
|
|
|
|
{ |
|
|
|
|
|
message: "请补全桩号", |
|
|
|
|
|
callback(value, data) { |
|
|
|
|
|
if (!value?.trim() && data.startStakeMark[1]?.trim()) |
|
|
|
|
|
return false; |
|
|
|
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
key: "startStakeMark[0]", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
rules: [ |
|
|
|
|
|
{ |
|
|
|
|
|
message: "请补全桩号", |
|
|
|
|
|
callback(value, data) { |
|
|
|
|
|
if (!value?.trim() && data.startStakeMark[0]?.trim()) |
|
|
|
|
|
return false; |
|
|
|
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
key: "startStakeMark[1]", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
}), |
|
|
}), |
|
|
|
|
|
merge(cloneDeep(PresetFormItems.endStation), { |
|
|
merge(cloneDeep(PresetFormItems.station), { |
|
|
required: true, |
|
|
required: false, |
|
|
|
|
|
label: "结束桩号:", |
|
|
|
|
|
options: { |
|
|
|
|
|
options: [ |
|
|
|
|
|
{ |
|
|
|
|
|
rules: [ |
|
|
|
|
|
{ |
|
|
|
|
|
message: "请补全桩号", |
|
|
|
|
|
callback(value, data) { |
|
|
|
|
|
if (!value?.trim() && data.endStakeMark[1]?.trim()) |
|
|
|
|
|
return false; |
|
|
|
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
key: "endStakeMark[0]", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
rules: [ |
|
|
|
|
|
{ |
|
|
|
|
|
message: "请补全桩号", |
|
|
|
|
|
callback(value, data) { |
|
|
|
|
|
if (!value?.trim() && data.endStakeMark[0]?.trim()) |
|
|
|
|
|
return false; |
|
|
|
|
|
else return true; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
key: "endStakeMark[1]", |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
}, |
|
|
|
|
|
}), |
|
|
}), |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: "辖区路段编号:", |
|
|
label: "辖区路段编号:", |
|
|
key: "roadCode", |
|
|
key: "roadCode", |
|
|