00f56e9a by lihua

产品上架主平台审批不需要填写信息

1 parent 139ec6a0
...@@ -1737,7 +1737,7 @@ const passCommonDialogBtnClick = (btn, info) => { ...@@ -1737,7 +1737,7 @@ const passCommonDialogBtnClick = (btn, info) => {
1737 </div> 1737 </div>
1738 </ContentWrap> 1738 </ContentWrap>
1739 <ContentWrap id="id-qualityEvaluate" 1739 <ContentWrap id="id-qualityEvaluate"
1740 v-if="tabsInfo.tabs.find(t => t.name == 'qualityEvaluate') || (route.query.type == 'costAssess' && evaDetailInfo.qualityScore != null)" 1740 v-if="tabsInfo.tabs.find(t => t.name == 'qualityEvaluate') || ((route.query.type == 'costAssess' || route.query.type == 'qualityEvaluate') && evaDetailInfo.qualityScore != null)"
1741 title="质量评价" description="资产质量评价信息" expandSwicth style="margin-top: 15px" :isExpand="qualityEvaluateExpand" 1741 title="质量评价" description="资产质量评价信息" expandSwicth style="margin-top: 15px" :isExpand="qualityEvaluateExpand"
1742 @expand="(v) => qualityEvaluateExpand = v"> 1742 @expand="(v) => qualityEvaluateExpand = v">
1743 <div class="list_panel"> 1743 <div class="list_panel">
......
...@@ -399,6 +399,10 @@ const tableBtnClick = (scope, btn) => { ...@@ -399,6 +399,10 @@ const tableBtnClick = (scope, btn) => {
399 399
400 } 400 }
401 if (type == 'pass') { 401 if (type == 'pass') {
402 if (row.zqName) {
403 passCommonDialogInfo.value.visible = true;
404 return;
405 }
402 if (getFirstNodePromise.value[row.guid]) { 406 if (getFirstNodePromise.value[row.guid]) {
403 return; 407 return;
404 } 408 }
...@@ -430,6 +434,10 @@ const tableBtnClick = (scope, btn) => { ...@@ -430,6 +434,10 @@ const tableBtnClick = (scope, btn) => {
430 }) 434 })
431 } 435 }
432 if (type == 'reject') { 436 if (type == 'reject') {
437 if (row.zqName) {
438 rejectDialogInfo.value.visible = true;
439 return;
440 }
433 if (getFirstNodePromise1.value[row.guid]) { 441 if (getFirstNodePromise1.value[row.guid]) {
434 return; 442 return;
435 } 443 }
......
...@@ -1010,6 +1010,10 @@ const btnClick = (btn) => { ...@@ -1010,6 +1010,10 @@ const btnClick = (btn) => {
1010 subForm.value = { ...form }; 1010 subForm.value = { ...form };
1011 submitForm(btn, formEl, true); 1011 submitForm(btn, formEl, true);
1012 } else if (btn.value == 'pass') { 1012 } else if (btn.value == 'pass') {
1013 if (flowDetail.value.zqName) {
1014 passCommonDialogInfo.value.visible = true;
1015 return;
1016 }
1013 if (getFirstNodePromise.value) { 1017 if (getFirstNodePromise.value) {
1014 return; 1018 return;
1015 } 1019 }
...@@ -1041,6 +1045,10 @@ const btnClick = (btn) => { ...@@ -1041,6 +1045,10 @@ const btnClick = (btn) => {
1041 }) 1045 })
1042 } 1046 }
1043 else if (btn.value == 'reject') { 1047 else if (btn.value == 'reject') {
1048 if (flowDetail.value.zqName) {
1049 rejectDialogInfo.value.visible = true;
1050 return;
1051 }
1044 if (getFirstNodePromise1.value) { 1052 if (getFirstNodePromise1.value) {
1045 return; 1053 return;
1046 } 1054 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!