From 6360e26c8983c3913e68372c533693e15e97acbc Mon Sep 17 00:00:00 2001 From: fan Date: Wed, 3 Aug 2022 10:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B0=BF=E5=86=8C=E8=BD=A6=E7=AB=99=E4=BC=A0?= =?UTF-8?q?=E9=80=92=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/registerBook/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/registerBook/index.vue b/src/views/newMap/registerBook/index.vue index b5cb5e891..2134c4857 100644 --- a/src/views/newMap/registerBook/index.vue +++ b/src/views/newMap/registerBook/index.vue @@ -124,7 +124,7 @@ export default { this.queryData(); }, queryData() { - const params = { stationCode: this.$store.state.map.showCentralizedStationCode}; + const params = { stationCode: this.$store.state.training.roleDeviceCode}; commitOperate(menuOperate.Rail.railQueryRegister, params, 3).then(({valid, operate, response})=>{ this.tableData = response.data ? response.data.lines : []; this.dataIndex = null; @@ -133,7 +133,7 @@ export default { }); }, saveData(data) { - const params = { stationCode: this.$store.state.map.showCentralizedStationCode, line: data }; + const params = { stationCode: this.$store.state.training.roleDeviceCode, line: data }; commitOperate(menuOperate.Rail.railFillInRegister, params, 3).then(({valid, operate})=>{ this.queryData(); }).catch(()=>{