Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web

# Conflicts:
#	src/components/common/service/ServiceDetail.vue
This commit is contained in:
ChenQiuYu 2025-05-22 13:33:01 +08:00
commit deee350d04
2 changed files with 12 additions and 5 deletions

View File

@ -227,6 +227,10 @@ const getHilistInfo = (item: any) => {
console.log("item", item)
if (item.hilistCode != null) {
post("social/directory/getByCode", {code: item.hilistCode}).then((res: any) => {
if (!res){
hilistInfo.value = {}
return
}
hilistInfo.value = res
})
}

View File

@ -155,13 +155,16 @@ const getTotalPrice = () => {
const focus = (e: any) => {
emit('focus', e)
}
const popoverRef = ref<any>(null);
const itemInfo = ref<any>({});
const show = (item: any) => {
if(item.itemSocialCode){
post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => {
itemInfo.value = res
})
}
post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => {
if (!res){
itemInfo.value = {}
return
}
itemInfo.value = res
})
}
const hide = () => {
itemInfo.value = {}