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 @@ + + + + + +