diff --git a/src/components/QueryListPage/DataForm.vue b/src/components/QueryListPage/DataForm.vue index db7ba1b40..4af6ecec0 100644 --- a/src/components/QueryListPage/DataForm.vue +++ b/src/components/QueryListPage/DataForm.vue @@ -152,10 +152,9 @@ > @@ -171,9 +170,9 @@ > @@ -187,9 +186,9 @@ > @@ -204,9 +203,9 @@ > @@ -217,12 +216,13 @@ filterable :placeholder="item.placeholder" :disabled="item.disabled" + @change="((val)=>{deviceChange(val, item)})" > @@ -386,6 +386,11 @@ export default { }, clearValidate() { this.$refs.form.clearValidate(); + }, + deviceChange(data, item) { + if (item.deviceChange) { + item.deviceChange(data); + } } } }; diff --git a/src/jmapNew/utils/parser.js b/src/jmapNew/utils/parser.js index 2fe265082..d8e53c5cd 100644 --- a/src/jmapNew/utils/parser.js +++ b/src/jmapNew/utils/parser.js @@ -62,7 +62,7 @@ export function parser(data, skinCode, showConfig) { zrUtil.each(data.sectionList || [], elem => { if (elem.type == '02' || elem.type == '03') { mapDevice[elem.code].parentName = mapDevice[elem.parentCode] ? mapDevice[elem.parentCode].name : ''; - } else if (elem.type == '01' && (elem.standTrack || elem.reentryTrack)) { + } else if (elem.type == '01' && (elem.standTrack || elem.reentryTrack) && elem.belongStation) { mapDevice[elem.belongStation].sectionCode = elem.code; } }, this); diff --git a/src/views/newMap/jointTrainingNew/index.vue b/src/views/newMap/jointTrainingNew/index.vue index ad4e7756d..9b4ca3763 100644 --- a/src/views/newMap/jointTrainingNew/index.vue +++ b/src/views/newMap/jointTrainingNew/index.vue @@ -421,8 +421,8 @@ export default { case 'AUDIENCE': this.$store.dispatch('training/setPrdType', ''); this.$store.dispatch('training/setRoles', 'AUDIENCE'); - this.jl3dmaintainershow = false; - this.drivingShow = false; + // this.jl3dmaintainershow = false; + // this.drivingShow = false; this.hideIbp(); break; case 'DRIVER': diff --git a/src/views/system/deviceManage/editConfigScreen.vue b/src/views/system/deviceManage/editConfigScreen.vue index e5be944f8..e36b619bb 100644 --- a/src/views/system/deviceManage/editConfigScreen.vue +++ b/src/views/system/deviceManage/editConfigScreen.vue @@ -1,73 +1,6 @@