90 lines
4.7 KiB
Plaintext
90 lines
4.7 KiB
Plaintext
<!--pages/sugarDetail/sugarDetail.wxml-->
|
||
<view class="ui-navigatorbar" style="background-color:transparent;backdrop-filter:blur(0px)">
|
||
<image class="ui-navigatorbar-back" bindtap="goBack" src="{{img_host+'/sugar_left.png'}}" />
|
||
<view class="ui-title" style="color:#fff;opacity: {{1-opacity}};" >糖组检测</view>
|
||
</view>
|
||
<view class="page">
|
||
|
||
<image src="{{projectImg}}" mode="widthFix" class="dcimg" lazy-load/>
|
||
<view class="nextbox">
|
||
<image src="{{img_host+'/sugar_process.png'}}" mode="widthFix" class="dcimg" lazy-load />
|
||
<view class="msgbtnbox">
|
||
<view class="msgbtn" bindtap="showPatient">填写信息 </view>
|
||
|
||
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<van-popup show="{{ show }}" bind:close="onClose" closeable
|
||
position="bottom" round
|
||
custom-style="min-height: 60%">
|
||
<view class="titlepop">选择患者</view>
|
||
<view class="personbox">
|
||
<view class="row" wx:for-item="itemName" wx:for="{{family}}" wx:key="*this">
|
||
<view class="cell" wx:for-item="item" wx:for="{{itemName}}" wx:key="family_id">
|
||
<view class="cellinner" wx:if="{{!item.type}}" bindtap="selectPatient" data-familyId="{{item.family_id}}" data-sex="{{item.sex}}" data-card_name="{{item.card_name}}" data-age="{{item.age}}" data-nation="{{item.nation_id}}" data-nation_name="{{item.nation_name}}">
|
||
<view class="person">
|
||
<view class="name">{{item.card_name}}</view>
|
||
<view class="tag" wx:if="{{item.relation==1}}">本人</view>
|
||
<view class="tag" wx:elif="{{item.relation==2}}">父母</view>
|
||
<view class="tag" wx:elif="{{item.relation==3}}">爱人</view>
|
||
<view class="tag" wx:elif="{{item.relation==4}}">子女</view>
|
||
<view class="tag" wx:elif="{{item.relation==5}}">亲戚</view>
|
||
<view class="tag" wx:elif="{{item.relation==6}}">其他</view>
|
||
</view>
|
||
<view class="desc">
|
||
<view class="sex" wx:if="{{item.sex===0}}">性别未知</view>
|
||
<view class="sex" wx:elif="{{item.sex==1}}">男</view>
|
||
<view class="sex" wx:else>女</view>
|
||
<view class="age">{{item.age}}岁</view>
|
||
</view>
|
||
<image src="{{img_host+'/gou.png'}}" class="gou" wx:if="{{item.family_id==currentFamilyId}}"></image>
|
||
</view>
|
||
<view class="celladd" bindtap="addPatient" wx:elif="{{item.type}}">
|
||
+新建患者
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="btnbox">
|
||
<button class="btn" plain="true" disabled="{{currentFamilyId?false:true}}" bindtap="handleHasCreate">下一步</button>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup show="{{showAdd}}" round closeable z-index="999" position="bottom" custom-style="height:{{height}}rpx" bind:close="onCloseAdd">
|
||
<view class="infobox">
|
||
<view class="title">新建患者</view>
|
||
<view class="info">
|
||
<view class="name">真实姓名<text>*</text></view>
|
||
<input value="{{realName}}" type="text" bindinput="inputChange" placeholder="请输入真实姓名" data-id="realName"/>
|
||
</view>
|
||
<view class="info">
|
||
<view class="name">身份证号<text>*</text></view>
|
||
<input value="{{idCard}}" type="idcard" bindinput="inputChange" placeholder="请输入真实身份证号" data-id="idCard"/>
|
||
</view>
|
||
<view class="info">
|
||
<view class="name">联系电话</view>
|
||
<input value="{{phoneNumber}}" type="digit" bindblur="onblur" bindfocus="onfocus" cursor-spacing="100" bindinput="inputChange" bindinput="inputChange" placeholder="请输入联系电话" data-id="phoneNumber"/>
|
||
</view>
|
||
<view class="info" bindtap="openPicker">
|
||
<view class="name">患者关系</view>
|
||
<input type="text" value="{{relation}}" placeholder="请选择与患者的关系" disabled="true" />
|
||
</view>
|
||
<view class="tip" >
|
||
<view class="warntitle">温馨提示:</view>
|
||
<view class="warn">
|
||
<view>1、国家卫健委要求,就医行为必须实名登记,信息仅接诊医生可见,请谨慎填写患者信息。</view>
|
||
|
||
<view>3、6岁以下儿童不支持线上问诊,请到线下就诊。
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="next" bindtap="goSick">
|
||
确定
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup show="{{ showPicker }}" round position="bottom" z-index="99999" custom-style="height:auto" bind:close="closePicker">
|
||
<van-picker show-toolbar title="选择与患者之间的关系" columns="{{ columns }}" bind:cancel="closePicker" bind:confirm="onConfirmPicker" />
|
||
</van-popup>
|
||
<dialog bind:confirm="confirm" bind:cancel="cancelAlert" showDialog="{{showdialog}}" message="{{messageTitle}}" cancelBtn="{{cancelBtn}}"></dialog>
|