From 4c7aae4e6a6d7f0053aee7c1bc73a1f87c11971c Mon Sep 17 00:00:00 2001 From: weiwei Date: Sat, 2 Aug 2025 10:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E5=AE=A2=E9=82=80=E7=BA=A6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integrated/visitor/invitationRecord.vue | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/pages/integrated/visitor/invitationRecord.vue b/src/pages/integrated/visitor/invitationRecord.vue index 74075b6..327b641 100644 --- a/src/pages/integrated/visitor/invitationRecord.vue +++ b/src/pages/integrated/visitor/invitationRecord.vue @@ -54,7 +54,7 @@ - 待审核 + 待接受 待到访 已拒绝 已取消 @@ -66,11 +66,11 @@ {{ v.mobile }} - 拜访原因:{{ visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "" }} + 拜访原因:{{ visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "" }} - + - 查看详情 + 查看详情 @@ -110,7 +110,7 @@ import { invitationApi } from "@/sheep/api" const tabs = [ { value: "", name: "全部", disabled: false }, - { value: "1", name: "待审核", disabled: false }, + { value: "1", name: "待接受", disabled: false }, { value: "2", name: "待到访", disabled: false }, { value: "3", name: "已拒绝", disabled: false }, { value: "5", name: "已取消", disabled: false }, @@ -167,19 +167,19 @@ const query = (page: number, pagesize: number) => { // } // 审核通过/拒绝 -const visitorCheck = async (id: string, checkStatus: number | string) => { - try { - const { code, msg } = await invitationApi.updateCheckStatus({ id, checkStatus }) - if (code == 0) { - uni.showToast({ title: "操作成功", icon: "success" }) - pageRef.value.reload(false) - return - } - uni.showToast({ title: msg, icon: "error" }) - } catch (error: any) { - uni.showToast({ title: error.message, icon: "error" }) - } -} +// const visitorCheck = async (id: string, checkStatus: number | string) => { +// try { +// const { code, msg } = await invitationApi.updateCheckStatus({ id, checkStatus }) +// if (code == 0) { +// uni.showToast({ title: "操作成功", icon: "success" }) +// pageRef.value.reload(false) +// return +// } +// uni.showToast({ title: msg, icon: "error" }) +// } catch (error: any) { +// uni.showToast({ title: error.message, icon: "error" }) +// } +// } // 查看详情 const goDetail = (v: any) => {