From 43948448904a157addf767f421cac562beefaec8 Mon Sep 17 00:00:00 2001 From: zk Date: Thu, 10 Oct 2024 13:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/centralScreen/centralScreen.api.ts | 4 ++-- src/views/centralScreen/components/phoneDialog.vue | 1 - .../centralScreen/components/physicalExaminationData.vue | 8 +++++++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 3d8bcdb..e9f6cfa 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ # 王昊地址 -#VITE_GLOB_API_URL=http://192.168.1.27 +VITE_GLOB_API_URL=http://192.168.1.27 #开发环境 -VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io +#VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io #VITE_GLOB_API_URL=https://api.cqygjk.com #健康监测工具报警-websocket #VITE_GLOB_API_YIN_JI=ws://cqyt.dev.yg.dt.io/health-watch/websocket/watchMonitor diff --git a/src/views/centralScreen/centralScreen.api.ts b/src/views/centralScreen/centralScreen.api.ts index 3f3dac2..9458936 100644 --- a/src/views/centralScreen/centralScreen.api.ts +++ b/src/views/centralScreen/centralScreen.api.ts @@ -35,8 +35,8 @@ export const userHealthCenterNew = (params: any) => { * @param params */ export const getPhysicalData = (params: any) => { - let { centerId, ...other } = params; - return post(Api.getDetail, other); + // let { centerId, ...other } = params; + return post(Api.getDetail, params); }; /** * @description 呼入电话、受理电话 diff --git a/src/views/centralScreen/components/phoneDialog.vue b/src/views/centralScreen/components/phoneDialog.vue index dc7daca..3079935 100644 --- a/src/views/centralScreen/components/phoneDialog.vue +++ b/src/views/centralScreen/components/phoneDialog.vue @@ -93,7 +93,6 @@ const userStore = useUserStore(); const formState = computed(() => ({ ...formRecord.value, - centerId: '', dataType: props.setting.dataType, phoneType: props.phoneType, showType: '0', diff --git a/src/views/centralScreen/components/physicalExaminationData.vue b/src/views/centralScreen/components/physicalExaminationData.vue index ae522b7..5e56652 100644 --- a/src/views/centralScreen/components/physicalExaminationData.vue +++ b/src/views/centralScreen/components/physicalExaminationData.vue @@ -62,8 +62,14 @@ try { let orgCodeList = userStore.getCenterInfo?.serviceScope || ''; let centerId = userStore.getCenterInfo?.id || ''; + console.log('centerId', centerId); const { code, result } = - (await getPhysicalData({ dataType: props.setting.dataType, condition: selectVal.value, orgCodeList, centerId })) || {}; + (await getPhysicalData({ + dataType: props.setting.dataType, + condition: selectVal.value, + orgCodeList, + centerId, + })) || {}; setSpin(!spinning.value); if (code != 200) { return;