This commit is contained in:
fan 2021-02-02 18:55:42 +08:00
commit f5e0539e6d
164 changed files with 488 additions and 1280 deletions

View File

@ -195,11 +195,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
stopTask() { stopTask() {
if (this.task) { if (this.task) {

View File

@ -73,11 +73,6 @@ export default {
return ''; return '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -53,11 +53,6 @@ export default {
return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : ''; return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.stationName = ''; this.stationName = '';

View File

@ -97,11 +97,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
expandPath() { expandPath() {
console.log('展开进路预览'); console.log('展开进路预览');

View File

@ -77,11 +77,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected, message) { doShow(operate, selected, message) {
this.selected = selected; this.selected = selected;

View File

@ -90,11 +90,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -100,11 +100,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -111,11 +111,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
getStationList(disable) { getStationList(disable) {
this.stationLists = []; this.stationLists = [];

View File

@ -87,11 +87,6 @@ export default {
return '设置车体号'; return '设置车体号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -81,11 +81,6 @@ export default {
return '删除车组号'; return '删除车组号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
loadInitData(map) { loadInitData(map) {
if (map) { if (map) {

View File

@ -87,11 +87,6 @@ export default {
return '移动车组号'; return '移动车组号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -101,11 +101,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -75,11 +75,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -82,11 +82,6 @@ export default {
return 'ATP切除功能'; return 'ATP切除功能';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -98,11 +98,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -111,11 +111,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -105,11 +105,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -162,16 +162,11 @@ export default {
if (val) { if (val) {
const stand = this.$store.getters['map/getDeviceByCode'](val.code); const stand = this.$store.getters['map/getDeviceByCode'](val.code);
if (stand) { if (stand) {
this.currentTime = stand.parkingTime this.currentTime = stand.parkingTime;
} }
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -123,11 +123,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
selectStand(stationStand) { selectStand(stationStand) {
this.selectStandCode = stationStand.code; this.selectStandCode = stationStand.code;

View File

@ -79,11 +79,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;
@ -97,7 +92,7 @@ export default {
doClose() { doClose() {
this.loading = false; this.loading = false;
this.dialogShow = false; this.dialogShow = false;
this.$refs.table.setCurrentRow() this.$refs.table.setCurrentRow();
this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('training/emitTipFresh');
}, },
commit() { commit() {

View File

@ -80,11 +80,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, message) { doShow(operate, message) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -93,11 +93,6 @@ export default {
return '增加用户'; return '增加用户';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -67,11 +67,6 @@ export default {
return '删除用户'; return '删除用户';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
// //

View File

@ -101,11 +101,6 @@ export default {
return '用户编辑页面'; return '用户编辑页面';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
// //

View File

@ -3,7 +3,7 @@
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="1000px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="1000px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row> <el-row>
<el-col :span="20"> <el-col :span="20">
<el-table ref="table1" :data="tempData" highlight-current-row height="300px" :id="domIdChoose" @current-change="handleChangeLine"> <el-table :id="domIdChoose" ref="table1" :data="tempData" highlight-current-row height="300px" @current-change="handleChangeLine">
<el-table-column prop="name" width="100" label="轨道" /> <el-table-column prop="name" width="100" label="轨道" />
<el-table-column prop="blockStatus" width="120" label="MAU"> <el-table-column prop="blockStatus" width="120" label="MAU">
<template slot-scope="scope"> <template slot-scope="scope">
@ -30,7 +30,7 @@
</el-table> </el-table>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-table ref="table2" :data="limitList" highlight-current-row height="300px" :id="domIdChoose1" @current-change="handleChangeLine2"> <el-table :id="domIdChoose1" ref="table2" :data="limitList" highlight-current-row height="300px" @current-change="handleChangeLine2">
<el-table-column prop="name" label="速度" /> <el-table-column prop="name" label="速度" />
</el-table> </el-table>
</el-col> </el-col>
@ -112,10 +112,10 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdChoose1() { domIdChoose1() {
return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -137,11 +137,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.tempData = []; this.tempData = [];
@ -240,7 +235,7 @@ export default {
}, },
commit(isClose = true) { commit(isClose = true) {
const step = { const step = {
operation: isClose ? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
param: { sectionCode: this.selected.code } param: { sectionCode: this.selected.code }
}; };
this.$store.dispatch('training/nextNew', step).then(({ valid }) => { this.$store.dispatch('training/nextNew', step).then(({ valid }) => {

View File

@ -2,7 +2,7 @@
<div> <div>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row> <el-row>
<el-table ref="table" :data="tempData" highlight-current-row height="300px" :id="domIdChoose" @current-change="handleChangeLine"> <el-table :id="domIdChoose" ref="table" :data="tempData" highlight-current-row height="300px" @current-change="handleChangeLine">
<el-table-column prop="name" label="轨道" /> <el-table-column prop="name" label="轨道" />
<el-table-column prop="blockStatus" label="MAU"> <el-table-column prop="blockStatus" label="MAU">
<template slot-scope="scope"> <template slot-scope="scope">
@ -84,7 +84,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -106,11 +106,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.tempData = []; this.tempData = [];
@ -181,7 +176,7 @@ export default {
commit(isClose = true) { commit(isClose = true) {
const step = { const step = {
isBlock: this.isBlock, isBlock: this.isBlock,
operation: isClose ? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
param: { sectionCode: this.selected.code } param: { sectionCode: this.selected.code }
}; };
this.$store.dispatch('training/nextNew', step).then(({ valid }) => { this.$store.dispatch('training/nextNew', step).then(({ valid }) => {

View File

@ -113,11 +113,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.initEle = null; this.initEle = null;

View File

@ -1,7 +1,7 @@
<template> <template>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="600px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="600px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row> <el-row>
<el-table ref="table" :data="signalList" height="300px" > <el-table ref="table" :data="signalList" height="300px">
<el-table-column prop="code" label="ID" /> <el-table-column prop="code" label="ID" />
<el-table-column prop="mode" label="信号模式" /> <el-table-column prop="mode" label="信号模式" />
<el-table-column v-if="isCbtc" prop="status" label="CBTC可命令" /> <el-table-column v-if="isCbtc" prop="status" label="CBTC可命令" />
@ -82,11 +82,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -79,7 +79,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
isBlock() { isBlock() {
console.log(this.selected && this.selected.blockade, 2222222) console.log(this.selected && this.selected.blockade, 2222222);
return this.selected && this.selected.blockade; return this.selected && this.selected.blockade;
}, },
domIdClose() { domIdClose() {
@ -102,11 +102,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.initEle = null; this.initEle = null;

View File

@ -103,11 +103,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.initEle = null; this.initEle = null;

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div>
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row> <el-row>
<el-table <el-table
@ -107,11 +107,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.initEle = null; this.initEle = null;
@ -130,7 +125,7 @@ export default {
this.$refs.table.setCurrentRow(); this.$refs.table.setCurrentRow();
this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('training/emitTipFresh');
}, },
commit(isClose=false) { commit(isClose = false) {
const step = { const step = {
code: `${this.selected.code}`, code: `${this.selected.code}`,
operation: this.isBlock ? OperationEvent.Switch.block.confirm.operation : OperationEvent.Switch.unblock.confirm.operation, operation: this.isBlock ? OperationEvent.Switch.block.confirm.operation : OperationEvent.Switch.unblock.confirm.operation,

View File

@ -95,11 +95,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -94,11 +94,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -103,11 +103,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -242,11 +242,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -84,11 +84,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -139,11 +139,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -135,11 +135,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected, value) { doShow(operate, selected, value) {
this.tempData = []; this.tempData = [];
@ -193,8 +188,8 @@ export default {
commit(isClose = true) { commit(isClose = true) {
const operate = { const operate = {
// cmdType: this.command ? CMD.Section.CMD_SECTION_SET_LIMIT_SPEED : CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, // cmdType: this.command ? CMD.Section.CMD_SECTION_SET_LIMIT_SPEED : CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED,
cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED , cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED,
operation: isClose ? OperationEvent.Command.common.confirm1.operation: OperationEvent.Command.common.apply1.operation, operation: isClose ? OperationEvent.Command.common.confirm1.operation : OperationEvent.Command.common.apply1.operation,
over: true, over: true,
param: {sectionCode: this.selected.code, speedLimitValue:this.speedLimitValue} param: {sectionCode: this.selected.code, speedLimitValue:this.speedLimitValue}
}; };

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -2,7 +2,7 @@
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row> <el-row>
<el-col :span="18"> <el-col :span="18">
<el-table ref="sectionable" :data="tempData" highlight-current-row height="300px" :id="domIdChoose" @current-change="handleChangeLine"> <el-table :id="domIdChoose" ref="sectionable" :data="tempData" highlight-current-row height="300px" @current-change="handleChangeLine">
<el-table-column prop="name" label="轨道" /> <el-table-column prop="name" label="轨道" />
<el-table-column prop="blockStatus" label="MAU"> <el-table-column prop="blockStatus" label="MAU">
<template slot-scope="scope"> <template slot-scope="scope">
@ -89,7 +89,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm1.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm1.domId : '';
@ -111,11 +111,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.tempData = []; this.tempData = [];
@ -168,11 +163,11 @@ export default {
const sectionElm = this.$store.getters['map/getDeviceByCode'](code); const sectionElm = this.$store.getters['map/getDeviceByCode'](code);
return sectionElm.blockade ? '关闭双向:所有列车' : '打开'; return sectionElm.blockade ? '关闭双向:所有列车' : '打开';
}, },
commit(isClose=true) { commit(isClose = true) {
if (this.command) { if (this.command) {
const operate = { const operate = {
cmdType: this.isBlock ? CMD.Section.CMD_SECTION_BLOCK : CMD.Section.CMD_SECTION_UNBLOCK, cmdType: this.isBlock ? CMD.Section.CMD_SECTION_BLOCK : CMD.Section.CMD_SECTION_UNBLOCK,
operation: isClose ? OperationEvent.Command.common.confirm1.operation: OperationEvent.Command.common.apply1.operation, operation: isClose ? OperationEvent.Command.common.confirm1.operation : OperationEvent.Command.common.apply1.operation,
over: true, over: true,
param: {sectionCode: this.selected.code} param: {sectionCode: this.selected.code}
}; };

View File

@ -105,11 +105,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.tempData = []; this.tempData = [];

View File

@ -106,11 +106,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;
@ -131,7 +126,7 @@ export default {
if (this.command) { if (this.command) {
const operate = { const operate = {
cmdType: this.needBlock ? CMD.Signal.CMD_SIGNAL_BLOCK : CMD.Signal.CMD_SIGNAL_UNBLOCK, cmdType: this.needBlock ? CMD.Signal.CMD_SIGNAL_BLOCK : CMD.Signal.CMD_SIGNAL_UNBLOCK,
operation: isClose ? OperationEvent.Command.common.confirm1.operation: OperationEvent.Command.common.apply1.operation, operation: isClose ? OperationEvent.Command.common.confirm1.operation : OperationEvent.Command.common.apply1.operation,
over: true, over: true,
param: {signalCode: this.selected.code} param: {signalCode: this.selected.code}
}; };

View File

@ -102,11 +102,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -89,11 +89,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -107,11 +107,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -3,11 +3,11 @@
<el-row> <el-row>
<el-col :span="18"> <el-col :span="18">
<el-table <el-table
:data="signalList"
ref="table" ref="table"
:data="signalList"
height="300px" height="300px"
highlight-current-row highlight-current-row
:domIdChoose="domIdChoose" :dom-id-choose="domIdChoose"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
<el-table-column prop="name" label="ID" /> <el-table-column prop="name" label="ID" />
@ -81,7 +81,7 @@ export default {
return this.operate.operation === OperationEvent.Command.mBar.cbtcMode.operation; return this.operate.operation === OperationEvent.Command.mBar.cbtcMode.operation;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -103,11 +103,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
handleCurrentChange(val) { handleCurrentChange(val) {
if (!val) { return; } if (!val) { return; }
@ -144,7 +139,7 @@ export default {
commit(isClose = false) { commit(isClose = false) {
const step = { const step = {
cmdType: this.isCbtc ? CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING : CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING, cmdType: this.isCbtc ? CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING : CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING,
operation: isClose ? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
over: true, over: true,
param: { signalCode: this.selected.code } param: { signalCode: this.selected.code }
}; };

View File

@ -115,11 +115,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
handleCurrentChange(val) { handleCurrentChange(val) {
if (!val) { return; } if (!val) { return; }

View File

@ -108,11 +108,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -69,7 +69,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -88,11 +88,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -5,11 +5,11 @@
<el-tabs v-model="activeName" type="border-card"> <el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="站台" name="first"> <el-tab-pane label="站台" name="first">
<el-table <el-table
:id="domIdChoose"
ref="table" ref="table"
:data="stationStandList" :data="stationStandList"
highlight-current-row highlight-current-row
height="280px" height="280px"
:id="domIdChoose"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
<el-table-column prop="name" label="站台" /> <el-table-column prop="name" label="站台" />
@ -93,7 +93,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -125,11 +125,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
expandPath() { expandPath() {
console.log('展开进路预览'); console.log('展开进路预览');
@ -156,7 +151,7 @@ export default {
const step = { const step = {
over: true, over: true,
cmdType:this.status ? CMD.Stand.CMD_STAND_SET_HOLD_TRAIN : CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN, cmdType:this.status ? CMD.Stand.CMD_STAND_SET_HOLD_TRAIN : CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN,
operation: isClose? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
param: {standCode: this.selected.code} param: {standCode: this.selected.code}
}; };

View File

@ -13,7 +13,7 @@
> >
<el-row style="margin-bottom: 20px"> <el-row style="margin-bottom: 20px">
<el-col :span="18"> <el-col :span="18">
<el-table ref="table" :id="domIdChoose" :data="centralizedStaionList" style="width: 100%;" height="350px" highlight-current-row @current-change="handleCurrentChange"> <el-table :id="domIdChoose" ref="table" :data="centralizedStaionList" style="width: 100%;" height="350px" highlight-current-row @current-change="handleCurrentChange">
<el-table-column prop="name" label="控制区域" /> <el-table-column prop="name" label="控制区域" />
<el-table-column label="控制模式"> <el-table-column label="控制模式">
<template slot-scope="scope"> <template slot-scope="scope">
@ -101,7 +101,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -125,19 +125,14 @@ export default {
'selected': function(val) { 'selected': function(val) {
if (val) { if (val) {
const sationEle = this.$store.getters['map/getDeviceByCode'](val.code); const sationEle = this.$store.getters['map/getDeviceByCode'](val.code);
if (this.prdType == '02'){ if (this.prdType == '02') {
this.status = sationEle && sationEle.controlMode != 'Center' this.status = sationEle && sationEle.controlMode != 'Center';
} else { } else {
this.status = sationEle && sationEle.controlMode == 'Center' this.status = sationEle && sationEle.controlMode == 'Center';
} }
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow() { doShow() {
this.message = ''; this.message = '';
@ -178,15 +173,15 @@ export default {
this.$refs.noticeInfo.doShow(); this.$refs.noticeInfo.doShow();
}); });
}, },
commit(isClose=true) { commit(isClose = true) {
const val = this.selected||{}; const val = this.selected || {};
const steps = { const steps = {
operation: isClose ? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
over: true, over: true,
param: {stationCodes:[val.code]} param: {stationCodes:[val.code]}
}; };
if (this.prdType == '02'){ if (this.prdType == '02') {
steps.cmdType = this.status ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL; steps.cmdType = this.status ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL;
} else { } else {
steps.cmdType = this.status ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL; steps.cmdType = this.status ? CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL : CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL;

View File

@ -76,7 +76,7 @@ export default {
return this.$store.state.menuOperation.selected; return this.$store.state.menuOperation.selected;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -108,11 +108,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //
@ -128,7 +123,7 @@ export default {
this.$refs.table.setCurrentRow(); this.$refs.table.setCurrentRow();
this.$store.dispatch('training/emitTipFresh'); this.$store.dispatch('training/emitTipFresh');
}, },
commit(isClose=false) { commit(isClose = false) {
const step = { const step = {
over: true, over: true,
cmdType: this.status ? CMD.Switch.CMD_SWITCH_ACTIVE : CMD.Switch.CMD_SWITCH_CUT_OFF, cmdType: this.status ? CMD.Switch.CMD_SWITCH_ACTIVE : CMD.Switch.CMD_SWITCH_CUT_OFF,

View File

@ -3,11 +3,11 @@
<el-row> <el-row>
<el-col :span="18"> <el-col :span="18">
<el-table <el-table
:id="domIdChoose"
ref="table" ref="table"
:data="switchList" :data="switchList"
highlight-current-row highlight-current-row
height="350px" height="350px"
:id="domIdChoose"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
> >
<el-table-column prop="name" width="80" label="道岔" /> <el-table-column prop="name" width="80" label="道岔" />
@ -90,7 +90,7 @@ export default {
return this.operate && this.operate.operation === OperationEvent.Command.commandNingBo3.line_switch_block.operation; return this.operate && this.operate.operation === OperationEvent.Command.commandNingBo3.line_switch_block.operation;
}, },
domIdChoose() { domIdChoose() {
return this.dialogShow ? OperationEvent.Command.common.choose.domId : '' return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
}, },
domIdConfirm() { domIdConfirm() {
return this.dialogShow ? OperationEvent.Command.common.confirm.domId : ''; return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
@ -109,11 +109,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //
@ -139,11 +134,11 @@ export default {
return '未锁闭的'; return '未锁闭的';
} }
}, },
commit(isClose=false) { commit(isClose = false) {
if (this.command) { if (this.command) {
const operate = { const operate = {
cmdType: this.isBlock ? CMD.Switch.CMD_SWITCH_BLOCK : CMD.Switch.CMD_SWITCH_UNBLOCK, cmdType: this.isBlock ? CMD.Switch.CMD_SWITCH_BLOCK : CMD.Switch.CMD_SWITCH_UNBLOCK,
operation: isClose ? OperationEvent.Command.common.confirm.operation: OperationEvent.Command.common.apply.operation, operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
over: true, over: true,
param: { switchCode: this.selected.code } param: { switchCode: this.selected.code }
}; };

View File

@ -116,11 +116,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -85,11 +85,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -147,11 +147,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -96,11 +96,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -241,11 +241,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -126,11 +126,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
expandPath() { expandPath() {
console.log('展开进路预览'); console.log('展开进路预览');

View File

@ -94,11 +94,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -108,11 +108,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -99,11 +99,6 @@ export default {
return '平移计划车'; return '平移计划车';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -90,11 +90,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate; this.operate = operate;

View File

@ -140,11 +140,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -59,11 +59,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -195,11 +195,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
stopTask() { stopTask() {
if (this.task) { if (this.task) {

View File

@ -73,11 +73,6 @@ export default {
return ''; return '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -53,11 +53,6 @@ export default {
return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : ''; return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.stationName = ''; this.stationName = '';

View File

@ -97,11 +97,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
expandPath() { expandPath() {
console.log('展开进路预览'); console.log('展开进路预览');

View File

@ -77,11 +77,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected, message) { doShow(operate, selected, message) {
this.selected = selected; this.selected = selected;

View File

@ -90,11 +90,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -111,11 +111,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
getStationList(disable) { getStationList(disable) {
this.stationLists = []; this.stationLists = [];

View File

@ -87,11 +87,6 @@ export default {
return '设置车体号'; return '设置车体号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -81,11 +81,6 @@ export default {
return '删除车组号'; return '删除车组号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
loadInitData(map) { loadInitData(map) {
if (map) { if (map) {

View File

@ -87,11 +87,6 @@ export default {
return '移动车组号'; return '移动车组号';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -109,11 +109,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -75,11 +75,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -82,11 +82,6 @@ export default {
return 'ATP切除功能'; return 'ATP切除功能';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -98,11 +98,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.selected = selected; this.selected = selected;

View File

@ -80,11 +80,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, message) { doShow(operate, message) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -93,11 +93,6 @@ export default {
return '增加用户'; return '增加用户';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -67,11 +67,6 @@ export default {
return '删除用户'; return '删除用户';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
// //

View File

@ -101,11 +101,6 @@ export default {
return '用户编辑页面'; return '用户编辑页面';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
// //

View File

@ -99,11 +99,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -95,11 +95,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -73,11 +73,6 @@ export default {
return '关于ControlMonitor'; return '关于ControlMonitor';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -121,11 +121,6 @@ export default {
return '用户管理'; return '用户管理';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
// //

View File

@ -126,11 +126,6 @@ export default {
}); });
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.message = ''; this.message = '';

View File

@ -96,11 +96,6 @@ export default {
return '添加计划车'; return '添加计划车';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -79,11 +79,6 @@ export default {
return '删除计划车'; return '删除计划车';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -96,11 +96,6 @@ export default {
return '平移计划车'; return '平移计划车';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -140,11 +140,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -59,11 +59,6 @@ export default {
} }
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
this.operate = operate || {}; this.operate = operate || {};

View File

@ -99,11 +99,6 @@ export default {
return ''; return '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate) { doShow(operate) {
if (!this.dialogShow) { if (!this.dialogShow) {

View File

@ -52,11 +52,6 @@ export default {
return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : ''; return this.dialogShow ? OperationEvent.Signal.unlock.confirm.domId : '';
} }
}, },
mounted() {
this.$nextTick(() => {
this.$store.dispatch('training/tipReload');
});
},
methods: { methods: {
doShow(operate, selected) { doShow(operate, selected) {
this.stationName = ''; this.stationName = '';

Some files were not shown because too many files have changed in this diff Show More