代码调整
This commit is contained in:
parent
9353c2b2c0
commit
94ebd81292
@ -245,7 +245,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求遥控
|
// 请求遥控
|
||||||
conterCommit() {
|
conterCommit() {
|
||||||
commitOperate(menuOperate.StationControl.requestCentralControl, {stationCodes:[this.stationCode], stationType: this.stationType}, 1).then((data) => {
|
commitOperate(menuOperate.StationControl.requestCentralControl, {stationCodes:[this.stationCode]}, 1).then((data) => {
|
||||||
if (data.valid) {
|
if (data.valid) {
|
||||||
this.doClose();
|
this.doClose();
|
||||||
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由站控转为遥控:\n' + this.stationName);
|
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由站控转为遥控:\n' + this.stationName);
|
||||||
@ -254,7 +254,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求站控
|
// 请求站控
|
||||||
requestCommit() {
|
requestCommit() {
|
||||||
commitOperate(menuOperate.StationControl.requestStationControl, {stationCodes:[this.stationCode], stationType: this.stationType}, 1).then((data)=>{
|
commitOperate(menuOperate.StationControl.requestStationControl, {stationCodes:[this.stationCode]}, 1).then((data)=>{
|
||||||
if (data.valid) {
|
if (data.valid) {
|
||||||
this.doClose();
|
this.doClose();
|
||||||
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由中控转为站控:\n' + this.stationName);
|
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由中控转为站控:\n' + this.stationName);
|
||||||
@ -263,7 +263,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 紧急站控
|
// 紧急站控
|
||||||
emergencyCommit() {
|
emergencyCommit() {
|
||||||
commitOperate(menuOperate.StationControl.emergencyStationControl, {stationCodes:[this.stationCode], stationType: this.stationType}, 1).then((data)=>{
|
commitOperate(menuOperate.StationControl.emergencyStationControl, {stationCodes:[this.stationCode]}, 1).then((data)=>{
|
||||||
if (data.valid) {
|
if (data.valid) {
|
||||||
this.doClose();
|
this.doClose();
|
||||||
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由中控转为站控:\n' + this.stationName);
|
this.$refs.twoConfirmation.doShow(data.operate, '确认将如下操作区域的控制模式由中控转为站控:\n' + this.stationName);
|
||||||
|
Loading…
Reference in New Issue
Block a user