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
4.8 KiB

<view class="page"><view class="top"><view class="pure_top"></view><view class="calendar"><view class="date_year"><view class="blueblock"></view><view class="year"><picker value="{{dates.year}}" mode="date" fields="year" data-event-opts="{{[['change',[['dateYear',['$event']]]]]}}" bindchange="__e"><text style="margin-right:12rpx;">{{dates.year}}</text></picker><image src="../../static/down.png" mode></image></view><view class="blackblock"></view><text>{{today.month+"."+dates.day}}</text></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.m0}}" alt class="_img"></image><view><text>{{item.name}}</text></view></view><view class="right"></view></view><view class="charts-box" style="display:flex;"><image src="{{$root.m1}}" alt class="_img"></image><block wx:if="{{identity}}"><view style="width:50%;"><qiun-data-charts vue-id="{{'e720980e-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="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><view class="item"><view class="typebox"><view style="width:80rpx;height:40rpx;line-height:40rpx;border-radius:4rpx;font-size:26rpx;text-align:center;margin-top:6rpx;background:#E63434;color:#fff;">派发</view><view class="type">{{''+item.company.companyName+''}}</view><view style="width:30%;padding-left:20rpx;"><block wx:if="{{item.company.useNature=='重点单位'}}"><view class="tag">{{''+item.company.useNature+''}}</view></block><block wx:else><view class="tag2">{{''+item.company.useNature+''}}</view></block></view></view><view class="namebox"><view class="name"><view style="width:12rpx;height:34rpx;margin-top:14rpx;background-color:#9D80FF;color:#9D80FF;"></view><view class="type">{{''+item.taskType+''}}</view></view></view><view class="staffbox"><view class="staff" style="flex:1;"><view>申请人:</view><view class="zhu">{{item.organization.name}}</view></view><block wx:if="{{item.approvalStatus!='已检查'}}"><view class="jiancha" style="color:#FFBA19;display:flex;margin-top:-10rpx;"><button data-event-opts="{{[['tap',[['tongguo',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">同意</button><button type="default" data-event-opts="{{[['tap',[['bohui',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">驳回</button></view></block><block wx:else><view class="jiancha" style="color:#FFBA19;">{{''+item.approvalStatus+''}}</view></block></view><view style="display:flex;"><view style="flex:1;"><view class="staffbox"><view class="staff"><view>申请时间:</view><view>{{item.creationTime}}</view><view data-event-opts="{{[['tap',[['chakan',['$0'],[[['list','',key]]]]]]]}}" bindtap="__e">查看</view></view><block wx:if="{{item.approvalStatus=='通过'||item.approvalStatus=='驳回'}}"><view class="{{['jiancha',(item.approvalStatus=='通过')?'jiancha_color':'']}}">{{'已'+item.approvalStatus+''}}</view></block></view></view><view class="implement"></view></view></view></block></view><block wx:if="{{index}}"><view class="taskadd"><view class="itembox"><view class="item_top"><view>任务申领</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index}}"><view class="item_content"><task-add bind:apply="__e" vue-id="e720980e-2" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-add></view></block><block wx:if="{{index2}}"><view class="item_content"><task-det bind:apply="__e" vue-id="e720980e-3" data-event-opts="{{[['^apply',[['apply']]]]}}" bind:__l="__l"></task-det></view></block></view></view></block><block wx:if="{{index2}}"><view class="taskadd"><view class="itembox2"><view class="item_top"><view>详情</view><view data-event-opts="{{[['tap',[['indexs']]]]}}" bindtap="__e">x</view></view><block wx:if="{{index2}}"><view class="item_content"><task-det vue-id="e720980e-4" cid="{{Cid}}" bind:__l="__l"></task-det></view></block></view></view></block><tabbar vue-id="e720980e-5" selected="{{2}}" bind:__l="__l"></tabbar></view>