地图绘图数据 目的地码 代码调整

This commit is contained in:
joylink_cuiweidong 2021-02-25 15:19:22 +08:00
parent d5fb5bc94b
commit 279cbc7133

View File

@ -7,7 +7,7 @@
<el-input v-model="addModel.code" style="width: 180px;" /> <el-input v-model="addModel.code" style="width: 180px;" />
</el-form-item> </el-form-item>
<el-form-item label="运营类型" prop="type"> <el-form-item label="运营类型" prop="type">
<el-select v-model="addModel.type" clearable :filterable="true"> <el-select v-model="addModel.type" clearable :filterable="true" @change="changeType">
<el-option <el-option
v-for="item in typeList" v-for="item in typeList"
:key="item.value" :key="item.value"
@ -43,7 +43,8 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="addModel.type && addModel.type != 'NORMAL_OPERATION'" label="途径区段" prop="runPath"> <!-- && addModel.type != 'NORMAL_OPERATION' -->
<el-form-item v-if="addModel.type" label="途径区段" prop="runPath">
<el-select v-model="addModel.runPath" clearable multiple :filterable="true"> <el-select v-model="addModel.runPath" clearable multiple :filterable="true">
<el-option <el-option
v-for="item in sectionList" v-for="item in sectionList"
@ -206,6 +207,8 @@ export default {
editData() { editData() {
this.isSave = false; this.isSave = false;
}, },
changeType() {
},
setSelected(selected) { setSelected(selected) {
if (selected) { if (selected) {
if (selected._type == 'Section' && this.field == 'sectionCode1') { if (selected._type == 'Section' && this.field == 'sectionCode1') {