|
|
@@ -0,0 +1,74 @@
|
|
|
+<view class="head">
|
|
|
+ <view class="count">
|
|
|
+ 科室
|
|
|
+ </view>
|
|
|
+ <view class="expand">
|
|
|
+ <van-search wx:if="{{showSearch}}" custom-class='custom-class' focus='{{focus}}' value="{{ condition }}" shape="round" bind:change='onChange' bind:search='onSearch' bind:clear='onSearch' placeholder="搜索关键词" background='#F4F5F7' />
|
|
|
+ <navigator url="#" class="but" bindtap="toSearch">
|
|
|
+ <van-icon name="search" />
|
|
|
+ </navigator>
|
|
|
+ <navigator wx:if="{{disabled}}" url="#" class="but" bindtap="insetr">
|
|
|
+ <van-icon name="plus" />
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+<navigator url="/prsx/department/detail?id={{item.sa_hospitaldepid}}" class="project-item" wx:for="{{list}}" wx:key="sa_hospitaldepid">
|
|
|
+ <view class="chart">
|
|
|
+ <view class="circle">
|
|
|
+ <view class="circle_left ab" style="{{render.leftRate(item.progress)}}" />
|
|
|
+ <view class="circle_right ab" style="{{render.rightRate(item.progress)}}" />
|
|
|
+ <view class="circle_text">
|
|
|
+ <text class="value">{{item.stage+'/'+item.totalstage}}</text>
|
|
|
+ <text class="name">{{item.stagename}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="main">
|
|
|
+ <view class="label">
|
|
|
+ <view class="title line-1">{{item.hospitaldepname}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="tag-box">
|
|
|
+ <view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{item}}</view>
|
|
|
+ <view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{item}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="replenish">
|
|
|
+ <text style="color: #666;">科室类别:</text>
|
|
|
+ <text>{{item.type}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="replenish">
|
|
|
+ <text style="color: #666;">所属医院:</text>
|
|
|
+ <text>{{item.enterprisename || ' --'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="replenish">
|
|
|
+ <text style="color: #666;">科室负责人:</text>
|
|
|
+ <text>{{item.doctors || '--'}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="replenish">
|
|
|
+ <text style="color: #666;">负责人:</text>
|
|
|
+ <text>{{item.leader[0].name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="replenish">
|
|
|
+ <text style="color: #666;">备注:</text>
|
|
|
+ <text>{{item.remarks || '--'}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</navigator>
|
|
|
+<My_empty wx:if="{{list.length==0}}" />
|
|
|
+
|
|
|
+
|
|
|
+<wxs module="render">
|
|
|
+ module.exports = {
|
|
|
+ rightRate: function (rate) {
|
|
|
+ if (rate - 0 < 50) {
|
|
|
+ return 'transform: rotate(' + 3.6 * (rate - 0) + 'deg);';
|
|
|
+ } else {
|
|
|
+ return 'transform: rotate(0);border-color: var(--assist);';
|
|
|
+ }
|
|
|
+ },
|
|
|
+ leftRate: function (rate) {
|
|
|
+ if (rate - 0 >= 50) {
|
|
|
+ return 'transform: rotate(' + 3.6 * (rate - 50) + 'deg);';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</wxs>
|