簿册车站传递调整
This commit is contained in:
parent
c5d11595cf
commit
6360e26c89
@ -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(()=>{
|
||||
|
Loading…
Reference in New Issue
Block a user