武田小程序
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.

338 lines
12 KiB

<view class="page">
<view class="user">
1 year ago
<doctorAvatar
did="{{userInfo.DoctorId}}"
class="avatar"
src="{{userInfo.Img}}"
level="{{userInfo.DoctorLevel}}"
></doctorAvatar>
<image
class="code"
bind:tap="handleInvite"
src="{{imageUrl}}icon-code.png?t={{Timestamp}}"
></image>
<view class="wrap">
<view class="w-header">
1 year ago
<view class="name">{{userInfo.Name}}</view>
<view class="desc">
1 year ago
<block wx:if="{{userInfo.TitleType === 99}}">{{userInfo.OtherTitle}}</block>
<block wx:else>{{DoctorTitleType[userInfo.TitleType]}}</block>
<block wx:for="{{userInfo.Department}}" wx:key="DepartmentId">
<view class="line"></view>
{{item.DepartmentName}}
</block>
</view>
</view>
<view class="w-container">
1 year ago
<view class="hostipal">{{userInfo.HospitalName}}</view>
<view class="tag">{{userInfo.HospitalClassificationName}}{{userInfo.HospitalLevelName}}</view>
<view class="site" wx:if="{{userInfo.CityName}}">
{{userInfo.CityName}}{{userInfo.CountyName?'/':''}}{{userInfo.CountyName}}
</view>
</view>
1 year ago
<view class="w-footer" wx:if="{{userInfo.Specialty.length}}">
<image
class="wf-label"
src="{{imageUrl}}text-specialty.png?t={{Timestamp}}"
mode="aspectFit"
></image>
<view
class="wf-tag"
wx:for="{{userInfo.Specialty}}"
wx:key="SpecialtyId"
>{{item.SpecialtyName}}
</view>
</view>
</view>
</view>
<view class="banner">
<view class="title" style="background: url({{imageUrl}}home-banner-title-bg.png?r={{Timestamp}}) no-repeat top center/262rpx 116rpx;">
1 year ago
待处理事项
</view>
<view class="bg">
<view class="b-container" wx:if="{{take.dealCaseCount>0 || take.notReadFeedBackCount>0 || take.notReadChatRoomCount>0 || take.toAuditDoctorCount>0}}">
1 year ago
<view class="item" bind:tap="handlePendCase">
<view class="name">待处理病历</view>
<view class="num">
<view class="num-center">
{{take.dealCaseCount*1 || '--'}}
<view class="dot" wx:if="{{take.dealCaseCount*1}}"></view>
</view>
</view>
</view>
1 year ago
<view class="item" bind:tap="handleCaseUpdate">
<view class="name">病历更新</view>
1 year ago
<view class="num">{{take.notReadFeedBackCount*1 || '--'}}</view>
</view>
1 year ago
<view class="item" bind:tap="handleChat">
<view class="name">学习窗消息</view>
1 year ago
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view>
</view>
1 year ago
<view class="item" bind:tap="handleAudit">
<view class="name">医生待审核</view>
1 year ago
<view class="num">{{take.toAuditDoctorCount*1 || '--'}}</view>
</view>
</view>
1 year ago
<view class="b-container-none" wx:else>暂时没有需要处理的事项哦~</view>
</view>
</view>
<view
class="stat"
1 year ago
wx:if="{{case.totalCaseCount>0}}"
style="background: url({{imageUrl}}home-stat-bg.png?r={{Timestamp}}) no-repeat top center/100% 100%;"
>
<view class="title">我管理的病历</view>
1 year ago
<view class="more" bind:tap="handleCaseUpdate">
查看全部
<van-icon name="arrow" />
</view>
<view class="s-container">
<view class="item">
<view class="name">全部</view>
<view
class="num"
bind:tap="handleCase"
data-type="0"
>{{case.totalCaseCount}}
</view>
</view>
<view class="line"></view>
<view class="item">
<view class="name" bind:tap="handleNewCase">
新病历
<van-icon
catch:tap="handleQuestion"
data-index="1"
name="question"
color="rgba(224, 224, 224, 1)"
/>
</view>
<view
class="num"
bind:tap="handleCase"
data-type="2"
>{{case.newCaseCount}}
</view>
1 year ago
<view class="item-toast" wx:if="{{newCaseShow}}">
<image
class="i-clsoe"
src="{{imageUrl}}icon-close.png?r={{Timestamp}}"
catch:tap="handleNewCaseClose"
></image>
1 year ago
<view class="i-row">本人提交:{{case.newOneCaseCount}}</view>
<view class="i-line"></view>
<view class="i-row">他人提交:{{case.newTwoCaseCount}}</view>
</view>
</view>
<view class="line"></view>
<view class="item">
<view class="name">
讨论中
<van-icon
catch:tap="handleQuestion"
data-index="2"
name="question"
color="rgba(224, 224, 224, 1)"
/>
</view>
<view
class="num"
bind:tap="handleCase"
data-type="3"
>{{case.feedbackCaseCount}}
</view>
</view>
<view class="line"></view>
<view class="item">
<view class="name">
已归档
<van-icon
bind:tap="handleQuestion"
data-index="3"
name="question"
color="rgba(224, 224, 224, 1)"
/>
</view>
<view
class="num"
bind:tap="handleCase"
data-type="4"
>{{case.archiveCaseCount}}
</view>
</view>
</view>
</view>
1 year ago
<view
class="stat-none"
style="background: url({{imageUrl}}home-stat-bg.png?r={{Timestamp}}) no-repeat top center/100% 100%;"
wx:else
>
1 year ago
<view class="title">我管理病历</view>
1 year ago
<view class="s-container">
<image class="none" src="{{imageUrl}}empty-3.png?t={{Timestamp}}"></image>
1 year ago
<view class="tip">还没有提交病历</view>
1 year ago
<view class="btn" bind:tap="handleEntryCase">提交病历</view>
1 year ago
</view>
</view>
1 year ago
<view class="cooperate" wx:if="{{cooperateList.length}}">
<view class="cooperate-header">
1 year ago
<view class="name">我合作的医生({{cooperateList.length}})</view>
<view class="fold" bind:tap="toggleFold1">
<block wx:if="{{fold1}}">
展开
<image class="icon" src="{{imageUrl}}fold-down.png?t={{Timestamp}}"></image>
</block>
<block wx:else>
收起
<image class="icon" src="{{imageUrl}}fold-top.png?t={{Timestamp}}"></image>
</block>
</view>
</view>
<view
id="fold1"
class="doctor-list {{fold1 && 'doctor-list-fold'}}"
style="--fold-height: {{foldHeight1}}px;"
>
<view
class="doctor"
wx:for="{{cooperateList}}"
wx:key="DoctorId"
bind:tap="handleCooperateDetail"
data-index="{{index}}"
>
1 year ago
<doctorAvatar
id="cooperate{{index}}"
1 year ago
did="{{item.DoctorId}}"
class="avatar"
src="{{item.DoctorImg}}"
level="{{item.DoctorLevel}}"
></doctorAvatar>
<view class="wrap">
<view class="w-header">
1 year ago
<view class="name">{{item.DoctorName}}</view>
<view class="label" wx:if="{{item.TitleType===99}}">{{item.DoctorOtherTitle}}</view>
<view class="label" wx:else>{{DoctorTitleType[item.DoctorTitleType]}}</view>
<block wx:for="{{item.department}}" wx:key="DepartmentId">
<view class="line"></view>
<view class="label">{{item.DepartmentName}}</view>
</block>
</view>
<view class="w-container">
1 year ago
<text class="hostipal">{{item.HospitalName}}</text>
<view class="tag">
{{hospitalClassification[item.HospitalClassification]}}{{hospitalLevel[item.HospitalLevel]}}
</view>
<view class="site" wx:if="{{item.CityName}}">
{{item.CityName}}{{item.CountyName?'/':''}}{{item.CountyName}}
</view>
</view>
1 year ago
<view class="w-footer" wx:if="{{item.specialty.length}}">
<image
class="wf-label"
src="{{imageUrl}}text-specialty.png?t={{Timestamp}}"
mode="aspectFit"
></image>
<view
class="wf-tag"
wx:for="{{item.specialty}}"
wx:key="SpecialtyId"
>{{item.SpecialtyName}}
</view>
</view>
</view>
</view>
</view>
</view>
1 year ago
<view class="cooperate-none" wx:else>
<view class="cooperate-header">
<view class="name">我合作的医生</view>
</view>
<view class="none">
<image class="none-img" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image>
1 year ago
<view class="content">
还没有合作医生哦
<view class="sub-content">合作医生出示邀约码您用微信扫一扫即可绑定</view>
</view>
</view>
</view>
1 year ago
<view class="invite" wx:if="{{inviteList.length}}">
<view class="invite-header">
1 year ago
<view class="name">我邀约的医生({{inviteList.length}})</view>
<view class="fold" bind:tap="toggleFold2">
<block wx:if="{{fold2}}">
展开
<image class="icon" src="{{imageUrl}}fold-down.png?t={{Timestamp}}"></image>
</block>
<block wx:else>
收起
<image class="icon" src="{{imageUrl}}fold-top.png?t={{Timestamp}}"></image>
</block>
</view>
</view>
<view
id="fold2"
class="doctor-list {{fold2 && 'doctor-list-fold'}}"
style="--fold-height: {{foldHeight2}}px;"
>
<view
class="doctor"
wx:for="{{inviteList}}"
wx:key="DoctorId"
bind:tap="handleInviteDetail"
data-index="{{index}}"
>
1 year ago
<doctorAvatar
id="invite{{index}}"
1 year ago
did="{{item.DoctorId}}"
class="avatar"
src="{{item.DoctorImg}}"
level="{{item.DoctorLevel}}"
></doctorAvatar>
<view class="wrap">
<view class="w-header">
1 year ago
<view class="name">{{item.DoctorName}}</view>
<view class="label" wx:if="{{item.TitleType===99}}">{{item.DoctorOtherTitle}}</view>
<view class="label" wx:else>{{DoctorTitleType[item.DoctorTitleType]}}</view>
<block wx:for="{{item.department}}" wx:key="DepartmentId">
<view class="line"></view>
<view class="label">{{item.DepartmentName}}</view>
</block>
1 year ago
<view class="invite-doctor" wx:if="{{item.Level3DoctorName}}">{{item.Level3DoctorName}}医生指派</view>
</view>
<view class="w-container">
1 year ago
<text class="hostipal">{{item.HospitalName}}</text>
<view class="tag">
{{hospitalClassification[item.HospitalClassification]}}{{hospitalLevel[item.HospitalLevel]}}
</view>
<view class="site" wx:if="{{item.CityName}}">
{{item.CityName}}{{item.CountyName?'/':''}}{{item.CountyName}}
</view>
</view>
1 year ago
<view class="w-footer" wx:if="{{item.specialty.length}}">
<image
class="wf-label"
src="{{imageUrl}}text-specialty.png?t={{Timestamp}}"
mode="aspectFit"
></image>
<view
class="wf-tag"
wx:for="{{item.specialty}}"
wx:key="SpecialtyId"
>{{item.SpecialtyName}}
</view>
</view>
</view>
</view>
</view>
</view>
1 year ago
<view class="invite-none" wx:else>
<view class="cooperate-header">
<view class="name">我邀约的医生</view>
</view>
<view class="none">
1 year ago
<image class="none-img1" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image>
1 year ago
<view class="content">还没有邀约医生哦</view>
1 year ago
</view>
</view>
</view>