Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web
# Conflicts: # src/components/common/service/ServiceDetail.vue
This commit is contained in:
commit
deee350d04
|
|
@ -227,6 +227,10 @@ const getHilistInfo = (item: any) => {
|
||||||
console.log("item", item)
|
console.log("item", item)
|
||||||
if (item.hilistCode != null) {
|
if (item.hilistCode != null) {
|
||||||
post("social/directory/getByCode", {code: item.hilistCode}).then((res: any) => {
|
post("social/directory/getByCode", {code: item.hilistCode}).then((res: any) => {
|
||||||
|
if (!res){
|
||||||
|
hilistInfo.value = {}
|
||||||
|
return
|
||||||
|
}
|
||||||
hilistInfo.value = res
|
hilistInfo.value = res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -155,13 +155,16 @@ const getTotalPrice = () => {
|
||||||
const focus = (e: any) => {
|
const focus = (e: any) => {
|
||||||
emit('focus', e)
|
emit('focus', e)
|
||||||
}
|
}
|
||||||
|
const popoverRef = ref<any>(null);
|
||||||
const itemInfo = ref<any>({});
|
const itemInfo = ref<any>({});
|
||||||
const show = (item: any) => {
|
const show = (item: any) => {
|
||||||
if(item.itemSocialCode){
|
|
||||||
post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => {
|
post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => {
|
||||||
|
if (!res){
|
||||||
|
itemInfo.value = {}
|
||||||
|
return
|
||||||
|
}
|
||||||
itemInfo.value = res
|
itemInfo.value = res
|
||||||
})
|
})
|
||||||
}
|
|
||||||
}
|
}
|
||||||
const hide = () => {
|
const hide = () => {
|
||||||
itemInfo.value = {}
|
itemInfo.value = {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue