2023-05-11 11:13:50 +08:00

370 lines
16 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.

<view class="{{avatar_reason!=''?'photo':'photo_reason'}}">
<view class="title">头像 <text class="required"> *</text></view>
<van-uploader disabled="{{ indentity && iden_auth_disabled }}" bind:after-read="doUploadPhoto" data-scene="1" data-field_name="avatar" data-file_multiple="false">
<view class="right">
<view class="note">真人正脸</view>
<t-avatar image="{{ avatar }}" />
<view class="icon" wx:if="{{ !(indentity && iden_auth_disabled) }}">
<t-icon name="chevron-right" size="48rpx" data-name="chevron-right" />
</view>
</view>
</van-uploader>
</view>
<view class="has_error" wx:if="{{ avatar_reason != '' }}" >
<view class="error_box">
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
<text class="error_msg">{{ avatar_reason }}</text>
</view>
</view>
<!-- <t-cell title="头像" hover required arrow note="真人正脸" /> -->
<t-cell title="城市" hover required arrow="{{ !(indentity && iden_auth_disabled) }}" note="{{ city_note }}" bindtap="{{(indentity && iden_auth_disabled)?'':'onCityShow'}}"/>
<t-cascader
visible="{{ city_show }}"
theme="tab"
value="{{ select_county_id }}"
options="{{ areaList }}"
title="请选择地址"
sub-titles="{{area_sub_titles}}"
bind:change="onChangeCity"
bind:close="onCloseCity"
></t-cascader>
<t-cell title="医院" hover required arrow="{{ !(indentity && iden_auth_disabled) }}" note="{{ yiyuan_note }}" bindtap="{{(indentity && iden_auth_disabled)?'':'onYiYuanShow'}}"/>
<van-popup
show="{{ yiyuan_show }}"
position="bottom"
bind:close="onYiYuanClose"
round
>
<van-picker
show-toolbar
title="请选择医院"
columns="{{ yiyuan_columns }}"
default-index="{{select_yiyuan_index}}"
bind:cancel="onYiYuanCancel"
bind:confirm="onYiYuanConfirm"
bind:change="onYiYuanChange"
/>
<van-search
value="{{ hospital_search_val }}"
shape="round"
placeholder="搜索医院"
clearable
bind:change="hospitalSearchChange"
bind:search="hospitalSearch"
/>
<van-empty description="暂无医院" wx:if="{{yiyuan_columns.length == 0}}"/>
</van-popup>
<t-cell title="科室" hover required arrow="{{ !(indentity && iden_auth_disabled) }}" note="{{keshi_note}}"
bindtap="{{(indentity && iden_auth_disabled)?'':'onKeshiShow'}}" bordered="{{ select_keshi_id == '' }}"/>
<view class="custom_keshi" wx:if="{{ select_keshi_id != ''}}">
<van-field bind:change="onCustomKeshiChange"
disabled="{{(indentity && iden_auth_disabled)}}"
type="text" model:value="{{custom_keshi}}" label=""
placeholder="请输入您所在科室实际名称" border="{{department_custom_name_reason == ''}}" />
</view>
<view class="has_error" wx:if="{{ department_custom_name_reason != '' }}" >
<view class="error_box">
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
<text class="error_msg">{{ department_custom_name_reason }}</text>
</view>
</view>
<van-popup
show="{{ keshi_show }}"
position="bottom"
bind:close="onKeshiClose"
round
>
<van-picker
show-toolbar
title="请选择科室"
columns="{{ keshi_columns }}"
default-index="{{select_keshi_index}}"
bind:cancel="onKeshiCancel"
bind:confirm="onKeshiConfirm"
bind:change="onKeshiChange" />
</van-popup>
<van-popup
show="{{ zhicheng_show }}"
position="bottom"
bind:close="onZhiChengClose"
round
>
<van-picker
show-toolbar
title="请选择职称"
default-index="{{select_zhicheng_index}}"
columns="{{ zhicheng_columns }}"
bind:cancel="onZhiChengCancel"
bind:confirm="onZhiChengConfirm"
bind:change="onZhiChengChange" />
</van-popup>
<van-popup
show="{{ zhiye_show }}"
closeable
round
lock-scroll
position="bottom"
bind:close="onZhiYeClose"
>
<view class="zhiye_popup">
<view class="zhiye_popup_title">医师执业证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye2.png" />
</view>
</view>
</van-popup>
<van-popup
show="{{ zige_show }}"
closeable
round
lock-scroll
position="bottom"
bind:close="onZiGeClose"
>
<view class="zhiye_popup">
<view class="zhiye_popup_title">医师资格证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige2.png" />
</view>
</view>
</van-popup>
<van-popup
show="{{ zhicheng_img_show }}"
closeable
round
lock-scroll
position="bottom"
bind:close="onZhiChengImgClose"
>
<view class="zhiye_popup">
<view class="zhiye_popup_title">职称证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhicheng.png" />
</view>
</view>
</van-popup>
<van-popup
show="{{ jianjie_show }}"
closeable
round
position="bottom"
bind:close="onJianjieClose"
>
<view class="jianjie_popup">
博士xxxx医院肝病科副主任医师硕士研究生导师中华医学会肝病学分会青年委员北京医学会感染病学分会委员2015首都十大杰出青年医生2020年中华医学会抗击新冠优秀个人作为主要研究者参与各级科研课题10项发表学术论文10余篇其中SCI文章2篇
</view>
</van-popup>
<van-popup
show="{{ shanchang_show }}"
closeable
round
position="bottom"
bind:close="onshowShanChangNoteClose"
>
<view class="jianjie_popup">
肝病的个体化治疗、致力于各种肝病尤其肝衰竭的临床诊治,尤其专注于终末期肝病营养相关临床和基础研究。
</view>
</van-popup>
<t-popup visible="{{zhuanchang_show}}"
prevent-scroll-through
bind:visible-change="onZhuanChangVisibleChange" placement="bottom">
<view class="zhuanchang_block" catchtouchmove="moveZhuanChang">
<view class="zhuanchang_header">
<view class="zhuanchang_btn zhuanchang_btn--cancel" aria-role="button" bindtap="zhuanchangConcle">取消</view>
<view class="zhuanchang_title">选择专长</view>
<view class="zhuanchang_btn zhuanchang_btn--confirm" aria-role="button" bindtap="zhuanchangConfirm">确定</view>
</view>
<view class="zhuanchang_box">
<view class="zhuanchang_box_item {{ data.is_selected==1?'zhuanchang_box_item_checked':'' }}" wx:key="expertise_name" bindtap="select_zhuanchang"
data-expertise_name="{{data.expertise_name}}"
data-expertise_id="{{data.expertise_id}}"
data-is_selected="{{data.is_selected}}"
data-index="{{idx}}"
wx:for="{{zhuanchang_columns}}"
wx:for-index="idx"
wx:for-item="data">
{{data.expertise_name}}
</view>
</view>
<view style="height: 60rpx;">
</view>
</view>
</t-popup>
<t-cell title="职称" hover required arrow="{{ !(indentity && iden_auth_disabled) }}" note="{{zhicheng_note}}"
bindtap="{{(indentity && iden_auth_disabled)?'':'onZhiChengShow'}}" />
<!-- <t-input
label="科室电话"
placeholder="请输入科室电话"
placeholder-style="font-size: 25rpx !important; letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
align="right"
suffixIcon="{{ { name: 'chevron-right', ariaLabel: '右' } }}" /> -->
<!-- <t-cell title="专长" hover required arrow note="请选择专长"/> -->
<van-field
model:value="{{ office_phone }}"
bind:change="onOfficePhoneChange"
placeholder="请输入科室电话"
placeholder-style="font-size:30rpx;letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
input-align="right"
type="number"
clearable
disabled="{{(indentity && iden_auth_disabled)}}"
border="{{ department_custom_mobile_reason == '' }}"
custom-style="font-size:30rpx;"
>
<text slot="label">科室电话 <text style="color: #e34d59;">*</text> </text>
</van-field>
<view class="has_error" wx:if="{{ department_custom_mobile_reason != '' }}" >
<view class="error_box">
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
<text class="error_msg">{{ department_custom_mobile_reason }}</text>
</view>
</view>
<view class="zhuanchang" bindtap="{{(indentity && iden_auth_disabled)?'':'onZhuanChangShow'}}">
<view class="title">专长 <text class="required"> *</text></view>
<view class="content">
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
{{data.expertise_name}}
</view>
</view>
<view class="right">
<view class="note">{{zhuanchang_note}}</view>
<view class="icon" wx:if="{{ !(indentity && iden_auth_disabled) }}">
<t-icon name="chevron-right" size="48rpx" data-name="chevron-right" />
</view>
</view>
</view>
<m-textarea-cell
textarea_cell_name="个人简介"
t_icon_name="view-module"
bind:showNote="onshowJianJieNote"
textarea_cell_note_show="{{!(indentity && iden_auth_disabled)}}"
textarea_cell_content_placeholder="您目前就职医院与科室、社会兼职、所获荣誉、参与科研课题及发表论文等信息10~1000字"
textarea_val="{{textarea_jianjie}}"
disabled="{{(indentity && iden_auth_disabled)}}"
has_error_content="{{ brief_introduction_reason }}"
data-textarea_name="textarea_jianjie"
bindTextAreaBlur="getTextAreaVal" />
<m-textarea-cell
textarea_cell_name="擅长领域"
t_icon_name="view-module"
bind:showNote="onshowShanChangNote"
textarea_cell_note_show="{{!(indentity && iden_auth_disabled)}}"
disabled="{{(indentity && iden_auth_disabled)}}"
textarea_val="{{textarea_shanchang}}"
has_error_content="{{ be_good_at_reason }}"
textarea_cell_content_placeholder="描述您所擅长治疗的疾病或者研究方向10~1000字"
data-textarea_name="textarea_shanchang" bindTextAreaBlur="getTextAreaVal" />
<m-upload-cell
upload_cell_name="医师执业证"
t_icon_name="view-module"
fileList="{{ zhiye_file_list }}"
max_count="3"
data-scene="2"
data-field_name="zhiye_file_list"
data-file_multiple="true"
bind:showNote="onshowZhiYeNote"
upload_cell_note_show="{{!(indentity && iden_auth_disabled)}}"
deletable="{{!(indentity && iden_auth_disabled)}}"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
upload_cell_desc="请提供清晰的执业证书原件照片照片需包含证书编号、加盖钢印的证书照片及姓名、执业范围、执业医院等信息最少上传2张。"
upload_cell_note="查看示例"
has_error_content="{{ license_cert_reason }}"
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<m-upload-cell
upload_cell_name="医师资格证"
t_icon_name="view-module"
fileList="{{ zige_file_list }}"
max_count="3"
data-scene="2"
data-field_name="zige_file_list"
data-file_multiple="true"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
bind:showNote="onshowZiGeNote"
upload_cell_desc="请提供清晰的资格证书原件照片照片需包含证书编号、加盖钢印的证书照片、姓名等信息最少上传1张。"
upload_cell_note="查看示例"
upload_cell_note_show="{{!(indentity && iden_auth_disabled)}}"
deletable="{{!(indentity && iden_auth_disabled)}}"
has_error_content="{{ qualification_cert_reason }}"
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<m-upload-cell
upload_cell_name="职称证"
t_icon_name="view-module"
fileList="{{ zhicheng_file_list }}"
max_count="3"
data-scene="2"
data-field_name="zhicheng_file_list"
data-file_multiple="true"
bind:showNote="onshowZhiChengImgNote"
bindUploadFile="doUploadFile"
bindDeleteFile="doDeleteFile"
upload_cell_desc="请提供清晰的职称证书原件照片照片需包含编号、加盖钢印的证书照片、姓名及职称等信息最少上传1张。"
upload_cell_note="查看示例"
upload_cell_note_show="{{!(indentity && iden_auth_disabled)}}"
deletable="{{!(indentity && iden_auth_disabled)}}"
has_error_content="{{ work_cert_reason }}"
wx:if="{{indentity}}"
disabled="{{(indentity && iden_auth_disabled)}}"
is_multiple="true"
static_host="{{static_host}}"
/>
<view class="sub_button" wx:if="{{indentity}}">
<van-button data-from="doctorauthiden" disabled="{{iden_auth_disabled}}" color="#3CC7C0" custom-style="border-radius: 20rpx;" type="primary" block bind:click="addDoctorAuthIden">{{iden_auth_status_txt}}</van-button>
</view>
<view class="sub_button" wx:else>
<van-button color="#3CC7C0" data-from="myinfo" disabled custom-style="border-radius: 20rpx;" type="primary" block bind:click="addDoctorAuthIden">{{iden_auth_status_txt}}</van-button>
</view>
<van-toast id="van-toast" />
<image-cropper show_cropper="{{show_cropper}}" id="image-cropper" limit_move="{{true}}" disable_rotate="{{true}}" width="{{img_cropper_width}}" height="{{img_cropper_height}}" imgSrc="{{img_cropper_src}}" disable_height="{{true}}" disable_width="{{true}}" disable_ratio="{{true}}" min_scale="0.1" max_scale="5" bindload="cropperload" bindimageload="loadimage" bindtapcut="clickcut"></image-cropper>