From ddc9791dc8ce5ed40c9cc3ff9c2ddfecfdcdf49d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 17 Oct 2023 17:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=83=E5=B1=80=E6=94=BF=E7=AD=96=E5=BE=81?= =?UTF-8?q?=E6=B1=82=E6=84=8F=E8=A7=81=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/personnelInformation.vue | 9 ++++ .../components/solicitationList.vue | 16 +++--- .../creatProcess/policyConsultation/index.vue | 51 +++++++++++++++---- 3 files changed, 60 insertions(+), 16 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/personnelInformation.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/personnelInformation.vue index 39e9c614b..1ce8fefd8 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/personnelInformation.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/personnelInformation.vue @@ -276,6 +276,15 @@ this.roleForm = {...this.roleForm} this.modalshowflag = false; }, + submit(callback) { + this.$refs['Form'].validate((valid) => { + if (valid) { + callback && callback(this.roleForm) + } else { + return this.$message.warning('请完善人员信息') + } + }) + }, } } diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue index 67ba009c2..ef3d3f66d 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue @@ -175,18 +175,18 @@ addOrEdit: 'add', editNum: 0, selectList: [], - taskKey: this.$route.query.taskKey, + taskKey: this.$route.query.taskKey,//流程节点key } }, computed: { - isNodeDisplay() { + isNodeDisplay() {//是否展示新增和批量删除 if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9') { return true } return false }, - isGenerateSummary() { + isGenerateSummary() {//是否展示生成汇总单和生成上报意见 if (this.taskKey == 'PolicySolicitOpinionProcessKey13' || this.taskKey == 'PolicySolicitOpinionProcessKey14' || this.taskKey == 'PolicySolicitOpinionProcessKey15') { @@ -194,13 +194,14 @@ } return false }, - isExport() { + isExport() {//是否展示导出 if (this.taskKey == 'PolicySolicitOpinionProcessKey12') { return true } return false }, isPersonInCharge() { + //是否展示责任人 if (this.taskKey == 'PolicySolicitOpinionProcessKey9' || this.taskKey == 'PolicySolicitOpinionProcessKey10' || this.taskKey == 'PolicySolicitOpinionProcessKey11') { @@ -208,7 +209,7 @@ } return false }, - isCompleteFlag() { + isCompleteFlag() {//是否展示提出部门、提出人、处理意见、原因 if (this.taskKey == 'PolicySolicitOpinionProcessKey12' || this.taskKey == 'PolicySolicitOpinionProcessKey13' || this.taskKey == 'PolicySolicitOpinionProcessKey14' || @@ -218,7 +219,7 @@ } return false }, - isOperate() { + isOperate() {//是否展示操作列 if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' || this.taskKey == 'PolicySolicitOpinionProcessKey12') { @@ -226,7 +227,7 @@ } return false }, - showSelection() { + showSelection() {//是否展示选择 if (this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9') { return true @@ -312,6 +313,7 @@ this.histortData = [...this.histortData] } }, + }, } diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue index ce5d20b18..eeb05e126 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue @@ -2,7 +2,7 @@