修改法规清单校核任务,从待办中心办理链接进来,自动匹配法规工程师角色

This commit is contained in:
范强强
2023-04-07 10:56:23 +08:00
parent a5fbcdd36e
commit 8374af52f7
3 changed files with 24 additions and 8 deletions
@@ -1142,6 +1142,11 @@
key: 'List to be released',
label: this.$t('listToBeReleased')
},
{
value: 'Duty Person Rejected',
key: 'Duty Person Rejected',
label: this.$t('dutyPersonRejected')
},
{
value: 'List to be checked',
key: 'List to be checked',
@@ -1193,6 +1198,11 @@
key: 'List to be released',
label: this.$t('listToBeReleased')
},
{
value: 'Duty Person Rejected',
key: 'Duty Person Rejected',
label: this.$t('dutyPersonRejected')
},
{
value: 'List to be checked',
key: 'List to be checked',
@@ -1392,7 +1402,7 @@
let query = {}
let TaskKey = ''
if (name == this.$t('designComplianceReview')) {
if (row.designFlowStatus == 'Task to be confirmed') {
if (row.designFlowStatus == 'Task to be confirmed' || row.designFlowStatus == 'Duty Person Rejected') {
TaskKey = 'zrrqr'
} else if (row.designFlowStatus == 'Results to be submitted') {
TaskKey = 'zrrtjjfw'
@@ -1422,7 +1432,7 @@
primaryKeyId: row.primaryKeyId
}
} else {
if (row.verifyFlowStatus == 'Task to be confirmed') {
if (row.verifyFlowStatus == 'Task to be confirmed' || row.verifyFlowStatus == 'Duty Person Rejected') {
TaskKey = 'zrrqr'
} else if (row.verifyFlowStatus == 'Results to be submitted') {
TaskKey = 'zrrtjjfw'
@@ -1641,7 +1651,9 @@
//判断当前流程状态是否为清单待校核的数据
for (let i = 0; i < contentList.length; i++) {
if (contentList[i].verifyFlowStatus == 'List to be checked' ||
contentList[i].designFlowStatus == 'List to be checked') {
contentList[i].designFlowStatus == 'List to be checked' ||
contentList[i].verifyFlowStatus == 'Duty Person Rejected' ||
contentList[i].designFlowStatus == 'Duty Person Rejected') {
idList.push(contentList[i].id)
} else {
detailedWarningList.push(
@@ -2429,7 +2441,9 @@
}
for (let i = 0; i < dataSource.length; i++) {
if (dataSource[i].verifyFlowStatus == 'List to be checked' ||
dataSource[i].designFlowStatus == 'List to be checked') {
dataSource[i].designFlowStatus == 'List to be checked' ||
dataSource[i].verifyFlowStatus == 'Duty Person Rejected' ||
dataSource[i].designFlowStatus == 'Duty Person Rejected') {
idList.push(dataSource[i].id)
this.rowKeysSuccessList.push(dataSource[i])
} else {
@@ -2545,7 +2559,7 @@
< div > { dataList[i].serialNumber + _this.$t('thePersonResponsibleForVerifyingEmpty') } < /div>)
}
}
if (dataList[i].designFlowStatus == 'List to be checked') {
if (dataList[i].designFlowStatus == 'List to be checked' || dataList[i].designFlowStatus == 'Duty Person Rejected') {
if (dataList[i].designDeliverableType && dataList[i].designDutyId && dataList[i].designDueDate) {
this.requestsNum++
_this.startProcess(dataList[i], 2, this.requestsNum)
@@ -2554,7 +2568,7 @@
_this.detailedWarningList.push(
< div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>)
}
if (dataList[i].verifyFlowStatus == 'List to be checked') {
if (dataList[i].verifyFlowStatus == 'List to be checked' || dataList[i].verifyFlowStatus == 'Duty Person Rejected') {
if (dataList[i].verifyDeliverableType && dataList[i].verifyDutyId && dataList[i].verifyDueDate) {
this.requestsNum++
_this.startProcess(dataList[i], 4, this.requestsNum)