删除宁波批量扣车反向操作
This commit is contained in:
parent
a7b97dd7cc
commit
5d6a994cbc
@ -240,6 +240,8 @@ deviceState[deviceType.StationStand] = {
|
|||||||
centerHoldTrain: false, // 中心是否扣车
|
centerHoldTrain: false, // 中心是否扣车
|
||||||
allSkip: false, // 是否全部跳停
|
allSkip: false, // 是否全部跳停
|
||||||
assignSkip: false, // 是否指定跳停
|
assignSkip: false, // 是否指定跳停
|
||||||
|
runLevelTime: 0, // 区间运行时间(自动为 0)
|
||||||
|
// parkingTime: 0, // 停站时间 (自动为-1)
|
||||||
|
|
||||||
/** 停站时间*/
|
/** 停站时间*/
|
||||||
parkingTime: {
|
parkingTime: {
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
<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-checkbox v-model="upForward" label="1" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-checkbox>
|
<el-checkbox v-model="upForward" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-checkbox>
|
||||||
<el-checkbox v-model="upReverse" label="2" style="display: block; text-align: left;">反向{{ title }}</el-checkbox>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="11" :offset="2">
|
<el-col :span="11" :offset="2">
|
||||||
<span>下行线路设置{{ title }}</span>
|
<span>下行线路设置{{ title }}</span>
|
||||||
@ -20,8 +19,7 @@
|
|||||||
<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-checkbox v-model="downForward" label="3" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-checkbox>
|
<el-checkbox v-model="downForward" style="display: block; text-align: left;margin-bottom: 5px;">正向{{ title }}</el-checkbox>
|
||||||
<el-checkbox v-model="downReverse" label="4" style="display: block; text-align: left;">反向{{ title }}</el-checkbox>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="button-group">
|
<el-row class="button-group">
|
||||||
@ -60,9 +58,7 @@ export default {
|
|||||||
upSelectList: [],
|
upSelectList: [],
|
||||||
downSelectList: [],
|
downSelectList: [],
|
||||||
upForward: true, // 上行 正向
|
upForward: true, // 上行 正向
|
||||||
upReverse: false, // 上行 反向
|
downForward: false // 下行 正向
|
||||||
downForward: false, // 下行 正向
|
|
||||||
downReverse: false // 下行 反向
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -195,8 +191,8 @@ export default {
|
|||||||
operation: OperationEvent.StationStand.setBulkBuckleTrain.menu.operation,
|
operation: OperationEvent.StationStand.setBulkBuckleTrain.menu.operation,
|
||||||
cmdType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN_ALL,
|
cmdType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN_ALL,
|
||||||
param: {
|
param: {
|
||||||
rightHoldTrain: { standCodes: [], forward: this.upForward, reverse: this.upReverse },
|
rightHoldTrain: { standCodes: [], forward: this.upForward },
|
||||||
leftHoldTrain: { standCodes: [], forward: this.downForward, reverse: this.downReverse }
|
leftHoldTrain: { standCodes: [], forward: this.downForward }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.upSelectList.forEach(item => {
|
this.upSelectList.forEach(item => {
|
||||||
@ -205,10 +201,10 @@ export default {
|
|||||||
this.downSelectList.forEach(item => {
|
this.downSelectList.forEach(item => {
|
||||||
operate.param.leftHoldTrain.standCodes.push(item.code);
|
operate.param.leftHoldTrain.standCodes.push(item.code);
|
||||||
});
|
});
|
||||||
if (!operate.param.rightHoldTrain.forward && !operate.param.rightHoldTrain.reverse) {
|
if (!operate.param.rightHoldTrain.forward) {
|
||||||
operate.param.rightHoldTrain.standCodes = [];
|
operate.param.rightHoldTrain.standCodes = [];
|
||||||
}
|
}
|
||||||
if (!operate.param.leftHoldTrain.forward && !operate.param.leftHoldTrain.reverse) {
|
if (!operate.param.leftHoldTrain.forward) {
|
||||||
operate.param.leftHoldTrain.standCodes = [];
|
operate.param.leftHoldTrain.standCodes = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -232,8 +228,8 @@ export default {
|
|||||||
operation: OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation,
|
operation: OperationEvent.StationStand.cancelBulkBuckleTrain.menu.operation,
|
||||||
cmdType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN_ALL,
|
cmdType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN_ALL,
|
||||||
param: {
|
param: {
|
||||||
rightHoldTrain: { standCodes: [], forward: this.upForward, reverse: this.upReverse },
|
rightHoldTrain: { standCodes: [], forward: this.upForward },
|
||||||
leftHoldTrain: { standCodes: [], forward: this.downForward, reverse: this.downReverse }
|
leftHoldTrain: { standCodes: [], forward: this.downForward }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.upSelectList.forEach(item => {
|
this.upSelectList.forEach(item => {
|
||||||
@ -242,10 +238,10 @@ export default {
|
|||||||
this.downSelectList.forEach(item => {
|
this.downSelectList.forEach(item => {
|
||||||
operate.param.leftHoldTrain.standCodes.push(item.code);
|
operate.param.leftHoldTrain.standCodes.push(item.code);
|
||||||
});
|
});
|
||||||
if (!operate.param.rightHoldTrain.forward && !operate.param.rightHoldTrain.reverse) {
|
if (!operate.param.rightHoldTrain.forward) {
|
||||||
operate.param.rightHoldTrain.standCodes = [];
|
operate.param.rightHoldTrain.standCodes = [];
|
||||||
}
|
}
|
||||||
if (!operate.param.leftHoldTrain.forward && !operate.param.leftHoldTrain.reverse) {
|
if (!operate.param.leftHoldTrain.forward) {
|
||||||
operate.param.leftHoldTrain.standCodes = [];
|
operate.param.leftHoldTrain.standCodes = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@ export function getBaseUrl() {
|
|||||||
let BASE_API;
|
let BASE_API;
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// BASE_API = 'https://joylink.club/jlcloud';
|
// BASE_API = 'https://joylink.club/jlcloud';
|
||||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||||
BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||||
} else {
|
} else {
|
||||||
BASE_API = process.env.VUE_APP_BASE_API;
|
BASE_API = process.env.VUE_APP_BASE_API;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user