9.24上午提交
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user