patient doctor

master
panliang 2023-10-21 08:51:49 +08:00
parent f0905941d5
commit 1f51439d69
4 changed files with 9 additions and 9 deletions

View File

@ -7,12 +7,12 @@
<u-cell title="联系方式" :value="info.phone" /> <u-cell title="联系方式" :value="info.phone" />
<u-cell title="地址" :value="info.address" /> <u-cell title="地址" :value="info.address" />
<u-cell title="出生年月" :value="info.birthday | date('yyyy-MM-dd')" /> --> <u-cell title="出生年月" :value="info.birthday | date('yyyy-MM-dd')" /> -->
<u-cell :title="`${type}时间`" :value="info.treat_at | date('yyyy-MM-dd')" /> <u-cell :title="`初次${type}`" :value="info.treat_at | date('yyyy-MM-dd')" />
<u-cell :title="`${type}医师`" :value="info.doctor?info.doctor.name : ''" /> <!-- <u-cell :title="`${type}医师`" :value="info.doctor?info.doctor.name : ''" /> -->
<u-cell title="病情描述"> <u-cell title="病情描述">
<view slot="value"> <view slot="label">
<!-- <rich-text :nodes="info.illness" /> --> <!-- <rich-text :nodes="info.illness" /> -->
<text>{{info.illness}}</text> <u--text :text="info.illness" type="info" wordWrap="anywhere" />
</view> </view>
</u-cell> </u-cell>
<u-cell title="图片资料"> <u-cell title="图片资料">

View File

@ -5,11 +5,11 @@
<u-cell title="类别" :value="info.type ? info.type.name : ''" /> <u-cell title="类别" :value="info.type ? info.type.name : ''" />
<u-cell title="病种" :value="info.illness_type ? info.illness_type.name : ''" /> <u-cell title="病种" :value="info.illness_type ? info.illness_type.name : ''" />
<u-cell :title="`${type.text}时间`" :value="info.treat_at | date" /> <u-cell :title="`${type.text}时间`" :value="info.treat_at | date" />
<u-cell :title="`${type.text}医师`" :value="info.doctor ? info.doctor.name : ''" /> <!-- <u-cell :title="`${type.text}医师`" :value="info.doctor ? info.doctor.name : ''" /> -->
<u-cell :title="`${type.text}情况`"> <u-cell :title="`${type.text}情况`">
<view slot="value"> <view slot="label">
<!-- <rich-text :nodes="info.illness" /> --> <!-- <rich-text :nodes="info.illness" /> -->
<text>{{info.content}}</text> <u--text :text="info.content" type="info" wordWrap="anywhere" />
</view> </view>
</u-cell> </u-cell>
<u-cell title="图片资料"> <u-cell title="图片资料">

View File

@ -5,7 +5,7 @@
<u-list-item v-for="item in list" :key="item.id"> <u-list-item v-for="item in list" :key="item.id">
<u-cell size="large" :url="`/pages/record/detail?id=${item.id}`"> <u-cell size="large" :url="`/pages/record/detail?id=${item.id}`">
<view slot="title" class="title"> <view slot="title" class="title">
<view class="list-item-title">医师: {{ item.doctor ? item.doctor.name : '' }}</view> <view class="list-item-title">患者: {{ item.patient ? item.patient.name : '' }}</view>
<!-- <view class="list-item-price"> <!-- <view class="list-item-price">
<text style="color: #dd524d;font-size: 19px"> <text style="color: #dd524d;font-size: 19px">
<u-icon name="rmb" color="#dd524d" size="19px" /> <u-icon name="rmb" color="#dd524d" size="19px" />

View File

@ -9,7 +9,7 @@
<u-cell title="性别" :value="info.sex_text" isLink @click="openGender" /> <u-cell title="性别" :value="info.sex_text" isLink @click="openGender" />
<u-cell title="生日" :value="info.birthday_format" isLink @click="openBirthday" /> <u-cell title="生日" :value="info.birthday_format" isLink @click="openBirthday" />
<u-cell title="住址" :value="info.address" isLink @click="openModal('住址', 'address')" /> <u-cell title="住址" :value="info.address" isLink @click="openModal('住址', 'address')" />
<u-cell title="修改登录密码" isLink @click="openModal('新密码', 'password', 'password')" /> <u-cell title="登录密码" isLink @click="openModal('新密码', 'password', 'password')" />
</u-cell-group> </u-cell-group>
<u-modal <u-modal
:show="modal.show" :show="modal.show"