diff --git a/src/pages/admin/certification-reviews/index.vue b/src/pages/admin/certification-reviews/index.vue index 6daf32b..1f7a901 100644 --- a/src/pages/admin/certification-reviews/index.vue +++ b/src/pages/admin/certification-reviews/index.vue @@ -43,6 +43,7 @@ +
+
+
+
+
{{ row.company_name || '-' }}
+ + {{ certificationStatusDisplay(row?.certification_status) }} + +
+
提交时间:{{ formatDate(row.submit_at) }}
+
法人:{{ row.legal_person_name || '-' }}
+
手机号:{{ row.legal_person_phone || '-' }}
+
统一代码:{{ row.unified_social_code || '-' }}
+
+ 查看详情 + +
+
+
+ +
+
@@ -200,7 +226,7 @@ - + @@ -213,7 +239,7 @@ - + @@ -250,6 +276,12 @@ const rejectRemark = ref('') const actionLoading = ref(false) const pendingRecordId = ref('') const pendingUserId = ref('') +const isMobile = ref(false) + +function updateMobileState() { + if (typeof window === 'undefined') return + isMobile.value = window.innerWidth <= 768 +} function formatDate(val) { if (!val) return '-' @@ -453,8 +485,14 @@ async function confirmReject() { } onMounted(() => { + updateMobileState() + window.addEventListener('resize', updateMobileState) loadList() }) + +onBeforeUnmount(() => { + window.removeEventListener('resize', updateMobileState) +})