From 9299bbac15e59412f7a8e0d534d03a47ce60b70f Mon Sep 17 00:00:00 2001 From: wangdongbo <> Date: Wed, 3 Jun 2026 18:47:12 +0800 Subject: [PATCH] =?UTF-8?q?sop=20=20=E6=A1=A3=E6=A1=88=E6=A8=A1=E7=89=88?= =?UTF-8?q?=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 7 +- pages/health/list.vue | 227 +++++++++++++++++++++++++--------- pages/health/record.vue | 18 ++- pages/login/redirect-page.vue | 2 +- pages/team/team-detail.vue | 1 + utils/api-base-config.js | 41 ++++++ 6 files changed, 229 insertions(+), 67 deletions(-) diff --git a/App.vue b/App.vue index 21114c2..ee4b590 100644 --- a/App.vue +++ b/App.vue @@ -2,15 +2,18 @@ import dbStore from "@/store/db"; import accountStore from "@/store/account"; import { globalUnreadListenerManager } from "@/utils/global-unread-listener.js"; +import { initApiContextFromAppOptions } from "@/utils/api-base-config"; export default { - async onLaunch() { + async onLaunch(options) { + initApiContextFromAppOptions(options); console.log("App Launch: "); // 获取 openId 并初始化 IM // await this.initIMOnLaunch(); }, - onShow: function () { + onShow: function (options) { + initApiContextFromAppOptions(options); const db = dbStore(); if (db && typeof db.getJobs === "function") { db.getJobs(); diff --git a/pages/health/list.vue b/pages/health/list.vue index abfb968..b0dd924 100644 --- a/pages/health/list.vue +++ b/pages/health/list.vue @@ -8,7 +8,7 @@ - {{ tempType[type] || '全部' }} + {{ selectedTypeLabel }} @@ -36,12 +36,11 @@ {{ i.date }} - 门诊信息 - 住院信息 - 体检报告 + + {{ getTemplateLabel(i.medicalType) }} + 外院 @@ -81,9 +80,25 @@ + + + + {{ templateSelectorTitle }} + 取消 + + + + {{ item.label }} + + + + +