139ec6a0 by lihua

专区质量评价不需要填写分数

1 parent 246d2480
......@@ -243,6 +243,10 @@ const tableBtnClick = (scope, btn) => {
} else if (type === 'reject') {
rejectDialogInfo.value.visible = true;
} else if (type === 'pass') {
if (row.zqName) {// 专区的审批通过,也不需要填写质量得分。
passCommonDialogInfo.value.visible = true;
return;
}
if (getFirstNodePromise.value[row.guid]) {
return;
}
......
......@@ -112,7 +112,7 @@ const getDetailInfo = () => {
getEvaDetail({ guid: evaGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => {
if (res.code == proxy.$passCode) {
const data = res.data || {};
evaDetailInfo.value = data;
evaDetailInfo.value = data;
deploymentId.value = data.approveVO.camundaDeploymentId;
processInstanceId.value = data.approveVO?.camundaInstanceId;
} else {
......@@ -236,6 +236,10 @@ const btnClick = (btn) => {
});
}
} else if (type == 'pass') {
if (detailType.value == 'qualityEvaluate' && evaDetailInfo.value.zqName) {
passCommonDialogInfo.value.visible = true;
return;
}
if (getFirstNodePromise.value) {
return;
}
......
......@@ -467,6 +467,10 @@ const btnClick = (btn) => {
name: detailType.value == 'qualityEvaluate' ? 'qualityEvaluate' : (detailType.value == 'costAssess' ? 'valueEvaluate' : (detailType.value == 'certificate' ? 'certificateManagement' : 'registerManagemant'))
});
} else if (type == 'pass') {
if (detailType.value == 'qualityEvaluate' && evaDetailInfo.value.zqName) {
passCommonDialogInfo.value.visible = true;
return;
}
if (getFirstNodePromise.value) {
return;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!