未符合 查看
This commit is contained in:
@@ -508,11 +508,10 @@ export default {
|
|||||||
designFlowStatusClick(row, name) {
|
designFlowStatusClick(row, name) {
|
||||||
let query = {}
|
let query = {}
|
||||||
let TaskKey = ''
|
let TaskKey = ''
|
||||||
let flowTypeName = ''
|
if (row.flowType == '2') {
|
||||||
if (row.prcType == '2') {
|
|
||||||
if (row.flowStatus == 'Task to be confirmed' || row.flowStatus == 'Duty Person Rejected') {
|
if (row.flowStatus == 'Task to be confirmed' || row.flowStatus == 'Duty Person Rejected') {
|
||||||
TaskKey = 'zrrqr'
|
TaskKey = 'zrrqr'
|
||||||
} else if (row.flowStatus == 'Results to be submitted' || row.flowStatus == 'Non-Compliance' || row.flowStatus == 'To be tracked') {
|
} else if (row.flowStatus == 'Results to be submitted' || row.flowStatus == 'Non-Compliance' ||row.flowStatus == 'To be tracked') {
|
||||||
TaskKey = 'zrrtjjfw'
|
TaskKey = 'zrrtjjfw'
|
||||||
} else if (row.flowStatus == 'Results to be reviewed' ||
|
} else if (row.flowStatus == 'Results to be reviewed' ||
|
||||||
row.flowStatus == 'Compliance' ||
|
row.flowStatus == 'Compliance' ||
|
||||||
@@ -520,12 +519,12 @@ export default {
|
|||||||
TaskKey = 'fggcssh'
|
TaskKey = 'fggcssh'
|
||||||
}
|
}
|
||||||
query = {
|
query = {
|
||||||
actiProcInstId: row.prcId,
|
actiProcInstId: row.actiProcInstId,
|
||||||
projectTaskInventoryId: row.projectLawsInventoryId,
|
projectTaskInventoryId: row.id,
|
||||||
projectLibraryId:row.projectLibraryId,
|
projectLibraryId: this.$route.query.id,
|
||||||
TaskKey: TaskKey,
|
TaskKey: TaskKey,
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
flowType: row.prcType,
|
flowType: row.flowType,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'designDutyIdName',
|
personLiable: 'designDutyIdName',
|
||||||
typeOfDeliverables: 'designDeliverableTypeName',
|
typeOfDeliverables: 'designDeliverableTypeName',
|
||||||
@@ -533,11 +532,10 @@ export default {
|
|||||||
DueDate: 'designDueDate',
|
DueDate: 'designDueDate',
|
||||||
remarks: 'designRemark',
|
remarks: 'designRemark',
|
||||||
}
|
}
|
||||||
flowTypeName = this.$t('designComplianceProcess')
|
} else if(row.flowType == '4'){
|
||||||
} else if(row.prcType == '4'){
|
|
||||||
if (row.flowStatus == 'Task to be confirmed' || row.flowStatus == 'Duty Person Rejected') {
|
if (row.flowStatus == 'Task to be confirmed' || row.flowStatus == 'Duty Person Rejected') {
|
||||||
TaskKey = 'zrrqr'
|
TaskKey = 'zrrqr'
|
||||||
} else if (row.flowStatus == 'Results to be submitted' || row.flowStatus == 'Non-Compliance' || row.flowStatus == 'To be tracked') {
|
} else if (row.flowStatus == 'Results to be submitted' || row.flowStatus == 'Non-Compliance' ||row.flowStatus == 'To be tracked') {
|
||||||
TaskKey = 'zrrtjjfw'
|
TaskKey = 'zrrtjjfw'
|
||||||
} else if (row.flowStatus == 'Results to be reviewed' ||
|
} else if (row.flowStatus == 'Results to be reviewed' ||
|
||||||
row.flowStatus == 'Compliance' ||
|
row.flowStatus == 'Compliance' ||
|
||||||
@@ -545,11 +543,11 @@ export default {
|
|||||||
TaskKey = 'fggcssh'
|
TaskKey = 'fggcssh'
|
||||||
}
|
}
|
||||||
query = {
|
query = {
|
||||||
actiProcInstId: row.prcId,
|
actiProcInstId: row.actiProcInstId,
|
||||||
projectTaskInventoryId: row.projectLawsInventoryId,
|
projectTaskInventoryId: row.id,
|
||||||
projectLibraryId: row.projectLibraryId,
|
projectLibraryId: this.$route.query.id,
|
||||||
TaskKey: TaskKey,
|
TaskKey: TaskKey,
|
||||||
flowType: row.prcType,
|
flowType: row.flowType,
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
Sponsor: 'regulationOwnerName',
|
Sponsor: 'regulationOwnerName',
|
||||||
personLiable: 'verifyDutyIdName',
|
personLiable: 'verifyDutyIdName',
|
||||||
@@ -558,9 +556,8 @@ export default {
|
|||||||
DueDate: 'verifyDueDate',
|
DueDate: 'verifyDueDate',
|
||||||
remarks: 'verifyRemark',
|
remarks: 'verifyRemark',
|
||||||
}
|
}
|
||||||
flowTypeName = this.$t('validationComplianceProcess')
|
|
||||||
}
|
}
|
||||||
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), flowTypeName)
|
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), row.flowTypeName)
|
||||||
},
|
},
|
||||||
standardClick(val) {
|
standardClick(val) {
|
||||||
let num = val.prcType
|
let num = val.prcType
|
||||||
|
|||||||
Reference in New Issue
Block a user