Update invite-patient.vue
This commit is contained in:
parent
d90399e08a
commit
73bebf30a9
@ -58,7 +58,7 @@
|
|||||||
import { computed, ref } from "vue";
|
import { computed, ref } from "vue";
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { onLoad, onShareAppMessage } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
import useAccountStore from "@/store/account.js";
|
import useAccountStore from "@/store/account.js";
|
||||||
import useGuard from '@/hooks/useGuard';
|
import useGuard from '@/hooks/useGuard';
|
||||||
import api from "@/utils/api.js";
|
import api from "@/utils/api.js";
|
||||||
@ -159,22 +159,6 @@ async function saveImage(action = 'save') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 分享配置
|
|
||||||
function onShareAppMessage() {
|
|
||||||
if (!team.value) {
|
|
||||||
return shareToWeChat({
|
|
||||||
title: '邀请患者加入团队',
|
|
||||||
path: '/pages/work/team/invite/invite-patient'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return shareToWeChat({
|
|
||||||
title: `邀请您加入${team.value.name}`,
|
|
||||||
path: `/pages/work/team/invite/invite-patient?teamId=${team.value.teamId}`,
|
|
||||||
imageUrl: team.value.qrcode || ''
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// 分享到朋友圈
|
// 分享到朋友圈
|
||||||
function onShareTimeline() {
|
function onShareTimeline() {
|
||||||
if (!team.value) {
|
if (!team.value) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user