From f1ae33dc9eb67f69269afaec9bca75faa1104179 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Wed, 11 May 2022 16:11:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=9C=AA=E7=AC=A6=E5=90=88?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/listOfRegulations.vue | 20 +++++++++---------- .../components/nonConformance.vue | 2 +- .../projectNonConformance/index.vue | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index d83ff6202..72a38e426 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -965,9 +965,7 @@ this.visible = false this.selectedRowKeys = [] this.$message.success(this.$t('OperationSuccessful')) - this.$router.push({ - path: '/ProcessCenter' - }) + this.getList() } else { this.$message.warning(this.$t('operationFailed')) } @@ -1133,17 +1131,17 @@ }, addProcess(val) { - let num = 2 - // for (let i = 0; i < 3; i++) { - // setTimeout(() => { - this.startProcessDesign(val) - // }, 500) - // } + let num = 1 + for (let i = 0; i < 3; i++) { + setTimeout(() => { + ++num + this.startProcessDesign(val, num) + }, 500) + } }, - startProcessDesign(value, num) { let query = { - type: 2, + type: num, msg: JSON.stringify(value).replace(/\"/g, '\'') } postAction('/workFlow/startProcess', query).then((res) => { diff --git a/jero-web/src/views/projectManagement/components/nonConformance.vue b/jero-web/src/views/projectManagement/components/nonConformance.vue index 9f25f6e31..3ef48b450 100644 --- a/jero-web/src/views/projectManagement/components/nonConformance.vue +++ b/jero-web/src/views/projectManagement/components/nonConformance.vue @@ -89,7 +89,7 @@ { title: this.$t('ProcessType'), align: 'center', - dataIndex: 'ProcessType' + dataIndex: 'flowType' }, { title: this.$t('areaOfResponsibility'), diff --git a/jero-web/src/views/projectManagement/projectNonConformance/index.vue b/jero-web/src/views/projectManagement/projectNonConformance/index.vue index 49e0f4e38..ec02a3acd 100644 --- a/jero-web/src/views/projectManagement/projectNonConformance/index.vue +++ b/jero-web/src/views/projectManagement/projectNonConformance/index.vue @@ -99,7 +99,7 @@ { title: this.$t('ProcessType'), align: 'center', - dataIndex: 'ProcessType' + dataIndex: 'flowType' }, { title: this.$t('RelatedItems'),