修改 法规清单的历史记录
This commit is contained in:
@@ -1600,25 +1600,44 @@
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < content.length > 0; i++) {
|
||||
if (content[i].verifyFlowStatus == 'List to be checked' ||
|
||||
content[i].designFlowStatus == 'List to be checked' ||
|
||||
content[i].verifyFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].designFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].verifyFlowStatus == 'Results to be submitted' ||
|
||||
content[i].designFlowStatus == 'Results to be submitted' ||
|
||||
content[i].verifyFlowStatus == 'Results to be reviewed' ||
|
||||
content[i].designFlowStatus == 'Results to be reviewed') {
|
||||
this.questionIdList.push(content[i].id)
|
||||
} else {
|
||||
detailedWarningList.push(content[i].serialNumber)
|
||||
if (this.roleSwitchingCode == 0) {
|
||||
if (content[i].verifyFlowStatus == 'List to be checked' ||
|
||||
content[i].designFlowStatus == 'List to be checked' ||
|
||||
content[i].verifyFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].designFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].verifyFlowStatus == 'Results to be submitted' ||
|
||||
content[i].designFlowStatus == 'Results to be submitted' ||
|
||||
content[i].verifyFlowStatus == 'Results to be reviewed' ||
|
||||
content[i].designFlowStatus == 'Results to be reviewed') {
|
||||
this.questionIdList.push(content[i].id)
|
||||
} else {
|
||||
detailedWarningList.push(content[i].serialNumber)
|
||||
}
|
||||
} else if (this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30) {
|
||||
if (content[i].verifyFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].designFlowStatus == 'Task to be confirmed' ||
|
||||
content[i].verifyFlowStatus == 'Results to be submitted' ||
|
||||
content[i].designFlowStatus == 'Results to be submitted' ||
|
||||
content[i].verifyFlowStatus == 'Results to be reviewed' ||
|
||||
content[i].designFlowStatus == 'Results to be reviewed') {
|
||||
this.questionIdList.push(content[i].id)
|
||||
} else {
|
||||
detailedWarningList.push(content[i].serialNumber)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (detailedWarningList && detailedWarningList.length > 0) {
|
||||
this.questionWarning.push(
|
||||
< div > {
|
||||
detailedWarningList
|
||||
.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')
|
||||
} < /div>)
|
||||
if (this.roleSwitchingCode == 0){
|
||||
this.questionWarning.push(
|
||||
< div > {
|
||||
detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')
|
||||
} < /div>)
|
||||
}else if(this.roleSwitchingCode == 1 || this.roleSwitchingCode == 30){
|
||||
this.questionWarning.push(
|
||||
< div > {
|
||||
detailedWarningList.join(',') + this.$t('conditionsNotMet') + this.$t('onlyDataInTheReminderProcessBanBeProcessed')+this.$t('andTheProcessStatusTheList')
|
||||
} < /div>)
|
||||
}
|
||||
}
|
||||
if (this.questionIdList && this.questionIdList.length > 0) {
|
||||
this.visibleQuestion = true
|
||||
|
||||
Reference in New Issue
Block a user