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 = [];

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 = [];

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

@ -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

@ -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;

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 = [];

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 = [];

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;

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; }

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('展开进路预览');

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 : '';
@ -126,18 +126,13 @@ export default {
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 = '';

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) {
// //

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) {
// //

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