体检人增加loading

wenjuan
yanzai 1 year ago
parent e8024c97ac
commit b870426279

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

Loading…
Cancel
Save