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.
1 lines
3.9 KiB
1 lines
3.9 KiB
<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view style="display:flex;"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><view>{{dates.year}}</view></picker><image style="width:30rpx;height:30rpx;margin:10rpx 0 0 10rpx;" src="{{$root.m0}}" alt class="_img"></image></view><view style="margin:0 10rpx;">|</view><view>{{''+today.month+"."+dates.day+''}}</view></view><view class="monthbox"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['dateMonth',['$0'],[[['months','',key]]]]]]]}}" class="{{['month_class',(item==dates.month)?'month_color':'',(item>month)?'month_color2':'']}}" bindtap="__e"><text>{{item}}</text></view></block></view></view></view><view class="taskbox"><block wx:for="{{user}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="itembox"><view class="top"><view class="left"><image src="{{$root.m1}}" alt class="_img"></image><view><text>{{item.name+"任务总数"}}</text><text>{{nub}}</text></view></view><view class="right"><block wx:if="{{nub}}"><view style="margin-right:10rpx;">完成</view></block><view><block wx:if="{{nub}}"><text>{{item.tasknub+'/'+nub+"件"}}</text></block><block wx:else><text>暂无任务</text></block></view></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m2}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'8dd740cc-1-'+key}}" type="ring" opts="{{opts}}" chartData="{{chartData}}" bind:__l="__l"></qiun-data-charts></view></block><view style="width:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;"><block wx:for="{{chartData.series[0].data}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="tagbox"><view class="tag" style="{{('background:'+opts.color[key]+';')}}"></view><text>{{item.name+"-------"+item.value+"个"}}</text></view></block></view></view></view></block></view><view class="listbox"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:12rpx;height:34rpx;margin-top:6rpx;background-color:#9D80FF;color:#9D80FF;">1</view><view class="type">{{''+item.$orig.taskType+''}}</view></view><view class="namebox"><view class="name">{{''+item.$orig.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.$orig.company.useNature=='重点单位'}}"><view class="tag">{{''+item.$orig.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.$orig.company.useNature+''}}</view></block></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>主负责人:</view><view class="zhu">{{item.$orig.organization.name}}</view></view><view class="jiancha">待检查</view></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>协助人员:</view><block wx:for="{{item.l0}}" wx:for-item="i" wx:for-index="k" wx:key="k"><view style="display:flex;justify-content:center;align-items:center;"><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='主查人员'}}"><image src="{{i.m3}}" alt class="_img"></image></block><block wx:if="{{i.$orig.posts&&i.$orig.posts[0]=='协查人员'}}"><image src="{{i.m4}}" alt class="_img"></image></block>{{''+i.$orig.name+''}}</view></block></view></view><view class="staffbox"><view class="staff"><view>检查时间:</view><view>{{item.$orig.checkTime}}</view></view></view></view><view class="implement"><block wx:if="{{false}}"><view class="button"><button data-event-opts="{{[['tap',[['start',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">执行</button></view></block><image src="{{$root.m5}}" alt class="_img"></image></view></view></view></block></view></view> |