From 2f1c5c838a4c5fc0c217a47168a869160be3cabb Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Thu, 15 Aug 2024 15:13:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B6=85=E5=A3=B0=E5=BD=B1?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tblist/patientexamlist/index.vue | 8 +++++--- src/views/tblist/patientexamlistultrasonic/index.vue | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/tblist/patientexamlist/index.vue b/src/views/tblist/patientexamlist/index.vue index b4d621d2..03e8c99d 100644 --- a/src/views/tblist/patientexamlist/index.vue +++ b/src/views/tblist/patientexamlist/index.vue @@ -111,6 +111,7 @@ + @@ -514,7 +515,7 @@ function nowDate(time) { const getList = async () => { loading.value = true try { - // queryParams.deviceType = 'CT' + queryParams.deviceType = 'CT' const data = await PatientexamlistApi.getPatientexamlistPage(queryParams) list.value = data.list total.value = data.total @@ -524,13 +525,14 @@ const getList = async () => { } const dicomDataSync = async () => { - PatientexamlistApi.dicomDataSync() + await PatientexamlistApi.dicomDataSync() + message.success('同步成功') } /** 搜索按钮操作 */ const handleQuery = () => { queryParams.pageNo = 1 - // queryParams.deviceType = 'CT' + queryParams.deviceType = 'CT' //获取到当前登陆用户的机构时 要进行赋值 queryParams.orgId = '' queryParams.highLevelOrgId = '' diff --git a/src/views/tblist/patientexamlistultrasonic/index.vue b/src/views/tblist/patientexamlistultrasonic/index.vue index 2c144a41..6edf6be0 100644 --- a/src/views/tblist/patientexamlistultrasonic/index.vue +++ b/src/views/tblist/patientexamlistultrasonic/index.vue @@ -514,7 +514,7 @@ function nowDate(time) { const getList = async () => { loading.value = true try { - // queryParams.deviceType = 'US' + queryParams.deviceType = 'US' const data = await PatientexamlistApi.getPatientexamlistPage(queryParams) list.value = data.list total.value = data.total @@ -524,7 +524,8 @@ const getList = async () => { } const dicomDataSync = async () => { - PatientexamlistApi.dicomDataSync() + await PatientexamlistApi.dicomDataSync() + message.success('同步成功') } /** 搜索按钮操作 */ @@ -533,7 +534,7 @@ const handleQuery = () => { //获取到当前登陆用户的机构时 要进行赋值 queryParams.orgId = '' queryParams.highLevelOrgId = '' - // queryParams.deviceType = 'US' + queryParams.deviceType = 'US' getList() }