fix: 问题修复
This commit is contained in:
parent
c22f57b281
commit
ae2661ab26
@ -83,7 +83,8 @@ const consultItems = ref([
|
|||||||
]);
|
]);
|
||||||
const hideMenus = computed(() => {
|
const hideMenus = computed(() => {
|
||||||
const result = {};
|
const result = {};
|
||||||
if (!props.team || !props.team.creator) {
|
// 非医助手团队
|
||||||
|
if (!(props.team && props.team.createSource === 'yzs')) {
|
||||||
result.chat = true;
|
result.chat = true;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@ -92,7 +93,7 @@ const hideMenus = computed(() => {
|
|||||||
function handleItemClick(item) {
|
function handleItemClick(item) {
|
||||||
// 聊天咨询需要选择咨询人
|
// 聊天咨询需要选择咨询人
|
||||||
if (item.needSelectConsultant) {
|
if (item.needSelectConsultant) {
|
||||||
if (!props.team || !props.team.creator) {
|
if (!(props.team && props.team.createSource === 'yzs')) {
|
||||||
return toast('该团队暂未开放咨询服务')
|
return toast('该团队暂未开放咨询服务')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -146,7 +146,7 @@ const hasHealthTemp = computed(
|
|||||||
() =>
|
() =>
|
||||||
qrcode.value &&
|
qrcode.value &&
|
||||||
Array.isArray(qrcode.value.healthTempList) &&
|
Array.isArray(qrcode.value.healthTempList) &&
|
||||||
qrcode.value.healthTempList.length > 0
|
qrcode.value.healthTempList.filter(i => i && i.enable).length > 0
|
||||||
);
|
);
|
||||||
const baseInfo = computed(() =>
|
const baseInfo = computed(() =>
|
||||||
qrcode.value &&
|
qrcode.value &&
|
||||||
|
|||||||
@ -4,6 +4,7 @@ export const API_CONTEXT_CACHE_KEY = "ykt_team_api_context";
|
|||||||
|
|
||||||
export const CORP_API_BASE_URL_MAP = {
|
export const CORP_API_BASE_URL_MAP = {
|
||||||
wwa54dfba0b5441ef1: "https://crm.gykqyy.com/ykt/",
|
wwa54dfba0b5441ef1: "https://crm.gykqyy.com/ykt/",
|
||||||
|
ww1b4bcb2fd92baafa: 'https://hlwyy.6thhosp.com:4443/'
|
||||||
};
|
};
|
||||||
|
|
||||||
function normalizeBaseUrl(url) {
|
function normalizeBaseUrl(url) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user