9.24上午提交

This commit is contained in:
zoujiandong
2025-09-24 11:37:39 +08:00
parent 70eeb19867
commit bdd2ba278e
11 changed files with 180 additions and 43 deletions
@@ -212,7 +212,13 @@ const translateMsg = (key: string): string => {
tipMsgText: t('tipMsgText'),
unknowMsgText: t('unknowMsgText'),
}[key] || ''
return `[${text}]`
if(text=='自定义消息'){
return JSON.parse(props.lastMessage.attachment.raw).gdxz_type
}else{
return `[${text}]`
}
}
</script>
+4 -3
View File
@@ -96,6 +96,7 @@
<view class="group-section">
<view class="patient-item" v-for="item in group.items" :key="item.uuid || item.id" >
<template v-if="item.placeholder">
<view class="patient-avatar-placeholder">
<uni-icons type="person" size="32" color="#ffffff"></uni-icons>
</view>
@@ -194,14 +195,14 @@
<!-- 底部标签栏 -->
<view class="tab-bar">
<view class="tab-item active" @click="switchTab('message')">
<view class="tab-item" :class="{active: activeTab === 'message'}" @click="switchTab('message')">
<text class="tab-text">患者消息</text>
</view>
<view class="tab-item" @click="switchTab('list')">
<view class="tab-item" :class="{active: activeTab === 'list'}" @click="switchTab('list')">
<text class="tab-text">患者列表</text>
</view>
<view class="tab-item" @click="switchTab('plan')">
<view class="tab-item" :class="{active: activeTab === 'plan'}" @click="switchTab('plan')">
<text class="tab-text">随访计划</text>
</view>
</view>