Compare commits
2 Commits
6277ea86fa
...
828f3a4510
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
828f3a4510 | ||
|
|
d3592ca211 |
@ -48,9 +48,13 @@
|
||||
<image class="mb-5 qrcode-icon" src="/static/work/qrcode.svg" />
|
||||
<text class="action-text text-dark text-sm">邀请患者</text>
|
||||
</view>
|
||||
<view class="action-btn flex-col items-center" @click="handleMore">
|
||||
<image class="mb-5 qrcode-icon" src="/static/work/more.svg" />
|
||||
<text class="action-text text-dark text-sm">更多</text>
|
||||
<view class="action-btn flex-col items-center mr-10" @click="toTeams()">
|
||||
<image class="mb-5 qrcode-icon" src="/static/work/icon-team.svg" />
|
||||
<text class="action-text text-dark text-sm">我的团队</text>
|
||||
</view>
|
||||
<view class="action-btn flex-col items-center" @click="toContactService()">
|
||||
<image class="mb-5 qrcode-icon" src="/static/work/icon-service.svg" />
|
||||
<text class="action-text text-dark text-sm">联系客服</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -179,15 +183,14 @@ const certStatus = computed(() => doctorInfo.value?.verifyStatus ? certConfig[do
|
||||
// 邀请患者
|
||||
const invitePatient = withInfo(() => uni.navigateTo({ url: '/pages/work/team/invite/invite-patient' }));
|
||||
|
||||
const handleMore = withInfo(() => {
|
||||
uni.showActionSheet({
|
||||
itemList: ["我的团队", "联系客服"], //, "关于"
|
||||
success: (res) => {
|
||||
const url = res.tapIndex === 0 ? '/pages/work/team/list/team-list' : '/pages/work/service/contact-service';
|
||||
uni.navigateTo({ url });
|
||||
},
|
||||
});
|
||||
})
|
||||
|
||||
function toTeams() {
|
||||
uni.navigateTo({ url: '/pages/work/team/list/team-list' });
|
||||
}
|
||||
|
||||
function toContactService() {
|
||||
uni.navigateTo({ url: '/pages/work/service/contact-service' });
|
||||
}
|
||||
|
||||
function changeFilterData(data) {
|
||||
filterData.value = data;
|
||||
|
||||
@ -77,7 +77,7 @@ const buttons = ref([
|
||||
// },
|
||||
{
|
||||
id: "supplementRecord",
|
||||
text: "补充病历",
|
||||
text: "补充档案",
|
||||
icon: "/static/icon/buchong.png",
|
||||
loading: false,
|
||||
},
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
<form-input :form="formData" :required="rule.anotherName.required" wordLimit="10" title="anotherName"
|
||||
:name="rule.anotherName.name" @change="onChange($event)" />
|
||||
<common-cell title="avatar" name="头像">
|
||||
<view class="flex-grow flex items-center justify-end" @click="chooseAvatar()">
|
||||
<view class="flex-grow flex items-center justify-end">
|
||||
<image v-if="formData.avatar" class="avatar mr-5 rounded-full" :src="formData.avatar" />
|
||||
<image v-else class="avatar mr-5 rounded-full" src="/static/home/avatar.svg" />
|
||||
<uni-icons color="#999" type="right" size="16" />
|
||||
<!-- <uni-icons color="#999" type="right" size="16" /> @click="chooseAvatar()"-->
|
||||
</view>
|
||||
</common-cell>
|
||||
<form-select :form="formData" name="性别" title="gender" :range="genderOptions" @change="onChange($event)" />
|
||||
|
||||
59
pages/work/team/list/notice-popup.vue
Normal file
59
pages/work/team/list/notice-popup.vue
Normal file
@ -0,0 +1,59 @@
|
||||
<template>
|
||||
<uni-popup ref="popup" type="center" :mask-click="false">
|
||||
<view class="bg-white rounded overflow-hidden" style="width: 690rpx;">
|
||||
<view class="px-15 py-12 text-center text-lg font-semibold text-dark">
|
||||
提示
|
||||
</view>
|
||||
<view class="mt-10 px-15">
|
||||
<scroll-view scroll-y="true" style="max-height: 60vh;">
|
||||
<view v-for="(i, idx) in noticeList" :key="idx" class="text-dark text-base" :class="idx > 0 ? 'mt-5' : ''">{{
|
||||
i }}
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<button-footer :showShadow="false" :showCancel="false" confirmText="我已知晓" @confirm="close()" />
|
||||
</view>
|
||||
</uni-popup>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue';
|
||||
import { toast } from '@/utils/widget';
|
||||
|
||||
import ButtonFooter from '@/components/button-footer.vue';
|
||||
|
||||
const emits = defineEmits(['close'])
|
||||
const props = defineProps({
|
||||
visible: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
const popup = ref();
|
||||
const noticeList = [
|
||||
'团队模式支持您作为团队负责人,邀请同事或您的助理成为团队成员,协助您共同开展患者管理服务。',
|
||||
'团队成员可以:',
|
||||
'a、协助您回复患者的咨询问题;',
|
||||
'b、协助您开展预问诊工作,整理患者档案资料信息;',
|
||||
'c、根据您规划的随访路径,接收回访任务并跟进执行。'
|
||||
]
|
||||
|
||||
function close() {
|
||||
emits('close')
|
||||
}
|
||||
|
||||
|
||||
watch(() => props.visible, n => {
|
||||
if (n) {
|
||||
popup.value && popup.value.open()
|
||||
} else {
|
||||
popup.value && popup.value.close()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.mt-5 {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
</style>
|
||||
@ -9,9 +9,9 @@
|
||||
<view class="team-name text-lg font-semibold truncate mr-5">
|
||||
{{ i.name }}
|
||||
</view>
|
||||
<view v-if="doctorInfo && i.creator === doctorInfo.userid"
|
||||
class="px-10 leading-normal text-sm border-auto text-primary rounded-full">创建</view>
|
||||
<view v-else class="px-10 leading-normal text-sm border-auto text-warning rounded-full">加入</view>
|
||||
<image v-if="doctorInfo && i.creator === doctorInfo.userid" class="flex-shrink-0 role-tag"
|
||||
src="/static/icon-owner.svg" />
|
||||
<image v-else class="flex-shrink-0 role-tag" src="/static/teammate.svg" />
|
||||
</view>
|
||||
<view class="mt-10 flex">
|
||||
<view class="min-w-120 text-base text-dark">
|
||||
@ -31,6 +31,7 @@
|
||||
<button-footer confirmText="创建团队" :showCancel="false" @confirm="toCreate()" />
|
||||
</template>
|
||||
</full-page>
|
||||
<notice-popup :visible="visible" @close="visible = false" />
|
||||
</template>
|
||||
<script setup>
|
||||
import { computed, ref } from "vue";
|
||||
@ -42,10 +43,12 @@ import api from "@/utils/api.js";
|
||||
import buttonFooter from '@/components/button-footer.vue';
|
||||
import emptyData from "@/components/empty-data.vue";
|
||||
import fullPage from '@/components/full-page.vue';
|
||||
import noticePopup from './notice-popup.vue';
|
||||
|
||||
const { useShow } = useGuard();
|
||||
const { useLoad, useShow } = useGuard();
|
||||
const { doctorInfo, account } = storeToRefs(useAccountStore());
|
||||
const list = ref([]);
|
||||
const visible = ref(false);
|
||||
|
||||
function invite(team) {
|
||||
uni.navigateTo({ url: `/pages/work/team/invite/invite-teammate?teamId=${team.teamId || ''}` })
|
||||
@ -73,6 +76,11 @@ async function getTeams() {
|
||||
list.value = arr;
|
||||
}
|
||||
|
||||
useLoad(() => {
|
||||
setTimeout(() => {
|
||||
visible.value = true;
|
||||
}, 1000);
|
||||
})
|
||||
|
||||
useShow(() => {
|
||||
getTeams();
|
||||
@ -92,4 +100,9 @@ useShow(() => {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
|
||||
.role-tag {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
}
|
||||
</style>
|
||||
1
static/icon-owner.svg
Normal file
1
static/icon-owner.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1775810743108" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="26175" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M308.586 388.462c10.932 6.596 25.134 3.01 31.496-7.902 33.666-57.784 92.488-158.71 131.688-225.968 17.562-30.122 61.848-30.122 79.408 0 39.2 67.26 98.024 168.184 131.712 225.968 6.362 10.912 20.564 14.5 31.472 7.902 57.792-34.924 123.604-78.328 173.824-112.194 32.056-21.624 75.466 2.736 71.568 40.698-12.946 126.192-39.312 349.476-76.764 499.802-5.286 21.168-17.764 39.334-38.864 46.166-40.656 13.126-132.452 30.666-332.64 30.666-195.328 0-287.46-16.688-329.594-29.702-23.206-7.168-36.354-27.306-41.418-50.646-36.69-169.816-62.832-376.206-76.18-495.084-4.28-38.124 39.31-62.924 71.544-41.19 50.086 33.762 115.382 76.804 172.748 111.484z" fill="#FCBF28" p-id="26176"></path><path d="M646.4 602.4c0 33.6-100.8 179.2-134.4 179.2-33.6 0-134.4-145.6-134.4-179.2 0-33.6 100.8-179.2 134.4-179.2 33.6 0 134.4 145.6 134.4 179.2z" fill="#FFFFFF" p-id="26177"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
1
static/teammate.svg
Normal file
1
static/teammate.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1775810550910" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13456" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M601.3 580.9C544.4 631.5 511.9 704 512 780.1c0 54.8 16.5 105.8 44.9 148.2H126.6c-16.4 0-29.6-13.3-29.6-29.6v-88.9C97 652 373.5 572.6 512 572.6c25.9 0 56.5 2.7 89.3 8.3zM512 513.3c-114.6 0-207.5-92.8-207.5-207.4v-0.1c0-89.3 56.1-171 141.4-197.3 142.8-44.1 273.6 61.2 273.6 197.3 0 114.6-92.8 207.5-207.5 207.5z m371.4 192.8c24 0 43.6 19.6 43.6 43.6v1.8c0 24-19.6 43.6-43.6 43.6h-89.8v89.5c0 24-19.6 43.6-43.6 43.6h-1.5c-24 0-43.7-19.6-43.8-43.6v-89.5h-89.4c-24.2 0.1-43.9-19.5-44-43.8v-1.5c0.4-24.1 19.9-43.4 44-43.6h89.4v-90c0-24.1 19.6-43.6 44-43.6h1.4c24.1 0 43.6 19.5 43.6 43.6v90h89.7z" p-id="13457" fill="#0074ff"></path></svg>
|
||||
|
After Width: | Height: | Size: 966 B |
1
static/work/icon-service.svg
Normal file
1
static/work/icon-service.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1775810060919" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5935" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M448 917.376C448 917.333333 576 917.333333 576 917.333333c0.085333 0 0-42.709333 0-42.709333C576 874.666667 448 874.666667 448 874.666667c-0.085333 0 0 42.709333 0 42.709333z m371.349333-173.034667C809.6 745.877333 799.573333 746.666667 789.333333 746.666667a21.333333 21.333333 0 0 1-21.333333-21.333334V384a21.333333 21.333333 0 0 1 21.333333-21.333333 191.146667 191.146667 0 0 1 92.373334 23.637333C828.202667 234.517333 681.045333 128 511.296 128 341.290667 128 193.749333 234.816 140.458667 387.328A191.125333 191.125333 0 0 1 234.666667 362.666667a21.333333 21.333333 0 0 1 21.333333 21.333333v341.333333a21.333333 21.333333 0 0 1-21.333333 21.333334 192 192 0 0 1-148.906667-313.216 21.269333 21.269333 0 0 1 0.042667-8.682667C127.36 228.288 304.469333 85.333333 511.274667 85.333333c209.706667 0 388.544 146.944 427.008 347.093334l0.213333 1.344A191.210667 191.210667 0 0 1 981.333333 554.666667c0 70.4-37.909333 131.968-94.421333 165.397333-57.642667 100.693333-154.752 174.762667-268.778667 204.074667A42.517333 42.517333 0 0 1 576 960h-128c-23.573333 0-42.666667-19.157333-42.666667-42.624v-42.752c0-23.552 18.922667-42.624 42.666667-42.624h128c23.573333 0 42.666667 19.157333 42.666667 42.624v5.141333a392.810667 392.810667 0 0 0 200.682666-135.424zM85.333333 554.666667c0.298667 133.589333 128 148.949333 128 148.949333V406.144s-128.298667 14.933333-128 148.522667z m853.333334 0c0.298667-133.589333-128-148.522667-128-148.522667v297.472s127.701333-15.36 128-148.949333z" fill="#3D3D3D" p-id="5936"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
1
static/work/icon-team.svg
Normal file
1
static/work/icon-team.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1775809876112" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4893" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M629.956 486.519c44.718-34.903 73.61-88.978 73.61-149.734 0-105.01-85.99-190.453-191.72-190.453s-191.72 85.444-191.72 190.453c0 60.756 28.886 114.83 73.609 149.734-117.862 46.786-201.415 161.14-201.415 294.66v63.467c0 17.554 14.295 31.75 31.943 31.75h575.16c17.653 0 31.944-14.196 31.944-31.75V781.18c0.001-133.572-83.552-247.876-201.411-294.661zM373.152 336.534c0-75.995 62.198-137.774 138.694-137.774 76.492 0 138.693 61.78 138.693 137.774 0 75.976-62.2 137.774-138.693 137.774-76.496 0-138.694-61.773-138.694-137.774z m410.165 487.78h-542.97v-33.713c0-148.708 121.79-269.705 271.523-269.705 149.68 0 271.447 120.997 271.447 269.705v33.713zM264.212 515.95l6.24-1.489c13.4-4.453 22.945-16.136 22.945-29.858 0-13.253-8.924-24.586-21.575-29.36-34.212-15.44-56.284-49.323-56.284-86.663 0-42.311 36.768-77.958 75.251-90.315 6.737-20.659 16.928-39.777 29.904-56.681a214.079 214.079 0 0 1 7.137-10.963c-2.584-0.124-5.045-0.768-7.703-0.768-88.083 0-159.775 71.196-159.775 158.728 0 40.175 15.41 77.838 41.564 106.478C118.734 517.866 64.49 603.482 64.49 700.339v49.096c0 17.553 14.296 31.745 31.944 31.745h57.25c0-21.75 2.24-35.695 6.44-56.208h-40.446V700.34c0-87.736 59.365-163.034 144.535-184.39z m557.213-40.892c26.155-28.64 41.565-66.303 41.565-106.478 0-87.533-71.67-158.756-159.776-158.756-2.66 0-5.12 0.649-7.704 0.771a213.392 213.392 0 0 1 7.137 10.963c12.978 16.904 23.167 36.022 29.881 56.683 38.484 12.352 80.57 48.004 80.57 90.314 0 37.341-22.101 71.248-56.284 86.664-12.655 4.77-21.58 16.107-21.58 29.36 0 13.723 9.574 25.406 22.946 29.853l6.24 1.493c85.199 21.38 144.536 96.655 144.536 184.413v24.632h-45.79c4.225 20.514 6.44 34.458 6.44 56.209h57.25c17.677 0 31.945-14.192 31.945-31.745v-49.096c0.052-96.856-54.193-182.472-137.376-225.28z m0 0" p-id="4894"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Loading…
x
Reference in New Issue
Block a user