全局加禁止滑动的属性

This commit is contained in:
wangdongbo 2026-02-10 17:35:04 +08:00
parent dd9722862f
commit 72ff07e4d4
4 changed files with 99 additions and 58 deletions

View File

@ -20,7 +20,7 @@ const props = defineProps({
} }
}) })
const list = computed(() => props.avatarList.map(i => i || '/static/default-avatar.png')) const list = computed(() => props.avatarList.map(i => i || '/static/default-avatar.svg'))
const size = computed(() => { const size = computed(() => {
const val = Number.isInteger(props.size) && props.size > 0 ? props.size : 144; const val = Number.isInteger(props.size) && props.size > 0 ? props.size : 144;

View File

@ -3,61 +3,71 @@
{ {
"path": "pages/home/message-home", "path": "pages/home/message-home",
"style": { "style": {
"navigationBarTitleText": "消息" "navigationBarTitleText": "消息",
"disableScroll": true
} }
}, },
{ {
"path": "pages/login/redirect-page", "path": "pages/login/redirect-page",
"style": { "style": {
"navigationBarTitleText": "登录" "navigationBarTitleText": "登录",
"disableScroll": true
} }
}, },
{ {
"path": "pages/login/agreement", "path": "pages/login/agreement",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": "",
"disableScroll": true
} }
}, },
{ {
"path": "pages/home/work-home", "path": "pages/home/work-home",
"style": { "style": {
"navigationBarTitleText": "工作台" "navigationBarTitleText": "工作台",
"disableScroll": true
} }
}, },
{ {
"path": "pages/home/case-home", "path": "pages/home/case-home",
"style": { "style": {
"navigationBarTitleText": "病历" "navigationBarTitleText": "病历",
"disableScroll": true
} }
}, },
{ {
"path": "pages/webview/webview", "path": "pages/webview/webview",
"style": { "style": {
"navigationBarTitleText": "预览" "navigationBarTitleText": "预览",
"disableScroll": true
} }
}, },
{ {
"path": "pages/library/diagnosis-list", "path": "pages/library/diagnosis-list",
"style": { "style": {
"navigationBarTitleText": "诊断" "navigationBarTitleText": "诊断",
"disableScroll": true
} }
}, },
{ {
"path": "pages/library/tag-list/tag-list", "path": "pages/library/tag-list/tag-list",
"style": { "style": {
"navigationBarTitleText": "标签" "navigationBarTitleText": "标签",
"disableScroll": true
} }
}, },
{ {
"path": "pages/others/edit-positive-find", "path": "pages/others/edit-positive-find",
"style": { "style": {
"navigationBarTitleText": "阳性发现" "navigationBarTitleText": "阳性发现",
"disableScroll": true
} }
}, },
{ {
"path": "pages/login/login", "path": "pages/login/login",
"style": { "style": {
"navigationBarTitleText": "授权登录" "navigationBarTitleText": "授权登录",
"disableScroll": true
} }
} }
], ],
@ -68,32 +78,37 @@
{ {
"path": "common-phrases", "path": "common-phrases",
"style": { "style": {
"navigationBarTitleText": "常用语" "navigationBarTitleText": "常用语",
"disableScroll": true
} }
}, },
{ {
"path": "article-list", "path": "article-list",
"style": { "style": {
"navigationBarTitleText": "宣教文章" "navigationBarTitleText": "宣教文章",
"disableScroll": true
} }
}, },
{ {
"path": "article-detail", "path": "article-detail",
"style": { "style": {
"navigationBarTitleText": "宣教文章" "navigationBarTitleText": "宣教文章",
"disableScroll": true
} }
}, },
{ {
"path": "survey-list", "path": "survey-list",
"style": { "style": {
"navigationBarTitleText": "问卷列表" "navigationBarTitleText": "问卷列表",
"disableScroll": true
} }
}, },
{ {
"path": "index", "path": "index",
"style": { "style": {
"navigationBarTitleText": "聊天", "navigationBarTitleText": "聊天",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"disableScroll": true
} }
} }
] ]
@ -104,73 +119,85 @@
{ {
"path": "profile", "path": "profile",
"style": { "style": {
"navigationBarTitleText": "完善个人信息" "navigationBarTitleText": "完善个人信息",
"disableScroll": true
} }
}, },
{ {
"path": "department-select", "path": "department-select",
"style": { "style": {
"navigationBarTitleText": "选择科室" "navigationBarTitleText": "选择科室",
"disableScroll": true
} }
}, },
{ {
"path": "hospital-select", "path": "hospital-select",
"style": { "style": {
"navigationBarTitleText": "选择医院" "navigationBarTitleText": "选择医院",
"disableScroll": true
} }
}, },
{ {
"path": "verify/assistant", "path": "verify/assistant",
"style": { "style": {
"navigationBarTitleText": "上传证照" "navigationBarTitleText": "上传证照",
"disableScroll": true
} }
}, },
{ {
"path": "verify/doctor", "path": "verify/doctor",
"style": { "style": {
"navigationBarTitleText": "上传证照" "navigationBarTitleText": "上传证照",
"disableScroll": true
} }
}, },
{ {
"path": "team/invite/invite-patient", "path": "team/invite/invite-patient",
"style": { "style": {
"navigationBarTitleText": "邀请患者" "navigationBarTitleText": "邀请患者",
"disableScroll": true
} }
}, },
{ {
"path": "team/invite/invite-teammate", "path": "team/invite/invite-teammate",
"style": { "style": {
"navigationBarTitleText": "邀请成员" "navigationBarTitleText": "邀请成员",
"disableScroll": true
} }
}, },
{ {
"path": "team/list/team-list", "path": "team/list/team-list",
"style": { "style": {
"navigationBarTitleText": "我的团队" "navigationBarTitleText": "我的团队",
"disableScroll": true
} }
}, },
{ {
"path": "team/edit/team-edit", "path": "team/edit/team-edit",
"style": { "style": {
"navigationBarTitleText": "修改团队信息" "navigationBarTitleText": "修改团队信息",
"disableScroll": true
} }
}, },
{ {
"path": "team/detail/team-detail", "path": "team/detail/team-detail",
"style": { "style": {
"navigationBarTitleText": "团队信息" "navigationBarTitleText": "团队信息",
"disableScroll": true
} }
}, },
{ {
"path": "service/contact-service", "path": "service/contact-service",
"style": { "style": {
"navigationBarTitleText": "联系企微客服" "navigationBarTitleText": "联系企微客服",
"disableScroll": true
} }
}, },
{ {
"path": "todo/todo-detail", "path": "todo/todo-detail",
"style": { "style": {
"navigationBarTitleText": "待办详情" "navigationBarTitleText": "待办详情",
"disableScroll": true
} }
} }
] ]
@ -181,121 +208,141 @@
{ {
"path": "search", "path": "search",
"style": { "style": {
"navigationBarTitleText": "搜索患者" "navigationBarTitleText": "搜索患者",
"disableScroll": true
} }
}, },
{ {
"path": "group-manage", "path": "group-manage",
"style": { "style": {
"navigationBarTitleText": "分组管理" "navigationBarTitleText": "分组管理",
"disableScroll": true
} }
}, },
{ {
"path": "batch-transfer", "path": "batch-transfer",
"style": { "style": {
"navigationBarTitleText": "转移客户给其他团队" "navigationBarTitleText": "转移客户给其他团队",
"disableScroll": true
} }
}, },
{ {
"path": "batch-share", "path": "batch-share",
"style": { "style": {
"navigationBarTitleText": "共享客户" "navigationBarTitleText": "共享客户",
"disableScroll": true
} }
}, },
{ {
"path": "patient-create", "path": "patient-create",
"style": { "style": {
"navigationBarTitleText": "新增患者" "navigationBarTitleText": "新增患者",
"disableScroll": true
} }
}, },
{ {
"path": "patient-inner-info", "path": "patient-inner-info",
"style": { "style": {
"navigationBarTitleText": "内部信息" "navigationBarTitleText": "内部信息",
"disableScroll": true
} }
}, },
{ {
"path": "archive-detail", "path": "archive-detail",
"style": { "style": {
"navigationBarTitleText": "档案详情" "navigationBarTitleText": "档案详情",
"disableScroll": true
} }
}, },
{ {
"path": "archive-edit", "path": "archive-edit",
"style": { "style": {
"navigationBarTitleText": "档案编辑" "navigationBarTitleText": "档案编辑",
"disableScroll": true
} }
}, },
{ {
"path": "visit-record-detail", "path": "visit-record-detail",
"style": { "style": {
"navigationBarTitleText": "健康档案" "navigationBarTitleText": "健康档案",
"disableScroll": true
} }
}, },
{ {
"path": "visit-record-view", "path": "visit-record-view",
"style": { "style": {
"navigationBarTitleText": "病历详情" "navigationBarTitleText": "病历详情",
"disableScroll": true
} }
}, },
{ {
"path": "medical-case-form", "path": "medical-case-form",
"style": { "style": {
"navigationBarTitleText": "添加病历" "navigationBarTitleText": "添加病历",
"disableScroll": true
} }
}, },
{ {
"path": "ai-medical-case-form", "path": "ai-medical-case-form",
"style": { "style": {
"navigationBarTitleText": "添加病历" "navigationBarTitleText": "添加病历",
"disableScroll": true
} }
}, },
{ {
"path": "service-record-detail", "path": "service-record-detail",
"style": { "style": {
"navigationBarTitleText": "服务记录" "navigationBarTitleText": "服务记录",
"disableScroll": true
} }
}, },
{ {
"path": "followup-detail", "path": "followup-detail",
"style": { "style": {
"navigationBarTitleText": "回访详情" "navigationBarTitleText": "回访详情",
"disableScroll": true
} }
}, },
{ {
"path": "new-followup", "path": "new-followup",
"style": { "style": {
"navigationBarTitleText": "新增回访" "navigationBarTitleText": "新增回访",
"disableScroll": true
} }
}, },
{ {
"path": "new-followup-record", "path": "new-followup-record",
"style": { "style": {
"navigationBarTitleText": "回访记录" "navigationBarTitleText": "回访记录",
"disableScroll": true
} }
}, },
{ {
"path": "plan-list", "path": "plan-list",
"style": { "style": {
"navigationBarTitleText": "回访计划" "navigationBarTitleText": "回访计划",
"disableScroll": true
} }
}, },
{ {
"path": "plan-preview", "path": "plan-preview",
"style": { "style": {
"navigationBarTitleText": "回访计划详情" "navigationBarTitleText": "回访计划详情",
"disableScroll": true
} }
}, },
{ {
"path": "plan-execute", "path": "plan-execute",
"style": { "style": {
"navigationBarTitleText": "执行回访计划" "navigationBarTitleText": "执行回访计划",
"disableScroll": true
} }
}, },
{ {
"path": "followup-task-list", "path": "followup-task-list",
"style": { "style": {
"navigationBarTitleText": "回访任务" "navigationBarTitleText": "回访任务",
"disableScroll": true
} }
} }
] ]

View File

@ -110,7 +110,7 @@ const FIELD_CONFIG = {
key: "diagnosisName", key: "diagnosisName",
label: FIELD_LABELS.diagnosisName, label: FIELD_LABELS.diagnosisName,
type: "textarea", type: "textarea",
required: false, required: true,
}, },
{ {
key: "chiefComplaint", key: "chiefComplaint",
@ -185,13 +185,7 @@ const FIELD_CONFIG = {
label: FIELD_LABELS.examination, label: FIELD_LABELS.examination,
type: "textarea", type: "textarea",
required: false, required: false,
}, }
{
key: "treatmentPlan",
label: "治疗方案",
type: "textarea",
required: false,
},
], ],
physicalExaminationTemplate: [ physicalExaminationTemplate: [
{ {
@ -218,7 +212,7 @@ const FIELD_CONFIG = {
key: "consultationDate", key: "consultationDate",
label: FIELD_LABELS.consultationDate, label: FIELD_LABELS.consultationDate,
type: "date", type: "date",
required: true, required: false,
}, },
{ {
key: "chiefComplaint", key: "chiefComplaint",

View File

@ -19,7 +19,7 @@
</view> </view>
</view> </view>
<view v-for="i in teammates" :key="i._id" class="mb-10 p-10 border rounded flex"> <view v-for="i in teammates" :key="i._id" class="mb-10 p-10 border rounded flex">
<image class="flex-shrink-0 mr-10 avatar" :src="i.avatar || '/static/default-avatar.png'" /> <image class="flex-shrink-0 mr-10 avatar" :src="i.avatar || '/static/default-avatar.svg'" />
<view class="w-0 flex-grow"> <view class="w-0 flex-grow">
<view class="flex items-center"> <view class="flex items-center">
<view class="mr-5 text-lg font-semibold text-dark truncate">{{ i.anotherName }}</view> <view class="mr-5 text-lg font-semibold text-dark truncate">{{ i.anotherName }}</view>