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.
384 lines
11 KiB
384 lines
11 KiB
<view class="page"> |
|
<view class="user"> |
|
<doctorAvatar |
|
did="{{userInfo.DoctorId}}" |
|
class="avatar" |
|
src="{{userInfo.Img}}" |
|
level="4" |
|
></doctorAvatar> |
|
<image |
|
class="code" |
|
bind:tap="handleInvite" |
|
src="{{imageUrl}}icon-code.png?t={{Timestamp}}" |
|
></image> |
|
<view class="wrap"> |
|
<view class="w-header"> |
|
<view class="name">{{userInfo.Name}}</view> |
|
<view class="desc"> |
|
<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"> |
|
<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> |
|
<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;"> |
|
待处理事项 |
|
</view> |
|
<view class="bg"> |
|
<view class="b-container"> |
|
<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> |
|
<view class="item" bind:tap="handleChat"> |
|
<view class="name">学习窗消息</view> |
|
<view class="num">{{take.notReadChatRoomCount*1 || '--'}}</view> |
|
</view> |
|
<view class="item" bind:tap="handleAudit"> |
|
<view class="name">医生待审核</view> |
|
<view class="num">{{take.toAuditDoctorCount*1 || '--'}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="stat" style="background: url({{imageUrl}}home-stat-bg.png?r={{Timestamp}}) no-repeat top center/100% 100%;"> |
|
<view class="title">本科室全部病历</view> |
|
<picker |
|
class="picker" |
|
range="{{Department}}" |
|
range-key="DepartmentName" |
|
bind:change="handleChangeDept" |
|
> |
|
<view class="picker-content"> |
|
<view class="text">{{DepartmentName}}</view> |
|
<van-icon name="arrow-down" /> |
|
</view> |
|
</picker> |
|
<view class="more" bind:tap="handleAllCase"> |
|
查看全部 |
|
<van-icon name="arrow" /> |
|
</view> |
|
<view class="s-container" wx:if="{{case.totalCaseCount>0}}"> |
|
<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" bind:tap="handleNewCase"> |
|
<view class="name"> |
|
新病历 |
|
<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> |
|
<view class="item-toast" wx:if="{{newCaseShow}}"> |
|
<image |
|
class="i-clsoe" |
|
src="{{imageUrl}}icon-close.png?r={{Timestamp}}" |
|
catch:tap="handleNewCaseClose" |
|
></image> |
|
<view class="i-row">本科室:{{case.newOneCaseCount}}</view> |
|
<view class="i-line"></view> |
|
<view class="i-row">无科室:{{case.newTwoCaseCount}}</view> |
|
</view> |
|
</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="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 class="s-container-none" wx:else> |
|
<image class="none" src="{{imageUrl}}empty-3.png?t={{Timestamp}}"></image> |
|
<view class="tip">暂时还没有医生提交病历哦~</view> |
|
</view> |
|
</view> |
|
<view class="department" wx:if="{{doctorCount.TotalCount>0}}"> |
|
<view class="d-header"> |
|
<view class="name">本科室医生</view> |
|
<view class="more" bind:tap="handleAllDoctor"> |
|
查看全部 |
|
<van-icon name="arrow" /> |
|
</view> |
|
</view> |
|
<view class="d-container"> |
|
<view class="item"> |
|
<view class="name">医生总数</view> |
|
<view class="num">{{doctorCount.TotalCount}}</view> |
|
</view> |
|
<view class="item"> |
|
<view class="name">质控医生</view> |
|
<view class="num">{{doctorCount.ThreeCount}}</view> |
|
</view> |
|
<view class="item"> |
|
<view class="name">核心医生</view> |
|
<view class="num">{{doctorCount.TwoCount}}</view> |
|
</view> |
|
<view class="item"> |
|
<view class="name">一级医生</view> |
|
<view class="num">{{doctorCount.OneCount}}</view> |
|
</view> |
|
</view> |
|
<view class="tip">注:一级医生为平台全部医生,不区分科室</view> |
|
</view> |
|
<view class="department-none" wx:else> |
|
<view class="d-header"> |
|
<view class="name">本科室医生</view> |
|
</view> |
|
<view class="d-container"> |
|
<image class="none-img" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image> |
|
<view class="none-title">暂无数据</view> |
|
</view> |
|
</view> |
|
<view class="chart-card"> |
|
<view class="c-header"> |
|
<view class="name"> |
|
科室医生入驻情况 |
|
<van-icon |
|
bind:tap="handleQuestion" |
|
data-index="4" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<picker |
|
class="picker" |
|
mode="date" |
|
end="{{endYear}}" |
|
fields="year" |
|
bindchange="handleYear1" |
|
> |
|
<view class="picker-content"> |
|
<view class="text">{{year1}}年</view> |
|
<van-icon name="arrow-down" /> |
|
</view> |
|
</picker> |
|
</view> |
|
<view class="chart-none" wx:if="{{empty1}}"> |
|
<view class="d-container"> |
|
<image class="none-img" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image> |
|
<view class="none-title">暂无数据</view> |
|
</view> |
|
</view> |
|
<block wx:else> |
|
<view class="chart"> |
|
<ec-canvas |
|
id="chart1" |
|
canvas-id="mychart-bar" |
|
ec="{{ ec }}" |
|
></ec-canvas> |
|
</view> |
|
<view class="tip">注:一级医生为平台全部医生,不区分科室</view> |
|
</block> |
|
</view> |
|
<view class="chart-card"> |
|
<view class="c-header"> |
|
<view class="name"> |
|
累计病历统计 |
|
<van-icon |
|
bind:tap="handleQuestion" |
|
data-index="5" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<picker |
|
class="picker" |
|
mode="date" |
|
end="{{endYear}}" |
|
fields="year" |
|
bindchange="handleYear2" |
|
> |
|
<view class="picker-content"> |
|
<view class="text">{{year2}}年</view> |
|
<van-icon name="arrow-down" /> |
|
</view> |
|
</picker> |
|
</view> |
|
<view class="chart-none" wx:if="{{empty2}}"> |
|
<view class="d-container"> |
|
<image class="none-img" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image> |
|
<view class="none-title">暂无数据</view> |
|
</view> |
|
</view> |
|
<view class="chart" wx:else> |
|
<ec-canvas |
|
id="chart2" |
|
canvas-id="mychart-bar" |
|
ec="{{ ec }}" |
|
></ec-canvas> |
|
</view> |
|
</view> |
|
<view class="chart-card"> |
|
<view class="c-header"> |
|
<view class="name"> |
|
科室新增病历统计 |
|
<van-icon |
|
bind:tap="handleQuestion" |
|
data-index="6" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<picker |
|
class="picker" |
|
mode="date" |
|
end="{{endYear}}" |
|
fields="year" |
|
bindchange="handleYear3" |
|
> |
|
<view class="picker-content"> |
|
<view class="text">{{year3}}年</view> |
|
<van-icon name="arrow-down" /> |
|
</view> |
|
</picker> |
|
</view> |
|
<view class="chart-none" wx:if="{{empty3}}"> |
|
<view class="d-container"> |
|
<image class="none-img" src="{{imageUrl}}empty-4.png?t={{Timestamp}}"></image> |
|
<view class="none-title">暂无数据</view> |
|
</view> |
|
</view> |
|
<view class="chart" wx:else> |
|
<ec-canvas |
|
id="chart3" |
|
canvas-id="mychart-bar" |
|
ec="{{ ec }}" |
|
></ec-canvas> |
|
</view> |
|
</view> |
|
<view class="rank"> |
|
<view class="r-header"> |
|
<view class="title"> |
|
医院活跃排行榜 |
|
<van-icon |
|
bind:tap="handleQuestion" |
|
data-index="7" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<view class="more" bind:tap="handleRankDetail"> |
|
查看全部 |
|
<van-icon name="arrow" /> |
|
</view> |
|
</view> |
|
<view class="table"> |
|
<view class="thead"> |
|
<view class="th1">医院</view> |
|
<view class="th2">医生总数</view> |
|
<view class="th3">S1 |
|
<van-icon |
|
class="icon" |
|
catch:tap="handleQuestion" |
|
data-index="8" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<view class="th4">S2 |
|
<van-icon |
|
catch:tap="handleQuestion" |
|
data-index="9" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
<view class="th5">S3 |
|
<van-icon |
|
catch:tap="handleQuestion" |
|
data-index="10" |
|
name="question" |
|
color="rgba(224, 224, 224, 1)" |
|
/> |
|
</view> |
|
</view> |
|
<view class="tbody"> |
|
<view |
|
class="tr" |
|
wx:for="{{rankList}}" |
|
wx:key="HospitalId" |
|
> |
|
<view class="td1">{{index+1}} {{item.HospitalName}}</view> |
|
<view class="td2">{{item.TotalDoctorCount}}</view> |
|
<view class="td3">{{item.DoctorLevel1Count}}</view> |
|
<view class="td4">{{item.DoctorLevel2Count}}</view> |
|
<view class="td5">{{item.DoctorLevel3Count}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view>
|
|
|