认证清单退回原因
This commit is contained in:
@@ -1777,4 +1777,5 @@ module.exports = {
|
||||
deadlineForVerifyingComplianceResponsibilityConfirmation:'Deadline for verifying compliance responsibility confirmation',
|
||||
batchTaskResponsibilityConfirmation:'Batch task responsibility confirmation',
|
||||
batchComplianceConfirmation:'Batch compliance confirmation',
|
||||
onlyDataWithApprovedCanCeSelected:'Only data with a process status of result pending review or approved can be selected',
|
||||
}
|
||||
@@ -1879,4 +1879,5 @@ module.exports = {
|
||||
deadlineForVerifyingComplianceResponsibilityConfirmation:'验证符合性责任确认截止日期',
|
||||
batchTaskResponsibilityConfirmation:'批量任务责任确认',
|
||||
batchComplianceConfirmation:'批量符合性确认',
|
||||
onlyDataWithApprovedCanCeSelected:'只能选择流程状态为结果待审查、审查通过的数据',
|
||||
}
|
||||
@@ -1113,7 +1113,7 @@
|
||||
if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
|
||||
this.selectedRowKeysList[i].deliverableType == '1635545748968783874') ||
|
||||
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
|
||||
this.selectedRowKeysList[i].deliverableType == '1635545748968783874') ) {
|
||||
this.selectedRowKeysList[i].deliverableType == '1635545748968783874')) {
|
||||
ids.push(this.selectedRowKeysList[i].id)
|
||||
} else if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
|
||||
this.selectedRowKeysList[i].endTime) ||
|
||||
@@ -1852,24 +1852,30 @@
|
||||
}
|
||||
let data = ''
|
||||
if (notConditions && notConditions.length > 0) {
|
||||
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataStatusResultReviewedCanBeSelected')
|
||||
if (value == 'rzgcssc_th'){
|
||||
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataWithApprovedCanCeSelected')
|
||||
}else{
|
||||
data = this.$t('inspectionItems') + '"' + notConditions.join('、') + '"' + this.$t('conditionsNotMet') + ',' + this.$t('onlyDataStatusResultReviewedCanBeSelected')
|
||||
}
|
||||
}
|
||||
if (ids && ids.length > 0) {
|
||||
let text = ''
|
||||
if (isTrue) {
|
||||
text = this.$t('theCurrentlySelectedDataContainsReviewed')
|
||||
} else {
|
||||
text = prompt
|
||||
}
|
||||
if (value == 'rzgcssc_th') {
|
||||
this.$confirm({
|
||||
content: text,
|
||||
onOk() {
|
||||
_this.$refs.reasonForReturnRef.getData(value, text, ids, notConditions, data, _this.$t('reviewTheReasonForReturn'))
|
||||
}
|
||||
})
|
||||
if (isTrue) {
|
||||
this.$confirm({
|
||||
content: text,
|
||||
onOk() {
|
||||
_this.$refs.reasonForReturnRef.getData(value, text, ids, notConditions, data, _this.$t('reviewTheReasonForReturn'))
|
||||
}
|
||||
})
|
||||
} else {
|
||||
_this.$refs.reasonForReturnRef.getData(value, prompt, ids, notConditions, data, _this.$t('reviewTheReasonForReturn'))
|
||||
}
|
||||
} else {
|
||||
this.submitTask(value, text, ids, notConditions, data)
|
||||
this.submitTask(value, prompt, ids, notConditions, data)
|
||||
}
|
||||
} else {
|
||||
this.failedMessage(data)
|
||||
@@ -1878,13 +1884,13 @@
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
reasonForReturnForm(value, text, ids, notConditions, data,reasonForReturn) {
|
||||
reasonForReturnForm(value, text, ids, notConditions, data, reasonForReturn) {
|
||||
let _this = this
|
||||
let query = {
|
||||
'nodeKey': value,
|
||||
'projectLibraryId': _this.$route.query.id,
|
||||
'ids': ids.join(','),
|
||||
reasonForReturn:reasonForReturn
|
||||
reasonForReturn: reasonForReturn
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user