zoujiandong 4948f35fb3 1.22
2024-01-22 08:42:14 +08:00

128 lines
7.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--pages/sugarSickInfo/sugarSickInfo.wxml-->
<nav navName="填写信息"></nav>
<view class="page">
<view class="infobox">
<view class="sickbox">
<view class="info">
<view class="name">真实姓名<text>*</text></view>
<view class="iptbox">
<input value="{{currentPatientName}}" type="text" placeholder="请输入真实姓名"
disabled="{{true}}"/>
</view>
</view>
<view class="info" bindtap="showNation" wx:if="{{showNationSelect}}">
<view class="name">民族<text>*</text></view>
<view class="iptbox">
<input value="{{nation_name}}" type="text" placeholder="请选择民族" disabled="{{true}}"/>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openSick">
<view class="name">既往病史<text>*</text></view>
<view class="iptbox">
<input value="{{sick_name}}" type="text" placeholder="请选择既往病史" disabled="{{true}}" />
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openPurpose">
<view class="name">目的<text>*</text></view>
<view class="iptbox">
<input value="{{purpose_name}}" type="text" placeholder="请选择目的" disabled="{{true}}" />
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
<view class="info" bindtap="openDoctor">
<view class="name">申请医生<text>*</text></view>
<view class="iptbox">
<input value="{{doctor_name}}" type="text" placeholder="请选择申请医生" disabled="{{true}}"/>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
</view>
<view class="tips">
根据国家互联网诊疗相关政策的要求,请您在使用服务前仔细阅读<text class="navigator" bindtap="goAgree">《风险告知与知情同意书》</text>,肝胆相照互联网医院平台医生,仅为您提供健康咨询服务,咨询意见供您参考。继续操作表示您知悉并同意上述告诉内容。
</view>
</view>
<view class="bottom">
<view class="pay" bindtap="handleCreateDetection">
立即支付
</view>
</view>
</view>
<van-popup show="{{ showDoctor }}" closeable round z-index="9999" bind:close="closeDoctor" custom-style="height: 60%" position="bottom">
<view class="sickcon">
<view class="titlebox" style="justify-content: center;margin-top: 28rpx;">
<view class="title"> 申请医生</view>
</view>
<view class="site" style="margin-bottom: 20rpx;" bindtap="openCity">
<!-- <text wx:if="{{area.province&&area.city&&area.county}}">{{area.province}}{{area.city}}{{area.county}}</text> -->
<text>{{currentPosition}}</text>
<image src="{{img_host+'/sugar_down.png'}}" class="siteimg" />
</view>
<view class="doctorlist">
<van-radio-group value="{{ doctorResult }}" bind:change="onChangeDoctor" wx:if="{{doctorList.length>0}}">
<van-cell-group >
<van-cell border="{{false}}" wx:for="{{ doctorList }}"
bind:click="onClickDcotor" wx:key="index" value-class="value-class" custom-class="{{item.doctor_id==doctorResult?'rootclass':''}}" clickable data-name="{{ item.doctor_id }}" data-hospital="{{item.hospital_name}}" data-doctorname="{{item.user_name}}" data-userid="{{item.user_id}}" >
<view slot="title" class="celltitle">
<image src="{{item.avatar}}" class="head" wx:if="item.avatar"/>
<image src="{{img_host+'/doctor_avatar.png'}}" class="head" wx:else/>
<view class="namebox">
<view class="van-cell-text">
<text>{{ item.user_name}}</text>
<!-- 1:主任医师 2:主任中医师 3:副主任医师 4:副主任中医师 5:主治医师 6:住院医师) -->
<text decode="true" style="margin-left:20rpx;" wx:if="{{item.doctor_title==1}}">主任中医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==2}}">主任医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==3}}">副主任医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==4}}">副主任中医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==5}}">主治医师</text>
<text decode="true" style="margin-left:20rpx;" wx:elif="{{item.doctor_title==6}}">住院医师</text>
</view>
<view class="hospital" wx:if="item.hospital">{{item.hospital_name}} </view>
</view>
</view>
<van-radio checked-color="#3CC7C0" icon-size="20px" catch:tap="noop" class="checkboxesdoctor-{{ index }}" name="{{ item.doctor_id}}" data-doctorname="{{item.user_name}}" data-userid="{{item.user_id}}" catchtap="onClickDcotor" data-name="{{ item.doctor_id}}" data-hospital="{{item.hospital_name}}"/>
</van-cell>
</van-cell-group>
</van-radio-group>
<view class="nonedata" wx:else>暂无医生数据!</view>
</view>
</view>
</van-popup>
<van-popup show="{{ showSick }}" round bind:close="onClose" custom-style="height: 60%;" position="bottom" custom-class="sickpop" z-index="9999" >
<view class="sickcon">
<view class="titlebox">
<view class="cancel" bindtap="closeSick">取消</view>
<view class="title"> 既往病史最多3项)</view>
<view class="ok" bindtap="onConfirmSick">确定</view>
</view>
<van-checkbox-group value="{{ sickResult }}" bind:change="onChangeSick" max="{{3}}" style="flex:1;overflow-y: scroll;-webkit-overflow-scrolling: touch;">
<van-cell-group>
<van-cell border="{{false}}" wx:for="{{ sickList }}" wx:key="index" title="{{ item.name }}" value-class="value-class" clickable data-index="{{ index }}" bind:click="toggleSick">
<van-checkbox shape="square" checked-color="#3CC7C0" icon-size="18px" catch:tap="noop" class="checkboxessick-{{ index }}" name="{{ item.id }}" disabled="{{sickResult.length==3 && !item.check}}"/>
</van-cell>
</van-cell-group>
</van-checkbox-group></view>
</van-popup>
<van-popup show="{{ showNation }}" position="bottom" custom-style="height: auto">
<van-picker show-toolbar title="选择民族" columns="{{ nationcolumns }}" value-key="nation_name" bind:cancel="onCancelNation" bind:confirm="onConfirmNation" />
</van-popup>
<van-popup show="{{ showPurpose }}" position="bottom" custom-style="height: auto">
<van-picker show-toolbar title="选择目的" columns="{{ purposecolumns }}" value-key="purpose_name" bind:cancel="onCancelPurpose" bind:confirm="onConfirmPurpose" />
</van-popup>
<van-popup show="{{ showCity}}" round position="bottom" custom-style="height: 50%" bind:close="onClose" z-index="10000" >
<van-picker columns="{{ columns }}" show-toolbar title="选择地区" columns="{{ columns }}" value-key="area_name" bind:cancel="onCancel" bind:change="onChangePicker" bind:confirm="onConfirm" />
</van-popup>
<dialog bind:confirm="confirm" bind:cancel="cancelAlert" showDialog="{{showdialog}}" message="{{messageTitle}}" cancelBtn="{{cancelBtn}}"></dialog>
<van-dialog id="agreeDialog" use-slot title="知情同意书" message="{{messageAgree}}" show-cancel-button="{{true}}" cancel-button-text="取消" confirm-button-text="{{confirmtext}}" confirm-button-color="{{confirmColor}}" >
<view class="agreecon">
<rich-text nodes="{{nodes}}" space="nbsp"></rich-text></view>
<!-- bind:cancel="onClose" bind:close="onCloseAgree" show="{{showAgree}}"bind:confirm="confirmAgree" -->
</van-dialog>
<!-- <dialog bind:confirm="confirmAgree" bind:cancel="cancelAgree" showDialog="{{showAgree}}" message="{{messageAgree}}" confirmtext="{{confirmtext}}" cancelBtn="{{true}}" confirmColor="{{confirmColor}}"></dialog> -->