认证清单-交付物类型为NA时把流程状态变为不涉及

This commit is contained in:
范强强
2023-04-12 11:12:48 +08:00
parent a375c4da3d
commit 82962a5fb8
2 changed files with 10 additions and 3 deletions
@@ -1111,6 +1111,11 @@
let notConditions = []
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
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') ) {
ids.push(this.selectedRowKeysList[i].id)
} else if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
this.selectedRowKeysList[i].endTime) ||
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
this.selectedRowKeysList[i].endTime)) {
@@ -1921,7 +1926,7 @@
content: prompt,
onOk() {
if (NAId && NAId.length > 0) {
this.NASubmitTask(NAId, ids, notConditions, data)
_this.NASubmitTask(NAId, ids, notConditions, data)
}
if (ids && ids.length > 0) {
let query = {
@@ -1949,10 +1954,10 @@
NASubmitTask(NAId, ids, notConditions, data) {
let _this = this
let query = {
'projectLibraryId': _this.$route.query.id,
'flowStatus': 'NA',
'ids': NAId.join(',')
}
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
postAction('/project/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
if (res.success) {
if (ids && ids.length > 0) {
} else {