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) {