|
|
|
<wxs src="/utils/util.wxs" module="tools" />
|
|
|
|
<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">
|
|
|
|
<view class="list">
|
|
|
|
<view class="list-item" wx:for="{{list}}" wx:key="DoctorId">
|
|
|
|
<radio
|
|
|
|
class="radio"
|
|
|
|
checked="{{tools.include(item.doctorId,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>
|
|
|
|
</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>
|