9642ed3b by lihua

验收修改

1 parent b2b7f301
...@@ -217,19 +217,19 @@ const tableInfo = ref({ ...@@ -217,19 +217,19 @@ const tableInfo = ref({
217 let deliveryStatus = row.deliveryStatus; 217 let deliveryStatus = row.deliveryStatus;
218 if (deliveryStatus == 2) {//已交付有删除按钮 218 if (deliveryStatus == 2) {//已交付有删除按钮
219 btns.push({ 219 btns.push({
220 value: 'del', label: '删除', click: (scope) => { 220 value: 'del', label: '销毁', click: (scope) => {
221 proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => { 221 proxy.$openMessageBox("此操作将永久销毁数据, 是否继续?", () => {
222 deleteDeliveryContract([scope.row.guid]).then((res: any) => { 222 deleteDeliveryContract([scope.row.guid]).then((res: any) => {
223 if (res?.code == proxy.$passCode) { 223 if (res?.code == proxy.$passCode) {
224 page.value.curr = 1; 224 page.value.curr = 1;
225 getTableData(); 225 getTableData();
226 proxy.$ElMessage.success('删除成功'); 226 proxy.$ElMessage.success('销毁成功');
227 } else { 227 } else {
228 res?.msg && proxy.$ElMessage.error(res?.msg); 228 res?.msg && proxy.$ElMessage.error(res?.msg);
229 } 229 }
230 }); 230 });
231 }, () => { 231 }, () => {
232 proxy.$ElMessage.info("已取消"); 232 proxy.$ElMessage.info("已取消销毁");
233 }) 233 })
234 } 234 }
235 }); 235 });
......
...@@ -117,7 +117,9 @@ const processInstanceId = ref(''); ...@@ -117,7 +117,9 @@ const processInstanceId = ref('');
117 const registerDetailTableInfo = ref({ 117 const registerDetailTableInfo = ref({
118 id: 'register-data-table', 118 id: 'register-data-table',
119 rowKey: 'guid', 119 rowKey: 'guid',
120 height: 220, 120 height: 'auto',
121 minPanelHeight: '60px',
122 minHeight: '60px',
121 loading: false, 123 loading: false,
122 fields: [{ label: "序号", type: "index", width: 56, align: "center" }, 124 fields: [{ label: "序号", type: "index", width: 56, align: "center" },
123 { label: "事项", field: "title", width: 160, align: "left" }, 125 { label: "事项", field: "title", width: 160, align: "left" },
......
...@@ -20,7 +20,6 @@ import { getDamTypesList } from "@/api/modules/dataAsset"; ...@@ -20,7 +20,6 @@ import { getDamTypesList } from "@/api/modules/dataAsset";
20 import { 20 import {
21 changeNum, 21 changeNum,
22 } from "@/utils/common"; 22 } from "@/utils/common";
23 import { chunk } from "@/api/modules/common";
24 import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; 23 import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService";
25 24
26 const { proxy } = getCurrentInstance() as any; 25 const { proxy } = getCurrentInstance() as any;
...@@ -634,15 +633,16 @@ onBeforeMount(() => { ...@@ -634,15 +633,16 @@ onBeforeMount(() => {
634 proxy.$ElMessage.error(res.msg); 633 proxy.$ElMessage.error(res.msg);
635 } 634 }
636 }) 635 })
637 getParamsList({ 636 // 连接器没有通过和驳回,不需要审批通过时填写合规信息。
638 dictType: "数据产品上架审批合规信息", 637 // getParamsList({
639 }).then((res: any) => { 638 // dictType: "数据产品上架审批合规信息",
640 if (res.code == proxy.$passCode) { 639 // }).then((res: any) => {
641 assetsSafeInfo.value = res.data || []; 640 // if (res.code == proxy.$passCode) {
642 } else { 641 // assetsSafeInfo.value = res.data || [];
643 proxy.$ElMessage.error(res.msg); 642 // } else {
644 } 643 // proxy.$ElMessage.error(res.msg);
645 }) 644 // }
645 // })
646 }) 646 })
647 647
648 const assetsSafeInfo = ref<any>() 648 const assetsSafeInfo = ref<any>()
...@@ -929,7 +929,7 @@ const rejectDialogBtnClick = (btn, info) => { ...@@ -929,7 +929,7 @@ const rejectDialogBtnClick = (btn, info) => {
929 @tableSwitchBeforeChange="tableSwitchBeforeChange" /> 929 @tableSwitchBeforeChange="tableSwitchBeforeChange" />
930 </div> 930 </div>
931 <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false"> 931 <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false">
932 <Form ref="listingFormRef" :itemList="formInfo.items" :rules="formInfo.rules" /> 932 <!-- <Form ref="listingFormRef" :itemList="formInfo.items" :rules="formInfo.rules" /> -->
933 <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none" 933 <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none"
934 :placeholder="dynamicPlaceholder" /> 934 :placeholder="dynamicPlaceholder" />
935 <template #footer> 935 <template #footer>
......
...@@ -470,34 +470,48 @@ const formInfo = ref<any>({ ...@@ -470,34 +470,48 @@ const formInfo = ref<any>({
470 // required: false, 470 // required: false,
471 // visible: true 471 // visible: true
472 // }, 472 // },
473 // { 473 {
474 // label: '承诺函', 474 label: '承诺函',
475 // tip: '支持扩展名:.png .pdf', 475 tip: '支持扩展名:.png .pdf',
476 // accept: '.png, .pdf', 476 accept: '.png, .pdf',
477 // type: 'upload-file', 477 type: 'upload-file',
478 // placeholder: '请选择', 478 placeholder: '请选择',
479 // field: 'commitmentLetterInfo', 479 field: 'commitmentLetterInfo',
480 // templateUrl: '', 480 // templateUrl: '',
481 // default: [], 481 default: [],
482 // limit: 1, 482 limit: 1,
483 // block: true, 483 block: true,
484 // required: true, 484 required: true,
485 // visible: true 485 visible: true
486 // }, 486 },
487 // { 487 {
488 // label: '授权文件', 488 label: '授权文件',
489 // tip: '支持扩展名:.png .pdf', 489 tip: '支持扩展名:.png .pdf',
490 // accept: '.png, .pdf', 490 accept: '.png, .pdf',
491 // type: 'upload-file', 491 type: 'upload-file',
492 // placeholder: '请选择', 492 placeholder: '请选择',
493 // field: 'accreditFileInfo', 493 field: 'accreditFileInfo',
494 // templateUrl: '', 494 // templateUrl: '',
495 // default: [], 495 default: [],
496 // limit: 1, 496 limit: 1,
497 // block: true, 497 block: true,
498 // required: true, 498 required: true,
499 // visible: true 499 visible: true
500 // }, 500 },
501 {
502 label: '其它证明文件',
503 tip: '支持扩展名:.png .pdf .rar .zip',
504 accept: '.png, .pdf, .rar, .zip',
505 type: 'upload-file',
506 placeholder: '请选择',
507 field: 'productDetailInfo',
508 // templateUrl: '',
509 default: [],
510 limit: 1,
511 block: true,
512 required: false,
513 visible: true
514 },
501 // { 515 // {
502 // label: '商品详细介绍(签章版)', 516 // label: '商品详细介绍(签章版)',
503 // tip: '支持扩展名:.png .pdf', 517 // tip: '支持扩展名:.png .pdf',
...@@ -609,31 +623,31 @@ const formInfo = ref<any>({ ...@@ -609,31 +623,31 @@ const formInfo = ref<any>({
609 // }, 623 // },
610 // ], 624 // ],
611 // 校验承诺函 625 // 校验承诺函
612 // commitmentLetterInfo: [ 626 commitmentLetterInfo: [
613 // { 627 {
614 // validator: (rule: any, value: any, callback: any) => { 628 validator: (rule: any, value: any, callback: any) => {
615 // let formInline = listingFormRef.value.formInline; 629 let formInline = listingFormRef.value.formInline;
616 // if (!value?.length) { 630 if (!value?.length) {
617 // callback(new Error('请上传承诺函')) 631 callback(new Error('请上传承诺函'))
618 // } else { 632 } else {
619 // callback(); 633 callback();
620 // } 634 }
621 // }, trigger: 'change' 635 }, trigger: 'change'
622 // }, 636 },
623 // ], 637 ],
624 // 校验授权文件 638 // 校验授权文件
625 // accreditFileInfo: [ 639 accreditFileInfo: [
626 // { 640 {
627 // validator: (rule: any, value: any, callback: any) => { 641 validator: (rule: any, value: any, callback: any) => {
628 // let formInline = listingFormRef.value.formInline; 642 let formInline = listingFormRef.value.formInline;
629 // if (!value?.length) { 643 if (!value?.length) {
630 // callback(new Error('请上传授权文件')) 644 callback(new Error('请上传授权文件'))
631 // } else { 645 } else {
632 // callback(); 646 callback();
633 // } 647 }
634 // }, trigger: 'change' 648 }, trigger: 'change'
635 // }, 649 },
636 // ], 650 ],
637 // // 校验商品详细介绍 651 // // 校验商品详细介绍
638 // productDetailInfo: [ 652 // productDetailInfo: [
639 // { 653 // {
...@@ -694,9 +708,9 @@ const getProductDetail = async () => { ...@@ -694,9 +708,9 @@ const getProductDetail = async () => {
694 // if (res.data.commitmentLetter && res.data.commitmentLetter.length) { 708 // if (res.data.commitmentLetter && res.data.commitmentLetter.length) {
695 // flowDetail.value.commitmentLetter = { name: res.data.commitmentLetter[0].name, url: res.data.commitmentLetter[0].url } 709 // flowDetail.value.commitmentLetter = { name: res.data.commitmentLetter[0].name, url: res.data.commitmentLetter[0].url }
696 // } 710 // }
697 // if (res.data.accreditFile && res.data.accreditFile.length) { 711 if (res.data.accreditFile && res.data.accreditFile.length) {
698 // flowDetail.value.accreditFile = { name: res.data.accreditFile[0].name, url: res.data.accreditFile[0].url } 712 flowDetail.value.accreditFile = { name: res.data.accreditFile[0].name, url: res.data.accreditFile[0].url }
699 // } 713 }
700 // if (res.data.productDetail && res.data.productDetail.length) { 714 // if (res.data.productDetail && res.data.productDetail.length) {
701 // flowDetail.value.productDetail = { name: res.data.productDetail[0].name, url: res.data.productDetail[0].url } 715 // flowDetail.value.productDetail = { name: res.data.productDetail[0].name, url: res.data.productDetail[0].url }
702 // } 716 // }
...@@ -1105,23 +1119,6 @@ const selectChange = async (val, row, info) => { ...@@ -1105,23 +1119,6 @@ const selectChange = async (val, row, info) => {
1105 currProductInfo.value = dataInfo; 1119 currProductInfo.value = dataInfo;
1106 let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : []; 1120 let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : [];
1107 await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea, content: dataInfo.propertyDescription || dataInfo.sceneDescription || info.content }); 1121 await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea, content: dataInfo.propertyDescription || dataInfo.sceneDescription || info.content });
1108 // formInfo.value.items.forEach((item: any) => {
1109 // if (item.field == 'costAssessmentFileInfo') {
1110 // item.default = data?.[0]?.assessmentFile || [];
1111 // } else if (item.field == 'qualityEvaluationFileInfo') {
1112 // item.default = data?.[0]?.evaluationFile || [];
1113 // } else if (item.field == 'qualityEvaluationFileInfo') {
1114 // item.default = data?.[0]?.evaluationFile || [];
1115 // } else if (item.field == 'commitmentLetterInfo') {
1116 // item.default = data?.[0]?.commitmentLetter || [];
1117 // } else if (item.field == 'qualityEvaluationInstitution') {
1118 // item.default = data?.[0]?.qualityEvaluationInstitution || '';
1119 // } else if (item.field == 'costAssessmentInstitution') {
1120 // item.default = data?.[0]?.costAssessmentInstitution || '';
1121 // } else if (item.field == 'pricingWay') {
1122 // item.default = data?.[0]?.pricingWay || '';
1123 // }
1124 // });
1125 1122
1126 // formInfo.value.items.at(0).default = val; 1123 // formInfo.value.items.at(0).default = val;
1127 formInfo.value.items.at(1).default = data.length ? data[0].damType : ''; 1124 formInfo.value.items.at(1).default = data.length ? data[0].damType : '';
...@@ -1217,7 +1214,7 @@ onBeforeMount(async () => { ...@@ -1217,7 +1214,7 @@ onBeforeMount(async () => {
1217 // case 1: 数交易所 case 2: 门户 1214 // case 1: 数交易所 case 2: 门户
1218 if (route.query.case == '2') { 1215 if (route.query.case == '2') {
1219 formInfo.value.items.forEach(item => { 1216 formInfo.value.items.forEach(item => {
1220 if (item.field == 'productCode' || item.field == 'damCode' || item.field == 'exchangeName' || item.field == 'registrationCertificateInfo' || item.field == 'qualityEvaluationFileInfo' || item.field == 'qualityEvaluationInstitution' || item.field == 'costAssessmentFileInfo' || item.field == 'costAssessmentInstitution' || item.field == 'commitmentLetterInfo' || item.field == 'accreditFileInfo' || item.field == 'productDetailInfo') { 1217 if (item.field == 'productCode' || item.field == 'damCode' || item.field == 'exchangeName' || item.field == 'registrationCertificateInfo' || item.field == 'qualityEvaluationFileInfo' || item.field == 'qualityEvaluationInstitution' || item.field == 'costAssessmentFileInfo' || item.field == 'costAssessmentInstitution') {
1221 item.visible = false; 1218 item.visible = false;
1222 } 1219 }
1223 }) 1220 })
...@@ -1225,18 +1222,18 @@ onBeforeMount(async () => { ...@@ -1225,18 +1222,18 @@ onBeforeMount(async () => {
1225 if (detailType && detailType != 'add') { 1222 if (detailType && detailType != 'add') {
1226 getProductDetail(); 1223 getProductDetail();
1227 } 1224 }
1228 if (detailType == 'detail') { 1225 // if (detailType == 'detail') {
1229 getParamsList({ 1226 // getParamsList({
1230 dictType: "数据产品上架审批合规信息", 1227 // dictType: "数据产品上架审批合规信息",
1231 }).then((res: any) => { 1228 // }).then((res: any) => {
1232 if (res.code == proxy.$passCode) { 1229 // if (res.code == proxy.$passCode) {
1233 assetsSafeInfo.value = res.data || []; 1230 // assetsSafeInfo.value = res.data || [];
1234 } else { 1231 // } else {
1235 proxy.$ElMessage.error(res.msg); 1232 // proxy.$ElMessage.error(res.msg);
1236 } 1233 // }
1237 }) 1234 // })
1238 // return; //详情不需要调用以下接口 1235 // // return; //详情不需要调用以下接口
1239 } 1236 // }
1240 if (detailType != 'detail') { 1237 if (detailType != 'detail') {
1241 await getTableData(); 1238 await getTableData();
1242 if (route.query.exchangeGuid) { 1239 if (route.query.exchangeGuid) {
...@@ -1843,7 +1840,10 @@ const viewProductDetail = () => { ...@@ -1843,7 +1840,10 @@ const viewProductDetail = () => {
1843 <div class="list_panel" v-else> 1840 <div class="list_panel" v-else>
1844 <div class="list_item"> 1841 <div class="list_item">
1845 <span class="item_label">数据产品名称:</span> 1842 <span class="item_label">数据产品名称:</span>
1846 <span class="item_value link" @click="viewProductDetail">{{ flowDetail.damName || '--' }}</span> 1843 <span class="item_value link" @click="viewProductDetail">
1844 <ellipsis-tooltip :content="flowDetail.damName || '--'"
1845 class-name="w100f mr8-i" :refName="'tooltipOver' + 'damName'"></ellipsis-tooltip>
1846 </span>
1847 </div> 1847 </div>
1848 <div class="list_item"> 1848 <div class="list_item">
1849 <span class="item_label">资产类型:</span> 1849 <span class="item_label">资产类型:</span>
...@@ -1869,7 +1869,7 @@ const viewProductDetail = () => { ...@@ -1869,7 +1869,7 @@ const viewProductDetail = () => {
1869 <span class="item_label">定价方式:</span> 1869 <span class="item_label">定价方式:</span>
1870 <span class="item_value">{{ priceWayInfo || '--' }}</span> 1870 <span class="item_value">{{ priceWayInfo || '--' }}</span>
1871 </div> 1871 </div>
1872 <div v-show="flowDetail.dataSource != '1'" class="list_item"> 1872 <div v-show="flowDetail.dataSource != '1' && priceWayInfo != '面议'" class="list_item">
1873 <span class="item_label">定价金额:</span> 1873 <span class="item_label">定价金额:</span>
1874 <span class="item_value">{{ prcieInfo || '--' }}</span> 1874 <span class="item_value">{{ prcieInfo || '--' }}</span>
1875 </div> 1875 </div>
...@@ -1974,7 +1974,7 @@ const viewProductDetail = () => { ...@@ -1974,7 +1974,7 @@ const viewProductDetail = () => {
1974 </div> 1974 </div>
1975 </div> 1975 </div>
1976 </div> 1976 </div>
1977 <div class="panel_wrap" 1977 <!-- <div class="panel_wrap"
1978 v-if="(detailType == 'detail') && flowDetail.complianceInfo && Object.keys(flowDetail.complianceInfo).length > 0"> 1978 v-if="(detailType == 'detail') && flowDetail.complianceInfo && Object.keys(flowDetail.complianceInfo).length > 0">
1979 <div class="panel_header"> 1979 <div class="panel_header">
1980 <div class="header_title"> 1980 <div class="header_title">
...@@ -2035,7 +2035,7 @@ const viewProductDetail = () => { ...@@ -2035,7 +2035,7 @@ const viewProductDetail = () => {
2035 </div> 2035 </div>
2036 </div> 2036 </div>
2037 </div> 2037 </div>
2038 </div> 2038 </div> -->
2039 <div class="panel_wrap" v-if="detailType == 'detail' && dGuid !== undefined"> 2039 <div class="panel_wrap" v-if="detailType == 'detail' && dGuid !== undefined">
2040 <div class="panel_header"> 2040 <div class="panel_header">
2041 <div class="header_title"> 2041 <div class="header_title">
......
...@@ -1438,19 +1438,19 @@ onActivated(() => { ...@@ -1438,19 +1438,19 @@ onActivated(() => {
1438 <el-table ref="execContractTableRef" :data="execContractTableInfo.data" :highlight-current-row="true" stripe 1438 <el-table ref="execContractTableRef" :data="execContractTableInfo.data" :highlight-current-row="true" stripe
1439 v-loading="execContractTableInfo.loading" border height="100%" tooltip-effect="light" row-key="guid" :style="{ 1439 v-loading="execContractTableInfo.loading" border height="100%" tooltip-effect="light" row-key="guid" :style="{
1440 width: '100%', 1440 width: '100%',
1441 height: '300px', 1441 height: '350px',
1442 display: 'inline-block', 1442 display: 'inline-block',
1443 }"> 1443 }">
1444 <el-table-column type="expand"> 1444 <el-table-column type="expand">
1445 <template #default="scope"> 1445 <template #default="scope">
1446 <div class="h-title mt6">履约证明</div> 1446 <div class="h-title mt6">履约证明</div>
1447 <div class="list_panel" style="width: 1200px;"> 1447 <div class="list_panel" style="width: 1200px;">
1448 <div class="list_item"> 1448 <div class="list_item is_block">
1449 <span class="item_label">日志摘要:</span> 1449 <span class="item_label">日志摘要:</span>
1450 <span class="item_value"><ellipsis-tooltip :content="scope.row?.contractProof?.logHash || '--'" 1450 <span class="item_value"><ellipsis-tooltip :content="scope.row?.contractProof?.logHash || '--'"
1451 class-name="w100f mr8-i" :refName="'tooltipOver' + 'logHash'"></ellipsis-tooltip></span> 1451 class-name="w100f mr8-i" :refName="'tooltipOver' + 'logHash'"></ellipsis-tooltip></span>
1452 </div> 1452 </div>
1453 <div class="list_item"> 1453 <div class="list_item is_block">
1454 <span class="item_label">区块链交易ID:</span> 1454 <span class="item_label">区块链交易ID:</span>
1455 <span class="item_value row"><ellipsis-tooltip 1455 <span class="item_value row"><ellipsis-tooltip
1456 :content="scope.row?.contractProof?.blockchainTx || '--'" class-name="w100f mr8-i" 1456 :content="scope.row?.contractProof?.blockchainTx || '--'" class-name="w100f mr8-i"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!