249 lines
9.7 KiB
Plaintext
249 lines
9.7 KiB
Plaintext
<view class="photo">
|
||
<view class="title">头像 <text class="required"> *</text></view>
|
||
<van-uploader bind:after-read="doUploadFile" 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">
|
||
<t-icon name="chevron-right" size="48rpx" data-name="chevron-right" />
|
||
</view>
|
||
</view>
|
||
</van-uploader>
|
||
</view>
|
||
|
||
<!-- <t-cell title="头像" hover required arrow note="真人正脸" /> -->
|
||
<t-cell title="城市" hover required arrow note="{{ city_note }}" bindtap="onCityShow"/>
|
||
|
||
<t-cascader
|
||
visible="{{ city_show }}"
|
||
theme="tab"
|
||
value="{{ select_county_id }}"
|
||
options="{{ areaList }}"
|
||
title="请选择地址"
|
||
sub-titles="{{area_sub_titles}}"
|
||
bind:change="onChangeCity"
|
||
></t-cascader>
|
||
|
||
<t-cell title="医院" hover required arrow note="{{ yiyuan_note }}" bindtap="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-popup>
|
||
<t-cell title="科室" hover required arrow note="{{keshi_note}}" bindtap="onKeshiShow" bordered="{{ select_keshi_id == '' }}"/>
|
||
|
||
<view class="custom_keshi" wx:if="{{ select_keshi_id != ''}}">
|
||
<van-field model:value="{{custom_keshi}}" label="" placeholder="请输入科室"/>
|
||
</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
|
||
position="bottom"
|
||
bind:close="onZhiYeClose"
|
||
>
|
||
<view class="zhiye_popup">
|
||
<view class="zhiye_popup_title">医师执业证示例</view>
|
||
<view class="zhiye_popup_img"></view>
|
||
<view class="zhiye_popup_img"></view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<van-popup
|
||
show="{{ zige_show }}"
|
||
closeable
|
||
round
|
||
position="bottom"
|
||
bind:close="onZiGeClose"
|
||
>
|
||
<view class="zhiye_popup">
|
||
<view class="zhiye_popup_title">医师资格证示例</view>
|
||
<view class="zhiye_popup_img"></view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<van-popup
|
||
show="{{ zhicheng_img_show }}"
|
||
closeable
|
||
round
|
||
position="bottom"
|
||
bind:close="onZhiChengImgClose"
|
||
>
|
||
<view class="zhiye_popup">
|
||
<view class="zhiye_popup_title">职称证示例</view>
|
||
<view class="zhiye_popup_img"></view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<t-popup visible="{{zhuanchang_show}}" bind:visible-change="onZhuanChangVisibleChange" placement="bottom">
|
||
<view class="zhuanchang_block">
|
||
<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>
|
||
</t-popup>
|
||
|
||
<t-cell title="职称" hover required arrow note="{{zhicheng_note}}" bindtap="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 }}"
|
||
label="科室电话"
|
||
placeholder="请输入科室电话"
|
||
placeholder-style="font-size:25rpx;letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
|
||
input-align="right"
|
||
required
|
||
clearable
|
||
custom-style="font-size:30rpx;"
|
||
/>
|
||
|
||
<view class="zhuanchang" bindtap="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">请选择专长</view>
|
||
<view class="icon">
|
||
<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_content_placeholder="您的从业经历,职称,所获荣誉等信息(10~1000字)"
|
||
textarea_val="{{textarea_jianjie}}"
|
||
data-textarea_name="textarea_jianjie" bindTextAreaBlur="getTextAreaVal" />
|
||
|
||
<m-textarea-cell
|
||
textarea_cell_name="擅长领域"
|
||
t_icon_name="view-module"
|
||
bind:showNote="onshowShanChangNote"
|
||
textarea_val="{{textarea_shanchang}}"
|
||
textarea_cell_content_placeholder="您的专业领域、擅长疾病、研究方法等信息(10~1000字)"
|
||
textarea_cell_note="查看示例" 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"
|
||
bindUploadFile="doUploadFile"
|
||
bindDeleteFile="doDeleteFile"
|
||
upload_cell_desc="请提供清晰的职业证书原件照片,需包含证书编码、加盖钢印的证书照片、姓名、执业范围、最新执业医院,最少上传2张。"
|
||
upload_cell_note="查看示例"
|
||
wx:if="{{indentity}}"
|
||
/>
|
||
|
||
<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="查看示例"
|
||
wx:if="{{indentity}}"
|
||
/>
|
||
|
||
<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="查看示例"
|
||
wx:if="{{indentity}}"
|
||
/>
|
||
|
||
<view class="sub_button" wx:if="{{indentity}}">
|
||
<!-- <van-button color="#D3D3D3" disabled custom-style="border-radius: 20rpx;" type="primary" block>资料未填写完</van-button> -->
|
||
<van-button disabled="{{iden_auth_disabled}}" color="#3CC7C0" custom-style="border-radius: 20rpx;" type="primary" block bind:click="addDoctorAuthIden">{{iden_auth_status_txt}}</van-button>
|
||
</view> |