diff --git a/src/jmapNew/theme/foshan_01/menus/dialog/standDetail.vue b/src/jmapNew/theme/foshan_01/menus/dialog/standDetail.vue index a5a0b1772..e9ab8c8e6 100644 --- a/src/jmapNew/theme/foshan_01/menus/dialog/standDetail.vue +++ b/src/jmapNew/theme/foshan_01/menus/dialog/standDetail.vue @@ -170,7 +170,7 @@ export default { }); }, methods: { - loadInitData(selected, opts) { + loadInitData(selected) { this.tempData = []; const index = this.stationList.findIndex(n => n.code == selected.stationCode); @@ -188,15 +188,10 @@ export default { station = this.$store.getters['map/getDeviceByCode'](stationStand.stationCode); } } - - /** 01: 未设置扣车 02: 车站扣车 03: 中心扣车 04: 中心+车站扣车*/ - // this.tempData.push({ item: '车站扣车', status: opts.holdStatus == '02' || opts.holdStatus == '04' ? '已设置' : '未设置' }); - // this.tempData.push({ item: '中心扣车', status: opts.holdStatus == '03' || opts.holdStatus == '04' ? '已设置' : '未设置' }); // 中心扣车 this.treeData[1].children[0].value = selected.centerHoldTrain ? '已设置' : '未设置'; // 车站扣车 this.treeData[1].children[1].value = selected.stationHoldTrain ? '已设置' : '未设置'; - // this.tempData.push({ item: '停站时间', status: opts.parkingTime != -1 ? opts.parkingTime : '自动' }); // 停站时间 this.treeData[0].children[2].value = selected.parkingTime != -1 ? selected.parkingTime : '自动'; // 跳停 @@ -213,7 +208,7 @@ export default { // 待添加 // this.tempData.push({ item: '下行折返策略', status: this.strategyMap[selected.reentryStrategy] ? this.strategyMap[selected.reentryStrategy] : '默认' }); }, - doShow(operate, selected, opts) { + doShow(operate, selected) { this.selected = selected; if (!this.dialogShow) { // this.standName = ''; @@ -229,7 +224,7 @@ export default { // this.treeData[0].children[1].value = station.runPlanName } } - this.loadInitData(selected, opts); + this.loadInitData(selected); } this.dialogShow = true; this.$nextTick(function () { diff --git a/src/jmapNew/theme/foshan_01/menus/menuStationStand.vue b/src/jmapNew/theme/foshan_01/menus/menuStationStand.vue index 1ff1a2876..5000b9487 100644 --- a/src/jmapNew/theme/foshan_01/menus/menuStationStand.vue +++ b/src/jmapNew/theme/foshan_01/menus/menuStationStand.vue @@ -276,7 +276,7 @@ export default { detail() { commitOperate(menuOperate.StationStand.detail, {standCode:this.selected.code}, 0).then(({valid, operate})=>{ if (valid) { - this.$refs.standDetail.doShow(operate, this.selected, []); + this.$refs.standDetail.doShow(operate, this.selected); } }); }