From 92c3a45049e10c703439188c9995d8eed0110ee3 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Sat, 17 Jan 2026 10:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BF=9B=E4=BB=B6=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E8=BF=9B=E4=BB=B6=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/applyments/applyment_in.vue | 23 +++--- .../shop/list/components/detailModal.vue | 2 +- .../shop/list/components/payStatusCard.vue | 77 ++++++++++++++----- src/views/shop/list/index.vue | 2 +- 4 files changed, 74 insertions(+), 30 deletions(-) diff --git a/src/views/applyments/applyment_in.vue b/src/views/applyments/applyment_in.vue index 12e0131..7fb03bc 100644 --- a/src/views/applyments/applyment_in.vue +++ b/src/views/applyments/applyment_in.vue @@ -311,13 +311,14 @@ const longTime = ref('2099-12-31') const wxProvinceCode = ref('') // 获取进件详情 -async function getDetailAjax(shopId: string, licenceNo: string) { +async function getDetailAjax(shopId: string) { try { const res: any = await entryManagerDetail({ - shopId: shopId, - licenceNo: licenceNo + shopId: shopId }) - form.value = res + if (res && res.shopId) { + form.value = res + } } catch (error) { console.log(error); } @@ -325,8 +326,6 @@ async function getDetailAjax(shopId: string, licenceNo: string) { // 获取containerDomInfo信息 function getContainerDomInfo() { - console.log('getContainerDomInfo'); - containerDomInfo.value = containerRef.value?.getBoundingClientRect() ?? {} } @@ -336,14 +335,18 @@ onMounted(() => { getContainerDomInfo() window.addEventListener('resize', debouncedCheckWidth) + const type = route.query.type const shopId: string = String(route.query.shopId ?? '') const licenceNo: string = String(route.query.licenceNo ?? '') - if (shopId && licenceNo) { - formType.value = 'editor' - getDetailAjax(shopId, licenceNo) + + if (shopId) { + getDetailAjax(shopId) + } + + if (licenceNo && type && type == 'editor') { + formType.value = 'editor' } - const type = route.query.type if (type && type == 'check') { formType.value = 'check' } diff --git a/src/views/shop/list/components/detailModal.vue b/src/views/shop/list/components/detailModal.vue index 92bc3f2..222e555 100644 --- a/src/views/shop/list/components/detailModal.vue +++ b/src/views/shop/list/components/detailModal.vue @@ -11,7 +11,7 @@ - diff --git a/src/views/shop/list/components/payStatusCard.vue b/src/views/shop/list/components/payStatusCard.vue index a98c93c..6c43596 100644 --- a/src/views/shop/list/components/payStatusCard.vue +++ b/src/views/shop/list/components/payStatusCard.vue @@ -1,6 +1,12 @@