feat: 病历模块优化、AI辅助问诊、接入deepseek
This commit is contained in:
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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抽屉 -->
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AssistantConsultationShell from '@/components/AssistantConsultationShell.vue'
|
||||
import AssistantConsultationShell from '@/subPackages/common/components/AssistantConsultationShell.vue'
|
||||
import {
|
||||
getTransferPrescriptionDetailApi,
|
||||
getTransferQuestionsApi,
|
||||
|
||||
Reference in New Issue
Block a user