Merge branch 'dev' of https://git.qcloud.com/joylink/jl-nclient into dev
This commit is contained in:
commit
e9dbd6ef31
@ -183,6 +183,7 @@ export default {
|
|||||||
this.formModel.permissionList = jsonData;
|
this.formModel.permissionList = jsonData;
|
||||||
} else {
|
} else {
|
||||||
this.isDisabled = true;
|
this.isDisabled = true;
|
||||||
|
this.formModel.permissionList = [];
|
||||||
}
|
}
|
||||||
}).catch(()=>{
|
}).catch(()=>{
|
||||||
this.$messageBox(this.$t('error.getPermissionListFailed'));
|
this.$messageBox(this.$t('error.getPermissionListFailed'));
|
||||||
|
@ -184,6 +184,7 @@ export default {
|
|||||||
this.formModel.permissionList = jsonData;
|
this.formModel.permissionList = jsonData;
|
||||||
} else {
|
} else {
|
||||||
this.isDisabled = true;
|
this.isDisabled = true;
|
||||||
|
this.formModel.permissionList = [];
|
||||||
}
|
}
|
||||||
}).catch(()=>{
|
}).catch(()=>{
|
||||||
this.$messageBox(this.$t('error.getPermissionListFailed'));
|
this.$messageBox(this.$t('error.getPermissionListFailed'));
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="display-draft">
|
<div class="display-draft">
|
||||||
<el-button-group>
|
<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>
|
<el-button type="jumpjlmap3d" @click="jumpjlmap3d">{{ jl3dname }}</el-button>
|
||||||
<template v-if="isShowQuest">
|
<template v-if="isShowQuest">
|
||||||
<!-- && !isDesignPlatform -->
|
<!-- && !isDesignPlatform -->
|
||||||
|
@ -44,7 +44,7 @@ export default {
|
|||||||
OperateMode: OperateMode,
|
OperateMode: OperateMode,
|
||||||
viewDisabled: true,
|
viewDisabled: true,
|
||||||
runing: false,
|
runing: false,
|
||||||
swch: '02',
|
swch: '01',
|
||||||
swchList: [
|
swchList: [
|
||||||
{ value: '01', name: '现地' },
|
{ value: '01', name: '现地' },
|
||||||
{ value: '02', name: '行调' }
|
{ value: '02', name: '行调' }
|
||||||
@ -62,8 +62,8 @@ export default {
|
|||||||
return this.$route.params.mode === 'plan';
|
return this.$route.params.mode === 'plan';
|
||||||
},
|
},
|
||||||
isScript() {
|
isScript() {
|
||||||
// return this.$route.params.mode === 'script';
|
return this.$route.params.mode === 'script';
|
||||||
return false;
|
// return false;
|
||||||
},
|
},
|
||||||
isDemon() {
|
isDemon() {
|
||||||
return this.$route.params.mode === 'demon';
|
return this.$route.params.mode === 'demon';
|
||||||
@ -96,7 +96,6 @@ export default {
|
|||||||
getStationList(opt.mapId).then(response => {
|
getStationList(opt.mapId).then(response => {
|
||||||
this.$store.dispatch('runPlan/setStations', response.data).then(() => {
|
this.$store.dispatch('runPlan/setStations', response.data).then(() => {
|
||||||
if (this.$route.params.mode == 'plan') {
|
if (this.$route.params.mode == 'plan') {
|
||||||
// debugger;
|
|
||||||
if (this.$route.query.from == 'user') {
|
if (this.$route.query.from == 'user') {
|
||||||
// 测试运行图功能
|
// 测试运行图功能
|
||||||
getRpDetailByUserMapId(this.$route.query.planId).then(resp => {
|
getRpDetailByUserMapId(this.$route.query.planId).then(resp => {
|
||||||
|
Loading…
Reference in New Issue
Block a user