4b6216c9 by xukangle

fix

1 parent 9fbd7335
...@@ -10,6 +10,15 @@ export const getProductList = (params) => request({ ...@@ -10,6 +10,15 @@ export const getProductList = (params) => request({
10 method: 'get', 10 method: 'get',
11 params 11 params
12 }) 12 })
13 /** 获取数交所产品
14 * @param {Object} params
15 * path: /dam-catalog-table/data-exchange/get-table-select
16 */
17 export const getDataExchangeProductList = (params) => request({
18 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-catalog-table/data-exchange/get-table-select`,
19 method: 'get',
20 params
21 })
13 22
14 /** 获取已添加的数据产品列表 */ 23 /** 获取已添加的数据产品列表 */
15 export const getAddedProductList = (params) => request({ 24 export const getAddedProductList = (params) => request({
......
...@@ -500,8 +500,17 @@ const demandListData: any = ref([ ...@@ -500,8 +500,17 @@ const demandListData: any = ref([
500 { companyName: '深数所', listedNum: 16, processNum: 1235 }, 500 { companyName: '深数所', listedNum: 16, processNum: 1235 },
501 { companyName: '苏数所', listedNum: 16, processNum: 1235 }, 501 { companyName: '苏数所', listedNum: 16, processNum: 1235 },
502 ]); 502 ]);
503 const btnClick = (btn) => { 503 const btnClick = (item) => {
504 console.log(btn) 504 console.log(item)
505 router.push({
506 name: "productListingDetail",
507 query: {
508 exchangeGuid: item.exchangeGuid,
509 exchangeName: item.exchangeName,
510 type: 'add',
511 groundingPick: '登记得数交所',
512 },
513 });
505 } 514 }
506 515
507 516
...@@ -578,15 +587,16 @@ const btnClick = (btn) => { ...@@ -578,15 +587,16 @@ const btnClick = (btn) => {
578 587
579 .list-content { 588 .list-content {
580 display: flex; 589 display: flex;
581 justify-content: space-between; 590 justify-content: flex-start;
582 flex-wrap: wrap; 591 flex-wrap: wrap;
583 margin-bottom: 8px; 592 margin-bottom: 8px;
584 padding: 0 8px; 593 padding: 0 8px;
585 594
586 .card-content { 595 .card-content {
587 width: calc(33.33% - 10px); 596 width: 300px;
588 padding: 16px; 597 padding: 16px;
589 box-shadow: 0 0 0 1px #d9d9d9; 598 box-shadow: 0 0 0 1px #d9d9d9;
599 margin-right: 12px;
590 600
591 .header { 601 .header {
592 display: flex; 602 display: flex;
......
...@@ -15,7 +15,7 @@ import { changeNum } from '@/utils/common'; ...@@ -15,7 +15,7 @@ import { changeNum } from '@/utils/common';
15 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common'; 15 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common';
16 import { getAreaData, getServiceTenants, getSingleList } from "@/api/modules/queryService"; 16 import { getAreaData, getServiceTenants, getSingleList } from "@/api/modules/queryService";
17 import { getApproveList, getTenantApprove, registerApproveAllow, registerApproveBackup, getParamsList, getServiceDetail } from "@/api/modules/dataAsset"; 17 import { getApproveList, getTenantApprove, registerApproveAllow, registerApproveBackup, getParamsList, getServiceDetail } from "@/api/modules/dataAsset";
18 import { getProductList, getAddedProductList, getListingDetail, listingSave, listingUpdate, listingSavePortal, getParamsDataList, listingUpdateGateway } from "@/api/modules/dataProduct"; 18 import { getProductList, getAddedProductList, getListingDetail, listingSave, listingUpdate, listingSavePortal, getParamsDataList, listingUpdateGateway, getDataExchangeProductList } from "@/api/modules/dataProduct";
19 import { getMatchDetail } from "@/api/modules/dataFinance"; 19 import { getMatchDetail } from "@/api/modules/dataFinance";
20 import { useValidator } from '@/hooks/useValidator'; 20 import { useValidator } from '@/hooks/useValidator';
21 import { getCamundaDeploymentId } from "@/api/modules/workFlowService"; 21 import { getCamundaDeploymentId } from "@/api/modules/workFlowService";
...@@ -95,7 +95,7 @@ const getArea = (node, resolve) => { ...@@ -95,7 +95,7 @@ const getArea = (node, resolve) => {
95 }) 95 })
96 } 96 }
97 } 97 }
98 98 const processInstanceId = ref('');
99 const collapseIcon = ref(false); 99 const collapseIcon = ref(false);
100 const collapseIcon1 = ref(false); 100 const collapseIcon1 = ref(false);
101 const collapseIcon2 = ref(false); 101 const collapseIcon2 = ref(false);
...@@ -133,6 +133,10 @@ const approveTableInfo: any = ref({ ...@@ -133,6 +133,10 @@ const approveTableInfo: any = ref({
133 } 133 }
134 }); 134 });
135 135
136 const exchangeName = computed(() => {
137 return route.query.exchangeName;
138 })
139
136 const listingFormRef = ref(); 140 const listingFormRef = ref();
137 const subForm = ref({}); 141 const subForm = ref({});
138 const formInfo = ref({ 142 const formInfo = ref({
...@@ -182,7 +186,7 @@ const formInfo = ref({ ...@@ -182,7 +186,7 @@ const formInfo = ref({
182 label: "数据时间范围", 186 label: "数据时间范围",
183 type: "date-picker", 187 type: "date-picker",
184 field: "dateRange", 188 field: "dateRange",
185 default: null, 189 default: '',
186 placeholder: "开始时间~结束时间", 190 placeholder: "开始时间~结束时间",
187 clearable: true, 191 clearable: true,
188 required: true, 192 required: true,
...@@ -366,21 +370,12 @@ const formInfo = ref({ ...@@ -366,21 +370,12 @@ const formInfo = ref({
366 // }, 370 // },
367 { 371 {
368 label: "登记数交所", 372 label: "登记数交所",
369 type: "inputinput", 373 type: "input",
370 placeholder: "请选择", 374 placeholder: "请输入",
371 field: "exchangeGuids", 375 field: "exchangeName",
372 default: [], 376 default: exchangeName,
373 options: exchangeList.value,
374 props: {
375 value: "guid",
376 label: "tenantName",
377 },
378 filterable: true,
379 clearable: true, 377 clearable: true,
380 multiple: true, 378 disabled: true,
381 tagsTooltip: true,
382 collapse: true,
383 disabled: false,
384 required: true, 379 required: true,
385 visible: true 380 visible: true
386 }, 381 },
...@@ -442,7 +437,7 @@ const formInfo = ref({ ...@@ -442,7 +437,7 @@ const formInfo = ref({
442 accept: '.png, .pdf', 437 accept: '.png, .pdf',
443 type: 'upload-file', 438 type: 'upload-file',
444 placeholder: '请选择', 439 placeholder: '请选择',
445 field: 'qualityReport', 440 field: 'qualityEvaluationFile',
446 default: [], 441 default: [],
447 limit: 1, 442 limit: 1,
448 block: false, 443 block: false,
...@@ -453,13 +448,14 @@ const formInfo = ref({ ...@@ -453,13 +448,14 @@ const formInfo = ref({
453 label: "质量评估机构", 448 label: "质量评估机构",
454 type: "select", 449 type: "select",
455 placeholder: "请选择", 450 placeholder: "请选择",
456 field: "qualityOrg", 451 field: "qualityEvaluationInstitutionGuid",
457 default: '', 452 default: '',
458 options: [], 453 options: [],
459 props: { 454 props: {
460 value: 'value', 455 value: 'value',
461 label: 'label' 456 label: 'label'
462 }, 457 },
458 allowCreate: true,
463 filterable: true, 459 filterable: true,
464 clearable: true, 460 clearable: true,
465 disabled: false, 461 disabled: false,
...@@ -470,78 +466,79 @@ const formInfo = ref({ ...@@ -470,78 +466,79 @@ const formInfo = ref({
470 width: 'calc(33.33% - 20px)!important' 466 width: 'calc(33.33% - 20px)!important'
471 }, 467 },
472 }, 468 },
473 // { 469 {
474 // label: '价值评估报告', 470 label: '价值评估报告',
475 // tip: '支持扩展名:.png .pdf', 471 tip: '支持扩展名:.png .pdf',
476 // accept: '.png, .pdf', 472 accept: '.png, .pdf',
477 // type: 'upload-file', 473 type: 'upload-file',
478 // placeholder: '请选择', 474 placeholder: '请选择',
479 // field: 'valueReport', 475 field: 'costAssessmentFile',
480 // default: [], 476 default: [],
481 // limit: 1, 477 limit: 1,
482 // block: false, 478 block: false,
483 // required: false, 479 required: false,
484 // visible: true 480 visible: true
485 // }, 481 },
486 // { 482 {
487 // label: "价值评估机构", 483 label: "价值评估机构",
488 // type: "select", 484 type: "select",
489 // placeholder: "请选择", 485 placeholder: "请选择",
490 // field: "valueOrg", 486 field: "costAssessmentInstitutionGuid",
491 // default: '', 487 default: '',
492 // options: [], 488 options: [],
493 // props: { 489 props: {
494 // value: 'value', 490 value: 'guid',
495 // label: 'label' 491 label: 'tenantName'
496 // }, 492 },
497 // filterable: true, 493 allowCreate: true,
498 // clearable: true, 494 filterable: true,
499 // disabled: false, 495 clearable: true,
500 // required: false, 496 disabled: false,
501 // visible: true 497 required: false,
502 // }, 498 visible: true
503 // { 499 },
504 // label: '承诺函', 500 {
505 // tip: '支持扩展名:.png .pdf', 501 label: '承诺函',
506 // accept: '.png, .pdf', 502 tip: '支持扩展名:.png .pdf',
507 // type: 'upload-file', 503 accept: '.png, .pdf',
508 // placeholder: '请选择', 504 type: 'upload-file',
509 // field: 'commitment', 505 placeholder: '请选择',
510 // templateUrl: 'http://www.baidu.com', 506 field: 'commitmentLetter',
511 // default: [], 507 templateUrl: 'http://www.baidu.com',
512 // limit: 1, 508 default: [],
513 // block: true, 509 limit: 1,
514 // required: false, 510 block: true,
515 // visible: true 511 required: false,
516 // }, 512 visible: true
517 // { 513 },
518 // label: '授权文件', 514 {
519 // tip: '支持扩展名:.png .pdf', 515 label: '授权文件',
520 // accept: '.png, .pdf', 516 tip: '支持扩展名:.png .pdf',
521 // type: 'upload-file', 517 accept: '.png, .pdf',
522 // placeholder: '请选择', 518 type: 'upload-file',
523 // field: 'authorization', 519 placeholder: '请选择',
524 // templateUrl: 'http://www.baidu.com', 520 field: 'accreditFile',
525 // default: [], 521 templateUrl: 'http://www.baidu.com',
526 // limit: 1, 522 default: [],
527 // block: true, 523 limit: 1,
528 // required: false, 524 block: true,
529 // visible: true 525 required: false,
530 // }, 526 visible: true
531 // { 527 },
532 // label: '商品详细介绍(签章版)', 528 {
533 // tip: '支持扩展名:.png .pdf', 529 label: '商品详细介绍(签章版)',
534 // accept: '.png, .pdf', 530 tip: '支持扩展名:.png .pdf',
535 // type: 'upload-file', 531 accept: '.png, .pdf',
536 // placeholder: '请选择', 532 type: 'upload-file',
537 // field: 'productDetail', 533 placeholder: '请选择',
538 // templateUrl: 'http://www.baidu.com', 534 field: 'productDetail',
539 // default: [], 535 templateUrl: 'http://www.baidu.com',
540 // limit: 1, 536 default: [],
541 // block: true, 537 limit: 1,
542 // required: false, 538 block: true,
543 // visible: true 539 required: false,
544 // }, 540 visible: true
541 },
545 { 542 {
546 label: "", 543 label: "",
547 type: "input", 544 type: "input",
...@@ -689,6 +686,15 @@ const getProducts = () => { ...@@ -689,6 +686,15 @@ const getProducts = () => {
689 }) 686 })
690 } 687 }
691 688
689 const getTableInfo = () => {
690 getDataExchangeProductList({}).then((res: any) => {
691 if (res.code == proxy.$passCode) {
692 let data = res.data || [];
693 formInfo.value.items[0].options = data;
694 }
695 })
696 }
697
692 const getProductDetail = () => { 698 const getProductDetail = () => {
693 flowDetailLoading.value = true; 699 flowDetailLoading.value = true;
694 getListingDetail({ guid }).then((res: any) => { 700 getListingDetail({ guid }).then((res: any) => {
...@@ -696,6 +702,8 @@ const getProductDetail = () => { ...@@ -696,6 +702,8 @@ const getProductDetail = () => {
696 if (res.code == proxy.$passCode) { 702 if (res.code == proxy.$passCode) {
697 const data = res.data || {} 703 const data = res.data || {}
698 flowDetail.value = data; 704 flowDetail.value = data;
705 deploymentId.value = data.approveVO.camundaDeploymentId
706 processInstanceId.value = data.approveVO.camundaInstanceId
699 console.log(data, '-----------------'); 707 console.log(data, '-----------------');
700 let coverageArea = data.coverageArea || []; 708 let coverageArea = data.coverageArea || [];
701 if (data.coverageArea?.[0]?.[0] == 'all') { 709 if (data.coverageArea?.[0]?.[0] == 'all') {
...@@ -804,11 +812,10 @@ const submitForm = (btn, formEl, tosub = false) => { ...@@ -804,11 +812,10 @@ const submitForm = (btn, formEl, tosub = false) => {
804 params.caseNumber = formInfo.value.items.at(5).defaultValue || formInfo.value.items.at(4).default; 812 params.caseNumber = formInfo.value.items.at(5).defaultValue || formInfo.value.items.at(4).default;
805 params.timeAreaStart = params.dateRange ? params.dateRange[0] : ''; 813 params.timeAreaStart = params.dateRange ? params.dateRange[0] : '';
806 params.timeAreaEnd = params.dateRange ? params.dateRange[1] : ''; 814 params.timeAreaEnd = params.dateRange ? params.dateRange[1] : '';
807 params.groundingPick = [route.query.groundingPick];
808
809 // 删除dateRange字段 815 // 删除dateRange字段
810 delete params.dateRange; 816 delete params.dateRange;
811 flowDetailLoading.value = true; 817 flowDetailLoading.value = true;
818 if (!route.query.exchangeGuid) {
812 if (detailType == 'add') { 819 if (detailType == 'add') {
813 params.immediateApprove = btn.value == 'submit' ? true : false; 820 params.immediateApprove = btn.value == 'submit' ? true : false;
814 listingSavePortal(params).then((res: any) => { 821 listingSavePortal(params).then((res: any) => {
...@@ -870,6 +877,48 @@ const submitForm = (btn, formEl, tosub = false) => { ...@@ -870,6 +877,48 @@ const submitForm = (btn, formEl, tosub = false) => {
870 }); 877 });
871 } 878 }
872 } else { 879 } else {
880 if (detailType == 'add') {
881 // 上架交易所
882 params.immediateApprove = btn.value == 'submit' ? true : false;
883 params.accreditFile = params.accreditFile.length ? { name: params.accreditFile[0].name, url: params.accreditFile[0].url } : {};
884 params.commitmentLetter = params.commitmentLetter.length ? { name: params.commitmentLetter[0].name, url: params.commitmentLetter[0].url } : {};
885 params.costAssessmentFile = params.costAssessmentFile.length ? { name: params.costAssessmentFile[0].name, url: params.costAssessmentFile[0].url } : {};
886 params.productDetail = params.productDetail.length ? { name: params.productDetail[0].name, url: params.productDetail[0].url } : {};
887 params.qualityEvaluationFile = params.qualityEvaluationFile.length ? { name: params.qualityEvaluationFile[0].name, url: params.qualityEvaluationFile[0].url } : {};
888 params.registrationCertificate = params.registrationCertificate.length ? { name: params.registrationCertificate[0].name, url: params.registrationCertificate[0].url } : {};
889 params.exchangeGuid = route.query.exchangeGuid;
890 console.log(params, '-----------------');
891 // listingSave(params).then((res: any) => {
892 // if (res.code == proxy.$passCode) {
893 // ElMessage({
894 // type: "success",
895 // message: '提交成功',
896 // });
897 // flowDetailLoading.value = false;
898 // userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath));
899 // assetStore.set(true);
900 // router.push({
901 // name: "productListing",
902 // query: {},
903 // });
904 // } else {
905 // ElMessage({
906 // type: "error",
907 // message: res.msg,
908 // });
909 // flowDetailLoading.value = false;
910 // }
911 // }).catch((res) => {
912 // ElMessage({
913 // type: "error",
914 // message: '提交失败',
915 // });
916 // flowDetailLoading.value = false;
917 // });
918 }
919 }
920
921 } else {
873 nextTick(() => { 922 nextTick(() => {
874 const isError = document.getElementsByClassName('is-error'); 923 const isError = document.getElementsByClassName('is-error');
875 if (isError[0]) { 924 if (isError[0]) {
...@@ -929,6 +978,7 @@ const btnClick = (btn) => { ...@@ -929,6 +978,7 @@ const btnClick = (btn) => {
929 } 978 }
930 979
931 const setFormItems = (row: any = null, isDetail = false) => { 980 const setFormItems = (row: any = null, isDetail = false) => {
981 console.log(row, '--------1---------');
932 formInfo.value.items.map((item: any) => { 982 formInfo.value.items.map((item: any) => {
933 if (item.field == 'productImg') { 983 if (item.field == 'productImg') {
934 item.default = row ? (row.productPic ? [row.productPic] : row[item.field] || []) : [] 984 item.default = row ? (row.productPic ? [row.productPic] : row[item.field] || []) : []
...@@ -978,18 +1028,25 @@ const setFormItems = (row: any = null, isDetail = false) => { ...@@ -978,18 +1028,25 @@ const setFormItems = (row: any = null, isDetail = false) => {
978 } else { 1028 } else {
979 item.default = row ? row[item.field] : (item.default || '') 1029 item.default = row ? row[item.field] : (item.default || '')
980 } 1030 }
981 } else if (item.field == 'dateRange') { 1031 }
1032 else if (item.field == 'dateRange') {
982 item.default = row ? [row.timeAreaStart, row.timeAreaEnd] : null; 1033 item.default = row ? [row.timeAreaStart, row.timeAreaEnd] : null;
983 } else {
984 item.default = row ? row[item.field] : (item.default || '')
985 } 1034 }
1035 // else {
1036 // if (item && item.hasOwnProperty('default')) {
1037 // item.default = row ? row[item.field] : (item.default || '');
1038 // } else {
1039 // console.warn(`Item does not have the 'default' property`);
1040 // }
1041 // }
986 }) 1042 })
987 } 1043 }
988 1044
989 const selectChange = async (val, row, info) => { 1045 const selectChange = async (val, row, info) => {
990 if (row.field == 'damName') { 1046 if (row.field == 'damName') {
991 const data = row.options.filter(o => o.damName == val); 1047 const data = row.options.filter(o => o.damName == val);
992 let coverageArea = data.length ? (data[0].coverageArea || []) : []; 1048 console.log(data, '-----------------');
1049 let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : [];
993 await setFormItems({ ...info, coverageArea: coverageArea }); 1050 await setFormItems({ ...info, coverageArea: coverageArea });
994 formInfo.value.items.at(0).default = val; 1051 formInfo.value.items.at(0).default = val;
995 formInfo.value.items.at(1).default = data.length ? data[0].damType : ''; 1052 formInfo.value.items.at(1).default = data.length ? data[0].damType : '';
...@@ -1002,7 +1059,7 @@ const selectChange = async (val, row, info) => { ...@@ -1002,7 +1059,7 @@ const selectChange = async (val, row, info) => {
1002 formInfo.value.items.at(-1).default = data.length ? data[0].damGuid : ''; 1059 formInfo.value.items.at(-1).default = data.length ? data[0].damGuid : '';
1003 formInfo.value.items.at(-3).required = data[0].damType != '1' && data[0].damType != '2'; 1060 formInfo.value.items.at(-3).required = data[0].damType != '1' && data[0].damType != '2';
1004 formInfo.value.items.at(-4).required = data[0].damType != '1' && data[0].damType != '2'; 1061 formInfo.value.items.at(-4).required = data[0].damType != '1' && data[0].damType != '2';
1005 if (data.length && data[0].coverageArea?.[0]?.[0] != 'all') { 1062 if (data.length && data[0].coverageArea?.[0]?.[0] != 'all' && data[0].coverageArea) {
1006 let p: any = []; 1063 let p: any = [];
1007 data[0].coverageArea.forEach(area => { 1064 data[0].coverageArea.forEach(area => {
1008 if (p.includes(area[0])) { 1065 if (p.includes(area[0])) {
...@@ -1132,9 +1189,9 @@ onActivated(() => { ...@@ -1132,9 +1189,9 @@ onActivated(() => {
1132 break; 1189 break;
1133 } 1190 }
1134 }; 1191 };
1135 if (detailType == 'add' || detailType == 'edit') { 1192 // if ((detailType == 'add' || detailType == 'edit') && !route.query.exchangeGuids) {
1136 getProducts(); 1193 // getProducts();
1137 }; 1194 // };
1138 }) 1195 })
1139 1196
1140 const deploymentId = ref(''); 1197 const deploymentId = ref('');
...@@ -1144,7 +1201,7 @@ onBeforeMount(() => { ...@@ -1144,7 +1201,7 @@ onBeforeMount(() => {
1144 // case 1: 数交易所 case 2: 门户 1201 // case 1: 数交易所 case 2: 门户
1145 if (route.query.case == '2') { 1202 if (route.query.case == '2') {
1146 formInfo.value.items.forEach(item => { 1203 formInfo.value.items.forEach(item => {
1147 if (item.field == 'damCode' || item.field == 'exchangeGuids' || item.field == 'registrationCertificate' || item.field == 'qualityReport' || item.field == 'qualityOrg' || item.field == 'valueReport' || item.field == 'valueOrg' || item.field == 'commitment' || item.field == 'authorization' || item.field == 'productDetail') { 1204 if (item.field == 'damCode' || item.field == 'exchangeGuids' || item.field == 'registrationCertificate' || item.field == 'qualityEvaluationFile' || item.field == 'qualityEvaluationInstitutionGuid' || item.field == 'costAssessmentFile' || item.field == 'costAssessmentInstitutionGuid' || item.field == 'commitmentLetter' || item.field == 'accreditFile' || item.field == 'productDetail') {
1148 item.visible = false; 1205 item.visible = false;
1149 } 1206 }
1150 }) 1207 })
...@@ -1234,7 +1291,7 @@ onBeforeMount(() => { ...@@ -1234,7 +1291,7 @@ onBeforeMount(() => {
1234 getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12505" }).then((res: any) => { 1291 getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12505" }).then((res: any) => {
1235 if (res.code == proxy.$passCode) { 1292 if (res.code == proxy.$passCode) {
1236 qualityEvaluationData.value = res.data.records || []; 1293 qualityEvaluationData.value = res.data.records || [];
1237 let item = formInfo.value.items.find(item => item.field == 'qualityOrg'); 1294 let item = formInfo.value.items.find(item => item.field == 'qualityEvaluationInstitutionGuid');
1238 item && (item.options = qualityEvaluationData.value); 1295 item && (item.options = qualityEvaluationData.value);
1239 } else { 1296 } else {
1240 proxy.$ElMessage.error(res.msg); 1297 proxy.$ElMessage.error(res.msg);
...@@ -1244,12 +1301,17 @@ onBeforeMount(() => { ...@@ -1244,12 +1301,17 @@ onBeforeMount(() => {
1244 getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12504" }).then((res: any) => { 1301 getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12504" }).then((res: any) => {
1245 if (res.code == proxy.$passCode) { 1302 if (res.code == proxy.$passCode) {
1246 costAssessmentData.value = res.data.records || []; 1303 costAssessmentData.value = res.data.records || [];
1247 let item = formInfo.value.items.find(item => item.field == 'valueOrg'); 1304 let item = formInfo.value.items.find(item => item.field == 'costAssessmentInstitutionGuid');
1248 item && (item.options = costAssessmentData.value); 1305 item && (item.options = costAssessmentData.value);
1249 } else { 1306 } else {
1250 proxy.$ElMessage.error(res.msg); 1307 proxy.$ElMessage.error(res.msg);
1251 } 1308 }
1252 }) 1309 })
1310 if (route.query.exchangeGuid) {
1311 getTableInfo();
1312 } else {
1313 getProducts();
1314 }
1253 }) 1315 })
1254 1316
1255 </script> 1317 </script>
...@@ -1471,7 +1533,7 @@ onBeforeMount(() => { ...@@ -1471,7 +1533,7 @@ onBeforeMount(() => {
1471 <div class="list_panel"> 1533 <div class="list_panel">
1472 <div class="table_panel_wrap"> 1534 <div class="table_panel_wrap">
1473 <!-- <Table :tableInfo="approveTableInfo" /> --> 1535 <!-- <Table :tableInfo="approveTableInfo" /> -->
1474 <ApprovalProcess v-if="deploymentId" :deploymentId="deploymentId" :definitionId="''"> 1536 <ApprovalProcess v-if="deploymentId" :deploymentId="deploymentId" :processInstanceId="processInstanceId">
1475 </ApprovalProcess> 1537 </ApprovalProcess>
1476 </div> 1538 </div>
1477 </div> 1539 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!