This commit is contained in:
zyy 2019-11-13 09:07:04 +08:00
commit e9dbd6ef31
4 changed files with 6 additions and 5 deletions

View File

@ -183,6 +183,7 @@ export default {
this.formModel.permissionList = jsonData;
} else {
this.isDisabled = true;
this.formModel.permissionList = [];
}
}).catch(()=>{
this.$messageBox(this.$t('error.getPermissionListFailed'));

View File

@ -184,6 +184,7 @@ export default {
this.formModel.permissionList = jsonData;
} else {
this.isDisabled = true;
this.formModel.permissionList = [];
}
}).catch(()=>{
this.$messageBox(this.$t('error.getPermissionListFailed'));

View File

@ -7,7 +7,7 @@
</div>
<div class="display-draft">
<el-button-group>
<el-button v-if="isShowScheduling" type="primary" @click="">{{ $t('display.demon.dispatchingPlan') }}</el-button>
<el-button v-if="isShowScheduling" type="primary" @click="jumpScheduling">{{ $t('display.demon.dispatchingPlan') }}</el-button>
<el-button type="jumpjlmap3d" @click="jumpjlmap3d">{{ jl3dname }}</el-button>
<template v-if="isShowQuest">
<!-- && !isDesignPlatform -->

View File

@ -44,7 +44,7 @@ export default {
OperateMode: OperateMode,
viewDisabled: true,
runing: false,
swch: '02',
swch: '01',
swchList: [
{ value: '01', name: '现地' },
{ value: '02', name: '行调' }
@ -62,8 +62,8 @@ export default {
return this.$route.params.mode === 'plan';
},
isScript() {
// return this.$route.params.mode === 'script';
return false;
return this.$route.params.mode === 'script';
// return false;
},
isDemon() {
return this.$route.params.mode === 'demon';
@ -96,7 +96,6 @@ export default {
getStationList(opt.mapId).then(response => {
this.$store.dispatch('runPlan/setStations', response.data).then(() => {
if (this.$route.params.mode == 'plan') {
// debugger;
if (this.$route.query.from == 'user') {
//
getRpDetailByUserMapId(this.$route.query.planId).then(resp => {