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) })