diff --git a/components/empty-data.vue b/components/empty-data.vue
index c800ff2..2abbac3 100644
--- a/components/empty-data.vue
+++ b/components/empty-data.vue
@@ -1,6 +1,6 @@
-
+
{{ text }}
@@ -22,4 +22,9 @@ const props = defineProps({
})
const style = computed(() => `width: ${props.size}rpx;height:${props.size}rpx`)
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/hooks/useInfoCheck.js b/hooks/useInfoCheck.js
new file mode 100644
index 0000000..d741127
--- /dev/null
+++ b/hooks/useInfoCheck.js
@@ -0,0 +1,19 @@
+import { storeToRefs } from 'pinia';
+import useAccountStore from "@/store/account.js";
+import { confirm } from '@/utils/widget';
+
+export default function useInfoCheck() {
+
+ const { doctorInfo } = storeToRefs(useAccountStore());
+
+ function withInfo(fn) {
+ return async (...args) => {
+ if (!doctorInfo.value || !doctorInfo.value.anotherName) {
+ await confirm('请先完善您的个人信息,方可使用该功能!', { cancelText: '再等等', confirmText: '去完善' })
+ return uni.navigateTo({ url: '/pages/work/profile' });
+ }
+ return fn(...args);
+ }
+ }
+ return { withInfo }
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 55a5b8a..30e5735 100644
--- a/pages.json
+++ b/pages.json
@@ -13,12 +13,6 @@
"enablePullDownRefresh": false
}
},
- {
- "path": "pages/message/common-phrases",
- "style": {
- "navigationBarTitleText": "常用语"
- }
- },
{
"path": "pages/work/work",
"style": {
@@ -60,6 +54,30 @@
"style": {
"navigationBarTitleText": "授权登录"
}
+ },
+ {
+ "path": "pages/work/team/invite/invite-patient",
+ "style": {
+ "navigationBarTitleText": "邀请患者"
+ }
+ },
+ {
+ "path": "pages/work/team/invite/invite-teammate",
+ "style": {
+ "navigationBarTitleText": "邀请成员"
+ }
+ },
+ {
+ "path": "pages/work/team/list/team-list",
+ "style": {
+ "navigationBarTitleText": "我的团队"
+ }
+ },
+ {
+ "path": "pages/work/service/contact-service",
+ "style": {
+ "navigationBarTitleText": "联系企微客服"
+ }
}
],
"globalStyle": {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 73fb316..d339408 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -5,12 +5,12 @@
生命全周期健康管理伙伴
-