认证清单-认证工程师发起工程接口人和责任人为空的数据提示操作失败

This commit is contained in:
范强强
2023-03-24 16:23:48 +08:00
parent 375fda713b
commit c0f40fb36e
3 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -1419,7 +1419,7 @@ module.exports = {
confirmLaunchTask:'Confirm launch task ?', confirmLaunchTask:'Confirm launch task ?',
conditionsNotMet:'Conditions not met', conditionsNotMet:'Conditions not met',
onlyProcessStatusReturned:'Only the data whose process status is list to be checked and rejected by the responsible person can be returned', onlyProcessStatusReturned:'Only the data whose process status is list to be checked and rejected by the responsible person can be returned',
onlyProcessReturned:'Only data with process status of list to be checked and rejected by responsible person can be initiated', onlyProcessReturned:'Only data with process status of list to be checked and rejected by responsible person can be initiated And the project interface person and responsible person cannot be blank',
confirmToAcceptTheTask:'Confirm to accept the task ?', confirmToAcceptTheTask:'Confirm to accept the task ?',
confirmRejectTask:'Confirm Reject Task ?', confirmRejectTask:'Confirm Reject Task ?',
onlyDataStatusConfirmedSelected:'Only data with process status of task to be confirmed can be selected', onlyDataStatusConfirmedSelected:'Only data with process status of task to be confirmed can be selected',
@@ -1711,4 +1711,5 @@ module.exports = {
onlyDataWithListStatusDraftCanBeDeleted:'Only data with a list status of Draft can be deleted', onlyDataWithListStatusDraftCanBeDeleted:'Only data with a list status of Draft can be deleted',
implementationDateTwo:'Implementation Date', implementationDateTwo:'Implementation Date',
reasonForReturn:'Reason For Return', reasonForReturn:'Reason For Return',
pleaseFillInTheInformationTaskProcess:'Please fill in the information of the project interface person and responsible person before initiating the task process'
} }
+2 -1
View File
@@ -1518,7 +1518,7 @@ module.exports = {
confirmLaunchTask:'确认发起任务?', confirmLaunchTask:'确认发起任务?',
conditionsNotMet:'不满足条件', conditionsNotMet:'不满足条件',
onlyProcessStatusReturned:'只能退回流程状态为清单待校核和责任人拒绝的数据', onlyProcessStatusReturned:'只能退回流程状态为清单待校核和责任人拒绝的数据',
onlyProcessReturned:'只能发起流程状态为清单待校核和责任人拒绝的数据', onlyProcessReturned:'只能发起流程状态为清单待校核和责任人拒绝的数据,并且工程接口人和责任人不能为空',
confirmToAcceptTheTask:'确认接受任务?', confirmToAcceptTheTask:'确认接受任务?',
confirmRejectTask:'确认拒绝任务?', confirmRejectTask:'确认拒绝任务?',
onlyDataStatusConfirmedSelected:'只能选择流程状态为任务待确认的数据', onlyDataStatusConfirmedSelected:'只能选择流程状态为任务待确认的数据',
@@ -1811,4 +1811,5 @@ module.exports = {
onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据', onlyDataWithListStatusDraftCanBeDeleted:'只能删除清单状态为草稿的数据',
implementationDateTwo:'实施日期', implementationDateTwo:'实施日期',
reasonForReturn:'Reason For Return', reasonForReturn:'Reason For Return',
pleaseFillInTheInformationTaskProcess:'请填写工程接口人和责任人信息后再发起任务流程'
} }
@@ -1505,7 +1505,11 @@
for (let i = 0; i < this.selectedRowKeysList.length; i++) { for (let i = 0; i < this.selectedRowKeysList.length; i++) {
if (this.selectedRowKeysList[i].flowStatus == 'List to be checked' || if (this.selectedRowKeysList[i].flowStatus == 'List to be checked' ||
this.selectedRowKeysList[i].flowStatus == 'Refusal of responsible person') { this.selectedRowKeysList[i].flowStatus == 'Refusal of responsible person') {
ids.push(this.selectedRowKeysList[i].id) if (this.selectedRowKeysList[i].dutyPerson && this.selectedRowKeysList[i].sdt) {
ids.push(this.selectedRowKeysList[i].id)
} else {
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
}
} else { } else {
notConditions.push(this.selectedRowKeysList[i].inspectionItem) notConditions.push(this.selectedRowKeysList[i].inspectionItem)
} }