From 1b48353efa21ba7810c438961bbd307466b852ca Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 13 Apr 2023 11:12:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=94=B6=E9=9B=86=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E9=80=80=E5=9B=9E=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ParameterItemCollectionList.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 3173fe522..3b66129d8 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -1175,6 +1175,7 @@ // 认证工程师 退回 权限 // 仅仅状态为 已提交 可以退回 homoJurisdictionReturn() { + console.log(this.selectedRowKeysValue) // 认证工程师 已提交 if (this.currentPersonRole == 'homo') { this.NotSelectedRowKeysValue = [] @@ -1228,6 +1229,7 @@ } }) } + console.log(flag) return flag } }, @@ -2131,6 +2133,7 @@ returnDataJurisdiction() { // 退回的状态权限 let homoJurisdictionReturn = this.homoJurisdictionReturn() + console.log(homoJurisdictionReturn,'homoJurisdictionReturn') if (homoJurisdictionReturn == 1) { this.returnData() } else if (homoJurisdictionReturn == 0) { @@ -2142,7 +2145,13 @@ returnData() { // todo 退回没有选择数据 let _array = [] - this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '已提交' || item.state == 'Submitted') + if (this.currentPersonRole == 'homo') { + this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '已提交' || item.state == 'Submitted') + } else if (this.currentPersonRole == 'sdt') { + this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '待工程接口人处理' || item.state == '填写人退回' || item.state == 'To be processed by eng. interface' || item.state == 'Rejected by the applicant') + } else if (this.currentPersonRole == 'dre') { + this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '待填写' || item.state == '认证工程师退回' || item.state == 'To be filled' || item.state == 'Rejected by homo engineer') + } this.selectedRowKeysValue.forEach((item, index) => { _array.push(item.id) })