serviceTenantGuid参数改为tenantGuid
Showing
8 changed files
with
38 additions
and
38 deletions
| ... | @@ -193,7 +193,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -193,7 +193,7 @@ const tableBtnClick = (scope, btn) => { |
| 193 | } if (type === 'path_detail') { // 详情 | 193 | } if (type === 'path_detail') { // 详情 |
| 194 | router.push({ | 194 | router.push({ |
| 195 | name: 'certificateDetail', | 195 | name: 'certificateDetail', |
| 196 | query: { guid: row.registerGuid, certificateGuid: row.guid, type: 'certificate', serviceTenantGuid: row.tenantGuid } | 196 | query: { guid: row.registerGuid, certificateGuid: row.guid, type: 'certificate', tenantGuid: row.tenantGuid } |
| 197 | }); | 197 | }); |
| 198 | } | 198 | } |
| 199 | }; | 199 | }; | ... | ... |
| ... | @@ -298,18 +298,18 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -298,18 +298,18 @@ const tableBtnClick = (scope, btn) => { |
| 298 | if (row.registerApproveState == 'Y') { | 298 | if (row.registerApproveState == 'Y') { |
| 299 | router.push({ | 299 | router.push({ |
| 300 | name: 'registerDetail', | 300 | name: 'registerDetail', |
| 301 | query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', serviceTenantGuid: row.tenantGuid } | 301 | query: { guid: row.registerGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid } |
| 302 | }); | 302 | }); |
| 303 | } else { | 303 | } else { |
| 304 | router.push({ | 304 | router.push({ |
| 305 | name: 'evaCatalogDetail', | 305 | name: 'evaCatalogDetail', |
| 306 | query: { guid: row.damGuid, evaGuid: row.guid, type: 'qualityEvaluate', serviceTenantGuid: row.tenantGuid } | 306 | query: { guid: row.damGuid, evaGuid: row.guid, type: 'qualityEvaluate', tenantGuid: row.tenantGuid } |
| 307 | }); | 307 | }); |
| 308 | } | 308 | } |
| 309 | } else if (type == 'productDetail') { | 309 | } else if (type == 'productDetail') { |
| 310 | router.push({ | 310 | router.push({ |
| 311 | name: 'registerCatalogDetail', | 311 | name: 'registerCatalogDetail', |
| 312 | query: { guid: row.damGuid, serviceTenantGuid: row.tenantGuid } | 312 | query: { guid: row.damGuid, tenantGuid: row.tenantGuid } |
| 313 | }); | 313 | }); |
| 314 | } | 314 | } |
| 315 | }; | 315 | }; | ... | ... |
| ... | @@ -85,7 +85,7 @@ const processInstanceId = ref(''); | ... | @@ -85,7 +85,7 @@ const processInstanceId = ref(''); |
| 85 | 85 | ||
| 86 | const getDetailInfo = () => { | 86 | const getDetailInfo = () => { |
| 87 | fullscreenLoading.value = true; | 87 | fullscreenLoading.value = true; |
| 88 | getRegisterCatalogDetail({ guid: catalogGuid, serviceTenantGuid: route.query.serviceTenantGuid }).then((res: any) => { | 88 | getRegisterCatalogDetail({ guid: catalogGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { |
| 89 | if (res.code == proxy.$passCode) { | 89 | if (res.code == proxy.$passCode) { |
| 90 | const data = res.data || {}; | 90 | const data = res.data || {}; |
| 91 | detailInfo.value = data; | 91 | detailInfo.value = data; |
| ... | @@ -109,7 +109,7 @@ const getDetailInfo = () => { | ... | @@ -109,7 +109,7 @@ const getDetailInfo = () => { |
| 109 | } | 109 | } |
| 110 | }); | 110 | }); |
| 111 | if (evaGuid) { | 111 | if (evaGuid) { |
| 112 | getEvaDetail({ guid: evaGuid, serviceTenantGuid: route.query.serviceTenantGuid }).then((res: any) => { | 112 | getEvaDetail({ guid: evaGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { |
| 113 | if (res.code == proxy.$passCode) { | 113 | if (res.code == proxy.$passCode) { |
| 114 | const data = res.data || {}; | 114 | const data = res.data || {}; |
| 115 | evaDetailInfo.value = data; | 115 | evaDetailInfo.value = data; |
| ... | @@ -121,7 +121,7 @@ const getDetailInfo = () => { | ... | @@ -121,7 +121,7 @@ const getDetailInfo = () => { |
| 121 | }); | 121 | }); |
| 122 | } | 122 | } |
| 123 | if (costAssessGuid) { | 123 | if (costAssessGuid) { |
| 124 | getCostDetail({ guid: costAssessGuid, serviceTenantGuid: route.query.serviceTenantGuid }).then((res: any) => { | 124 | getCostDetail({ guid: costAssessGuid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { |
| 125 | if (res.code == proxy.$passCode) { | 125 | if (res.code == proxy.$passCode) { |
| 126 | const data = res.data || {}; | 126 | const data = res.data || {}; |
| 127 | costAssessDetail.value = data; | 127 | costAssessDetail.value = data; |
| ... | @@ -635,7 +635,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -635,7 +635,7 @@ const passDialogBtnClick = (btn, info) => { |
| 635 | approveSuggest: info.approveSuggest, | 635 | approveSuggest: info.approveSuggest, |
| 636 | approveStaffGuid: userData.staffGuid, | 636 | approveStaffGuid: userData.staffGuid, |
| 637 | } | 637 | } |
| 638 | submitPromise.value = passFlowData(params, route.query.serviceTenantGuid).then((res: any) => { | 638 | submitPromise.value = passFlowData(params, route.query.tenantGuid).then((res: any) => { |
| 639 | submitPromise.value = null; | 639 | submitPromise.value = null; |
| 640 | passDialogInfo.value.footer.btns[1].loading = false; | 640 | passDialogInfo.value.footer.btns[1].loading = false; |
| 641 | if (res?.code == proxy.$passCode) { | 641 | if (res?.code == proxy.$passCode) { |
| ... | @@ -671,7 +671,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -671,7 +671,7 @@ const passDialogBtnClick = (btn, info) => { |
| 671 | url: file.url | 671 | url: file.url |
| 672 | } | 672 | } |
| 673 | }) || [] | 673 | }) || [] |
| 674 | }, route.query.serviceTenantGuid).then((res: any) => { | 674 | }, route.query.tenantGuid).then((res: any) => { |
| 675 | passDialogInfo.value.footer.btns[1].loading = false; | 675 | passDialogInfo.value.footer.btns[1].loading = false; |
| 676 | submitPromise.value = null; | 676 | submitPromise.value = null; |
| 677 | if (res?.code == proxy.$passCode) { | 677 | if (res?.code == proxy.$passCode) { |
| ... | @@ -705,7 +705,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -705,7 +705,7 @@ const passDialogBtnClick = (btn, info) => { |
| 705 | url: file.url | 705 | url: file.url |
| 706 | } | 706 | } |
| 707 | }) || [], | 707 | }) || [], |
| 708 | }, route.query.serviceTenantGuid).then((res: any) => { | 708 | }, route.query.tenantGuid).then((res: any) => { |
| 709 | submitPromise.value = null; | 709 | submitPromise.value = null; |
| 710 | if (res?.code == proxy.$passCode) { | 710 | if (res?.code == proxy.$passCode) { |
| 711 | if (res.data) { | 711 | if (res.data) { |
| ... | @@ -776,7 +776,7 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -776,7 +776,7 @@ const rejectDialogBtnClick = (btn, info) => { |
| 776 | approveStaffGuid: userData.staffGuid, | 776 | approveStaffGuid: userData.staffGuid, |
| 777 | } | 777 | } |
| 778 | rejectDialogInfo.value.footer.btns[1].loading = true; | 778 | rejectDialogInfo.value.footer.btns[1].loading = true; |
| 779 | rejectFlowData(params, route.query.serviceTenantGuid).then((res: any) => { | 779 | rejectFlowData(params, route.query.tenantGuid).then((res: any) => { |
| 780 | rejectDialogInfo.value.footer.btns[1].loading = false; | 780 | rejectDialogInfo.value.footer.btns[1].loading = false; |
| 781 | if (res?.code == proxy.$passCode) { | 781 | if (res?.code == proxy.$passCode) { |
| 782 | if (res.data) { | 782 | if (res.data) { |
| ... | @@ -842,7 +842,7 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -842,7 +842,7 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 842 | approveStaffGuid: userData.staffGuid, | 842 | approveStaffGuid: userData.staffGuid, |
| 843 | } | 843 | } |
| 844 | passCommonDialogInfo.value.footer.btns[1].loading = true; | 844 | passCommonDialogInfo.value.footer.btns[1].loading = true; |
| 845 | passFlowData(params, route.query.serviceTenantGuid).then((res: any) => { | 845 | passFlowData(params, route.query.tenantGuid).then((res: any) => { |
| 846 | passCommonDialogInfo.value.footer.btns[1].loading = false; | 846 | passCommonDialogInfo.value.footer.btns[1].loading = false; |
| 847 | if (res?.code == proxy.$passCode) { | 847 | if (res?.code == proxy.$passCode) { |
| 848 | if (res.data) { | 848 | if (res.data) { | ... | ... |
| ... | @@ -36,6 +36,7 @@ const router = useRouter(); | ... | @@ -36,6 +36,7 @@ const router = useRouter(); |
| 36 | const route = useRoute(); | 36 | const route = useRoute(); |
| 37 | const fullPath = route.fullPath; | 37 | const fullPath = route.fullPath; |
| 38 | const assetGuid = route.query.guid; | 38 | const assetGuid = route.query.guid; |
| 39 | const tenantGuid = route.query.tenantGuid; | ||
| 39 | 40 | ||
| 40 | const { proxy } = getCurrentInstance() as any; | 41 | const { proxy } = getCurrentInstance() as any; |
| 41 | 42 | ||
| ... | @@ -50,7 +51,6 @@ const detailType: any = ref(route.query.type); | ... | @@ -50,7 +51,6 @@ const detailType: any = ref(route.query.type); |
| 50 | const evaGuid: any = ref(route.query.evaGuid); | 51 | const evaGuid: any = ref(route.query.evaGuid); |
| 51 | const costAssessGuid: any = ref(route.query.costAssessGuid); | 52 | const costAssessGuid: any = ref(route.query.costAssessGuid); |
| 52 | const certificateGuid: any = ref(route.query.certificateGuid); | 53 | const certificateGuid: any = ref(route.query.certificateGuid); |
| 53 | const serviceTenantGuid: any = ref(route.query.serviceTenantGuid); | ||
| 54 | 54 | ||
| 55 | const contentRef = ref(); | 55 | const contentRef = ref(); |
| 56 | const tabsInfo = ref({ | 56 | const tabsInfo = ref({ |
| ... | @@ -77,7 +77,7 @@ const getDetailInfo = () => { | ... | @@ -77,7 +77,7 @@ const getDetailInfo = () => { |
| 77 | fullscreenLoading.value = true; | 77 | fullscreenLoading.value = true; |
| 78 | if (detailType.value == 'qualityEvaluate') { | 78 | if (detailType.value == 'qualityEvaluate') { |
| 79 | let ps: any = []; | 79 | let ps: any = []; |
| 80 | ps.push(getEvaDetail({ guid: evaGuid.value, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 80 | ps.push(getEvaDetail({ guid: evaGuid.value, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 81 | if (res.code == proxy.$passCode) { | 81 | if (res.code == proxy.$passCode) { |
| 82 | const data = res.data || {}; | 82 | const data = res.data || {}; |
| 83 | evaDetailInfo.value = data; | 83 | evaDetailInfo.value = data; |
| ... | @@ -107,7 +107,7 @@ const getDetailInfo = () => { | ... | @@ -107,7 +107,7 @@ const getDetailInfo = () => { |
| 107 | }).catch(() => { | 107 | }).catch(() => { |
| 108 | fullscreenLoading.value = false; | 108 | fullscreenLoading.value = false; |
| 109 | })); | 109 | })); |
| 110 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 110 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 111 | if (res.code == proxy.$passCode) { | 111 | if (res.code == proxy.$passCode) { |
| 112 | const data = res.data || {}; | 112 | const data = res.data || {}; |
| 113 | assetDetailInfo.value = data; | 113 | assetDetailInfo.value = data; |
| ... | @@ -123,7 +123,7 @@ const getDetailInfo = () => { | ... | @@ -123,7 +123,7 @@ const getDetailInfo = () => { |
| 123 | }) | 123 | }) |
| 124 | } else if (detailType.value == 'costAssess') { | 124 | } else if (detailType.value == 'costAssess') { |
| 125 | let ps: any = []; | 125 | let ps: any = []; |
| 126 | ps.push(getCostAssessDetail({ guid: costAssessGuid.value, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 126 | ps.push(getCostAssessDetail({ guid: costAssessGuid.value, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 127 | if (res.code == proxy.$passCode) { | 127 | if (res.code == proxy.$passCode) { |
| 128 | const data = res.data || {}; | 128 | const data = res.data || {}; |
| 129 | costAssessDetailInfo.value = data; | 129 | costAssessDetailInfo.value = data; |
| ... | @@ -174,7 +174,7 @@ const getDetailInfo = () => { | ... | @@ -174,7 +174,7 @@ const getDetailInfo = () => { |
| 174 | }).catch(() => { | 174 | }).catch(() => { |
| 175 | fullscreenLoading.value = false; | 175 | fullscreenLoading.value = false; |
| 176 | })); | 176 | })); |
| 177 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 177 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 178 | if (res.code == proxy.$passCode) { | 178 | if (res.code == proxy.$passCode) { |
| 179 | const data = res.data || {}; | 179 | const data = res.data || {}; |
| 180 | assetDetailInfo.value = data; | 180 | assetDetailInfo.value = data; |
| ... | @@ -190,7 +190,7 @@ const getDetailInfo = () => { | ... | @@ -190,7 +190,7 @@ const getDetailInfo = () => { |
| 190 | }) | 190 | }) |
| 191 | } else if (detailType.value == 'certificate') { | 191 | } else if (detailType.value == 'certificate') { |
| 192 | let ps: any = [], tentData = {}; | 192 | let ps: any = [], tentData = {}; |
| 193 | ps.push(getCertificateDetail({ guid: certificateGuid.value, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 193 | ps.push(getCertificateDetail({ guid: certificateGuid.value, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 194 | if (res.code == proxy.$passCode) { | 194 | if (res.code == proxy.$passCode) { |
| 195 | const data = res.data || {}; | 195 | const data = res.data || {}; |
| 196 | detailInfo.value = data; | 196 | detailInfo.value = data; |
| ... | @@ -207,7 +207,7 @@ const getDetailInfo = () => { | ... | @@ -207,7 +207,7 @@ const getDetailInfo = () => { |
| 207 | } | 207 | } |
| 208 | let qualityPs: any = []; | 208 | let qualityPs: any = []; |
| 209 | if (detailInfo.value.qualityEvaluationGuid) { | 209 | if (detailInfo.value.qualityEvaluationGuid) { |
| 210 | qualityPs.push(getEvaDetail({ guid: detailInfo.value.qualityEvaluationGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 210 | qualityPs.push(getEvaDetail({ guid: detailInfo.value.qualityEvaluationGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 211 | if (res.code == proxy.$passCode) { | 211 | if (res.code == proxy.$passCode) { |
| 212 | const data = res.data || {}; | 212 | const data = res.data || {}; |
| 213 | evaDetailInfo.value = data; | 213 | evaDetailInfo.value = data; |
| ... | @@ -231,7 +231,7 @@ const getDetailInfo = () => { | ... | @@ -231,7 +231,7 @@ const getDetailInfo = () => { |
| 231 | })); | 231 | })); |
| 232 | } | 232 | } |
| 233 | if (detailInfo.value.costAccessmentGuid) { | 233 | if (detailInfo.value.costAccessmentGuid) { |
| 234 | qualityPs.push(getCostAssessDetail({ guid: detailInfo.value.costAccessmentGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 234 | qualityPs.push(getCostAssessDetail({ guid: detailInfo.value.costAccessmentGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 235 | if (res.code == proxy.$passCode) { | 235 | if (res.code == proxy.$passCode) { |
| 236 | const data = res.data || {}; | 236 | const data = res.data || {}; |
| 237 | costAssessDetailInfo.value = data; | 237 | costAssessDetailInfo.value = data; |
| ... | @@ -259,7 +259,7 @@ const getDetailInfo = () => { | ... | @@ -259,7 +259,7 @@ const getDetailInfo = () => { |
| 259 | ElMessage.error(res.msg); | 259 | ElMessage.error(res.msg); |
| 260 | } | 260 | } |
| 261 | })); | 261 | })); |
| 262 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 262 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 263 | if (res.code == proxy.$passCode) { | 263 | if (res.code == proxy.$passCode) { |
| 264 | const data = res.data || {}; | 264 | const data = res.data || {}; |
| 265 | assetDetailInfo.value = data; | 265 | assetDetailInfo.value = data; |
| ... | @@ -292,7 +292,7 @@ const getDetailInfo = () => { | ... | @@ -292,7 +292,7 @@ const getDetailInfo = () => { |
| 292 | }) | 292 | }) |
| 293 | } else { | 293 | } else { |
| 294 | let ps: any = [] | 294 | let ps: any = [] |
| 295 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: serviceTenantGuid.value }).then((res: any) => { | 295 | ps.push(getRegiaterDetail({ guid: assetGuid, serviceTenantGuid: tenantGuid }).then((res: any) => { |
| 296 | if (res.code == proxy.$passCode) { | 296 | if (res.code == proxy.$passCode) { |
| 297 | const data = res.data || {}; | 297 | const data = res.data || {}; |
| 298 | if (fullPath === route.fullPath) { | 298 | if (fullPath === route.fullPath) { |
| ... | @@ -356,7 +356,7 @@ const tentData = ref<any>({}); | ... | @@ -356,7 +356,7 @@ const tentData = ref<any>({}); |
| 356 | const getTenantInformation = () => { | 356 | const getTenantInformation = () => { |
| 357 | const ps: any = []; | 357 | const ps: any = []; |
| 358 | 358 | ||
| 359 | ps.push(getTenantDetailInfo(serviceTenantGuid.value).then((res: any) => { | 359 | ps.push(getTenantDetailInfo(tenantGuid).then((res: any) => { |
| 360 | if (res.code === proxy.$passCode) { | 360 | if (res.code === proxy.$passCode) { |
| 361 | const data = res.data ?? {}; | 361 | const data = res.data ?? {}; |
| 362 | tentData.value = { ...tentData.value, ...data }; | 362 | tentData.value = { ...tentData.value, ...data }; |
| ... | @@ -981,7 +981,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -981,7 +981,7 @@ const passDialogBtnClick = (btn, info) => { |
| 981 | approveSuggest: info.approveSuggest, | 981 | approveSuggest: info.approveSuggest, |
| 982 | approveStaffGuid: userData.staffGuid | 982 | approveStaffGuid: userData.staffGuid |
| 983 | } | 983 | } |
| 984 | submitPromise.value = passFlowData(params, serviceTenantGuid.value).then((res: any) => { | 984 | submitPromise.value = passFlowData(params, tenantGuid).then((res: any) => { |
| 985 | submitPromise.value = null; | 985 | submitPromise.value = null; |
| 986 | if (res?.code == proxy.$passCode) { | 986 | if (res?.code == proxy.$passCode) { |
| 987 | if (res.data) { | 987 | if (res.data) { |
| ... | @@ -1015,7 +1015,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -1015,7 +1015,7 @@ const passDialogBtnClick = (btn, info) => { |
| 1015 | url: file.url | 1015 | url: file.url |
| 1016 | } | 1016 | } |
| 1017 | }) || [], | 1017 | }) || [], |
| 1018 | }, serviceTenantGuid.value).then((res: any) => { | 1018 | }, tenantGuid).then((res: any) => { |
| 1019 | submitPromise.value = null; | 1019 | submitPromise.value = null; |
| 1020 | if (res?.code == proxy.$passCode) { | 1020 | if (res?.code == proxy.$passCode) { |
| 1021 | if (res.data) { | 1021 | if (res.data) { |
| ... | @@ -1048,7 +1048,7 @@ const passDialogBtnClick = (btn, info) => { | ... | @@ -1048,7 +1048,7 @@ const passDialogBtnClick = (btn, info) => { |
| 1048 | url: file.url | 1048 | url: file.url |
| 1049 | } | 1049 | } |
| 1050 | }) || [] | 1050 | }) || [] |
| 1051 | }, serviceTenantGuid.value).then((res: any) => { | 1051 | }, tenantGuid).then((res: any) => { |
| 1052 | submitPromise.value = null; | 1052 | submitPromise.value = null; |
| 1053 | if (res?.code == proxy.$passCode) { | 1053 | if (res?.code == proxy.$passCode) { |
| 1054 | if (res.data) { | 1054 | if (res.data) { |
| ... | @@ -1140,7 +1140,7 @@ const rejectDialogBtnClick = (btn, info) => { | ... | @@ -1140,7 +1140,7 @@ const rejectDialogBtnClick = (btn, info) => { |
| 1140 | approveSuggest: info.approveSuggest, | 1140 | approveSuggest: info.approveSuggest, |
| 1141 | approveStaffGuid: userData.staffGuid | 1141 | approveStaffGuid: userData.staffGuid |
| 1142 | } | 1142 | } |
| 1143 | rejectFlowData(params, serviceTenantGuid.value).then((res: any) => { | 1143 | rejectFlowData(params, tenantGuid).then((res: any) => { |
| 1144 | rejectDialogInfo.value.footer.btns[1].loading = false; | 1144 | rejectDialogInfo.value.footer.btns[1].loading = false; |
| 1145 | if (res?.code == proxy.$passCode) { | 1145 | if (res?.code == proxy.$passCode) { |
| 1146 | if (res.data) { | 1146 | if (res.data) { |
| ... | @@ -1224,7 +1224,7 @@ const passCommonDialogBtnClick = (btn, info) => { | ... | @@ -1224,7 +1224,7 @@ const passCommonDialogBtnClick = (btn, info) => { |
| 1224 | approveStaffGuid: userData.staffGuid | 1224 | approveStaffGuid: userData.staffGuid |
| 1225 | } | 1225 | } |
| 1226 | passCommonDialogInfo.value.footer.btns[1].loading = true; | 1226 | passCommonDialogInfo.value.footer.btns[1].loading = true; |
| 1227 | passFlowData(params, serviceTenantGuid.value).then((res: any) => { | 1227 | passFlowData(params, tenantGuid).then((res: any) => { |
| 1228 | passCommonDialogInfo.value.footer.btns[1].loading = false; | 1228 | passCommonDialogInfo.value.footer.btns[1].loading = false; |
| 1229 | if (res?.code == proxy.$passCode) { | 1229 | if (res?.code == proxy.$passCode) { |
| 1230 | if (res.data) { | 1230 | if (res.data) { | ... | ... |
| ... | @@ -264,7 +264,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -264,7 +264,7 @@ const tableBtnClick = (scope, btn) => { |
| 264 | } else if (type === 'detail') { // 详情, 若是草稿中,详情就是编辑, | 264 | } else if (type === 'detail') { // 详情, 若是草稿中,详情就是编辑, |
| 265 | router.push({ | 265 | router.push({ |
| 266 | name: 'registerInfoDetail', | 266 | name: 'registerInfoDetail', |
| 267 | query: { guid: row.guid, name: row.daName, serviceTenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' } | 267 | query: { guid: row.guid, name: row.daName, tenantGuid: row.tenantGuid, tenantName: row.tenantName, type: 'asset' } |
| 268 | }); | 268 | }); |
| 269 | } else if (type === 'pass') { | 269 | } else if (type === 'pass') { |
| 270 | passDialogInfo.value.visible = true; | 270 | passDialogInfo.value.visible = true; | ... | ... |
| ... | @@ -400,18 +400,18 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -400,18 +400,18 @@ const tableBtnClick = (scope, btn) => { |
| 400 | if (row.registerApproveState == 'Y') { | 400 | if (row.registerApproveState == 'Y') { |
| 401 | router.push({ | 401 | router.push({ |
| 402 | name: 'registerValueDetail', | 402 | name: 'registerValueDetail', |
| 403 | query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', serviceTenantGuid: row.tenantGuid } | 403 | query: { guid: row.registerGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid } |
| 404 | }); | 404 | }); |
| 405 | } else { | 405 | } else { |
| 406 | router.push({ | 406 | router.push({ |
| 407 | name: 'costAssessDetail', | 407 | name: 'costAssessDetail', |
| 408 | query: { guid: row.damGuid, costAssessGuid: row.guid, type: 'costAssess', serviceTenantGuid: row.tenantGuid } | 408 | query: { guid: row.damGuid, costAssessGuid: row.guid, type: 'costAssess', tenantGuid: row.tenantGuid } |
| 409 | }); | 409 | }); |
| 410 | } | 410 | } |
| 411 | } else if (type == 'productDetail') { | 411 | } else if (type == 'productDetail') { |
| 412 | router.push({ | 412 | router.push({ |
| 413 | name: 'registerCatalogDetail', | 413 | name: 'registerCatalogDetail', |
| 414 | query: { guid: row.damGuid, serviceTenantGuid: row.tenantGuid } | 414 | query: { guid: row.damGuid, tenantGuid: row.tenantGuid } |
| 415 | }); | 415 | }); |
| 416 | } | 416 | } |
| 417 | else if (type === 'pass') { | 417 | else if (type === 'pass') { | ... | ... |
| ... | @@ -327,7 +327,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -327,7 +327,7 @@ const tableBtnClick = (scope, btn) => { |
| 327 | type: 'detail', | 327 | type: 'detail', |
| 328 | name: row.damName, | 328 | name: row.damName, |
| 329 | exchangeGuid: row.exchangeGuid ? row.exchangeGuid : '', | 329 | exchangeGuid: row.exchangeGuid ? row.exchangeGuid : '', |
| 330 | serviceTenantGuid: row.tenantGuid | 330 | tenantGuid: row.tenantGuid |
| 331 | } | 331 | } |
| 332 | }); | 332 | }); |
| 333 | } | 333 | } |
| ... | @@ -342,7 +342,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -342,7 +342,7 @@ const tableBtnClick = (scope, btn) => { |
| 342 | case: '1', | 342 | case: '1', |
| 343 | name: row.damName, | 343 | name: row.damName, |
| 344 | exchangeGuid: row.exchangeGuid, | 344 | exchangeGuid: row.exchangeGuid, |
| 345 | serviceTenantGuid: row.tenantGuid | 345 | tenantGuid: row.tenantGuid |
| 346 | } | 346 | } |
| 347 | }) | 347 | }) |
| 348 | } else { | 348 | } else { |
| ... | @@ -353,7 +353,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -353,7 +353,7 @@ const tableBtnClick = (scope, btn) => { |
| 353 | type: type == 'edit' ? 'edit' : 'redit', | 353 | type: type == 'edit' ? 'edit' : 'redit', |
| 354 | case: '2', | 354 | case: '2', |
| 355 | name: row.damName, | 355 | name: row.damName, |
| 356 | serviceTenantGuid: row.tenantGuid | 356 | tenantGuid: row.tenantGuid |
| 357 | } | 357 | } |
| 358 | }); | 358 | }); |
| 359 | } | 359 | } |
| ... | @@ -470,7 +470,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -470,7 +470,7 @@ const tableBtnClick = (scope, btn) => { |
| 470 | case: '1', | 470 | case: '1', |
| 471 | name: row.damName, | 471 | name: row.damName, |
| 472 | exchangeGuid: row.exchangeGuid, | 472 | exchangeGuid: row.exchangeGuid, |
| 473 | serviceTenantGuid: row.tenantGuid | 473 | tenantGuid: row.tenantGuid |
| 474 | } | 474 | } |
| 475 | }) | 475 | }) |
| 476 | } else { | 476 | } else { |
| ... | @@ -481,7 +481,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -481,7 +481,7 @@ const tableBtnClick = (scope, btn) => { |
| 481 | type: type == 'edit' ? 'edit' : 'redit', | 481 | type: type == 'edit' ? 'edit' : 'redit', |
| 482 | case: '2', | 482 | case: '2', |
| 483 | name: row.damName, | 483 | name: row.damName, |
| 484 | serviceTenantGuid: row.tenantGuid | 484 | tenantGuid: row.tenantGuid |
| 485 | } | 485 | } |
| 486 | }); | 486 | }); |
| 487 | } | 487 | } | ... | ... |
| ... | @@ -664,7 +664,7 @@ const getTableInfo = () => { | ... | @@ -664,7 +664,7 @@ const getTableInfo = () => { |
| 664 | 664 | ||
| 665 | const getProductDetail = async () => { | 665 | const getProductDetail = async () => { |
| 666 | flowDetailLoading.value = true; | 666 | flowDetailLoading.value = true; |
| 667 | getListingDetail({ guid: guid, serviceTenantGuid: route.query.serviceTenantGuid }).then((res: any) => { | 667 | getListingDetail({ guid: guid, serviceTenantGuid: route.query.tenantGuid }).then((res: any) => { |
| 668 | flowDetailLoading.value = false; | 668 | flowDetailLoading.value = false; |
| 669 | if (res.code == proxy.$passCode) { | 669 | if (res.code == proxy.$passCode) { |
| 670 | const data = res.data || {} | 670 | const data = res.data || {} | ... | ... |
-
Please register or sign in to post a comment