uat-58、61修改

This commit is contained in:
wangzhijiang
2023-02-20 14:58:29 +08:00
parent 12adb40a61
commit 12ec9b71ba
@@ -463,7 +463,7 @@
</span> </span>
<!-- 分配填写人 --> <!-- 分配填写人 -->
<span v-else-if='jurisdiction === "SDTFPTXRHOMO"' class="text-wraning"> <span v-else-if='jurisdiction === "SDTFPTXRHOMO"' class="text-wraning">
'{{$t('completed')}}' '{{$t('completed')}}''{{$t('or')}}'{{$t('Filledreturn')}}''{{$t('or')}}'{{$t('ReturnedEngineer')}}'
</span> </span>
<!-- 引用参数--> <!-- 引用参数-->
<span v-else-if='jurisdiction === "DREYYCS"' class="text-wraning"> <span v-else-if='jurisdiction === "DREYYCS"' class="text-wraning">
@@ -1200,7 +1200,7 @@
} else { } else {
this.selectedRowKeysValue.forEach((item, index) => { this.selectedRowKeysValue.forEach((item, index) => {
console.log(item.state) console.log(item.state)
if (item.state !== '待填写' && item.state !== 'To be filled') { if (item.state !== '待填写' && item.state !== 'To be filled' && item.state !== '填写人退回' && item.state !== 'Rejected by the applicant' && item.state !== '认证工程师退回' && item.state !== 'Rejected by homo engineer') {
this.NotSelectedRowKeysValue.push(item) this.NotSelectedRowKeysValue.push(item)
flag = 0 flag = 0
} }
@@ -1665,15 +1665,20 @@
this.returnData() this.returnData()
} else if (homoJurisdictionReturn == 0) { } else if (homoJurisdictionReturn == 0) {
this.visibleoperationFailed = true this.visibleoperationFailed = true
this.returnData()
} }
}, },
// 退回 // 退回
returnData() { returnData() {
// todo 退回没有选择数据 // todo 退回没有选择数据
let _array = [] let _array = []
this.selectedRowKeysValue = this.selectedRowKeysValue.filter(item => item.state == '已提交' || item.state == 'Submitted')
this.selectedRowKeysValue.forEach((item, index) => { this.selectedRowKeysValue.forEach((item, index) => {
_array.push(item.id) _array.push(item.id)
}) })
if(_array.length == 0){
return
}
let _this = this let _this = this
let param = { ids: _array.join(','), let param = { ids: _array.join(','),
currentPersonRole: this.currentPersonRole, currentPersonRole: this.currentPersonRole,