新版地图包加载仿真
This commit is contained in:
parent
c7078dcdb9
commit
15f7aa656e
@ -447,7 +447,11 @@ export function getNewMapDataByGroup(group) {
|
||||
}
|
||||
/** 新版地图指令操作定义 */
|
||||
export function newMapOperate(group, operationId, data) {
|
||||
|
||||
return request({
|
||||
url: `/simulation/${group}/operate/${operationId}`,
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
/** 新版地图根据group获取仿真运行图 */
|
||||
export function getRunPlanNew(group) {
|
||||
|
@ -96,7 +96,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters('map', [
|
||||
'stationList',
|
||||
'stationList'
|
||||
]),
|
||||
...mapGetters('training', [
|
||||
'mode',
|
||||
@ -111,16 +111,22 @@ export default {
|
||||
isFork() {
|
||||
if (this.dialogShow) {
|
||||
return checkOperationIsCurrentOperate(this.operation, OperationEvent.StationControl.forcedStationControl);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
isRequest() {
|
||||
if (this.dialogShow) {
|
||||
return checkOperationIsCurrentOperate(this.operation, OperationEvent.StationControl.requestStationControl);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
isConter() {
|
||||
if (this.dialogShow) {
|
||||
return checkOperationIsCurrentOperate(this.operation, OperationEvent.StationControl.requestCentralControl);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
domIdChoose() {
|
||||
@ -132,6 +138,8 @@ export default {
|
||||
} else if (checkOperationIsCurrentOperate(this.operation, OperationEvent.StationControl.requestCentralControl)) {
|
||||
return OperationEvent.StationControl.requestCentralControl.choose.domId;
|
||||
}
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
domIdConter() {
|
||||
@ -356,7 +364,7 @@ export default {
|
||||
} else {
|
||||
this.disabledSure = false;
|
||||
}
|
||||
}).catch((error) => {
|
||||
}).catch(() => {
|
||||
this.disabledSure = false;
|
||||
this.disabledClose = false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user