武田小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
3.9 KiB

6 months ago
<view class="page">
<view class="header">
<view class="tip">邀请医生进行病历反馈,提交后医生将收到消息提醒</view>
<view class="search-wrap">
<view class="search">
<image class="icon" src="{{imageUrl}}icon-search.png?t={{Timestamp}}"></image>
<input
model:value="{{search}}"
class="input"
placeholder-class="place-input"
placeholder="搜索医生名"
type="text"
confirm-type="search"
bindconfirm="handleSearch"
/>
</view>
<view class="reset" bind:tap="handleReset">重置</view>
</view>
<view class="options">
<view class="option-wrap" bind:tap="handleHostipal">
<view class="option">
<text class="option-text">{{HospitalName || '医院'}}</text>
<image class="icon" src="{{imageUrl}}triangle-down.png?t={{Timestamp}}"></image>
</view>
</view>
<view class="option-wrap" bind:tap="handleArea">
<view class="option">
<text class="option-text">{{CountyName || '地区'}}</text>
<image class="icon" src="{{imageUrl}}triangle-down.png?t={{Timestamp}}"></image>
</view>
</view>
<picker class="option-wrap" range="{{SpecialtyList}}" range-key="label" bindchange="handleSpecialChange">
<view class="option">
<text class="option-text">{{SpecialtyName || '医生专长'}}</text>
<image class="icon" src="{{imageUrl}}triangle-down.png?t={{Timestamp}}"></image>
</view>
</picker>
</view>
</view>
<view class="container">
<radio-group>
<view class="list">
<view class="list-item" wx:for="{{list}}" wx:key="DoctorId">
<radio class="radio" value="{{item.DoctorId}}" bind:tap="handleRadio" data-index="{{index}}"></radio>
<view class="card" bind:tap="handlePopupDetail" data-index="{{index}}">
<doctorAvatar class="avatar" src="{{item.doctorImg}}" level="{{item.doctorLevel}}"></doctorAvatar>
<view class="wrap">
<view class="w-header">
<view class="name">{{item.doctorName}}</view>
<view class="label">{{item.doctorTitleName || item.doctorOtherTitle}}</view>
<block wx:for-item="depart" wx:for="{{item.doctorDept}}" wx:key="departmentId">
<view class="line"></view>
<view class="label">{{depart.DepartmentName}}</view>
</block>
</view>
<view class="w-container">
<text class="hostipal">{{item.hospitalName}}</text>
<view class="tag">{{item.hospitalClassificationName}}{{item.hospitalLevelName}}</view>
<view class="site" wx:if="{{item.cityName}}">
{{item.cityName}}{{item.countyName?'/':''}}{{item.countyName}}
</view>
</view>
<view class="w-footer">
<image class="wf-label" src="{{imageUrl}}text-specialty.png?t={{Timestamp}}" mode="aspectFit"></image>
<view class="wf-tag" wx:for="{{item.doctorSpecialty}}" wx:for-item="spec" wx:key="SpecialtyId">
{{spec.SpecialtyName}}
</view>
</view>
</view>
</view>
</view>
<pagination pagination="{{pagination}}"></pagination>
</view>
</radio-group>
</view>
<view class="footer">
<view class="cancel" bind:tap="handleBack">返回</view>
<view class="submit" bind:tap="handleSubmit">确认提交</view>
</view>
</view>
<popupDoctorDetail
show="{{showDetail}}"
params="{{popupDoctorDetail}}"
bind:close="handlePopupClose"
></popupDoctorDetail>
<van-popup show="{{ showArea }}" round position="bottom">
<van-cascader
value="{{ cascaderValue }}"
title="请选择所在地区"
options="{{ area }}"
field-names="{{fieldNames}}"
bind:close="onClose"
bind:finish="onFinish"
/>
</van-popup>