feat: 病历模块优化、AI辅助问诊、接入deepseek

This commit is contained in:
李琦
2026-08-06 18:08:51 +08:00
parent f9dd9ad3a2
commit 69c3e6d30e
8 changed files with 18 additions and 8 deletions

View File

@@ -9,7 +9,9 @@
"^MessageNotification": "@/components/MessageNotification/MessageNotification.vue",
"^FollowUpDrugDrawer$": "@/subPackages/doctor/components/FollowUpDrugDrawer.vue",
// 列表骨架屏(分包组件,主包页需配合 componentPlaceholder
"^ListSkeleton$": "@/subPackages/common/components/ListSkeleton.vue"
"^ListSkeleton$": "@/subPackages/common/components/ListSkeleton.vue",
// 问诊助手壳(仅分包页使用,放分包以减小主包体积)
"^AssistantConsultationShell$": "@/subPackages/common/components/AssistantConsultationShell.vue"
},
"pages": [
{

View File

@@ -1,4 +1,8 @@
<template>
<!--
问诊助手通用壳协议抽屉消息流选项按钮等
follow-up / transfer 分包页使用放在 subPackages/common 以减小主包体积
-->
<view class="consultation-container safe-area-inset-bottom">
<view class="consultation-header">
<view class="header-back" @click="handleHeaderBack">
@@ -19,8 +23,10 @@
</view>
</view>
<!-- 协议抽屉v-if 控制挂载:show 控制显隐 chat 页一致 -->
<page-container
:if="agreementPopupVisible"
v-if="agreementPopupVisible"
:show="agreementPopupVisible"
position="bottom"
round
overlay

View File

@@ -17,9 +17,10 @@
</view>
</view>
<view class="sk-detail-tip sk-shimmer"></view>
<!-- H5 :key 仅支持简单变量禁止 'card-'+i 拼接 -->
<view
v-for="i in detailCardCount"
:key="'card-' + i"
:key="i"
class="sk-detail-card"
>
<view class="sk-line sk-line--md sk-shimmer"></view>

View File

@@ -88,7 +88,7 @@ import {
sendFollowUpDrugAssistantMessage,
wasFollowUpAssistSent,
} from '@/utils/clinicFollowUpAssistantIm';
import AssistantConsultationShell from '@/components/AssistantConsultationShell.vue';
import AssistantConsultationShell from '@/subPackages/common/components/AssistantConsultationShell.vue';
import {
getTransferAssistantConfigApi,
getTransferConsultationAgreementInfoApi,

View File

@@ -51,7 +51,8 @@
:current="selectedZoneIndex"
@change="onSwiperChange"
>
<swiper-item v-for="(zone, zoneIdx) in homeZones" :key="zone.id || zoneIdx">
<!-- H5 :key 不支持 || 表达式用下标即可专区列表稳定 -->
<swiper-item v-for="(zone, zoneIdx) in homeZones" :key="zoneIdx">
<view class="main-content" v-if="Number(selectedZoneIndex) === zoneIdx">
<!-- 左侧分类栏 -->
<view class="category-sidebar">

View File

@@ -2,7 +2,7 @@
<view class="container safe-area-inset-bottom" style="padding-bottom: 100rpx">
<!-- #ifdef MP-WEIXIN -->
<page-container
:if="pageBackGuardShow"
:show="pageBackGuardShow"
:overlay="false"
@leave="onPageBackGuardLeave"
/>

View File

@@ -107,7 +107,7 @@
</view>
<!-- #ifdef MP-WEIXIN -->
<page-container :v-if="registerDrawerShow" :overlay="false" @leave="onPageBackGuardLeave" />
<page-container :show="registerDrawerShow" :overlay="false" @leave="onPageBackGuardLeave" />
<!-- #endif -->
<!-- STREAMING_CHUNK:渲染包含自定义项的SKU抽屉 -->

View File

@@ -25,7 +25,7 @@
</template>
<script>
import AssistantConsultationShell from '@/components/AssistantConsultationShell.vue'
import AssistantConsultationShell from '@/subPackages/common/components/AssistantConsultationShell.vue'
import {
getTransferPrescriptionDetailApi,
getTransferQuestionsApi,