fix:修改养护通知单值
This commit is contained in:
parent
1ecdfe7d45
commit
674c19464a
@ -84,7 +84,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="桥梁:" prop="connBridge" v-if="editForm.diseRoadPosiType !== '1'">
|
<el-form-item label="桥梁:" prop="connBridge" v-if="editForm.diseRoadPosiType !== '2'">
|
||||||
<el-select v-model="editForm.connBridge" placeholder="请选择桥梁" filterable remote clearable reserve-keyword
|
<el-select v-model="editForm.connBridge" placeholder="请选择桥梁" filterable remote clearable reserve-keyword
|
||||||
:filter-method="handleConnBridge" @change="changeConnBridge">
|
:filter-method="handleConnBridge" @change="changeConnBridge">
|
||||||
<el-option v-for="(item, index) in connBridgeList" :key="`connBridge-name-${index}`" :label="item.label"
|
<el-option v-for="(item, index) in connBridgeList" :key="`connBridge-name-${index}`" :label="item.label"
|
||||||
@ -93,7 +93,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="隧道:" prop="connTunnel" v-if="editForm.diseRoadPosiType !== '1'">
|
<el-form-item label="隧道:" prop="connTunnel" v-if="editForm.diseRoadPosiType !== '2'">
|
||||||
<el-select v-model="editForm.connTunnel" placeholder="请选择隧道" filterable remote clearable reserve-keyword
|
<el-select v-model="editForm.connTunnel" placeholder="请选择隧道" filterable remote clearable reserve-keyword
|
||||||
:filter-method="handleConnTunnel" @change="changeConnTunnel">
|
:filter-method="handleConnTunnel" @change="changeConnTunnel">
|
||||||
<el-option v-for="(item, index) in connTunnelList" :key="`connTunnel-name-${index}`" :label="item.label"
|
<el-option v-for="(item, index) in connTunnelList" :key="`connTunnel-name-${index}`" :label="item.label"
|
||||||
@ -102,7 +102,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="收费站:" prop="stationCode" v-if="editForm.diseRoadPosiType === '1'">
|
<el-form-item label="收费站:" prop="stationCode" v-if="editForm.diseRoadPosiType === '2'">
|
||||||
<el-select v-model="editForm.stationCode" placeholder="请选择收费站" filterable remote clearable reserve-keyword
|
<el-select v-model="editForm.stationCode" placeholder="请选择收费站" filterable remote clearable reserve-keyword
|
||||||
:filter-method="handleStationCode" @change="changeStationCode">
|
:filter-method="handleStationCode" @change="changeStationCode">
|
||||||
<el-option v-for="(item, index) in stationCodeList" :key="`stationCode-name-${index}`" :label="item.label"
|
<el-option v-for="(item, index) in stationCodeList" :key="`stationCode-name-${index}`" :label="item.label"
|
||||||
@ -111,7 +111,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="收费站位置:" prop="stationLocation" v-if="editForm.diseRoadPosiType === '1'">
|
<el-form-item label="收费站位置:" prop="stationLocation" v-if="editForm.diseRoadPosiType === '2'">
|
||||||
<el-select v-model="editForm.stationLocation" placeholder="请选择收费站位置" clearable>
|
<el-select v-model="editForm.stationLocation" placeholder="请选择收费站位置" clearable>
|
||||||
<el-option v-for="item in stationLocationList" :key="item.value" :label="item.label"
|
<el-option v-for="item in stationLocationList" :key="item.value" :label="item.label"
|
||||||
:value="item.value" />
|
:value="item.value" />
|
||||||
@ -138,14 +138,14 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="匝道类型:" prop="rampType" v-if="editForm.diseRoadPosiType === '2'">
|
<el-form-item label="匝道类型:" prop="rampType" v-if="editForm.diseRoadPosiType === '3'">
|
||||||
<el-select v-model="editForm.rampType" placeholder="请选择匝道类型" clearable>
|
<el-select v-model="editForm.rampType" placeholder="请选择匝道类型" clearable>
|
||||||
<el-option v-for="item in rampTypeList" :key="item.value" :label="item.label" :value="item.value" />
|
<el-option v-for="item in rampTypeList" :key="item.value" :label="item.label" :value="item.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="匝道立交:" prop="rampInterchangeCode" v-if="editForm.diseRoadPosiType === '2'">
|
<el-form-item label="匝道立交:" prop="rampInterchangeCode" v-if="editForm.diseRoadPosiType === '3'">
|
||||||
<el-select v-model="editForm.rampInterchangeCode" placeholder="请选择匝道立交" filterable remote clearable
|
<el-select v-model="editForm.rampInterchangeCode" placeholder="请选择匝道立交" filterable remote clearable
|
||||||
reserve-keyword :filter-method="handleRampIntOrientation" @change="changeRampIntOrientation">
|
reserve-keyword :filter-method="handleRampIntOrientation" @change="changeRampIntOrientation">
|
||||||
<el-option v-for="(item, index) in rampIntOrientationList" :key="`rampInterchangeCode-name-${index}`"
|
<el-option v-for="(item, index) in rampIntOrientationList" :key="`rampInterchangeCode-name-${index}`"
|
||||||
@ -154,7 +154,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="匝道立交方向:" prop="rampIntOrientation" v-if="editForm.diseRoadPosiType === '2'">
|
<el-form-item label="匝道立交方向:" prop="rampIntOrientation" v-if="editForm.diseRoadPosiType === '3'">
|
||||||
<el-select v-model="editForm.rampIntOrientation" placeholder="请选择匝道立交方向" clearable>
|
<el-select v-model="editForm.rampIntOrientation" placeholder="请选择匝道立交方向" clearable>
|
||||||
<el-option v-for="item in rampInterchangeCodeList" :key="item.value" :label="item.label"
|
<el-option v-for="item in rampInterchangeCodeList" :key="item.value" :label="item.label"
|
||||||
:value="item.value" />
|
:value="item.value" />
|
||||||
@ -509,7 +509,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
isStakeStartRequired() {
|
isStakeStartRequired() {
|
||||||
return this.editForm.diseRoadPosiType !== "2";
|
return this.editForm.diseRoadPosiType !== "3";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@ -34,6 +34,23 @@ export default {
|
|||||||
// 道路名称下拉数据
|
// 道路名称下拉数据
|
||||||
segmentList: []
|
segmentList: []
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getSegmentList()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/**
|
||||||
|
* @description: 获取路段下拉数据
|
||||||
|
* @param {*} val
|
||||||
|
* @return {*}
|
||||||
|
*/
|
||||||
|
getSegmentList() {
|
||||||
|
getSegment().then(({ code, data }) => {
|
||||||
|
if (code === 200) {
|
||||||
|
this.segmentList = data;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user