参数收集清单退回逻辑修改
This commit is contained in:
@@ -1175,6 +1175,7 @@
|
|||||||
// 认证工程师 退回 权限
|
// 认证工程师 退回 权限
|
||||||
// 仅仅状态为 已提交 可以退回
|
// 仅仅状态为 已提交 可以退回
|
||||||
homoJurisdictionReturn() {
|
homoJurisdictionReturn() {
|
||||||
|
console.log(this.selectedRowKeysValue)
|
||||||
// 认证工程师 已提交
|
// 认证工程师 已提交
|
||||||
if (this.currentPersonRole == 'homo') {
|
if (this.currentPersonRole == 'homo') {
|
||||||
this.NotSelectedRowKeysValue = []
|
this.NotSelectedRowKeysValue = []
|
||||||
@@ -1228,6 +1229,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
console.log(flag)
|
||||||
return flag
|
return flag
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2131,6 +2133,7 @@
|
|||||||
returnDataJurisdiction() {
|
returnDataJurisdiction() {
|
||||||
// 退回的状态权限
|
// 退回的状态权限
|
||||||
let homoJurisdictionReturn = this.homoJurisdictionReturn()
|
let homoJurisdictionReturn = this.homoJurisdictionReturn()
|
||||||
|
console.log(homoJurisdictionReturn,'homoJurisdictionReturn')
|
||||||
if (homoJurisdictionReturn == 1) {
|
if (homoJurisdictionReturn == 1) {
|
||||||
this.returnData()
|
this.returnData()
|
||||||
} else if (homoJurisdictionReturn == 0) {
|
} else if (homoJurisdictionReturn == 0) {
|
||||||
@@ -2142,7 +2145,13 @@
|
|||||||
returnData() {
|
returnData() {
|
||||||
// todo 退回没有选择数据
|
// todo 退回没有选择数据
|
||||||
let _array = []
|
let _array = []
|
||||||
|
if (this.currentPersonRole == 'homo') {
|
||||||
this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '已提交' || item.state == 'Submitted')
|
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) => {
|
this.selectedRowKeysValue.forEach((item, index) => {
|
||||||
_array.push(item.id)
|
_array.push(item.id)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user