调整站台右键显示
This commit is contained in:
parent
28e0617c87
commit
ad9d14e842
@ -1,27 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog v-dialogDrag class="ningbo-01__systerm stand-detain-train" :title="'批量' + title" :visible.sync="show" width="480px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
<el-dialog v-dialogDrag class="ningbo-01__systerm stand-detain-train" :title="'批量设置' + title" :visible.sync="show" width="480px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
||||||
<el-row style="margin-top: -13px; padding: 20px 0px 5px 0;">
|
<el-row style="margin-top: -13px; padding: 20px 0px 5px 0;">
|
||||||
<el-col :span="11">
|
<el-col :span="11">
|
||||||
<span>上行线路{{ title }}</span>
|
<span>上行线路设置{{ title }}</span>
|
||||||
<el-table ref="multipleTable" :data="standList" tooltip-effect="dark" height="400" style="width: 100%;margin: 5px 0;" @selection-change="handleSelectionChange">
|
<el-table ref="multipleTable" :data="standList" tooltip-effect="dark" height="400" style="width: 100%;margin: 5px 0;" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="50" />
|
<el-table-column type="selection" width="50" />
|
||||||
<el-table-column label="站台名称">
|
<el-table-column label="站台名称">
|
||||||
<template slot-scope="scope">{{ scope.row.name }}</template>
|
<template slot-scope="scope">{{ scope.row.name }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-radio v-model="radio" label="1" style="display: block; text-align: left;margin-bottom: 5px;">正向扣车</el-radio>
|
<el-radio v-model="radio" label="1" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-radio>
|
||||||
<el-radio v-model="radio" label="2" style="display: block; text-align: left;">反向扣车</el-radio>
|
<el-radio v-model="radio" label="2" style="display: block; text-align: left;">反向{{ title }}</el-radio>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="11" :offset="2">
|
<el-col :span="11" :offset="2">
|
||||||
<span>下行线路{{ title }}</span>
|
<span>下行线路设置{{ title }}</span>
|
||||||
<el-table ref="multipleTable" :data="standList" tooltip-effect="dark" height="400" style="width: 100%;margin: 5px 0;" @selection-change="handleSelectionChange">
|
<el-table ref="multipleTable" :data="standList" tooltip-effect="dark" height="400" style="width: 100%;margin: 5px 0;" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="50" />
|
<el-table-column type="selection" width="50" />
|
||||||
<el-table-column label="站台名称">
|
<el-table-column label="站台名称">
|
||||||
<template slot-scope="scope">{{ scope.row.name }}</template>
|
<template slot-scope="scope">{{ scope.row.name }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-radio v-model="radio" label="3" style="display: block; text-align: left;margin-bottom: 5px;">正向扣车</el-radio>
|
<el-radio v-model="radio" label="3" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-radio>
|
||||||
<el-radio v-model="radio" label="4" style="display: block; text-align: left;">反向扣车</el-radio>
|
<el-radio v-model="radio" label="4" style="display: block; text-align: left;">反向{{ title }}</el-radio>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="button-group">
|
<el-row class="button-group">
|
||||||
@ -87,9 +87,9 @@ export default {
|
|||||||
},
|
},
|
||||||
title() {
|
title() {
|
||||||
if (this.operation == OperationEvent.StationStand.setBulkBuckleTrain.menu.operation) {
|
if (this.operation == OperationEvent.StationStand.setBulkBuckleTrain.menu.operation) {
|
||||||
return '设置扣车';
|
return '扣车';
|
||||||
} else if (this.operation == OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation) {
|
} else if (this.operation == OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation) {
|
||||||
return '设置取消扣车';
|
return '取消扣车';
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
@ -396,10 +396,11 @@ export default {
|
|||||||
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
// Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
||||||
const tempData = resp.data;
|
// const tempData = resp.data;
|
||||||
|
const tempData = [];
|
||||||
this.$refs.standStopTime.doShow(step, this.selected, tempData);
|
this.$refs.standStopTime.doShow(step, this.selected, tempData);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$refs.noticeInfo.doShow(step);
|
this.$refs.noticeInfo.doShow(step);
|
||||||
@ -418,10 +419,11 @@ export default {
|
|||||||
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
// Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
||||||
const tempData = resp.data;
|
// const tempData = resp.data;
|
||||||
|
const tempData = [];
|
||||||
this.$refs.standRunLevel.doShow(step, this.selected, tempData);
|
this.$refs.standRunLevel.doShow(step, this.selected, tempData);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$refs.noticeInfo.doShow(step);
|
this.$refs.noticeInfo.doShow(step);
|
||||||
@ -457,10 +459,11 @@ export default {
|
|||||||
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
this.$store.dispatch('training/nextNew', step).then(({ valid, response }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
// Handler.execute(CMD.Stand.CMD_STAND_VIEW_STATUS, {StationStand_Code: `${this.selected.code}`}).then(resp => {
|
||||||
const tempData = resp.data;
|
// const tempData = resp.data;
|
||||||
|
const tempData = [];
|
||||||
this.$refs.standDetail.doShow(step, this.selected, tempData);
|
this.$refs.standDetail.doShow(step, this.selected, tempData);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$refs.noticeInfo.doShow(step);
|
this.$refs.noticeInfo.doShow(step);
|
||||||
|
Loading…
Reference in New Issue
Block a user