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