对接认证清单

This commit is contained in:
范强强
2023-03-09 15:44:03 +08:00
parent 439d10e1c6
commit 6048f0ec82
3 changed files with 26 additions and 3 deletions
+1
View File
@@ -1428,4 +1428,5 @@ module.exports = {
onlyListCheckedCanRecalled:'Only the data whose process status is list to be checked can be recalled',
statusthetasistobeconfirmed:'You can withdraw the list only when the status of the list is to be checked or the status of the task is to be confirmed',
confirmreturn:'Confirm return ?',
onlyDataSelected:'Only data with process status of task to be confirmed, result to be submitted and review to be returned can be selected'
}
+1 -1
View File
@@ -1524,10 +1524,10 @@ module.exports = {
confirmReturnForApproval:'确认退回审批',
onlyDataStatusResultReviewedCanBeSelected:'只能选择流程状态为结果待审查的数据',
confirmResetProcess:'确认重置流程?',
confirmUrging:'确认催办',
statusthetasistobeconfirmed:'只有清单待校核状态或任务确认状态为待确认时才可以进行撤回',
confirmreturn:'确认退回',
confirmUrging:'确认催办?',
confirmWithdrawal:'确认撤回?',
onlyListCheckedCanRecalled:'只能撤回流程状态为清单待校核的数据',
onlyDataSelected:'只能选择流程状态为任务待确认结果待提交审查退回的数据'
}
@@ -1159,7 +1159,26 @@
this.turnToDoClickJC()
return
}
this.$refs.SelectedByRef.getPush()
this.toDoIds = []
this.toDoNotConditions = []
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
if (this.selectedRowKeysList[i].flowStatus == 'Task to be confirmed' ||
this.selectedRowKeysList[i].flowStatus == 'Results to be submitted' ||
this.selectedRowKeysList[i].flowStatus == 'Review and return') {
this.toDoIds.push(this.selectedRowKeysList[i].id)
} else {
this.toDoNotConditions.push(this.selectedRowKeysList[i].inspectionItem)
}
}
this.toDoData = ''
if (this.toDoNotConditions && this.toDoNotConditions.length > 0) {
this.toDoData = this.$t('inspectionItems') + '"' + this.toDoNotConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataSelected')
}
if (this.toDoIds && this.toDoIds.length > 0){
this.$refs.SelectedByRef.getPush()
}else{
this.failedMessage(this.toDoData)
}
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
@@ -1168,7 +1187,10 @@
this.toDoIds = []
this.toDoNotConditions = []
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
if (this.selectedRowKeysList[i].dutyPersonName == this.userInfo().username) {
if ((this.selectedRowKeysList[i].flowStatus == 'Task to be confirmed' ||
this.selectedRowKeysList[i].flowStatus == 'Results to be submitted' ||
this.selectedRowKeysList[i].flowStatus == 'Review and return') &&
this.selectedRowKeysList[i].dutyPersonName == this.userInfo().username) {
this.toDoIds.push(this.selectedRowKeysList[i].id)
} else {
this.toDoNotConditions.push(this.selectedRowKeysList[i].inspectionItem)