专区质量评价不需要填写分数
Showing
3 changed files
with
13 additions
and
1 deletions
| ... | @@ -243,6 +243,10 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -243,6 +243,10 @@ const tableBtnClick = (scope, btn) => { |
| 243 | } else if (type === 'reject') { | 243 | } else if (type === 'reject') { |
| 244 | rejectDialogInfo.value.visible = true; | 244 | rejectDialogInfo.value.visible = true; |
| 245 | } else if (type === 'pass') { | 245 | } else if (type === 'pass') { |
| 246 | if (row.zqName) {// 专区的审批通过,也不需要填写质量得分。 | ||
| 247 | passCommonDialogInfo.value.visible = true; | ||
| 248 | return; | ||
| 249 | } | ||
| 246 | if (getFirstNodePromise.value[row.guid]) { | 250 | if (getFirstNodePromise.value[row.guid]) { |
| 247 | return; | 251 | return; |
| 248 | } | 252 | } | ... | ... |
| ... | @@ -112,7 +112,7 @@ const getDetailInfo = () => { | ... | @@ -112,7 +112,7 @@ const getDetailInfo = () => { |
| 112 | getEvaDetail({ guid: evaGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { | 112 | getEvaDetail({ guid: evaGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { |
| 113 | if (res.code == proxy.$passCode) { | 113 | if (res.code == proxy.$passCode) { |
| 114 | const data = res.data || {}; | 114 | const data = res.data || {}; |
| 115 | evaDetailInfo.value = data; | 115 | evaDetailInfo.value = data; |
| 116 | deploymentId.value = data.approveVO.camundaDeploymentId; | 116 | deploymentId.value = data.approveVO.camundaDeploymentId; |
| 117 | processInstanceId.value = data.approveVO?.camundaInstanceId; | 117 | processInstanceId.value = data.approveVO?.camundaInstanceId; |
| 118 | } else { | 118 | } else { |
| ... | @@ -236,6 +236,10 @@ const btnClick = (btn) => { | ... | @@ -236,6 +236,10 @@ const btnClick = (btn) => { |
| 236 | }); | 236 | }); |
| 237 | } | 237 | } |
| 238 | } else if (type == 'pass') { | 238 | } else if (type == 'pass') { |
| 239 | if (detailType.value == 'qualityEvaluate' && evaDetailInfo.value.zqName) { | ||
| 240 | passCommonDialogInfo.value.visible = true; | ||
| 241 | return; | ||
| 242 | } | ||
| 239 | if (getFirstNodePromise.value) { | 243 | if (getFirstNodePromise.value) { |
| 240 | return; | 244 | return; |
| 241 | } | 245 | } | ... | ... |
| ... | @@ -467,6 +467,10 @@ const btnClick = (btn) => { | ... | @@ -467,6 +467,10 @@ const btnClick = (btn) => { |
| 467 | name: detailType.value == 'qualityEvaluate' ? 'qualityEvaluate' : (detailType.value == 'costAssess' ? 'valueEvaluate' : (detailType.value == 'certificate' ? 'certificateManagement' : 'registerManagemant')) | 467 | name: detailType.value == 'qualityEvaluate' ? 'qualityEvaluate' : (detailType.value == 'costAssess' ? 'valueEvaluate' : (detailType.value == 'certificate' ? 'certificateManagement' : 'registerManagemant')) |
| 468 | }); | 468 | }); |
| 469 | } else if (type == 'pass') { | 469 | } else if (type == 'pass') { |
| 470 | if (detailType.value == 'qualityEvaluate' && evaDetailInfo.value.zqName) { | ||
| 471 | passCommonDialogInfo.value.visible = true; | ||
| 472 | return; | ||
| 473 | } | ||
| 470 | if (getFirstNodePromise.value) { | 474 | if (getFirstNodePromise.value) { |
| 471 | return; | 475 | return; |
| 472 | } | 476 | } | ... | ... |
-
Please register or sign in to post a comment