From b870426279606c50d6c823b9a4c5ad4108f4e3da Mon Sep 17 00:00:00 2001 From: yanzai Date: Sat, 28 Sep 2024 16:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E6=A3=80=E4=BA=BA=E5=A2=9E=E5=8A=A0lo?= =?UTF-8?q?ading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/optionalProject/choose.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/h5/pages/main/optionalProject/choose.vue b/h5/pages/main/optionalProject/choose.vue index a7434ae..dc46736 100644 --- a/h5/pages/main/optionalProject/choose.vue +++ b/h5/pages/main/optionalProject/choose.vue @@ -14,7 +14,9 @@ const person_list = ref([]); let popup = ref(null); let unitList = ref([]); // 单位列表 const getPersonList = async () => { + uni.showLoading() const response = await $api("GetPersonList"); + uni.hideLoading() $response(response, () => { person_list.value = response.data.list; }); @@ -47,11 +49,13 @@ const choosePersonClick = async (info) => { }; const getGroupCombo = async (info) => { + uni.showLoading() // 获取团检套餐 const response = await $api("GetGroupCombo", { hospital_id: $store.save.hospital, group_id: info.group_id, }); + uni.hideLoading() $response(response, () => { console.log(response); if (response.data.unit.length) {