验收修改
Showing
6 changed files
with
162 additions
and
186 deletions
| ... | @@ -218,7 +218,7 @@ export const continueContractNegotiate = (params) => request({ | ... | @@ -218,7 +218,7 @@ export const continueContractNegotiate = (params) => request({ |
| 218 | 218 | ||
| 219 | /** 获取可选的企业下拉列表,认证过之后带标识的 */ | 219 | /** 获取可选的企业下拉列表,认证过之后带标识的 */ |
| 220 | export const getContractTenantList = (tenantName = '') => request({ | 220 | export const getContractTenantList = (tenantName = '') => request({ |
| 221 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/get-enterprise?tenantName=${tenantName}`, | 221 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/tenant/get-enterprise?tenantName=${tenantName}`, |
| 222 | method: 'get' | 222 | method: 'get' |
| 223 | }) | 223 | }) |
| 224 | 224 | ... | ... |
| ... | @@ -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" }, | ... | ... |
| ... | @@ -19,7 +19,6 @@ import { getParamsList, getDamTypesList } from "@/api/modules/dataAsset"; | ... | @@ -19,7 +19,6 @@ import { getParamsList, getDamTypesList } from "@/api/modules/dataAsset"; |
| 19 | import { | 19 | import { |
| 20 | changeNum, | 20 | changeNum, |
| 21 | } from "@/utils/common"; | 21 | } from "@/utils/common"; |
| 22 | import { chunk } from "@/api/modules/common"; | ||
| 23 | import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; | 22 | import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; |
| 24 | 23 | ||
| 25 | const { proxy } = getCurrentInstance() as any; | 24 | const { proxy } = getCurrentInstance() as any; |
| ... | @@ -633,15 +632,16 @@ onBeforeMount(() => { | ... | @@ -633,15 +632,16 @@ onBeforeMount(() => { |
| 633 | proxy.$ElMessage.error(res.msg); | 632 | proxy.$ElMessage.error(res.msg); |
| 634 | } | 633 | } |
| 635 | }) | 634 | }) |
| 636 | getParamsList({ | 635 | // 连接器没有通过和驳回,不需要审批通过时填写合规信息。 |
| 637 | dictType: "数据产品上架审批合规信息", | 636 | // getParamsList({ |
| 638 | }).then((res: any) => { | 637 | // dictType: "数据产品上架审批合规信息", |
| 639 | if (res.code == proxy.$passCode) { | 638 | // }).then((res: any) => { |
| 640 | assetsSafeInfo.value = res.data || []; | 639 | // if (res.code == proxy.$passCode) { |
| 641 | } else { | 640 | // assetsSafeInfo.value = res.data || []; |
| 642 | proxy.$ElMessage.error(res.msg); | 641 | // } else { |
| 643 | } | 642 | // proxy.$ElMessage.error(res.msg); |
| 644 | }) | 643 | // } |
| 644 | // }) | ||
| 645 | }) | 645 | }) |
| 646 | 646 | ||
| 647 | const assetsSafeInfo = ref<any>() | 647 | const assetsSafeInfo = ref<any>() |
| ... | @@ -928,7 +928,7 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -928,7 +928,7 @@ const rejectDialogBtnClick = (btn, info) => { |
| 928 | @tableSwitchBeforeChange="tableSwitchBeforeChange" /> | 928 | @tableSwitchBeforeChange="tableSwitchBeforeChange" /> |
| 929 | </div> | 929 | </div> |
| 930 | <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false"> | 930 | <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false"> |
| 931 | <Form ref="listingFormRef" :itemList="formInfo.items" :rules="formInfo.rules" /> | 931 | <!-- <Form ref="listingFormRef" :itemList="formInfo.items" :rules="formInfo.rules" /> --> |
| 932 | <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none" | 932 | <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none" |
| 933 | :placeholder="dynamicPlaceholder" /> | 933 | :placeholder="dynamicPlaceholder" /> |
| 934 | <template #footer> | 934 | <template #footer> | ... | ... |
| ... | @@ -387,85 +387,85 @@ const formInfo = ref<any>({ | ... | @@ -387,85 +387,85 @@ const formInfo = ref<any>({ |
| 387 | // width: 'calc(33.33% - 20px)!important' | 387 | // width: 'calc(33.33% - 20px)!important' |
| 388 | // }, | 388 | // }, |
| 389 | }, | 389 | }, |
| 390 | { | 390 | // { |
| 391 | label: '登记证', | 391 | // label: '登记证', |
| 392 | tip: '支持扩展名:.jpg .png .jpeg', | 392 | // tip: '支持扩展名:.jpg .png .jpeg', |
| 393 | accept: '.jpg, .png, .jpeg ', | 393 | // accept: '.jpg, .png, .jpeg ', |
| 394 | type: 'upload-file', | 394 | // type: 'upload-file', |
| 395 | placeholder: '请选择', | 395 | // placeholder: '请选择', |
| 396 | field: 'registrationCertificateInfo', | 396 | // field: 'registrationCertificateInfo', |
| 397 | default: [], | 397 | // default: [], |
| 398 | limit: 1, | 398 | // limit: 1, |
| 399 | block: false, | 399 | // block: false, |
| 400 | required: false, | 400 | // required: false, |
| 401 | visible: true | 401 | // visible: true |
| 402 | }, | 402 | // }, |
| 403 | { | 403 | // { |
| 404 | label: '质量评估报告', | 404 | // label: '质量评估报告', |
| 405 | tip: '支持扩展名:.png .pdf', | 405 | // tip: '支持扩展名:.png .pdf', |
| 406 | accept: '.png, .pdf', | 406 | // accept: '.png, .pdf', |
| 407 | type: 'upload-file', | 407 | // type: 'upload-file', |
| 408 | placeholder: '请选择', | 408 | // placeholder: '请选择', |
| 409 | field: 'qualityEvaluationFileInfo', | 409 | // field: 'qualityEvaluationFileInfo', |
| 410 | default: [], | 410 | // default: [], |
| 411 | limit: 1, | 411 | // limit: 1, |
| 412 | block: false, | 412 | // block: false, |
| 413 | required: false, | 413 | // required: false, |
| 414 | visible: true | 414 | // visible: true |
| 415 | }, | 415 | // }, |
| 416 | { | 416 | // { |
| 417 | label: "质量评估机构", | 417 | // label: "质量评估机构", |
| 418 | type: "select", | 418 | // type: "select", |
| 419 | placeholder: "请选择", | 419 | // placeholder: "请选择", |
| 420 | field: "qualityEvaluationInstitution", | 420 | // field: "qualityEvaluationInstitution", |
| 421 | default: '', | 421 | // default: '', |
| 422 | options: [], | 422 | // options: [], |
| 423 | props: { | 423 | // props: { |
| 424 | value: 'tenantName', | 424 | // value: 'tenantName', |
| 425 | label: 'tenantName' | 425 | // label: 'tenantName' |
| 426 | }, | 426 | // }, |
| 427 | allowCreate: true, | 427 | // allowCreate: true, |
| 428 | filterable: true, | 428 | // filterable: true, |
| 429 | clearable: true, | 429 | // clearable: true, |
| 430 | disabled: false, | 430 | // disabled: false, |
| 431 | required: false, | 431 | // required: false, |
| 432 | visible: true, | 432 | // visible: true, |
| 433 | col: 'mr8', | 433 | // col: 'mr8', |
| 434 | style: { | 434 | // style: { |
| 435 | // / width: 'calc(50% - 16px)!important' | 435 | // // / width: 'calc(50% - 16px)!important' |
| 436 | }, | 436 | // }, |
| 437 | }, | 437 | // }, |
| 438 | { | 438 | // { |
| 439 | label: '价值评估报告', | 439 | // label: '价值评估报告', |
| 440 | tip: '支持扩展名:.png .pdf', | 440 | // tip: '支持扩展名:.png .pdf', |
| 441 | accept: '.png, .pdf', | 441 | // accept: '.png, .pdf', |
| 442 | type: 'upload-file', | 442 | // type: 'upload-file', |
| 443 | placeholder: '请选择', | 443 | // placeholder: '请选择', |
| 444 | field: 'costAssessmentFileInfo', | 444 | // field: 'costAssessmentFileInfo', |
| 445 | default: [], | 445 | // default: [], |
| 446 | limit: 1, | 446 | // limit: 1, |
| 447 | block: false, | 447 | // block: false, |
| 448 | required: false, | 448 | // required: false, |
| 449 | visible: true | 449 | // visible: true |
| 450 | }, | 450 | // }, |
| 451 | { | 451 | // { |
| 452 | label: "价值评估机构", | 452 | // label: "价值评估机构", |
| 453 | type: "select", | 453 | // type: "select", |
| 454 | placeholder: "请选择", | 454 | // placeholder: "请选择", |
| 455 | field: "costAssessmentInstitution", | 455 | // field: "costAssessmentInstitution", |
| 456 | default: '', | 456 | // default: '', |
| 457 | options: [], | 457 | // options: [], |
| 458 | props: { | 458 | // props: { |
| 459 | value: 'tenantName', | 459 | // value: 'tenantName', |
| 460 | label: 'tenantName' | 460 | // label: 'tenantName' |
| 461 | }, | 461 | // }, |
| 462 | allowCreate: true, | 462 | // allowCreate: true, |
| 463 | filterable: true, | 463 | // filterable: true, |
| 464 | clearable: true, | 464 | // clearable: true, |
| 465 | disabled: false, | 465 | // disabled: false, |
| 466 | required: false, | 466 | // required: false, |
| 467 | visible: true | 467 | // visible: true |
| 468 | }, | 468 | // }, |
| 469 | { | 469 | { |
| 470 | label: '承诺函', | 470 | label: '承诺函', |
| 471 | tip: '支持扩展名:.png .pdf', | 471 | tip: '支持扩展名:.png .pdf', |
| ... | @@ -473,7 +473,7 @@ const formInfo = ref<any>({ | ... | @@ -473,7 +473,7 @@ const formInfo = ref<any>({ |
| 473 | type: 'upload-file', | 473 | type: 'upload-file', |
| 474 | placeholder: '请选择', | 474 | placeholder: '请选择', |
| 475 | field: 'commitmentLetterInfo', | 475 | field: 'commitmentLetterInfo', |
| 476 | templateUrl: '', | 476 | // templateUrl: '', |
| 477 | default: [], | 477 | default: [], |
| 478 | limit: 1, | 478 | limit: 1, |
| 479 | block: true, | 479 | block: true, |
| ... | @@ -487,7 +487,7 @@ const formInfo = ref<any>({ | ... | @@ -487,7 +487,7 @@ const formInfo = ref<any>({ |
| 487 | type: 'upload-file', | 487 | type: 'upload-file', |
| 488 | placeholder: '请选择', | 488 | placeholder: '请选择', |
| 489 | field: 'accreditFileInfo', | 489 | field: 'accreditFileInfo', |
| 490 | templateUrl: '', | 490 | // templateUrl: '', |
| 491 | default: [], | 491 | default: [], |
| 492 | limit: 1, | 492 | limit: 1, |
| 493 | block: true, | 493 | block: true, |
| ... | @@ -495,19 +495,33 @@ const formInfo = ref<any>({ | ... | @@ -495,19 +495,33 @@ const formInfo = ref<any>({ |
| 495 | visible: true | 495 | visible: true |
| 496 | }, | 496 | }, |
| 497 | { | 497 | { |
| 498 | label: '商品详细介绍(签章版)', | 498 | label: '其它证明文件', |
| 499 | tip: '支持扩展名:.png .pdf', | 499 | tip: '支持扩展名:.png .pdf .rar .zip', |
| 500 | accept: '.png, .pdf', | 500 | accept: '.png, .pdf, .rar, .zip', |
| 501 | type: 'upload-file', | 501 | type: 'upload-file', |
| 502 | placeholder: '请选择', | 502 | placeholder: '请选择', |
| 503 | field: 'productDetailInfo', | 503 | field: 'productDetailInfo', |
| 504 | templateUrl: '', | 504 | // templateUrl: '', |
| 505 | default: [], | 505 | default: [], |
| 506 | limit: 1, | 506 | limit: 1, |
| 507 | block: true, | 507 | block: true, |
| 508 | required: true, | 508 | required: false, |
| 509 | visible: true | 509 | visible: true |
| 510 | }, | 510 | }, |
| 511 | // { | ||
| 512 | // label: '商品详细介绍(签章版)', | ||
| 513 | // tip: '支持扩展名:.png .pdf', | ||
| 514 | // accept: '.png, .pdf', | ||
| 515 | // type: 'upload-file', | ||
| 516 | // placeholder: '请选择', | ||
| 517 | // field: 'productDetailInfo', | ||
| 518 | // templateUrl: '', | ||
| 519 | // default: [], | ||
| 520 | // limit: 1, | ||
| 521 | // block: true, | ||
| 522 | // required: true, | ||
| 523 | // visible: true | ||
| 524 | // }, | ||
| 511 | { | 525 | { |
| 512 | label: "", | 526 | label: "", |
| 513 | type: "input", | 527 | type: "input", |
| ... | @@ -630,19 +644,19 @@ const formInfo = ref<any>({ | ... | @@ -630,19 +644,19 @@ const formInfo = ref<any>({ |
| 630 | }, trigger: 'change' | 644 | }, trigger: 'change' |
| 631 | }, | 645 | }, |
| 632 | ], | 646 | ], |
| 633 | // 校验商品详细介绍 | 647 | // // 校验商品详细介绍 |
| 634 | productDetailInfo: [ | 648 | // productDetailInfo: [ |
| 635 | { | 649 | // { |
| 636 | validator: (rule: any, value: any, callback: any) => { | 650 | // validator: (rule: any, value: any, callback: any) => { |
| 637 | let formInline = listingFormRef.value.formInline; | 651 | // let formInline = listingFormRef.value.formInline; |
| 638 | if (!value?.length) { | 652 | // if (!value?.length) { |
| 639 | callback(new Error('请上传商品详细介绍')) | 653 | // callback(new Error('请上传商品详细介绍')) |
| 640 | } else { | 654 | // } else { |
| 641 | callback(); | 655 | // callback(); |
| 642 | } | 656 | // } |
| 643 | }, trigger: 'change' | 657 | // }, trigger: 'change' |
| 644 | }, | 658 | // }, |
| 645 | ], | 659 | // ], |
| 646 | 660 | ||
| 647 | } | 661 | } |
| 648 | }) | 662 | }) |
| ... | @@ -690,9 +704,9 @@ const getProductDetail = async () => { | ... | @@ -690,9 +704,9 @@ const getProductDetail = async () => { |
| 690 | // if (res.data.commitmentLetter && res.data.commitmentLetter.length) { | 704 | // if (res.data.commitmentLetter && res.data.commitmentLetter.length) { |
| 691 | // flowDetail.value.commitmentLetter = { name: res.data.commitmentLetter[0].name, url: res.data.commitmentLetter[0].url } | 705 | // flowDetail.value.commitmentLetter = { name: res.data.commitmentLetter[0].name, url: res.data.commitmentLetter[0].url } |
| 692 | // } | 706 | // } |
| 693 | // if (res.data.accreditFile && res.data.accreditFile.length) { | 707 | if (res.data.accreditFile && res.data.accreditFile.length) { |
| 694 | // flowDetail.value.accreditFile = { name: res.data.accreditFile[0].name, url: res.data.accreditFile[0].url } | 708 | flowDetail.value.accreditFile = { name: res.data.accreditFile[0].name, url: res.data.accreditFile[0].url } |
| 695 | // } | 709 | } |
| 696 | // if (res.data.productDetail && res.data.productDetail.length) { | 710 | // if (res.data.productDetail && res.data.productDetail.length) { |
| 697 | // flowDetail.value.productDetail = { name: res.data.productDetail[0].name, url: res.data.productDetail[0].url } | 711 | // flowDetail.value.productDetail = { name: res.data.productDetail[0].name, url: res.data.productDetail[0].url } |
| 698 | // } | 712 | // } |
| ... | @@ -1228,23 +1242,6 @@ const selectChange = async (val, row, info) => { | ... | @@ -1228,23 +1242,6 @@ const selectChange = async (val, row, info) => { |
| 1228 | currProductInfo.value = dataInfo; | 1242 | currProductInfo.value = dataInfo; |
| 1229 | let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : []; | 1243 | let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : []; |
| 1230 | await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea, content: dataInfo.propertyDescription || dataInfo.sceneDescription || info.content }); | 1244 | await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea, content: dataInfo.propertyDescription || dataInfo.sceneDescription || info.content }); |
| 1231 | // formInfo.value.items.forEach((item: any) => { | ||
| 1232 | // if (item.field == 'costAssessmentFileInfo') { | ||
| 1233 | // item.default = data?.[0]?.assessmentFile || []; | ||
| 1234 | // } else if (item.field == 'qualityEvaluationFileInfo') { | ||
| 1235 | // item.default = data?.[0]?.evaluationFile || []; | ||
| 1236 | // } else if (item.field == 'qualityEvaluationFileInfo') { | ||
| 1237 | // item.default = data?.[0]?.evaluationFile || []; | ||
| 1238 | // } else if (item.field == 'commitmentLetterInfo') { | ||
| 1239 | // item.default = data?.[0]?.commitmentLetter || []; | ||
| 1240 | // } else if (item.field == 'qualityEvaluationInstitution') { | ||
| 1241 | // item.default = data?.[0]?.qualityEvaluationInstitution || ''; | ||
| 1242 | // } else if (item.field == 'costAssessmentInstitution') { | ||
| 1243 | // item.default = data?.[0]?.costAssessmentInstitution || ''; | ||
| 1244 | // } else if (item.field == 'pricingWay') { | ||
| 1245 | // item.default = data?.[0]?.pricingWay || ''; | ||
| 1246 | // } | ||
| 1247 | // }); | ||
| 1248 | 1245 | ||
| 1249 | // formInfo.value.items.at(0).default = val; | 1246 | // formInfo.value.items.at(0).default = val; |
| 1250 | formInfo.value.items.at(1).default = data.length ? data[0].damType : ''; | 1247 | formInfo.value.items.at(1).default = data.length ? data[0].damType : ''; |
| ... | @@ -1338,7 +1335,7 @@ onBeforeMount(async () => { | ... | @@ -1338,7 +1335,7 @@ onBeforeMount(async () => { |
| 1338 | // case 1: 数交易所 case 2: 门户 | 1335 | // case 1: 数交易所 case 2: 门户 |
| 1339 | if (route.query.case == '2') { | 1336 | if (route.query.case == '2') { |
| 1340 | formInfo.value.items.forEach(item => { | 1337 | formInfo.value.items.forEach(item => { |
| 1341 | 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') { | 1338 | 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') { |
| 1342 | item.visible = false; | 1339 | item.visible = false; |
| 1343 | } | 1340 | } |
| 1344 | }) | 1341 | }) |
| ... | @@ -1346,18 +1343,18 @@ onBeforeMount(async () => { | ... | @@ -1346,18 +1343,18 @@ onBeforeMount(async () => { |
| 1346 | if (detailType && detailType != 'add') { | 1343 | if (detailType && detailType != 'add') { |
| 1347 | getProductDetail(); | 1344 | getProductDetail(); |
| 1348 | } | 1345 | } |
| 1349 | if (detailType == 'detail') { | 1346 | // if (detailType == 'detail') { |
| 1350 | getParamsList({ | 1347 | // getParamsList({ |
| 1351 | dictType: "数据产品上架审批合规信息", | 1348 | // dictType: "数据产品上架审批合规信息", |
| 1352 | }).then((res: any) => { | 1349 | // }).then((res: any) => { |
| 1353 | if (res.code == proxy.$passCode) { | 1350 | // if (res.code == proxy.$passCode) { |
| 1354 | assetsSafeInfo.value = res.data || []; | 1351 | // assetsSafeInfo.value = res.data || []; |
| 1355 | } else { | 1352 | // } else { |
| 1356 | proxy.$ElMessage.error(res.msg); | 1353 | // proxy.$ElMessage.error(res.msg); |
| 1357 | } | 1354 | // } |
| 1358 | }) | 1355 | // }) |
| 1359 | // return; //详情不需要调用以下接口 | 1356 | // // return; //详情不需要调用以下接口 |
| 1360 | } | 1357 | // } |
| 1361 | if (detailType != 'detail') { | 1358 | if (detailType != 'detail') { |
| 1362 | await getTableData(); | 1359 | await getTableData(); |
| 1363 | getProducts(); | 1360 | getProducts(); |
| ... | @@ -1659,8 +1656,6 @@ const passFormInfo = ref<any>({ | ... | @@ -1659,8 +1656,6 @@ const passFormInfo = ref<any>({ |
| 1659 | } | 1656 | } |
| 1660 | }) | 1657 | }) |
| 1661 | 1658 | ||
| 1662 | const passListingFormRef = ref<any>(); | ||
| 1663 | |||
| 1664 | const clearFormValues = (formInline) => { | 1659 | const clearFormValues = (formInline) => { |
| 1665 | Object.keys(formInline).forEach(key => { | 1660 | Object.keys(formInline).forEach(key => { |
| 1666 | formInline[key] = ''; | 1661 | formInline[key] = ''; |
| ... | @@ -1668,23 +1663,13 @@ const clearFormValues = (formInline) => { | ... | @@ -1668,23 +1663,13 @@ const clearFormValues = (formInline) => { |
| 1668 | }; | 1663 | }; |
| 1669 | 1664 | ||
| 1670 | const passSubmit = () => { | 1665 | const passSubmit = () => { |
| 1671 | passListingFormRef.value.ruleFormRef.validate().then((valid) => { | ||
| 1672 | if (valid) { | ||
| 1673 | let complianceInfoMap = {} | ||
| 1674 | passFormInfo.value.items.forEach((item) => { | ||
| 1675 | assetsSafeInfo.value.forEach((item1) => { | ||
| 1676 | if (item.label == item1.label) { | ||
| 1677 | complianceInfoMap[item1.value] = passListingFormRef.value.formInline[item.field]; | ||
| 1678 | } | ||
| 1679 | }) | ||
| 1680 | }) | ||
| 1681 | dialogBtnLoading.value = true; | 1666 | dialogBtnLoading.value = true; |
| 1682 | productRejectFlowData({ | 1667 | productRejectFlowData({ |
| 1683 | guid: flowDetail.value.approveVO.approveGuid, | 1668 | guid: flowDetail.value.approveVO.approveGuid, |
| 1684 | flowType: flowDetail.value.approveVO.flowType, | 1669 | flowType: flowDetail.value.approveVO.flowType, |
| 1685 | approveSuggest: approveSuggest.value, | 1670 | approveSuggest: approveSuggest.value, |
| 1686 | approveStaffGuid: userData.staffGuid, | 1671 | approveStaffGuid: userData.staffGuid, |
| 1687 | complianceInfoMap: complianceInfoMap, | 1672 | complianceInfoMap: {}, |
| 1688 | approveState: 'Y', | 1673 | approveState: 'Y', |
| 1689 | bizGuid: flowDetail.value.approveVO.bizGuid | 1674 | bizGuid: flowDetail.value.approveVO.bizGuid |
| 1690 | }, flowDetail.value.tenantGuid).then((res: any) => { | 1675 | }, flowDetail.value.tenantGuid).then((res: any) => { |
| ... | @@ -1698,30 +1683,17 @@ const passSubmit = () => { | ... | @@ -1698,30 +1683,17 @@ const passSubmit = () => { |
| 1698 | ElMessage.error(res.msg) | 1683 | ElMessage.error(res.msg) |
| 1699 | } | 1684 | } |
| 1700 | }) | 1685 | }) |
| 1701 | } | ||
| 1702 | }) | ||
| 1703 | |||
| 1704 | } | 1686 | } |
| 1705 | 1687 | ||
| 1706 | const rejectSubmit = async () => { | 1688 | const rejectSubmit = async () => { |
| 1707 | if (!approveSuggest.value) return ElMessage.error('请填写驳回理由!') | 1689 | if (!approveSuggest.value) return ElMessage.error('请填写驳回理由!') |
| 1708 | passListingFormRef.value.ruleFormRef.validate().then((valid) => { | ||
| 1709 | if (valid) { | ||
| 1710 | let complianceInfoMap = {} | ||
| 1711 | passFormInfo.value.items.forEach((item) => { | ||
| 1712 | assetsSafeInfo.value.forEach((item1) => { | ||
| 1713 | if (item.label == item1.label) { | ||
| 1714 | complianceInfoMap[item1.value] = passListingFormRef.value.formInline[item.field]; | ||
| 1715 | } | ||
| 1716 | }) | ||
| 1717 | }) | ||
| 1718 | dialogBtnLoading.value = true; | 1690 | dialogBtnLoading.value = true; |
| 1719 | productRejectFlowData({ | 1691 | productRejectFlowData({ |
| 1720 | guid: flowDetail.value.approveVO.approveGuid, | 1692 | guid: flowDetail.value.approveVO.approveGuid, |
| 1721 | flowType: flowDetail.value.approveVO.flowType, | 1693 | flowType: flowDetail.value.approveVO.flowType, |
| 1722 | approveSuggest: approveSuggest.value, | 1694 | approveSuggest: approveSuggest.value, |
| 1723 | approveStaffGuid: userData.staffGuid, | 1695 | approveStaffGuid: userData.staffGuid, |
| 1724 | complianceInfoMap: complianceInfoMap, | 1696 | complianceInfoMap: {}, |
| 1725 | bizGuid: flowDetail.value.approveVO.bizGuid, | 1697 | bizGuid: flowDetail.value.approveVO.bizGuid, |
| 1726 | approveState: 'R' | 1698 | approveState: 'R' |
| 1727 | }, flowDetail.value.tenantGuid).then((res: any) => { | 1699 | }, flowDetail.value.tenantGuid).then((res: any) => { |
| ... | @@ -1736,8 +1708,6 @@ const rejectSubmit = async () => { | ... | @@ -1736,8 +1708,6 @@ const rejectSubmit = async () => { |
| 1736 | ElMessage.error(res.msg) | 1708 | ElMessage.error(res.msg) |
| 1737 | } | 1709 | } |
| 1738 | }) | 1710 | }) |
| 1739 | } | ||
| 1740 | }) | ||
| 1741 | } | 1711 | } |
| 1742 | 1712 | ||
| 1743 | 1713 | ||
| ... | @@ -1926,7 +1896,10 @@ const viewProductDetail = () => { | ... | @@ -1926,7 +1896,10 @@ const viewProductDetail = () => { |
| 1926 | <div class="list_panel" v-else> | 1896 | <div class="list_panel" v-else> |
| 1927 | <div class="list_item"> | 1897 | <div class="list_item"> |
| 1928 | <span class="item_label">数据产品名称:</span> | 1898 | <span class="item_label">数据产品名称:</span> |
| 1929 | <span class="item_value link" @click="viewProductDetail">{{ flowDetail.damName || '--' }}</span> | 1899 | <span class="item_value link" @click="viewProductDetail"> |
| 1900 | <ellipsis-tooltip :content="flowDetail.damName || '--'" | ||
| 1901 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'damName'"></ellipsis-tooltip> | ||
| 1902 | </span> | ||
| 1930 | </div> | 1903 | </div> |
| 1931 | <div class="list_item"> | 1904 | <div class="list_item"> |
| 1932 | <span class="item_label">资产类型:</span> | 1905 | <span class="item_label">资产类型:</span> |
| ... | @@ -1952,7 +1925,7 @@ const viewProductDetail = () => { | ... | @@ -1952,7 +1925,7 @@ const viewProductDetail = () => { |
| 1952 | <span class="item_label">定价方式:</span> | 1925 | <span class="item_label">定价方式:</span> |
| 1953 | <span class="item_value">{{ priceWayInfo || '--' }}</span> | 1926 | <span class="item_value">{{ priceWayInfo || '--' }}</span> |
| 1954 | </div> | 1927 | </div> |
| 1955 | <div v-show="flowDetail.dataSource != '1'" class="list_item"> | 1928 | <div v-show="flowDetail.dataSource != '1' && priceWayInfo != '面议'" class="list_item"> |
| 1956 | <span class="item_label">定价金额:</span> | 1929 | <span class="item_label">定价金额:</span> |
| 1957 | <span class="item_value">{{ prcieInfo || '--' }}</span> | 1930 | <span class="item_value">{{ prcieInfo || '--' }}</span> |
| 1958 | </div> | 1931 | </div> |
| ... | @@ -2057,7 +2030,8 @@ const viewProductDetail = () => { | ... | @@ -2057,7 +2030,8 @@ const viewProductDetail = () => { |
| 2057 | </div> | 2030 | </div> |
| 2058 | </div> | 2031 | </div> |
| 2059 | </div> | 2032 | </div> |
| 2060 | <div class="panel_wrap" v-if="(detailType == 'detail') && flowDetail.complianceInfo && Object.keys(flowDetail.complianceInfo).length > 0"> | 2033 | <!-- <div class="panel_wrap" |
| 2034 | v-if="(detailType == 'detail') && flowDetail.complianceInfo && Object.keys(flowDetail.complianceInfo).length > 0"> | ||
| 2061 | <div class="panel_header"> | 2035 | <div class="panel_header"> |
| 2062 | <div class="header_title"> | 2036 | <div class="header_title"> |
| 2063 | <span class="title_text"> | 2037 | <span class="title_text"> |
| ... | @@ -2101,7 +2075,7 @@ const viewProductDetail = () => { | ... | @@ -2101,7 +2075,7 @@ const viewProductDetail = () => { |
| 2101 | </div> | 2075 | </div> |
| 2102 | </div> | 2076 | </div> |
| 2103 | </div> | 2077 | </div> |
| 2104 | </div> | 2078 | </div> --> |
| 2105 | <div class="panel_wrap" v-if="!dGuid"> | 2079 | <div class="panel_wrap" v-if="!dGuid"> |
| 2106 | <div class="panel_header"> | 2080 | <div class="panel_header"> |
| 2107 | <div class="header_title"> | 2081 | <div class="header_title"> |
| ... | @@ -2171,7 +2145,7 @@ const viewProductDetail = () => { | ... | @@ -2171,7 +2145,7 @@ const viewProductDetail = () => { |
| 2171 | </div> | 2145 | </div> |
| 2172 | </div> | 2146 | </div> |
| 2173 | <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false"> | 2147 | <el-dialog v-model="dialogVisible" :title="dialogTitle" width="550px" :close-on-click-modal="false"> |
| 2174 | <Form ref="passListingFormRef" :itemList="passFormInfo.items" :rules="passFormInfo.rules" /> | 2148 | <!-- <Form ref="passListingFormRef" :itemList="passFormInfo.items" :rules="passFormInfo.rules" /> --> |
| 2175 | <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none" | 2149 | <el-input type="textarea" :rows="3" maxlength="100" v-model="approveSuggest" resize="none" |
| 2176 | :placeholder="dynamicPlaceholder" /> | 2150 | :placeholder="dynamicPlaceholder" /> |
| 2177 | <template #footer> | 2151 | <template #footer> | ... | ... |
| ... | @@ -1433,19 +1433,19 @@ onActivated(() => { | ... | @@ -1433,19 +1433,19 @@ onActivated(() => { |
| 1433 | <el-table ref="execContractTableRef" :data="execContractTableInfo.data" :highlight-current-row="true" stripe | 1433 | <el-table ref="execContractTableRef" :data="execContractTableInfo.data" :highlight-current-row="true" stripe |
| 1434 | v-loading="execContractTableInfo.loading" border height="100%" tooltip-effect="light" row-key="guid" :style="{ | 1434 | v-loading="execContractTableInfo.loading" border height="100%" tooltip-effect="light" row-key="guid" :style="{ |
| 1435 | width: '100%', | 1435 | width: '100%', |
| 1436 | height: '300px', | 1436 | height: '350px', |
| 1437 | display: 'inline-block', | 1437 | display: 'inline-block', |
| 1438 | }"> | 1438 | }"> |
| 1439 | <el-table-column type="expand"> | 1439 | <el-table-column type="expand"> |
| 1440 | <template #default="scope"> | 1440 | <template #default="scope"> |
| 1441 | <div class="h-title mt6">履约证明</div> | 1441 | <div class="h-title mt6">履约证明</div> |
| 1442 | <div class="list_panel" style="width: 1200px;"> | 1442 | <div class="list_panel" style="width: 1200px;"> |
| 1443 | <div class="list_item"> | 1443 | <div class="list_item is_block"> |
| 1444 | <span class="item_label">日志摘要:</span> | 1444 | <span class="item_label">日志摘要:</span> |
| 1445 | <span class="item_value"><ellipsis-tooltip :content="scope.row?.contractProof?.logHash || '--'" | 1445 | <span class="item_value"><ellipsis-tooltip :content="scope.row?.contractProof?.logHash || '--'" |
| 1446 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'logHash'"></ellipsis-tooltip></span> | 1446 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'logHash'"></ellipsis-tooltip></span> |
| 1447 | </div> | 1447 | </div> |
| 1448 | <div class="list_item"> | 1448 | <div class="list_item is_block"> |
| 1449 | <span class="item_label">区块链交易ID:</span> | 1449 | <span class="item_label">区块链交易ID:</span> |
| 1450 | <span class="item_value row"><ellipsis-tooltip | 1450 | <span class="item_value row"><ellipsis-tooltip |
| 1451 | :content="scope.row?.contractProof?.blockchainTx || '--'" class-name="w100f mr8-i" | 1451 | :content="scope.row?.contractProof?.blockchainTx || '--'" class-name="w100f mr8-i" | ... | ... |
-
Please register or sign in to post a comment