From 17a336d5c011b1e8cbc3d813496aeec2e8d17ddc Mon Sep 17 00:00:00 2001 From: yanzai Date: Fri, 15 Aug 2025 22:01:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A9=BA=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 高埗医院体检平台报告对比/api/api.js | 2 +- 高埗医院体检平台报告对比/api/index.js | 2 +- 高埗医院体检平台报告对比/components/Empty.vue | 18 ++++++++++++++++++ .../pages/main/list/list.vue | 13 ++++++++++++- 高埗医院体检平台报告对比/static/empty.png | Bin 0 -> 10163 bytes 5 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 高埗医院体检平台报告对比/components/Empty.vue create mode 100644 高埗医院体检平台报告对比/static/empty.png diff --git a/高埗医院体检平台报告对比/api/api.js b/高埗医院体检平台报告对比/api/api.js index 6ce377c..e968e6b 100644 --- a/高埗医院体检平台报告对比/api/api.js +++ b/高埗医院体检平台报告对比/api/api.js @@ -1,5 +1,5 @@ let url_ = "https://api.gaobuyy.cn"; -const dev = 1 +const dev = 0 if (dev === 1) { url_ = "http://gaobuyy-local" } diff --git a/高埗医院体检平台报告对比/api/index.js b/高埗医院体检平台报告对比/api/index.js index 5fc129c..4a310f6 100644 --- a/高埗医院体检平台报告对比/api/index.js +++ b/高埗医院体检平台报告对比/api/index.js @@ -2,7 +2,7 @@ import { $post } from '@/lu/axios.js' let url_ = "https://api.gaobuyy.cn"; -const dev = 1 +const dev = 0 if (dev === 1) { url_ = "http://gaobuyy-local" } diff --git a/高埗医院体检平台报告对比/components/Empty.vue b/高埗医院体检平台报告对比/components/Empty.vue new file mode 100644 index 0000000..5664111 --- /dev/null +++ b/高埗医院体检平台报告对比/components/Empty.vue @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/高埗医院体检平台报告对比/pages/main/list/list.vue b/高埗医院体检平台报告对比/pages/main/list/list.vue index 1ba6540..1ad0596 100644 --- a/高埗医院体检平台报告对比/pages/main/list/list.vue +++ b/高埗医院体检平台报告对比/pages/main/list/list.vue @@ -17,6 +17,8 @@ import { onShow } from '@dcloudio/uni-app' + import Empty from '../../../components/Empty.vue'; + let tishi=ref('') const $props = defineProps({ id_number: { type: String, @@ -37,6 +39,9 @@ uni.hideLoading(); $response(response, () => { report_list.value = response.data.list + if(report_list.value.length===0){ + tishi.value='暂无报告' + } }) } const report_list = ref([]) @@ -85,7 +90,7 @@ 温馨提示: 如电子报告与纸质报告不相符,请以纸质版报告为准 - + @@ -103,6 +108,12 @@ + + + + + +