1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

raname variable (#475)

* raname variable

* change conditional
This commit is contained in:
elsiosanchez 2020-04-30 12:26:08 -04:00 committed by GitHub
parent 49e82232f9
commit a4a1cdb182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View File

@ -10,7 +10,7 @@
:panel-type="panelType"
/>
<el-header
v-if="ShowInfoContext"
v-if="showContextMenu"
>
<context-menu
:menu-parent-uuid="$route.meta.parentUuid"
@ -105,8 +105,8 @@ export default {
}
},
computed: {
ShowInfoContext() {
return this.$store.state.settings.ShowInfoContext
showContextMenu() {
return this.$store.state.settings.showContextMenu
},
getterBrowser() {
return this.$store.getters.getBrowser(this.browserUuid)

View File

@ -6,7 +6,7 @@
style="height: 84vh;"
>
<el-header
v-if="ShowInfoContext"
v-if="showContextMenu"
style="height: 39px; background: white;"
>
<context-menu
@ -82,8 +82,8 @@ export default {
}
},
computed: {
ShowInfoContext() {
return this.$store.state.settings.ShowInfoContext
showContextMenu() {
return this.$store.state.settings.showContextMenu
},
formTitle() {
return this.formMetadata.name || this.$route.meta.title

View File

@ -6,7 +6,7 @@
style="height: 84vh;"
>
<el-header
v-if="ShowInfoContext"
v-if="showContextMenu"
style="height: 39px;"
>
<context-menu
@ -89,8 +89,8 @@ export default {
}
},
computed: {
ShowInfoContext() {
return this.$store.state.settings.ShowInfoContext
showContextMenu() {
return this.$store.state.settings.showContextMenu
},
getterProcess() {
return this.$store.getters.getPanel(this.processUuid)

View File

@ -1,7 +1,7 @@
<template>
<div v-if="isLoading" key="report-viewer-loaded" style="min-height: inherit;">
<context-menu
v-if="ShowInfoContext"
v-if="showContextMenu"
:container-uuid="reportResult.processUuid"
:panel-type="panelType"
:is-report="true"
@ -113,8 +113,8 @@ export default {
},
computed: {
// TODO: Add get metadata from server to open report view from link
ShowInfoContext() {
return this.$store.state.settings.ShowInfoContext
showContextMenu() {
return this.$store.state.settings.showContextMenu
},
getterProcess() {
return this.$store.getters.getProcessById(this.$route.params.processId)

View File

@ -59,7 +59,7 @@
<Split v-shortkey="['f8']" direction="vertical" @onDrag="onDrag" @shortkey.native="handleChangeShowedRecordNavigation(!isShowedRecordNavigation)">
<SplitArea :size="sizeAreaStyle" :style="splitAreaStyle">
<el-header
v-if="ShowInfoContext"
v-if="showContextMenu"
:style="isWorkflowBarStatus ? 'height: 45px; background: #F5F7FA' : 'height: 40px'"
>
<el-container>
@ -343,8 +343,8 @@ export default {
next()
},
computed: {
ShowInfoContext() {
return this.$store.state.settings.ShowInfoContext
showContextMenu() {
return this.$store.state.settings.showContextMenu
},
defaultPorcentSplitPane() {
if (this.isShowedRecordPanel) {