修改资产登记的权力信息
Showing
2 changed files
with
36 additions
and
152 deletions
| ... | @@ -19,10 +19,6 @@ import { | ... | @@ -19,10 +19,6 @@ import { |
| 19 | updateCertificate, | 19 | updateCertificate, |
| 20 | dataSourcesList | 20 | dataSourcesList |
| 21 | } from "@/api/modules/dataAsset"; | 21 | } from "@/api/modules/dataAsset"; |
| 22 | import { | ||
| 23 | getTenantDetailInfo, | ||
| 24 | getTenantInfo | ||
| 25 | } from "@/api/modules/queryService"; | ||
| 26 | import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; | 22 | import { passFlowData, rejectFlowData, revokeFlowData, isMyFirstNode } from "@/api/modules/workFlowService"; |
| 27 | import useDataAssetStore from "@/store/modules/dataAsset"; | 23 | import useDataAssetStore from "@/store/modules/dataAsset"; |
| 28 | import { changeNum } from '@/utils/common'; | 24 | import { changeNum } from '@/utils/common'; |
| ... | @@ -269,22 +265,6 @@ const getDetailInfo = () => { | ... | @@ -269,22 +265,6 @@ const getDetailInfo = () => { |
| 269 | }).catch(() => { | 265 | }).catch(() => { |
| 270 | fullscreenLoading.value = false; | 266 | fullscreenLoading.value = false; |
| 271 | })); | 267 | })); |
| 272 | // ps.push(getTenantDetailInfo(userData.tenantGuid).then((res: any) => { | ||
| 273 | // if (res.code == proxy.$passCode) { | ||
| 274 | // const data = res.data ?? {}; | ||
| 275 | // tentData = { ...tentData, ...data }; | ||
| 276 | // } else { | ||
| 277 | // ElMessage.error(res.msg); | ||
| 278 | // } | ||
| 279 | // })); | ||
| 280 | // ps.push(getTenantInfo({ tenantName: userData.tenantName }).then((res: any) => { | ||
| 281 | // if (res.code == proxy.$passCode) { | ||
| 282 | // const data = res.data ?? {}; | ||
| 283 | // tentData = { ...tentData, ...data }; | ||
| 284 | // } else { | ||
| 285 | // ElMessage.error(res.msg); | ||
| 286 | // } | ||
| 287 | // })) | ||
| 288 | Promise.all(ps).then(() => { | 268 | Promise.all(ps).then(() => { |
| 289 | fullscreenLoading.value = false; | 269 | fullscreenLoading.value = false; |
| 290 | // tenantDetail.value = tentData; | 270 | // tenantDetail.value = tentData; |
| ... | @@ -312,22 +292,6 @@ const getDetailInfo = () => { | ... | @@ -312,22 +292,6 @@ const getDetailInfo = () => { |
| 312 | ElMessage.error(res.msg); | 292 | ElMessage.error(res.msg); |
| 313 | } | 293 | } |
| 314 | })); | 294 | })); |
| 315 | // ps.push(getTenantDetailInfo(userData.tenantGuid).then((res: any) => { | ||
| 316 | // if (res.code == proxy.$passCode) { | ||
| 317 | // const data = res.data ?? {}; | ||
| 318 | // tentData = { ...tentData, ...data }; | ||
| 319 | // } else { | ||
| 320 | // ElMessage.error(res.msg); | ||
| 321 | // } | ||
| 322 | // })); | ||
| 323 | // ps.push(getTenantInfo({ tenantName: userData.tenantName }).then((res: any) => { | ||
| 324 | // if (res.code == proxy.$passCode) { | ||
| 325 | // const data = res.data ?? {}; | ||
| 326 | // tentData = { ...tentData, ...data }; | ||
| 327 | // } else { | ||
| 328 | // ElMessage.error(res.msg); | ||
| 329 | // } | ||
| 330 | // })) | ||
| 331 | 295 | ||
| 332 | Promise.all(ps).then(() => { | 296 | Promise.all(ps).then(() => { |
| 333 | fullscreenLoading.value = false; | 297 | fullscreenLoading.value = false; |
| ... | @@ -353,37 +317,8 @@ const handleExpand = () => { | ... | @@ -353,37 +317,8 @@ const handleExpand = () => { |
| 353 | 317 | ||
| 354 | // 提取到 onBeforeMount 中的请求 | 318 | // 提取到 onBeforeMount 中的请求 |
| 355 | const tentData = ref<any>({}); | 319 | const tentData = ref<any>({}); |
| 356 | const getTenantInformation = () => { | ||
| 357 | const ps: any = []; | ||
| 358 | |||
| 359 | ps.push(getTenantDetailInfo(tenantGuid || userData.tenantGuid).then((res: any) => { | ||
| 360 | if (res.code === proxy.$passCode) { | ||
| 361 | const data = res.data ?? {}; | ||
| 362 | tentData.value = { ...tentData.value, ...data }; | ||
| 363 | } else { | ||
| 364 | ElMessage.error(res.msg); | ||
| 365 | } | ||
| 366 | })); | ||
| 367 | |||
| 368 | ps.push(getTenantInfo({ tenantName: route.query.tenantName || userData.tenantName }).then((res: any) => { | ||
| 369 | if (res.code === proxy.$passCode) { | ||
| 370 | const data = res.data ?? {}; | ||
| 371 | tentData.value = { ...tentData.value, ...data }; | ||
| 372 | } else { | ||
| 373 | ElMessage.error(res.msg); | ||
| 374 | } | ||
| 375 | })); | ||
| 376 | |||
| 377 | // 这里返回 Promise.all 来等待所有请求完成 | ||
| 378 | return Promise.all(ps); | ||
| 379 | }; | ||
| 380 | onBeforeMount(() => { | 320 | onBeforeMount(() => { |
| 381 | getDetailInfo(); | 321 | getDetailInfo(); |
| 382 | getTenantInformation().then(() => { | ||
| 383 | tenantDetail.value = { ...tentData.value }; // 将最终的数据赋值给 tenantDetail | ||
| 384 | }).catch(() => { | ||
| 385 | console.log('请求失败'); | ||
| 386 | }); | ||
| 387 | }); | 322 | }); |
| 388 | 323 | ||
| 389 | onActivated(() => { | 324 | onActivated(() => { |
| ... | @@ -499,65 +434,6 @@ const approveTableInfo: any = ref({ | ... | @@ -499,65 +434,6 @@ const approveTableInfo: any = ref({ |
| 499 | const approvalProcessRef = ref(); | 434 | const approvalProcessRef = ref(); |
| 500 | const deploymentId = ref(''); | 435 | const deploymentId = ref(''); |
| 501 | const processInstanceId = ref(''); | 436 | const processInstanceId = ref(''); |
| 502 | const tenantDetail: any = ref({}); | ||
| 503 | |||
| 504 | /** 获取当前登录会员,服务商,企业等详情。 */ | ||
| 505 | const getTenantDetail = () => { | ||
| 506 | // getTenantDetailInfo(userData.tenantGuid).then((res: any) => { | ||
| 507 | // if (res.code == proxy.$passCode) { | ||
| 508 | // const data = res.data ?? {}; | ||
| 509 | // userData.value = data; | ||
| 510 | // } else { | ||
| 511 | // ElMessage.error(res.msg); | ||
| 512 | // } | ||
| 513 | // }) | ||
| 514 | // getTenantInfo({tenantName: userData.tenantName}).then((res: any) => { | ||
| 515 | // if (res.code == proxy.$passCode) { | ||
| 516 | // const data = res.data ?? {}; | ||
| 517 | // tenantDetail.value = data; | ||
| 518 | // } else { | ||
| 519 | // ElMessage.error(res.msg); | ||
| 520 | // } | ||
| 521 | // }); | ||
| 522 | } | ||
| 523 | |||
| 524 | // const onUploadFilePreview = (file) => { | ||
| 525 | // let url = file.url; | ||
| 526 | // getImageContent(url).then((res: any) => { | ||
| 527 | // if (res && !res.msg) { | ||
| 528 | // let name = file.name; | ||
| 529 | // var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1).toLowerCase() : ''; | ||
| 530 | // if (fileSuffix === 'png' || fileSuffix === 'jpeg' || fileSuffix === 'jpg' || fileSuffix === 'pdf') { //浏览器可以支持图片和pdf预览 | ||
| 531 | // let fileUrl = <string>getDownloadUrl(res, name, fileSuffix); | ||
| 532 | // let win = window.open(fileUrl, name); | ||
| 533 | // win && (win.document.title = name); | ||
| 534 | // } else { | ||
| 535 | // download(res, name, fileSuffix); | ||
| 536 | // } | ||
| 537 | // // if (fileSuffix === 'png' || fileSuffix === 'jpeg' || fileSuffix === 'jpg' || fileSuffix === 'pdf' || fileSuffix === 'zip' || fileSuffix === 'rar') { | ||
| 538 | // // let win = window.open(fileUrl, name); | ||
| 539 | // // win && (win.document.title = name); | ||
| 540 | // // return win; | ||
| 541 | // // } | ||
| 542 | // // window.open('https://view.officeapps.live.com/op/view.aspx?src=' + encodeURIComponent(fileUrl)); | ||
| 543 | // } else { | ||
| 544 | // res?.msg && ElMessage.error(res?.msg); | ||
| 545 | // } | ||
| 546 | // }) | ||
| 547 | // } | ||
| 548 | |||
| 549 | // const onUploadFileDownload = (file) => { | ||
| 550 | // let url = file.url; | ||
| 551 | // getImageContent(url).then((res: any) => { | ||
| 552 | // if (res && !res.msg) { | ||
| 553 | // let name = file.name; | ||
| 554 | // var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1) : ''; | ||
| 555 | // download(res, name, fileSuffix); | ||
| 556 | // } else { | ||
| 557 | // res?.msg && ElMessage.error(res?.msg); | ||
| 558 | // } | ||
| 559 | // }) | ||
| 560 | // } | ||
| 561 | 437 | ||
| 562 | const toolBtns: any = computed(() => { | 438 | const toolBtns: any = computed(() => { |
| 563 | let btnsArr: any = [{ | 439 | let btnsArr: any = [{ |
| ... | @@ -1326,14 +1202,6 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1326,14 +1202,6 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1326 | <span class="item_value">{{ (assetDetailInfo.dataProtection == 6 ? assetDetailInfo.dataProtectionOther : | 1202 | <span class="item_value">{{ (assetDetailInfo.dataProtection == 6 ? assetDetailInfo.dataProtectionOther : |
| 1327 | assetDetailInfo.dataProtectionName) ?? '--' }}</span> | 1203 | assetDetailInfo.dataProtectionName) ?? '--' }}</span> |
| 1328 | </div> | 1204 | </div> |
| 1329 | <div class="list_item" v-if="detailType != 'asset'"> | ||
| 1330 | <span class="item_label">所属行业:</span> | ||
| 1331 | <span class="item_value"><ellipsis-tooltip | ||
| 1332 | :content="(assetDetailInfo.ownIndustryName?.filter(u => u != '其他')?.join(',') + | ||
| 1333 | (assetDetailInfo.ownIndustry?.includes(4) | ||
| 1334 | ? ((assetDetailInfo.ownIndustryName?.length > 1 ? ',' : '') + assetDetailInfo.ownIndustryOther) : '')) ?? '--'" class-name="w100f" | ||
| 1335 | :refName="'tooltipOver' + 'ownIndustryName'"></ellipsis-tooltip></span> | ||
| 1336 | </div> | ||
| 1337 | <div class="list_item"> | 1205 | <div class="list_item"> |
| 1338 | <span class="item_label">本次登记:</span> | 1206 | <span class="item_label">本次登记:</span> |
| 1339 | <span class="item_value"><ellipsis-tooltip :content="assetDetailInfo.exchangeName ?? '--'" | 1207 | <span class="item_value"><ellipsis-tooltip :content="assetDetailInfo.exchangeName ?? '--'" |
| ... | @@ -1718,11 +1586,11 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1718,11 +1586,11 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1718 | </span> | 1586 | </span> |
| 1719 | </div> | 1587 | </div> |
| 1720 | <!-- <span | 1588 | <!-- <span |
| 1721 | v-if="tenantDetail.businessLicense?.length || assetDetailInfo.registerAttachment?.commitmentLetter?.length" | 1589 | v-if="tenantDetail.businessLicense?.length || assetDetailInfo.registerAttachment?.commitmentLetter?.length" |
| 1722 | class="small-title" :style="{ marginTop: '10px' }">公司信息</span> --> | 1590 | class="small-title" :style="{ marginTop: '10px' }">公司信息</span> --> |
| 1723 | <div class="list_item isFile" v-if="tenantDetail.businessLicense?.length"> | 1591 | <div class="list_item isFile" v-if="assetDetailInfo.businessLicense?.length"> |
| 1724 | <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">营业执照</span> | 1592 | <span class="item_label" :style="{ width: 'auto', 'text-align': 'left' }">营业执照</span> |
| 1725 | <span v-for="(item) in (tenantDetail?.businessLicense || [])" class="item_value" | 1593 | <span v-for="(item) in (assetDetailInfo?.businessLicense || [])" class="item_value" |
| 1726 | :style="{ 'padding-left': '0px' }"> | 1594 | :style="{ 'padding-left': '0px' }"> |
| 1727 | <div class="file-operate"> | 1595 | <div class="file-operate"> |
| 1728 | <template | 1596 | <template |
| ... | @@ -1832,7 +1700,7 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1832,7 +1700,7 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1832 | </div> | 1700 | </div> |
| 1833 | <div class="list_item"> | 1701 | <div class="list_item"> |
| 1834 | <span class="item_label">公司名称:</span> | 1702 | <span class="item_label">公司名称:</span> |
| 1835 | <span class="item_value"><ellipsis-tooltip :content="tenantDetail?.tenantName ?? '--'" | 1703 | <span class="item_value"><ellipsis-tooltip :content="assetDetailInfo?.companyName ?? '--'" |
| 1836 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'tenantName'"></ellipsis-tooltip> | 1704 | class-name="w100f mr8-i" :refName="'tooltipOver' + 'tenantName'"></ellipsis-tooltip> |
| 1837 | </span> | 1705 | </span> |
| 1838 | </div> | 1706 | </div> |
| ... | @@ -1844,7 +1712,7 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1844,7 +1712,7 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1844 | </div> | 1712 | </div> |
| 1845 | <div class="list_item"> | 1713 | <div class="list_item"> |
| 1846 | <span class="item_label">统一社会信用代码:</span> | 1714 | <span class="item_label">统一社会信用代码:</span> |
| 1847 | <span class="item_value">{{ tenantDetail.socialCreditCode ?? "--" }}</span> | 1715 | <span class="item_value">{{ assetDetailInfo.socialCreditCode ?? "--" }}</span> |
| 1848 | </div> | 1716 | </div> |
| 1849 | <div class="list_item"> | 1717 | <div class="list_item"> |
| 1850 | <span class="item_label">是否列入失信:</span> | 1718 | <span class="item_label">是否列入失信:</span> |
| ... | @@ -1856,21 +1724,21 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1856,21 +1724,21 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1856 | </div> | 1724 | </div> |
| 1857 | <div class="list_item"> | 1725 | <div class="list_item"> |
| 1858 | <span class="item_label">注册日期:</span> | 1726 | <span class="item_label">注册日期:</span> |
| 1859 | <span class="item_value">{{ tenantDetail.registrationDate ? formattedDate(tenantDetail.registrationDate) : | 1727 | <span class="item_value">{{ assetDetailInfo.registrationDate ? formattedDate(assetDetailInfo.registrationDate) : |
| 1860 | "--" | 1728 | "--" |
| 1861 | }}</span> | 1729 | }}</span> |
| 1862 | </div> | 1730 | </div> |
| 1863 | <div class="list_item"> | 1731 | <div class="list_item"> |
| 1864 | <span class="item_label">营业开始日期:</span> | 1732 | <span class="item_label">营业开始日期:</span> |
| 1865 | <span class="item_value">{{ tenantDetail.businessLicenseStartDate ?? "--" }}</span> | 1733 | <span class="item_value">{{ assetDetailInfo.businessLicenseStartDate ?? "--" }}</span> |
| 1866 | </div> | 1734 | </div> |
| 1867 | <div class="list_item"> | 1735 | <div class="list_item"> |
| 1868 | <span class="item_label">营业结束日期:</span> | 1736 | <span class="item_label">营业结束日期:</span> |
| 1869 | <span class="item_value">{{ tenantDetail.businessLicenseEndDate ?? "--" }}</span> | 1737 | <span class="item_value">{{ assetDetailInfo.businessLicenseEndDate ?? "--" }}</span> |
| 1870 | </div> | 1738 | </div> |
| 1871 | <div class="list_item is_block"> | 1739 | <div class="list_item is_block"> |
| 1872 | <span class="item_label">单位注册地址:</span> | 1740 | <span class="item_label">单位注册地址:</span> |
| 1873 | <span class="item_value"> <ellipsis-tooltip :content="tenantDetail?.address ?? '--'" | 1741 | <span class="item_value"> <ellipsis-tooltip :content="assetDetailInfo?.address ?? '--'" |
| 1874 | class-name="w100f pr8" :refName="'tooltipOver' + 'address'"></ellipsis-tooltip></span> | 1742 | class-name="w100f pr8" :refName="'tooltipOver' + 'address'"></ellipsis-tooltip></span> |
| 1875 | </div> | 1743 | </div> |
| 1876 | </div> | 1744 | </div> | ... | ... |
| ... | @@ -173,23 +173,23 @@ const getTenantDetail = () => { | ... | @@ -173,23 +173,23 @@ const getTenantDetail = () => { |
| 173 | if (res.code == proxy.$passCode) { | 173 | if (res.code == proxy.$passCode) { |
| 174 | const data = res.data ?? {}; | 174 | const data = res.data ?? {}; |
| 175 | tentData = { ...tentData, ...data }; | 175 | tentData = { ...tentData, ...data }; |
| 176 | return getTenantInfo({ tenantName: userData.tenantName }).then((res: any) => { | ||
| 177 | if (res.code == proxy.$passCode) { | ||
| 178 | const data = res.data || {}; | ||
| 179 | tentData = { ...tentData, ...data }; | ||
| 180 | } else { | ||
| 181 | ElMessage.error(res.msg); | ||
| 182 | } | ||
| 183 | }) | ||
| 176 | } else { | 184 | } else { |
| 177 | ElMessage.error(res.msg); | 185 | ElMessage.error(res.msg); |
| 178 | } | 186 | } |
| 179 | })); | 187 | })); |
| 180 | ps.push(getTenantInfo({ tenantName: userData.tenantName }).then((res: any) => { | ||
| 181 | if (res.code == proxy.$passCode) { | ||
| 182 | const data = res.data ?? {}; | ||
| 183 | tentData = { ...tentData, ...data }; | ||
| 184 | } else { | ||
| 185 | ElMessage.error(res.msg); | ||
| 186 | } | ||
| 187 | })) | ||
| 188 | 188 | ||
| 189 | Promise.all(ps).then(() => { | 189 | Promise.all(ps).then(() => { |
| 190 | tenantDetail.value = tentData; | 190 | tenantDetail.value = tentData; |
| 191 | propertyFormItems.value.forEach((item, index) => { | 191 | propertyFormItems.value.forEach((item, index) => { |
| 192 | if (item.field == 'address' || item.field == 'socialCreditCode' || item.field == 'registrationDate' || item.field == 'businessLicenseStartDate' || item.field == 'businessLicenseEndDate') {//在会员详情处获取。 | 192 | if (item.field == 'tenantName' || item.field == 'address' || item.field == 'socialCreditCode' || item.field == 'registrationDate' || item.field == 'businessLicenseStartDate' || item.field == 'businessLicenseEndDate') {//在会员详情处获取。 |
| 193 | item.default = tenantDetail.value[item.field]; | 193 | item.default = tenantDetail.value[item.field]; |
| 194 | } else if (item.field == 'businessLicenseJson') { | 194 | } else if (item.field == 'businessLicenseJson') { |
| 195 | item.default = tenantDetail.value[item.field] ? JSON.parse(tenantDetail.value[item.field]) : []; | 195 | item.default = tenantDetail.value[item.field] ? JSON.parse(tenantDetail.value[item.field]) : []; |
| ... | @@ -1405,7 +1405,7 @@ const propertyFormItems: any = ref([ | ... | @@ -1405,7 +1405,7 @@ const propertyFormItems: any = ref([ |
| 1405 | placeholder: '请输入', | 1405 | placeholder: '请输入', |
| 1406 | field: 'tenantName', | 1406 | field: 'tenantName', |
| 1407 | maxlength: 50, | 1407 | maxlength: 50, |
| 1408 | default: userData.tenantName ?? "", | 1408 | default: tenantDetail.value.tenantName ?? "", |
| 1409 | disabled: true, | 1409 | disabled: true, |
| 1410 | required: false | 1410 | required: false |
| 1411 | }, | 1411 | }, |
| ... | @@ -1702,6 +1702,8 @@ const saveDraft = () => { | ... | @@ -1702,6 +1702,8 @@ const saveDraft = () => { |
| 1702 | let propertyFormLine = porpertyInfoFormRef.value.formInline; | 1702 | let propertyFormLine = porpertyInfoFormRef.value.formInline; |
| 1703 | Object.assign(params, propertyFormLine); | 1703 | Object.assign(params, propertyFormLine); |
| 1704 | propertyFormLine.propertyTerm == 'Y' && (params.propertyTermSdate = propertyFormLine.propertyTermDate[0], params.propertyTermEdate = propertyFormLine.propertyTermDate[1]); | 1704 | propertyFormLine.propertyTerm == 'Y' && (params.propertyTermSdate = propertyFormLine.propertyTermDate[0], params.propertyTermEdate = propertyFormLine.propertyTermDate[1]); |
| 1705 | params.companyGuid = tenantDetail.value?.tenantGuid; | ||
| 1706 | params.companyName = tenantDetail.value?.tenantName; | ||
| 1705 | delete params.qualityEvaluationInstitutionGuid; | 1707 | delete params.qualityEvaluationInstitutionGuid; |
| 1706 | delete params.costAssessmentInstitutionGuid; | 1708 | delete params.costAssessmentInstitutionGuid; |
| 1707 | delete params.rules; | 1709 | delete params.rules; |
| ... | @@ -1735,6 +1737,12 @@ const saveDraft = () => { | ... | @@ -1735,6 +1737,12 @@ const saveDraft = () => { |
| 1735 | name: u.name | 1737 | name: u.name |
| 1736 | } | 1738 | } |
| 1737 | }) || [], | 1739 | }) || [], |
| 1740 | businessLicense: propertyFormLine?.businessLicenseJson?.map(u => { | ||
| 1741 | return { | ||
| 1742 | url: u.url, | ||
| 1743 | name: u.name | ||
| 1744 | } | ||
| 1745 | }) || [] | ||
| 1738 | } | 1746 | } |
| 1739 | if (qualityEvaluationInstitution.value) { | 1747 | if (qualityEvaluationInstitution.value) { |
| 1740 | registerAttachment.qualityEvaluationInstitution = qualityEvaluationInstitution.value | 1748 | registerAttachment.qualityEvaluationInstitution = qualityEvaluationInstitution.value |
| ... | @@ -1824,6 +1832,8 @@ const save = () => { | ... | @@ -1824,6 +1832,8 @@ const save = () => { |
| 1824 | delete params.rules; | 1832 | delete params.rules; |
| 1825 | delete params.cost; | 1833 | delete params.cost; |
| 1826 | delete params.trem; | 1834 | delete params.trem; |
| 1835 | params.companyGuid = tenantDetail.value?.tenantGuid; | ||
| 1836 | params.companyName = tenantDetail.value?.tenantName; | ||
| 1827 | 1837 | ||
| 1828 | let uploadFormInline = uploadFormRef.value.formInline; | 1838 | let uploadFormInline = uploadFormRef.value.formInline; |
| 1829 | let registerAttachment: any = { | 1839 | let registerAttachment: any = { |
| ... | @@ -1852,6 +1862,12 @@ const save = () => { | ... | @@ -1852,6 +1862,12 @@ const save = () => { |
| 1852 | name: u.name | 1862 | name: u.name |
| 1853 | } | 1863 | } |
| 1854 | }) || [], | 1864 | }) || [], |
| 1865 | businessLicense: propertyFormLine?.businessLicenseJson?.map(u => { | ||
| 1866 | return { | ||
| 1867 | url: u.url, | ||
| 1868 | name: u.name | ||
| 1869 | } | ||
| 1870 | }) || [] | ||
| 1855 | } | 1871 | } |
| 1856 | if (qualityEvaluationInstitution.value) { | 1872 | if (qualityEvaluationInstitution.value) { |
| 1857 | registerAttachment.qualityEvaluationInstitution = qualityEvaluationInstitution.value | 1873 | registerAttachment.qualityEvaluationInstitution = qualityEvaluationInstitution.value | ... | ... |
-
Please register or sign in to post a comment