医生备注优化
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<el-tag v-if="row.status === 4" size="small" type="warning" class="ml-1">已过号</el-tag>
|
||||
</div>
|
||||
<div class="time-line">
|
||||
{{ row.appointment_time || '—' }} · 医助 {{ row.assistant_name || '—' }}
|
||||
{{ formatTimeHM(row.appointment_time) }} · 医助 {{ row.assistant_name || '—' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-actions" @click.stop>
|
||||
@@ -246,9 +246,12 @@
|
||||
|
||||
<!-- 医生备注 & 舌苔照片 -->
|
||||
<div class="card note-card">
|
||||
<div class="card-title">医生备注 & 舌苔照片</div>
|
||||
<NoteTimeline v-if="doctorNotes.length" :notes="doctorNotes" />
|
||||
<el-empty v-else description="暂无备注" :image-size="48" />
|
||||
<div class="card-title">医生备注 & 舌苔照片 & 检查报告</div>
|
||||
<NoteTimeline
|
||||
:notes="doctorNotes"
|
||||
:diagnosis-id="diag?.id"
|
||||
@refresh="refreshDetailSilently"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- 血糖血压记录 -->
|
||||
@@ -478,6 +481,11 @@ const formatGenderAge = (row: QueueRow) => {
|
||||
return parts.filter((p) => p && p !== '—').join(' ')
|
||||
}
|
||||
|
||||
const formatTimeHM = (time?: string) => {
|
||||
if (!time) return '—'
|
||||
return time.replace(/^(\d{2}:\d{2})(:\d{2})?$/, '$1')
|
||||
}
|
||||
|
||||
const formatPeriod = (period?: string) => {
|
||||
if (period === 'morning') return '上午'
|
||||
if (period === 'afternoon') return '下午'
|
||||
@@ -938,6 +946,7 @@ onUnmounted(() => {
|
||||
gap: 14px;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.queue-col {
|
||||
width: 288px;
|
||||
@@ -952,7 +961,6 @@ onUnmounted(() => {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
height: calc(100vh - 260px);
|
||||
min-height: 480px;
|
||||
}
|
||||
.queue-head {
|
||||
display: flex;
|
||||
@@ -980,7 +988,7 @@ onUnmounted(() => {
|
||||
.queue-row {
|
||||
border: 1px solid var(--rx-line);
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
padding: 12px 10px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -1011,6 +1019,7 @@ onUnmounted(() => {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.name-meta {
|
||||
font-size: 12px;
|
||||
@@ -1018,7 +1027,7 @@ onUnmounted(() => {
|
||||
font-weight: 400;
|
||||
}
|
||||
.time-line {
|
||||
margin-top: 2px;
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
color: var(--rx-soft);
|
||||
font-family: var(--rx-font-data);
|
||||
|
||||
Reference in New Issue
Block a user