调整:簿册查询不录制操作
This commit is contained in:
parent
9ef0780377
commit
51b85082dd
@ -114,7 +114,8 @@ import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
||||
import FloodControlSafetyTable from './floodControlSafetyTable/index';
|
||||
import EquipmentConstructionTable from './equipmentConstructionTable';
|
||||
import AbnormalTrain from './abnormalTrain/index';
|
||||
|
||||
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
||||
import { sendCommandNew } from '@/api/jmap/training';
|
||||
// key-link-control-table
|
||||
export default {
|
||||
name: 'Index',
|
||||
@ -157,11 +158,10 @@ export default {
|
||||
this.queryData();
|
||||
},
|
||||
queryData() {
|
||||
const params = { stationCode: this.$store.state.training.roleDeviceCode};
|
||||
commitOperate(menuOperate.Rail.railQueryRegister, params, 3).then(({valid, operate, response})=>{
|
||||
sendCommandNew(this.$route.query.group, CMD.RAIL.CMD_RAIL_QUERY_REGISTER.value, { stationCode: this.$store.state.training.roleDeviceCode}).then(response => {
|
||||
this.tableData = response.data ? response.data.lines : [];
|
||||
this.dataIndex = null;
|
||||
}).catch(()=>{
|
||||
}).catch(() => {
|
||||
this.$message.error('查询簿册失败!');
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user