去掉产品上架的审批和数交所相关代码
Showing
2 changed files
with
257 additions
and
656 deletions
| ... | @@ -112,16 +112,16 @@ const tableInfo = ref({ | ... | @@ -112,16 +112,16 @@ const tableInfo = ref({ |
| 112 | return scope.row.listingStatus == 'Y' ? '已上架' : '未上架'; | 112 | return scope.row.listingStatus == 'Y' ? '已上架' : '未上架'; |
| 113 | } | 113 | } |
| 114 | }, | 114 | }, |
| 115 | { | 115 | // { |
| 116 | label: "主平台审批状态", field: "crossPlatformApproveState", type: "approveTagBtn", width: 150, align: 'center', btn: { | 116 | // label: "主平台审批状态", field: "crossPlatformApproveState", type: "approveTagBtn", width: 150, align: 'center', btn: { |
| 117 | label: '查看', visible: (scope) => { | 117 | // label: '查看', visible: (scope) => { |
| 118 | return scope.row.crossPlatformApproveState != null; | 118 | // return scope.row.crossPlatformApproveState != null; |
| 119 | }, click: (scope) => { | 119 | // }, click: (scope) => { |
| 120 | systemApproveCurrentRowInfo.value = scope.row; | 120 | // systemApproveCurrentRowInfo.value = scope.row; |
| 121 | approvalDialogVisible.value = true; | 121 | // approvalDialogVisible.value = true; |
| 122 | } | 122 | // } |
| 123 | } | 123 | // } |
| 124 | }, | 124 | // }, |
| 125 | { label: "修改时间", field: "updateTime", width: TableColumnWidth.DATETIME }, | 125 | { label: "修改时间", field: "updateTime", width: TableColumnWidth.DATETIME }, |
| 126 | ], | 126 | ], |
| 127 | loading: false, | 127 | loading: false, |
| ... | @@ -137,28 +137,34 @@ const tableInfo = ref({ | ... | @@ -137,28 +137,34 @@ const tableInfo = ref({ |
| 137 | width: 170, | 137 | width: 170, |
| 138 | btns: (scope) => { | 138 | btns: (scope) => { |
| 139 | const { row } = scope; | 139 | const { row } = scope; |
| 140 | const approveVO = row.approveVO || {}; | ||
| 141 | const currentStaffGuid = userData.staffGuid | ||
| 142 | const bizApproveState = row.approveState; | 140 | const bizApproveState = row.approveState; |
| 143 | const approveState = approveVO.approveState || null; | ||
| 144 | const approveStaffGuids = approveVO.approveStaffGuids || []; | ||
| 145 | const staffGuid = approveVO.staffGuid || ''; | ||
| 146 | let isShowCancel = false; | ||
| 147 | let flowState; | 141 | let flowState; |
| 148 | let list: any = []; | 142 | if (bizApproveState == 'N') { |
| 149 | if (approveState == 'N') { | ||
| 150 | flowState = 1; | 143 | flowState = 1; |
| 151 | } | 144 | } |
| 152 | if (approveState == 'A' && approveStaffGuids.indexOf(currentStaffGuid) > -1) { | 145 | |
| 153 | flowState = 2; | 146 | const currentStaffGuid = userData.staffGuid |
| 147 | // const bizApproveState = row.approveState; | ||
| 148 | // const approveState = approveVO.approveState || null; | ||
| 149 | // const approveStaffGuids = approveVO.approveStaffGuids || []; | ||
| 150 | const staffGuid = row.createUserId || ''; | ||
| 151 | let isShowCancel = false; | ||
| 152 | // let flowState; | ||
| 153 | let list: any = []; | ||
| 154 | if (bizApproveState == 'N') { | ||
| 155 | flowState = 1; | ||
| 154 | } | 156 | } |
| 155 | if ((bizApproveState == 'D' || approveState == 'C' || approveState == 'R' || row.crossPlatformApproveState == 'E' || row.crossPlatformApproveState == 'R') && staffGuid == currentStaffGuid) { | 157 | // // 审批中包含。 |
| 158 | // if (approveState == 'A' && approveStaffGuids.indexOf(currentStaffGuid) > -1) { | ||
| 159 | // flowState = 2; | ||
| 160 | // } | ||
| 161 | if ((bizApproveState == 'D' || bizApproveState == 'C' || bizApproveState == 'R' || bizApproveState == 'E' || bizApproveState == 'R') && staffGuid == currentStaffGuid) { | ||
| 156 | flowState = 3; | 162 | flowState = 3; |
| 157 | } | 163 | } |
| 158 | if (approveVO && approveVO.approveState == 'A' && staffGuid == currentStaffGuid) { | 164 | if (bizApproveState == 'A' && staffGuid == currentStaffGuid) { |
| 159 | isShowCancel = true; | 165 | isShowCancel = true; |
| 160 | } | 166 | } |
| 161 | if ((bizApproveState === 'Y' || row.crossPlatformApproveState == 'Y') && staffGuid == currentStaffGuid) { | 167 | if ((bizApproveState === 'Y') && staffGuid == currentStaffGuid) { |
| 162 | if (row.listingStatus == 'Y') { | 168 | if (row.listingStatus == 'Y') { |
| 163 | list.push({ label: "下架", value: "down" }); | 169 | list.push({ label: "下架", value: "down" }); |
| 164 | } else { | 170 | } else { |
| ... | @@ -168,9 +174,9 @@ const tableInfo = ref({ | ... | @@ -168,9 +174,9 @@ const tableInfo = ref({ |
| 168 | if (flowState === 1) { | 174 | if (flowState === 1) { |
| 169 | list = [{ label: "编辑", value: "edit" }, { label: "删除", value: "del" }] | 175 | list = [{ label: "编辑", value: "edit" }, { label: "删除", value: "del" }] |
| 170 | } | 176 | } |
| 171 | if (flowState === 2) { | 177 | // if (flowState === 2) { |
| 172 | list = [{ label: "通过", value: "pass" }, { label: "驳回", value: "reject" }] | 178 | // list = [{ label: "通过", value: "pass" }, { label: "驳回", value: "reject" }] |
| 173 | } | 179 | // } |
| 174 | if (flowState === 3) { | 180 | if (flowState === 3) { |
| 175 | list.push({ label: "删除", value: "del" }) | 181 | list.push({ label: "删除", value: "del" }) |
| 176 | } | 182 | } | ... | ... |
| ... | @@ -14,7 +14,7 @@ import useDataAssetStore from "@/store/modules/dataAsset"; | ... | @@ -14,7 +14,7 @@ import useDataAssetStore from "@/store/modules/dataAsset"; |
| 14 | import { changeNum } from '@/utils/common'; | 14 | 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, getParamsList, getServiceDetail } from "@/api/modules/dataAsset"; | 17 | import { getApproveList, getTenantApprove, getParamsList, getDamTypesList, } from "@/api/modules/dataAsset"; |
| 18 | import { | 18 | import { |
| 19 | getProductList, getFileByDamGuid, productRejectFlowData, | 19 | getProductList, getFileByDamGuid, productRejectFlowData, |
| 20 | getListingDetail, listingSave, listingUpdate, listingSavePortal, getParamsDataList, listingUpdateGateway, getDataExchangeProductList, getTemplateFile, getListingList | 20 | getListingDetail, listingSave, listingUpdate, listingSavePortal, getParamsDataList, listingUpdateGateway, getDataExchangeProductList, getTemplateFile, getListingList |
| ... | @@ -340,17 +340,19 @@ const formInfo = ref<any>({ | ... | @@ -340,17 +340,19 @@ const formInfo = ref<any>({ |
| 340 | required: true, | 340 | required: true, |
| 341 | visible: true, | 341 | visible: true, |
| 342 | }, | 342 | }, |
| 343 | // { | ||
| 344 | // label: "登记数交所", | ||
| 345 | // type: "input", | ||
| 346 | // placeholder: "请输入", | ||
| 347 | // field: "exchangeName", | ||
| 348 | // default: route.query.exchangeName ? route.query.exchangeName : '', | ||
| 349 | // clearable: true, | ||
| 350 | // disabled: true, | ||
| 351 | // required: true, | ||
| 352 | // visible: true | ||
| 353 | // }, | ||
| 354 | |||
| 343 | { | 355 | { |
| 344 | label: "登记数交所", | ||
| 345 | type: "input", | ||
| 346 | placeholder: "请输入", | ||
| 347 | field: "exchangeName", | ||
| 348 | default: route.query.exchangeName ? route.query.exchangeName : '', | ||
| 349 | clearable: true, | ||
| 350 | disabled: true, | ||
| 351 | required: true, | ||
| 352 | visible: true | ||
| 353 | }, { | ||
| 354 | label: '产品描述', | 356 | label: '产品描述', |
| 355 | type: 'textarea-rich', | 357 | type: 'textarea-rich', |
| 356 | placeholder: '该数据资产主要包含的信息,数据更新方式等', | 358 | placeholder: '该数据资产主要包含的信息,数据更新方式等', |
| ... | @@ -389,127 +391,127 @@ const formInfo = ref<any>({ | ... | @@ -389,127 +391,127 @@ const formInfo = ref<any>({ |
| 389 | // width: 'calc(33.33% - 20px)!important' | 391 | // width: 'calc(33.33% - 20px)!important' |
| 390 | // }, | 392 | // }, |
| 391 | }, | 393 | }, |
| 392 | { | 394 | // { |
| 393 | label: '登记证', | 395 | // label: '登记证', |
| 394 | tip: '支持扩展名:.jpg .png .jpeg', | 396 | // tip: '支持扩展名:.jpg .png .jpeg', |
| 395 | accept: '.jpg, .png, .jpeg ', | 397 | // accept: '.jpg, .png, .jpeg ', |
| 396 | type: 'upload-file', | 398 | // type: 'upload-file', |
| 397 | placeholder: '请选择', | 399 | // placeholder: '请选择', |
| 398 | field: 'registrationCertificateInfo', | 400 | // field: 'registrationCertificateInfo', |
| 399 | default: [], | 401 | // default: [], |
| 400 | limit: 1, | 402 | // limit: 1, |
| 401 | block: false, | 403 | // block: false, |
| 402 | required: false, | 404 | // required: false, |
| 403 | visible: true | 405 | // visible: true |
| 404 | }, | 406 | // }, |
| 405 | { | 407 | // { |
| 406 | label: '质量评估报告', | 408 | // label: '质量评估报告', |
| 407 | tip: '支持扩展名:.png .pdf', | 409 | // tip: '支持扩展名:.png .pdf', |
| 408 | accept: '.png, .pdf', | 410 | // accept: '.png, .pdf', |
| 409 | type: 'upload-file', | 411 | // type: 'upload-file', |
| 410 | placeholder: '请选择', | 412 | // placeholder: '请选择', |
| 411 | field: 'qualityEvaluationFileInfo', | 413 | // field: 'qualityEvaluationFileInfo', |
| 412 | default: [], | 414 | // default: [], |
| 413 | limit: 1, | 415 | // limit: 1, |
| 414 | block: false, | 416 | // block: false, |
| 415 | required: false, | 417 | // required: false, |
| 416 | visible: true | 418 | // visible: true |
| 417 | }, | 419 | // }, |
| 418 | { | 420 | // { |
| 419 | label: "质量评估机构", | 421 | // label: "质量评估机构", |
| 420 | type: "select", | 422 | // type: "select", |
| 421 | placeholder: "请选择", | 423 | // placeholder: "请选择", |
| 422 | field: "qualityEvaluationInstitution", | 424 | // field: "qualityEvaluationInstitution", |
| 423 | default: '', | 425 | // default: '', |
| 424 | options: [], | 426 | // options: [], |
| 425 | props: { | 427 | // props: { |
| 426 | value: 'tenantName', | 428 | // value: 'tenantName', |
| 427 | label: 'tenantName' | 429 | // label: 'tenantName' |
| 428 | }, | 430 | // }, |
| 429 | allowCreate: true, | 431 | // allowCreate: true, |
| 430 | filterable: true, | 432 | // filterable: true, |
| 431 | clearable: true, | 433 | // clearable: true, |
| 432 | disabled: false, | 434 | // disabled: false, |
| 433 | required: false, | 435 | // required: false, |
| 434 | visible: true, | 436 | // visible: true, |
| 435 | col: 'mr8', | 437 | // col: 'mr8', |
| 436 | style: { | 438 | // style: { |
| 437 | // / width: 'calc(50% - 16px)!important' | 439 | // // / width: 'calc(50% - 16px)!important' |
| 438 | }, | 440 | // }, |
| 439 | }, | 441 | // }, |
| 440 | { | 442 | // { |
| 441 | label: '价值评估报告', | 443 | // label: '价值评估报告', |
| 442 | tip: '支持扩展名:.png .pdf', | 444 | // tip: '支持扩展名:.png .pdf', |
| 443 | accept: '.png, .pdf', | 445 | // accept: '.png, .pdf', |
| 444 | type: 'upload-file', | 446 | // type: 'upload-file', |
| 445 | placeholder: '请选择', | 447 | // placeholder: '请选择', |
| 446 | field: 'costAssessmentFileInfo', | 448 | // field: 'costAssessmentFileInfo', |
| 447 | default: [], | 449 | // default: [], |
| 448 | limit: 1, | 450 | // limit: 1, |
| 449 | block: false, | 451 | // block: false, |
| 450 | required: false, | 452 | // required: false, |
| 451 | visible: true | 453 | // visible: true |
| 452 | }, | 454 | // }, |
| 453 | { | 455 | // { |
| 454 | label: "价值评估机构", | 456 | // label: "价值评估机构", |
| 455 | type: "select", | 457 | // type: "select", |
| 456 | placeholder: "请选择", | 458 | // placeholder: "请选择", |
| 457 | field: "costAssessmentInstitution", | 459 | // field: "costAssessmentInstitution", |
| 458 | default: '', | 460 | // default: '', |
| 459 | options: [], | 461 | // options: [], |
| 460 | props: { | 462 | // props: { |
| 461 | value: 'tenantName', | 463 | // value: 'tenantName', |
| 462 | label: 'tenantName' | 464 | // label: 'tenantName' |
| 463 | }, | 465 | // }, |
| 464 | allowCreate: true, | 466 | // allowCreate: true, |
| 465 | filterable: true, | 467 | // filterable: true, |
| 466 | clearable: true, | 468 | // clearable: true, |
| 467 | disabled: false, | 469 | // disabled: false, |
| 468 | required: false, | 470 | // required: false, |
| 469 | visible: true | 471 | // visible: true |
| 470 | }, | 472 | // }, |
| 471 | { | 473 | // { |
| 472 | label: '承诺函', | 474 | // label: '承诺函', |
| 473 | tip: '支持扩展名:.png .pdf', | 475 | // tip: '支持扩展名:.png .pdf', |
| 474 | accept: '.png, .pdf', | 476 | // accept: '.png, .pdf', |
| 475 | type: 'upload-file', | 477 | // type: 'upload-file', |
| 476 | placeholder: '请选择', | 478 | // placeholder: '请选择', |
| 477 | field: 'commitmentLetterInfo', | 479 | // field: 'commitmentLetterInfo', |
| 478 | templateUrl: '', | 480 | // templateUrl: '', |
| 479 | default: [], | 481 | // default: [], |
| 480 | limit: 1, | 482 | // limit: 1, |
| 481 | block: true, | 483 | // block: true, |
| 482 | required: true, | 484 | // required: true, |
| 483 | visible: true | 485 | // visible: true |
| 484 | }, | 486 | // }, |
| 485 | { | 487 | // { |
| 486 | label: '授权文件', | 488 | // label: '授权文件', |
| 487 | tip: '支持扩展名:.png .pdf', | 489 | // tip: '支持扩展名:.png .pdf', |
| 488 | accept: '.png, .pdf', | 490 | // accept: '.png, .pdf', |
| 489 | type: 'upload-file', | 491 | // type: 'upload-file', |
| 490 | placeholder: '请选择', | 492 | // placeholder: '请选择', |
| 491 | field: 'accreditFileInfo', | 493 | // field: 'accreditFileInfo', |
| 492 | templateUrl: '', | 494 | // templateUrl: '', |
| 493 | default: [], | 495 | // default: [], |
| 494 | limit: 1, | 496 | // limit: 1, |
| 495 | block: true, | 497 | // block: true, |
| 496 | required: true, | 498 | // required: true, |
| 497 | visible: true | 499 | // visible: true |
| 498 | }, | 500 | // }, |
| 499 | { | 501 | // { |
| 500 | label: '商品详细介绍(签章版)', | 502 | // label: '商品详细介绍(签章版)', |
| 501 | tip: '支持扩展名:.png .pdf', | 503 | // tip: '支持扩展名:.png .pdf', |
| 502 | accept: '.png, .pdf', | 504 | // accept: '.png, .pdf', |
| 503 | type: 'upload-file', | 505 | // type: 'upload-file', |
| 504 | placeholder: '请选择', | 506 | // placeholder: '请选择', |
| 505 | field: 'productDetailInfo', | 507 | // field: 'productDetailInfo', |
| 506 | templateUrl: '', | 508 | // templateUrl: '', |
| 507 | default: [], | 509 | // default: [], |
| 508 | limit: 1, | 510 | // limit: 1, |
| 509 | block: true, | 511 | // block: true, |
| 510 | required: true, | 512 | // required: true, |
| 511 | visible: true | 513 | // visible: true |
| 512 | }, | 514 | // }, |
| 513 | { | 515 | { |
| 514 | label: "", | 516 | label: "", |
| 515 | type: "input", | 517 | type: "input", |
| ... | @@ -532,9 +534,9 @@ const formInfo = ref<any>({ | ... | @@ -532,9 +534,9 @@ const formInfo = ref<any>({ |
| 532 | { required: true, message: "请选择数据产品", trigger: "change", }, | 534 | { required: true, message: "请选择数据产品", trigger: "change", }, |
| 533 | ], | 535 | ], |
| 534 | deliveryWay: [required('请选择交付方式')], | 536 | deliveryWay: [required('请选择交付方式')], |
| 535 | exchangeGuids: [{ | 537 | // exchangeGuids: [{ |
| 536 | type: 'array', required: true, message: '请选择上架交易所', trigger: 'change', | 538 | // type: 'array', required: true, message: '请选择上架交易所', trigger: 'change', |
| 537 | }], | 539 | // }], |
| 538 | coverageArea: [ | 540 | coverageArea: [ |
| 539 | { required: true, message: "请选择覆盖地域", trigger: "change", }, | 541 | { required: true, message: "请选择覆盖地域", trigger: "change", }, |
| 540 | ], | 542 | ], |
| ... | @@ -607,44 +609,44 @@ const formInfo = ref<any>({ | ... | @@ -607,44 +609,44 @@ const formInfo = ref<any>({ |
| 607 | // }, | 609 | // }, |
| 608 | // ], | 610 | // ], |
| 609 | // 校验承诺函 | 611 | // 校验承诺函 |
| 610 | commitmentLetterInfo: [ | 612 | // commitmentLetterInfo: [ |
| 611 | { | 613 | // { |
| 612 | validator: (rule: any, value: any, callback: any) => { | 614 | // validator: (rule: any, value: any, callback: any) => { |
| 613 | let formInline = listingFormRef.value.formInline; | 615 | // let formInline = listingFormRef.value.formInline; |
| 614 | if (!value?.length) { | 616 | // if (!value?.length) { |
| 615 | callback(new Error('请上传承诺函')) | 617 | // callback(new Error('请上传承诺函')) |
| 616 | } else { | 618 | // } else { |
| 617 | callback(); | 619 | // callback(); |
| 618 | } | 620 | // } |
| 619 | }, trigger: 'change' | 621 | // }, trigger: 'change' |
| 620 | }, | 622 | // }, |
| 621 | ], | 623 | // ], |
| 622 | // 校验授权文件 | 624 | // 校验授权文件 |
| 623 | accreditFileInfo: [ | 625 | // accreditFileInfo: [ |
| 624 | { | 626 | // { |
| 625 | validator: (rule: any, value: any, callback: any) => { | 627 | // validator: (rule: any, value: any, callback: any) => { |
| 626 | let formInline = listingFormRef.value.formInline; | 628 | // let formInline = listingFormRef.value.formInline; |
| 627 | if (!value?.length) { | 629 | // if (!value?.length) { |
| 628 | callback(new Error('请上传授权文件')) | 630 | // callback(new Error('请上传授权文件')) |
| 629 | } else { | 631 | // } else { |
| 630 | callback(); | 632 | // callback(); |
| 631 | } | 633 | // } |
| 632 | }, trigger: 'change' | 634 | // }, trigger: 'change' |
| 633 | }, | 635 | // }, |
| 634 | ], | 636 | // ], |
| 635 | // 校验商品详细介绍 | 637 | // // 校验商品详细介绍 |
| 636 | productDetailInfo: [ | 638 | // productDetailInfo: [ |
| 637 | { | 639 | // { |
| 638 | validator: (rule: any, value: any, callback: any) => { | 640 | // validator: (rule: any, value: any, callback: any) => { |
| 639 | let formInline = listingFormRef.value.formInline; | 641 | // let formInline = listingFormRef.value.formInline; |
| 640 | if (!value?.length) { | 642 | // if (!value?.length) { |
| 641 | callback(new Error('请上传商品详细介绍')) | 643 | // callback(new Error('请上传商品详细介绍')) |
| 642 | } else { | 644 | // } else { |
| 643 | callback(); | 645 | // callback(); |
| 644 | } | 646 | // } |
| 645 | }, trigger: 'change' | 647 | // }, trigger: 'change' |
| 646 | }, | 648 | // }, |
| 647 | ], | 649 | // ], |
| 648 | 650 | ||
| 649 | } | 651 | } |
| 650 | }) | 652 | }) |
| ... | @@ -849,135 +851,6 @@ const submitForm = (btn, formEl, tosub = false) => { | ... | @@ -849,135 +851,6 @@ const submitForm = (btn, formEl, tosub = false) => { |
| 849 | flowDetailLoading.value = false; | 851 | flowDetailLoading.value = false; |
| 850 | }); | 852 | }); |
| 851 | } | 853 | } |
| 852 | } else { | ||
| 853 | if (detailType == 'add') { | ||
| 854 | // 上架交易所 | ||
| 855 | // console.log(params, '--------上架交易所 ---------'); | ||
| 856 | params.immediateApprove = btn.value == 'submit' ? true : false; | ||
| 857 | params.registrationCertificate = params.registrationCertificateInfo.length ? { name: params.registrationCertificateInfo[0].name, url: params.registrationCertificateInfo[0].url } : {}; | ||
| 858 | params.accreditFile = params.accreditFileInfo.length ? [{ | ||
| 859 | url: params.accreditFileInfo[0].url, | ||
| 860 | name: params.accreditFileInfo[0].name | ||
| 861 | }] : ''; | ||
| 862 | params.commitmentLetter = params.commitmentLetterInfo.length ? [{ | ||
| 863 | url: params.commitmentLetterInfo[0].url, | ||
| 864 | name: params.commitmentLetterInfo[0].name | ||
| 865 | }] : []; | ||
| 866 | params.assessmentFile = params.costAssessmentFileInfo.length ? [{ | ||
| 867 | url: params.costAssessmentFileInfo[0].url, | ||
| 868 | name: params.costAssessmentFileInfo[0].name | ||
| 869 | }] : []; | ||
| 870 | params.productDetail = params.productDetailInfo.length ? [{ | ||
| 871 | url: params.productDetailInfo[0].url, | ||
| 872 | name: params.productDetailInfo[0].name | ||
| 873 | }] : []; | ||
| 874 | params.evaluationFile = params.qualityEvaluationFileInfo.length ? [{ | ||
| 875 | url: params.qualityEvaluationFileInfo[0].url, | ||
| 876 | name: params.qualityEvaluationFileInfo[0].name | ||
| 877 | }] : []; | ||
| 878 | params.exchangeGuid = route.query.exchangeGuid; | ||
| 879 | params.qualityEvaluationInstitutionGuid = qualityEvaluationData.value.find((item: any) => item.tenantName == params.qualityEvaluationInstitution)?.guid || ''; | ||
| 880 | params.costAssessmentInstitutionGuid = costAssessmentData.value.find((item: any) => item.tenantName == params.costAssessmentInstitution)?.guid || ''; | ||
| 881 | delete params.exchangeName; | ||
| 882 | delete params.registrationCertificateInfo; | ||
| 883 | delete params.accreditFileInfo; | ||
| 884 | delete params.commitmentLetterInfo; | ||
| 885 | delete params.costAssessmentFileInfo; | ||
| 886 | delete params.productDetailInfo; | ||
| 887 | delete params.qualityEvaluationFileInfo; | ||
| 888 | // console.log(params, '-------rwrwerwer----------'); | ||
| 889 | listingSave(params).then((res: any) => { | ||
| 890 | if (res.code == proxy.$passCode) { | ||
| 891 | ElMessage({ | ||
| 892 | type: "success", | ||
| 893 | message: '提交成功', | ||
| 894 | }); | ||
| 895 | flowDetailLoading.value = false; | ||
| 896 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 897 | assetStore.set(true); | ||
| 898 | router.push({ | ||
| 899 | name: "productListing", | ||
| 900 | query: {}, | ||
| 901 | }); | ||
| 902 | } else { | ||
| 903 | ElMessage({ | ||
| 904 | type: "error", | ||
| 905 | message: res.msg, | ||
| 906 | }); | ||
| 907 | flowDetailLoading.value = false; | ||
| 908 | } | ||
| 909 | }).catch((res) => { | ||
| 910 | ElMessage({ | ||
| 911 | type: "error", | ||
| 912 | message: '提交失败', | ||
| 913 | }); | ||
| 914 | flowDetailLoading.value = false; | ||
| 915 | }); | ||
| 916 | } else { | ||
| 917 | // listingUpdate | ||
| 918 | // 上架交易所 | ||
| 919 | params.guid = guid; | ||
| 920 | params.immediateApprove = btn.value == 'submit' ? true : false; | ||
| 921 | params.registrationCertificate = params.registrationCertificateInfo.length ? { name: params.registrationCertificateInfo[0].name, url: params.registrationCertificateInfo[0].url } : {}; | ||
| 922 | params.accreditFile = params.accreditFileInfo.length ? [{ | ||
| 923 | url: params.accreditFileInfo[0].url, | ||
| 924 | name: params.accreditFileInfo[0].name | ||
| 925 | }] : null; | ||
| 926 | params.commitmentLetter = params.commitmentLetterInfo.length ? [{ | ||
| 927 | url: params.commitmentLetterInfo[0].url, | ||
| 928 | name: params.commitmentLetterInfo[0].name | ||
| 929 | }] : []; | ||
| 930 | params.costAssessmentFile = params.costAssessmentFileInfo.length ? [{ | ||
| 931 | url: params.costAssessmentFileInfo[0].url, | ||
| 932 | name: params.costAssessmentFileInfo[0].name | ||
| 933 | }] : []; | ||
| 934 | params.productDetail = params.productDetailInfo.length ? [{ | ||
| 935 | url: params.productDetailInfo[0].url, | ||
| 936 | name: params.productDetailInfo[0].name | ||
| 937 | }] : []; | ||
| 938 | params.evaluationFile = params.qualityEvaluationFileInfo.length ? [{ | ||
| 939 | url: params.qualityEvaluationFileInfo[0].url, | ||
| 940 | name: params.qualityEvaluationFileInfo[0].name | ||
| 941 | }] : []; | ||
| 942 | params.exchangeGuid = route.query.exchangeGuid; | ||
| 943 | params.qualityEvaluationInstitutionGuid = qualityEvaluationData.value.find((item: any) => item.tenantName == params.qualityEvaluationInstitution)?.guid || ''; | ||
| 944 | params.costAssessmentInstitutionGuid = costAssessmentData.value.find((item: any) => item.tenantName == params.costAssessmentInstitution)?.guid || ''; | ||
| 945 | delete params.exchangeName; | ||
| 946 | delete params.registrationCertificateInfo; | ||
| 947 | delete params.accreditFileInfo; | ||
| 948 | delete params.commitmentLetterInfo; | ||
| 949 | delete params.costAssessmentFileInfo; | ||
| 950 | delete params.productDetailInfo; | ||
| 951 | delete params.qualityEvaluationFileInfo; | ||
| 952 | // console.log(params, '-------rwrwerwer----------'); | ||
| 953 | listingUpdate(params).then((res: any) => { | ||
| 954 | if (res.code == proxy.$passCode) { | ||
| 955 | ElMessage({ | ||
| 956 | type: "success", | ||
| 957 | message: '提交成功', | ||
| 958 | }); | ||
| 959 | flowDetailLoading.value = false; | ||
| 960 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 961 | assetStore.set(true); | ||
| 962 | router.push({ | ||
| 963 | name: "productListing", | ||
| 964 | query: {}, | ||
| 965 | }); | ||
| 966 | } else { | ||
| 967 | ElMessage({ | ||
| 968 | type: "error", | ||
| 969 | message: res.msg, | ||
| 970 | }); | ||
| 971 | flowDetailLoading.value = false; | ||
| 972 | } | ||
| 973 | }).catch((res) => { | ||
| 974 | ElMessage({ | ||
| 975 | type: "error", | ||
| 976 | message: '提交失败', | ||
| 977 | }); | ||
| 978 | flowDetailLoading.value = false; | ||
| 979 | }); | ||
| 980 | } | ||
| 981 | } | 854 | } |
| 982 | 855 | ||
| 983 | } else { | 856 | } else { |
| ... | @@ -1379,7 +1252,7 @@ onBeforeMount(async () => { | ... | @@ -1379,7 +1252,7 @@ onBeforeMount(async () => { |
| 1379 | }) | 1252 | }) |
| 1380 | } | 1253 | } |
| 1381 | // getApproveData(); | 1254 | // getApproveData(); |
| 1382 | getParamsDataList({ dictType: '资产类型' }).then((res: any) => { | 1255 | getDamTypesList({ dictType: '资产类型' }).then((res: any) => { |
| 1383 | if (res.code == proxy.$passCode) { | 1256 | if (res.code == proxy.$passCode) { |
| 1384 | damTypes.value = res.data || []; | 1257 | damTypes.value = res.data || []; |
| 1385 | let item = formInfo.value.items.find(item => item.field == 'damType'); | 1258 | let item = formInfo.value.items.find(item => item.field == 'damType'); |
| ... | @@ -1388,7 +1261,7 @@ onBeforeMount(async () => { | ... | @@ -1388,7 +1261,7 @@ onBeforeMount(async () => { |
| 1388 | proxy.$ElMessage.error(res.msg); | 1261 | proxy.$ElMessage.error(res.msg); |
| 1389 | } | 1262 | } |
| 1390 | }) | 1263 | }) |
| 1391 | getParamsDataList({ dictType: '交付方式' }).then((res: any) => { | 1264 | getDamTypesList({ dictType: '交付方式' }).then((res: any) => { |
| 1392 | if (res.code == proxy.$passCode) { | 1265 | if (res.code == proxy.$passCode) { |
| 1393 | deliveryWayList.value = res.data || []; | 1266 | deliveryWayList.value = res.data || []; |
| 1394 | let item = formInfo.value.items.find(item => item.field == 'deliveryWay'); | 1267 | let item = formInfo.value.items.find(item => item.field == 'deliveryWay'); |
| ... | @@ -1416,7 +1289,7 @@ onBeforeMount(async () => { | ... | @@ -1416,7 +1289,7 @@ onBeforeMount(async () => { |
| 1416 | } | 1289 | } |
| 1417 | }) | 1290 | }) |
| 1418 | if (detailType != 'detail') { | 1291 | if (detailType != 'detail') { |
| 1419 | getParamsList({ | 1292 | getDamTypesList({ |
| 1420 | dictType: "数据资产目录主题名称", | 1293 | dictType: "数据资产目录主题名称", |
| 1421 | }).then((res: any) => { | 1294 | }).then((res: any) => { |
| 1422 | if (res.code == proxy.$passCode) { | 1295 | if (res.code == proxy.$passCode) { |
| ... | @@ -1427,37 +1300,37 @@ onBeforeMount(async () => { | ... | @@ -1427,37 +1300,37 @@ onBeforeMount(async () => { |
| 1427 | proxy.$ElMessage.error(res.msg); | 1300 | proxy.$ElMessage.error(res.msg); |
| 1428 | } | 1301 | } |
| 1429 | }) | 1302 | }) |
| 1430 | 1303 | // 不需要内部审批 | |
| 1431 | getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => { | 1304 | // getCamundaDeploymentId('10016', userData.tenantGuid, userData.staffGuid).then((res: any) => { |
| 1432 | if (res.code == proxy.$passCode) { | 1305 | // if (res.code == proxy.$passCode) { |
| 1433 | deploymentId.value = res.data; | 1306 | // deploymentId.value = res.data; |
| 1434 | } else { | 1307 | // } else { |
| 1435 | ElMessage.error(res.msg); | 1308 | // ElMessage.error(res.msg); |
| 1436 | } | 1309 | // } |
| 1437 | }) | 1310 | // }) |
| 1438 | // 获取质量评估机构 | 1311 | // // 获取质量评估机构 |
| 1439 | getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12505" }).then((res: any) => { | 1312 | // getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12505" }).then((res: any) => { |
| 1440 | if (res.code == proxy.$passCode) { | 1313 | // if (res.code == proxy.$passCode) { |
| 1441 | qualityEvaluationData.value = res.data.records || []; | 1314 | // qualityEvaluationData.value = res.data.records || []; |
| 1442 | let item = formInfo.value.items.find(item => item.field == 'qualityEvaluationInstitution'); | 1315 | // let item = formInfo.value.items.find(item => item.field == 'qualityEvaluationInstitution'); |
| 1443 | item && (item.options = qualityEvaluationData.value); | 1316 | // item && (item.options = qualityEvaluationData.value); |
| 1444 | } else { | 1317 | // } else { |
| 1445 | proxy.$ElMessage.error(res.msg); | 1318 | // proxy.$ElMessage.error(res.msg); |
| 1446 | } | 1319 | // } |
| 1447 | }) | 1320 | // }) |
| 1448 | // 获取价值评估机构 | 1321 | // // 获取价值评估机构 |
| 1449 | getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12504" }).then((res: any) => { | 1322 | // getSingleList({ pageIndex: -1, pageSize: -1, tenantType: "12504" }).then((res: any) => { |
| 1450 | if (res.code == proxy.$passCode) { | 1323 | // if (res.code == proxy.$passCode) { |
| 1451 | costAssessmentData.value = res.data.records || []; | 1324 | // costAssessmentData.value = res.data.records || []; |
| 1452 | let item = formInfo.value.items.find(item => item.field == 'costAssessmentInstitution'); | 1325 | // let item = formInfo.value.items.find(item => item.field == 'costAssessmentInstitution'); |
| 1453 | item && (item.options = costAssessmentData.value); | 1326 | // item && (item.options = costAssessmentData.value); |
| 1454 | } else { | 1327 | // } else { |
| 1455 | proxy.$ElMessage.error(res.msg); | 1328 | // proxy.$ElMessage.error(res.msg); |
| 1456 | } | 1329 | // } |
| 1457 | }) | 1330 | // }) |
| 1458 | if (route.query.exchangeGuid) { | 1331 | // if (route.query.exchangeGuid) { |
| 1459 | getTemplateInfo(); | 1332 | // getTemplateInfo(); |
| 1460 | } | 1333 | // } |
| 1461 | if (detailType && detailType != 'redit' && detailType != 'edit') { | 1334 | if (detailType && detailType != 'redit' && detailType != 'edit') { |
| 1462 | setTimeout(() => { | 1335 | setTimeout(() => { |
| 1463 | formInfo.value.items.forEach(item => { | 1336 | formInfo.value.items.forEach(item => { |
| ... | @@ -1533,14 +1406,14 @@ const toolBtns: any = computed(() => { | ... | @@ -1533,14 +1406,14 @@ const toolBtns: any = computed(() => { |
| 1533 | let btnsArr: any = [{ | 1406 | let btnsArr: any = [{ |
| 1534 | label: "关闭", value: "cancel", plain: true | 1407 | label: "关闭", value: "cancel", plain: true |
| 1535 | }]; | 1408 | }]; |
| 1536 | let approveVO = flowDetail.value.approveVO; | 1409 | // let approveVO = flowDetail.value.approveVO; |
| 1537 | let staffGuid = userData.staffGuid; | 1410 | // let staffGuid = userData.staffGuid; |
| 1538 | if (approveVO && approveVO.approveState == 'A' && approveVO.approveStaffGuids && approveVO.approveStaffGuids.indexOf(staffGuid) > -1) { | 1411 | // if (approveVO && approveVO.approveState == 'A' && approveVO.approveStaffGuids && approveVO.approveStaffGuids.indexOf(staffGuid) > -1) { |
| 1539 | btnsArr.push(...[{ label: "通过", value: "pass", type: 'primary' }, { label: "驳回", value: "reject", type: 'danger', plain: true }]); | 1412 | // btnsArr.push(...[{ label: "通过", value: "pass", type: 'primary' }, { label: "驳回", value: "reject", type: 'danger', plain: true }]); |
| 1540 | } | 1413 | // } |
| 1541 | if (approveVO && approveVO.approveState == 'A' && approveVO.staffGuid == staffGuid) { | 1414 | // if (approveVO && approveVO.approveState == 'A' && approveVO.staffGuid == staffGuid) { |
| 1542 | btnsArr.push({ label: "撤销", value: "revoke" }); | 1415 | // btnsArr.push({ label: "撤销", value: "revoke" }); |
| 1543 | } | 1416 | // } |
| 1544 | return btnsArr; | 1417 | return btnsArr; |
| 1545 | }); | 1418 | }); |
| 1546 | 1419 | ||
| ... | @@ -1893,20 +1766,21 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -1893,20 +1766,21 @@ const rejectDialogBtnClick = (btn, info) => { |
| 1893 | <template> | 1766 | <template> |
| 1894 | <div class="container_wrap" v-loading="flowDetailLoading"> | 1767 | <div class="container_wrap" v-loading="flowDetailLoading"> |
| 1895 | <div class="content_main"> | 1768 | <div class="content_main"> |
| 1896 | <div v-if="detailType == 'detail' && (flowDetail.crossPlatformApproveState == 'R' || flowDetail.crossPlatformApproveState == 'E')" | 1769 | <div v-if="detailType == 'detail' && (flowDetail.approveState == 'R' || flowDetail.approveState == 'E')" |
| 1897 | :class="['panel_wrap', 'results_panel', 'reject']"> | 1770 | :class="['panel_wrap', 'results_panel', 'reject']"> |
| 1898 | <div class="panel_header"> | 1771 | <div class="panel_header"> |
| 1899 | <div class="header_title" v-if="flowDetail.crossPlatformApproveState == 'R'"> | 1772 | <div class="header_title" v-if="flowDetail.approveState == 'R'"> |
| 1900 | <el-icon class="title-icon"> | 1773 | <el-icon class="title-icon"> |
| 1901 | <CircleCloseFilled /> | 1774 | <CircleCloseFilled /> |
| 1902 | </el-icon> | 1775 | </el-icon> |
| 1903 | <span class="title_text">主平台审批已驳回,请在列表页面查看具体驳回原因</span> | 1776 | <span class="title_text">平台审批已驳回,请在列表页面查看具体驳回原因</span> |
| 1777 | <!-- 需要展示驳回原因 --> | ||
| 1904 | </div> | 1778 | </div> |
| 1905 | <div class="header_title" v-else-if="flowDetail.crossPlatformApproveState == 'E'"> | 1779 | <div class="header_title" v-else-if="flowDetail.approveState == 'E'"> |
| 1906 | <el-icon class="title-icon"> | 1780 | <el-icon class="title-icon"> |
| 1907 | <CircleCloseFilled /> | 1781 | <CircleCloseFilled /> |
| 1908 | </el-icon> | 1782 | </el-icon> |
| 1909 | <span class="title_text">主平台审批发起失败,请在列表页面查看具体发起失败原因</span> | 1783 | <span class="title_text">平台审批发起失败,请在列表页面重新提交</span> |
| 1910 | </div> | 1784 | </div> |
| 1911 | </div> | 1785 | </div> |
| 1912 | </div> | 1786 | </div> |
| ... | @@ -1984,11 +1858,11 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -1984,11 +1858,11 @@ const rejectDialogBtnClick = (btn, info) => { |
| 1984 | }}</span> | 1858 | }}</span> |
| 1985 | </span> | 1859 | </span> |
| 1986 | </div> | 1860 | </div> |
| 1987 | <div v-show="flowDetail.dataSource != '1'" class="list_item is_block"> | 1861 | <div class="list_item is_block"> |
| 1988 | <span class="item_label">收费说明:</span> | 1862 | <span class="item_label">收费说明:</span> |
| 1989 | <span class="item_value">{{ flowDetail.feeDesc || '--' }}</span> | 1863 | <span class="item_value">{{ flowDetail.feeDesc || '--' }}</span> |
| 1990 | </div> | 1864 | </div> |
| 1991 | <div v-show="flowDetail.dataSource != '1'" class="list_item1 is_block1"> | 1865 | <div class="list_item1 is_block1"> |
| 1992 | <div class="file_item" v-if="flowDetail.productPic && flowDetail.productPic.name"> | 1866 | <div class="file_item" v-if="flowDetail.productPic && flowDetail.productPic.name"> |
| 1993 | <span class="item_label">产品图片:</span> | 1867 | <span class="item_label">产品图片:</span> |
| 1994 | <span class="item_value"> | 1868 | <span class="item_value"> |
| ... | @@ -2040,265 +1914,6 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -2040,265 +1914,6 @@ const rejectDialogBtnClick = (btn, info) => { |
| 2040 | <span class="item_value">--</span> | 1914 | <span class="item_value">--</span> |
| 2041 | </div> | 1915 | </div> |
| 2042 | </div> | 1916 | </div> |
| 2043 | <div class="list_item1 is_block1"> | ||
| 2044 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2045 | <span class="item_label">登记证照:</span> | ||
| 2046 | <span class="item_value" | ||
| 2047 | v-if="flowDetail.registrationCertificate && flowDetail.registrationCertificate.name"> | ||
| 2048 | <div class="file-operate"> | ||
| 2049 | <template | ||
| 2050 | v-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'xls' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'xlsx' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'csv'"> | ||
| 2051 | <img class="file-img" src="../../assets/images/excel.png" /> | ||
| 2052 | </template> | ||
| 2053 | <template | ||
| 2054 | v-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() === 'csv'"> | ||
| 2055 | <img class="file-img" src="../../assets/images/csv.png" /> | ||
| 2056 | </template> | ||
| 2057 | <template | ||
| 2058 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'doc' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'docx'"> | ||
| 2059 | <img class="file-img" src="../../assets/images/word.png" /> | ||
| 2060 | </template> | ||
| 2061 | <template | ||
| 2062 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'zip'"> | ||
| 2063 | <img class="file-img" src="../../assets/images/zip.png" /> | ||
| 2064 | </template> | ||
| 2065 | <template | ||
| 2066 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'rar'"> | ||
| 2067 | <img class="file-img" src="../../assets/images/RAR.png" /> | ||
| 2068 | </template> | ||
| 2069 | <template | ||
| 2070 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'pdf'"> | ||
| 2071 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2072 | </template> | ||
| 2073 | <template | ||
| 2074 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'png'"> | ||
| 2075 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2076 | </template> | ||
| 2077 | <template | ||
| 2078 | v-else-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'jpg' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'jpeg'"> | ||
| 2079 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2080 | </template> | ||
| 2081 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.registrationCertificate.name ?? ''" | ||
| 2082 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2083 | <div :style="{ right: '36px' }" | ||
| 2084 | v-if="flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'pdf' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'png' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'jpg' || flowDetail.registrationCertificate.name.substring(flowDetail.registrationCertificate.name.lastIndexOf('.') + 1).toLowerCase() == 'jpeg'" | ||
| 2085 | class="file-preview" @click="onUploadFilePreview(flowDetail.registrationCertificate)">查看</div> | ||
| 2086 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2087 | @click="onUploadFileDownload(flowDetail.registrationCertificate)">下载 | ||
| 2088 | </div> | ||
| 2089 | </div> | ||
| 2090 | </span> | ||
| 2091 | <span class="item_value" v-else>--</span> | ||
| 2092 | </div> | ||
| 2093 | </div> | ||
| 2094 | <div class="list_item1 is_block1"> | ||
| 2095 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2096 | <span class="item_label">质量评估报告:</span> | ||
| 2097 | <span class="item_value"> | ||
| 2098 | <div class="file-operate"> | ||
| 2099 | <template v-if="flowDetail?.evaluationFile?.length > 0"> | ||
| 2100 | <template | ||
| 2101 | v-if="flowDetail.evaluationFile[0].name?.substring(flowDetail.evaluationFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'pdf'"> | ||
| 2102 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2103 | </template> | ||
| 2104 | <template | ||
| 2105 | v-else-if="flowDetail.evaluationFile[0].name?.substring(flowDetail.evaluationFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'png'"> | ||
| 2106 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2107 | </template> | ||
| 2108 | <template | ||
| 2109 | v-else-if="['jpg', 'jpeg'].includes(flowDetail.evaluationFile[0].name?.substring(flowDetail.evaluationFile[0].name.lastIndexOf('.') + 1).toLowerCase())"> | ||
| 2110 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2111 | </template> | ||
| 2112 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.evaluationFile[0].name ?? ''" | ||
| 2113 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2114 | <div | ||
| 2115 | v-if="['pdf', 'png', 'jpg', 'jpeg'].includes(flowDetail.evaluationFile[0].name?.substring(flowDetail.evaluationFile[0].name.lastIndexOf('.') + 1).toLowerCase())" | ||
| 2116 | :style="{ right: '36px' }" class="file-preview" | ||
| 2117 | @click="onUploadFilePreview(flowDetail.evaluationFile[0])"> | ||
| 2118 | 查看 | ||
| 2119 | </div> | ||
| 2120 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2121 | @click="onUploadFileDownload(flowDetail.evaluationFile[0])"> | ||
| 2122 | 下载 | ||
| 2123 | </div> | ||
| 2124 | </template> | ||
| 2125 | <template v-else> | ||
| 2126 | -- | ||
| 2127 | </template> | ||
| 2128 | </div> | ||
| 2129 | </span> | ||
| 2130 | </div> | ||
| 2131 | </div> | ||
| 2132 | <div class="list_item1 is_block1"> | ||
| 2133 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2134 | <span class="item_label">质量评估机构:</span> | ||
| 2135 | <span class="item_value"> | ||
| 2136 | {{ flowDetail.qualityEvaluationInstitution || '--' }} | ||
| 2137 | </span> | ||
| 2138 | </div> | ||
| 2139 | </div> | ||
| 2140 | <div class="list_item1 is_block1"> | ||
| 2141 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2142 | <span class="item_label">价值评估报告:</span> | ||
| 2143 | <span class="item_value"> | ||
| 2144 | <div class="file-operate"> | ||
| 2145 | <template v-if="flowDetail?.assessmentFile?.length > 0"> | ||
| 2146 | <template | ||
| 2147 | v-if="flowDetail.assessmentFile[0].name?.substring(flowDetail.assessmentFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'pdf'"> | ||
| 2148 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2149 | </template> | ||
| 2150 | <template | ||
| 2151 | v-else-if="flowDetail.assessmentFile[0].name?.substring(flowDetail.assessmentFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'png'"> | ||
| 2152 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2153 | </template> | ||
| 2154 | <template | ||
| 2155 | v-else-if="['jpg', 'jpeg'].includes(flowDetail.assessmentFile[0].name?.substring(flowDetail.assessmentFile[0].name.lastIndexOf('.') + 1).toLowerCase())"> | ||
| 2156 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2157 | </template> | ||
| 2158 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.assessmentFile[0].name ?? ''" | ||
| 2159 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2160 | <div | ||
| 2161 | v-if="['pdf', 'png', 'jpg', 'jpeg'].includes(flowDetail.assessmentFile[0].name?.substring(flowDetail.assessmentFile[0].name.lastIndexOf('.') + 1).toLowerCase())" | ||
| 2162 | :style="{ right: '36px' }" class="file-preview" | ||
| 2163 | @click="onUploadFilePreview(flowDetail.assessmentFile[0])"> | ||
| 2164 | 查看 | ||
| 2165 | </div> | ||
| 2166 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2167 | @click="onUploadFileDownload(flowDetail.assessmentFile[0])"> | ||
| 2168 | 下载 | ||
| 2169 | </div> | ||
| 2170 | </template> | ||
| 2171 | <template v-else> | ||
| 2172 | -- | ||
| 2173 | </template> | ||
| 2174 | </div> | ||
| 2175 | </span> | ||
| 2176 | </div> | ||
| 2177 | </div> | ||
| 2178 | <div class="list_item1 is_block1"> | ||
| 2179 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2180 | <span class="item_label">价值估评机构:</span> | ||
| 2181 | <span class="item_value"> | ||
| 2182 | {{ flowDetail.costAssessmentInstitution || '--' }} | ||
| 2183 | </span> | ||
| 2184 | </div> | ||
| 2185 | </div> | ||
| 2186 | |||
| 2187 | <div class="list_item is_block"> | ||
| 2188 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2189 | <span class="item_label">承诺函:</span> | ||
| 2190 | <span class="item_value"> | ||
| 2191 | <div class="file-operate"> | ||
| 2192 | <template v-if="flowDetail?.commitmentLetter?.length > 0"> | ||
| 2193 | <template | ||
| 2194 | v-if="flowDetail.commitmentLetter[0].name?.substring(flowDetail.commitmentLetter[0].name.lastIndexOf('.') + 1).toLowerCase() === 'pdf'"> | ||
| 2195 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2196 | </template> | ||
| 2197 | <template | ||
| 2198 | v-else-if="flowDetail.commitmentLetter[0].name?.substring(flowDetail.commitmentLetter[0].name.lastIndexOf('.') + 1).toLowerCase() === 'png'"> | ||
| 2199 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2200 | </template> | ||
| 2201 | <template | ||
| 2202 | v-else-if="['jpg', 'jpeg'].includes(flowDetail.commitmentLetter[0].name?.substring(flowDetail.commitmentLetter[0].name.lastIndexOf('.') + 1).toLowerCase())"> | ||
| 2203 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2204 | </template> | ||
| 2205 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.commitmentLetter[0].name ?? ''" | ||
| 2206 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2207 | <div | ||
| 2208 | v-if="['pdf', 'png', 'jpg', 'jpeg'].includes(flowDetail.commitmentLetter[0].name?.substring(flowDetail.commitmentLetter[0].name.lastIndexOf('.') + 1).toLowerCase())" | ||
| 2209 | :style="{ right: '36px' }" class="file-preview" | ||
| 2210 | @click="onUploadFilePreview(flowDetail.commitmentLetter[0])"> | ||
| 2211 | 查看 | ||
| 2212 | </div> | ||
| 2213 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2214 | @click="onUploadFileDownload(flowDetail.commitmentLetter[0])"> | ||
| 2215 | 下载 | ||
| 2216 | </div> | ||
| 2217 | </template> | ||
| 2218 | <template v-else> | ||
| 2219 | -- | ||
| 2220 | </template> | ||
| 2221 | </div> | ||
| 2222 | </span> | ||
| 2223 | </div> | ||
| 2224 | </div> | ||
| 2225 | <div class="list_item is_block"> | ||
| 2226 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2227 | <span class="item_label">授权文件:</span> | ||
| 2228 | <span class="item_value"> | ||
| 2229 | <div class="file-operate"> | ||
| 2230 | <template v-if="flowDetail?.accreditFile?.length > 0"> | ||
| 2231 | <template | ||
| 2232 | v-if="flowDetail.accreditFile[0].name?.substring(flowDetail.accreditFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'pdf'"> | ||
| 2233 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2234 | </template> | ||
| 2235 | <template | ||
| 2236 | v-else-if="flowDetail.accreditFile[0].name?.substring(flowDetail.accreditFile[0].name.lastIndexOf('.') + 1).toLowerCase() === 'png'"> | ||
| 2237 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2238 | </template> | ||
| 2239 | <template | ||
| 2240 | v-else-if="['jpg', 'jpeg'].includes(flowDetail.accreditFile[0].name?.substring(flowDetail.accreditFile[0].name.lastIndexOf('.') + 1).toLowerCase())"> | ||
| 2241 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2242 | </template> | ||
| 2243 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.accreditFile[0].name ?? ''" | ||
| 2244 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2245 | <div | ||
| 2246 | v-if="['pdf', 'png', 'jpg', 'jpeg'].includes(flowDetail.accreditFile[0].name?.substring(flowDetail.accreditFile[0].name.lastIndexOf('.') + 1).toLowerCase())" | ||
| 2247 | :style="{ right: '36px' }" class="file-preview" | ||
| 2248 | @click="onUploadFilePreview(flowDetail.accreditFile[0])"> | ||
| 2249 | 查看 | ||
| 2250 | </div> | ||
| 2251 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2252 | @click="onUploadFileDownload(flowDetail.accreditFile[0])"> | ||
| 2253 | 下载 | ||
| 2254 | </div> | ||
| 2255 | </template> | ||
| 2256 | <template v-else> | ||
| 2257 | -- | ||
| 2258 | </template> | ||
| 2259 | </div> | ||
| 2260 | </span> | ||
| 2261 | </div> | ||
| 2262 | </div> | ||
| 2263 | <div class="list_item is_block"> | ||
| 2264 | <div class="file_item" v-if="route.query.exchangeGuid"> | ||
| 2265 | <span class="item_label">商品详细介绍(签章版):</span> | ||
| 2266 | <span class="item_value"> | ||
| 2267 | <div class="file-operate"> | ||
| 2268 | <template v-if="flowDetail?.productDetail?.length > 0"> | ||
| 2269 | <template | ||
| 2270 | v-if="flowDetail.productDetail[0].name?.substring(flowDetail.productDetail[0].name.lastIndexOf('.') + 1).toLowerCase() === 'pdf'"> | ||
| 2271 | <img class="file-img" src="../../assets/images/PDF.png" /> | ||
| 2272 | </template> | ||
| 2273 | <template | ||
| 2274 | v-else-if="flowDetail.productDetail[0].name?.substring(flowDetail.productDetail[0].name.lastIndexOf('.') + 1).toLowerCase() === 'png'"> | ||
| 2275 | <img class="file-img" src="../../assets/images/png.png" /> | ||
| 2276 | </template> | ||
| 2277 | <template | ||
| 2278 | v-else-if="['jpg', 'jpeg'].includes(flowDetail.productDetail[0].name?.substring(flowDetail.productDetail[0].name.lastIndexOf('.') + 1).toLowerCase())"> | ||
| 2279 | <img class="file-img" src="../../assets/images/jpg.png" /> | ||
| 2280 | </template> | ||
| 2281 | <div class="file-name"><ellipsis-tooltip :content="flowDetail.productDetail[0].name ?? ''" | ||
| 2282 | class-name="w100f" refName="tooltipOver"></ellipsis-tooltip></div> | ||
| 2283 | <div | ||
| 2284 | v-if="['pdf', 'png', 'jpg', 'jpeg'].includes(flowDetail.productDetail[0].name?.substring(flowDetail.productDetail[0].name.lastIndexOf('.') + 1).toLowerCase())" | ||
| 2285 | :style="{ right: '36px' }" class="file-preview" | ||
| 2286 | @click="onUploadFilePreview(flowDetail.productDetail[0])"> | ||
| 2287 | 查看 | ||
| 2288 | </div> | ||
| 2289 | <div :style="{ right: '0px' }" class="file-preview" | ||
| 2290 | @click="onUploadFileDownload(flowDetail.productDetail[0])"> | ||
| 2291 | 下载 | ||
| 2292 | </div> | ||
| 2293 | </template> | ||
| 2294 | <template v-else> | ||
| 2295 | -- | ||
| 2296 | </template> | ||
| 2297 | </div> | ||
| 2298 | </span> | ||
| 2299 | </div> | ||
| 2300 | </div> | ||
| 2301 | |||
| 2302 | </div> | 1917 | </div> |
| 2303 | </div> | 1918 | </div> |
| 2304 | </div> | 1919 | </div> |
| ... | @@ -2381,26 +1996,6 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -2381,26 +1996,6 @@ const rejectDialogBtnClick = (btn, info) => { |
| 2381 | </div> | 1996 | </div> |
| 2382 | </div> | 1997 | </div> |
| 2383 | </div> | 1998 | </div> |
| 2384 | <div class="panel_wrap" v-if="!dGuid"> | ||
| 2385 | <div class="panel_header"> | ||
| 2386 | <div class="header_title"> | ||
| 2387 | <span class="title_text"> | ||
| 2388 | <!-- <el-icon class="title_icon" :class="{active: !collapseIcon1}" @click="collapseIcon1=!collapseIcon1"><CaretRight /></el-icon> !--> | ||
| 2389 | <span>审批信息</span> | ||
| 2390 | </span> | ||
| 2391 | </div> | ||
| 2392 | </div> | ||
| 2393 | <div class="panel_body" :class="{ collapse: collapseIcon1 }"> | ||
| 2394 | <div class="list_panel"> | ||
| 2395 | <div class="table_panel_wrap"> | ||
| 2396 | <!-- <Table :tableInfo="approveTableInfo" /> --> | ||
| 2397 | <ApprovalProcess ref="approvalProcessRef" v-if="deploymentId" :deploymentId="deploymentId" | ||
| 2398 | :processInstanceId="processInstanceId"> | ||
| 2399 | </ApprovalProcess> | ||
| 2400 | </div> | ||
| 2401 | </div> | ||
| 2402 | </div> | ||
| 2403 | </div> | ||
| 2404 | <div class="panel_wrap" v-if="detailType == 'detail' && dGuid !== undefined"> | 1999 | <div class="panel_wrap" v-if="detailType == 'detail' && dGuid !== undefined"> |
| 2405 | <div class="panel_header"> | 2000 | <div class="panel_header"> |
| 2406 | <div class="header_title"> | 2001 | <div class="header_title"> |
| ... | @@ -2440,7 +2035,7 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -2440,7 +2035,7 @@ const rejectDialogBtnClick = (btn, info) => { |
| 2440 | <el-button @click="btnClick({ value: 'cancel' })">返回</el-button> | 2035 | <el-button @click="btnClick({ value: 'cancel' })">返回</el-button> |
| 2441 | <!-- <el-button @click="btnClick({ value: 'draft' })" | 2036 | <!-- <el-button @click="btnClick({ value: 'draft' })" |
| 2442 | v-if="route.query.type == 'add' || route.query.type == 'edit'">保存草稿</el-button> --> | 2037 | v-if="route.query.type == 'add' || route.query.type == 'edit'">保存草稿</el-button> --> |
| 2443 | <el-button type="primary" @click="btnClick({ value: 'submit' })">提交流程</el-button> | 2038 | <el-button type="primary" @click="btnClick({ value: 'submit' })">提交</el-button> |
| 2444 | </div> | 2039 | </div> |
| 2445 | </div> | 2040 | </div> |
| 2446 | <div class="tool_btns" v-else-if="detailType == 'detail'"> | 2041 | <div class="tool_btns" v-else-if="detailType == 'detail'"> | ... | ... |
-
Please register or sign in to post a comment