From 460f6b9ada7cfbd7683a333b4dcb529140592660 Mon Sep 17 00:00:00 2001 From: elsiosanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Fri, 28 Feb 2020 02:18:20 -0400 Subject: [PATCH] Support in the style of Workflow Status Bar (#375) * Support in the style of Workflow Status Bar * add style to .el-step_arrow * change in the style * unnecessary request --- src/components/ADempiere/Panel/index.vue | 10 +++--- .../ADempiere/WorkflowStatusBar/index.vue | 32 +++++++++++++++++-- src/views/ADempiere/Window/index.vue | 23 +++++++++---- 3 files changed, 52 insertions(+), 13 deletions(-) diff --git a/src/components/ADempiere/Panel/index.vue b/src/components/ADempiere/Panel/index.vue index 00e13358..ec511768 100644 --- a/src/components/ADempiere/Panel/index.vue +++ b/src/components/ADempiere/Panel/index.vue @@ -615,10 +615,12 @@ export default { return groupsList }, setTagsViewTitle(actionValue) { - this.$store.dispatch('listDocumentStatus', { - recordUuid: this.$route.query.action, - recordId: this.$route.params.recordId - }) + if (!this.isEmptyValue(this.$route.params.recordId)) { + this.$store.dispatch('listDocumentStatus', { + recordUuid: this.$route.query.action, + recordId: this.$route.params.recordId + }) + } if (actionValue === 'create-new' || this.isEmptyValue(actionValue)) { this.tagTitle.action = this.$t('tagsView.newRecord') } else if (actionValue === 'advancedQuery') { diff --git a/src/components/ADempiere/WorkflowStatusBar/index.vue b/src/components/ADempiere/WorkflowStatusBar/index.vue index d038c022..1f71fe7d 100644 --- a/src/components/ADempiere/WorkflowStatusBar/index.vue +++ b/src/components/ADempiere/WorkflowStatusBar/index.vue @@ -38,7 +38,7 @@
{{ getValue.description }}
{{ descriptionDocumentActions }}
-