簿册车站传递调整

This commit is contained in:
fan 2022-08-03 10:04:31 +08:00
parent c5d11595cf
commit 6360e26c89

View File

@ -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(()=>{