Merge branch 'main' of http://175.27.226.205:3000/huxuejian/ykt-team-wxapp
This commit is contained in:
commit
2f317e2960
@ -83,7 +83,8 @@ const consultItems = ref([
|
||||
]);
|
||||
const hideMenus = computed(() => {
|
||||
const result = {};
|
||||
if (!props.team || !props.team.creator) {
|
||||
// 非医助手团队
|
||||
if (!(props.team && props.team.createSource === 'yzs')) {
|
||||
result.chat = true;
|
||||
}
|
||||
return result;
|
||||
@ -92,7 +93,7 @@ const hideMenus = computed(() => {
|
||||
function handleItemClick(item) {
|
||||
// 聊天咨询需要选择咨询人
|
||||
if (item.needSelectConsultant) {
|
||||
if (!props.team || !props.team.creator) {
|
||||
if (!(props.team && props.team.createSource === 'yzs')) {
|
||||
return toast('该团队暂未开放咨询服务')
|
||||
}
|
||||
|
||||
|
||||
@ -146,7 +146,7 @@ const hasHealthTemp = computed(
|
||||
() =>
|
||||
qrcode.value &&
|
||||
Array.isArray(qrcode.value.healthTempList) &&
|
||||
qrcode.value.healthTempList.length > 0
|
||||
qrcode.value.healthTempList.filter(i => i && i.enable).length > 0
|
||||
);
|
||||
const baseInfo = computed(() =>
|
||||
qrcode.value &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user