瀏覽代碼

就诊列表、检测报告-调整选择就诊人样式、修复选择就诊人时,名字未切换的问题

高大威猛 7 月之前
父節點
當前提交
a3321dfc81
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      app/pages/detection/index.vue
  2. 1 1
      app/pages/visit/index.vue

+ 2 - 2
app/pages/detection/index.vue

@@ -2,7 +2,7 @@
 	<view class="main">
 		<view class="top">
 			<view class="nameBox">
-				<view class="name">{{ user.patientName ? user.patientName : '还未绑定就诊人' }}</view>
+				<view class="name">{{ param.patientName ? param.patientName : '还未绑定就诊人' }}</view>
 				<text class="icon arrow" style="margin-left: 10px;">&#xeb73;</text>
 				<view class="change" @click="showChange = true">切换就诊人</view>
 			</view>
@@ -35,7 +35,7 @@
 		<u-popup :show="showChange" @close="closePopup" @open="openPopup" :round="10" :closeable="true">
 			<view>
 				<view class="userChangeTitle">请选择就诊人</view>
-				<scroll-view scroll-y="true" class="scroll-Y" style="height: 300px;">
+				<scroll-view scroll-y="true" class="scroll-Y" style="max-height: 300px;">
 					<u-radio-group v-model="param.patientId" iconPlacement="left" placement="column">
 						<u-radio v-for="(item,index) in userList" :name="item.patientId" @change="groupChange(item)"
 							:customStyle="{ backgroundColor: '#F8F8F8', margin:'5px 20px',borderRadius: '10px',padding: '10px'}">

+ 1 - 1
app/pages/visit/index.vue

@@ -34,7 +34,7 @@
 		<u-popup :show="showChange" @close="closePopup" @open="openPopup" :round="10" :closeable="true">
 			<view>
 				<view class="userChangeTitle">请选择就诊人</view>
-				<scroll-view scroll-y="true" class="scroll-Y" style="height: 300px;">
+				<scroll-view scroll-y="true" class="scroll-Y" style="max-height: 300px;">
 						<u-radio-group v-model="param.patientId" iconPlacement="left" placement="column">
 							<u-radio v-for="(item,index) in userList" :name="item.patientId"  @change="groupChange(item)"
 								:customStyle="{ backgroundColor: '#F8F8F8', margin:'5px 20px',borderRadius: '10px',padding: '10px'}">