1 line
4.1 KiB
Plaintext
1 line
4.1 KiB
Plaintext
<view class="data-v-0f13e1f0"><view class="querylist data-v-0f13e1f0"><view class="queryfir data-v-0f13e1f0"><picker mode="date" fields="year" data-event-opts="{{[['change',[['changeYear',['$event']]]]]}}" bindchange="__e" class="data-v-0f13e1f0"><view class="form_right data-v-0f13e1f0"><view class="data-v-0f13e1f0">{{dataYear?dataYear+'年':'点击选择'}}</view><image class="bottomimg data-v-0f13e1f0" src="{{BASE_IMG_URL+'xia.png'}}" mode="scaleToFill"></image></view></picker></view><view class="queryfir data-v-0f13e1f0"><picker range="{{typeList}}" value="{{typeIndex}}" data-event-opts="{{[['change',[['changeDataType',['$event']]]]]}}" bindchange="__e" class="data-v-0f13e1f0"><view class="form_right data-v-0f13e1f0"><view class="data-v-0f13e1f0">{{typeList[typeIndex]?typeList[typeIndex]:'点击选择'}}</view><image class="bottomimg data-v-0f13e1f0" src="{{BASE_IMG_URL+'xia.png'}}" mode="scaleToFill"></image></view></picker></view><view class="queryfir data-v-0f13e1f0"><view data-event-opts="{{[['tap',[['toSelect',['$event']]]]]}}" class="form_right data-v-0f13e1f0" bindtap="__e"><view class="data-v-0f13e1f0">{{staffObj.id?staffObj.name:'点击选择'}}</view><image class="bottomimg data-v-0f13e1f0" src="{{BASE_IMG_URL+'xia.png'}}" mode="scaleToFill"></image></view></view></view><view class="sectionbox data-v-0f13e1f0"><view data-event-opts="{{[['tap',[['toTarget',['$event']]]]]}}" class="setAchieve data-v-0f13e1f0" bindtap="__e">设置个人目标</view><view class="sec_type data-v-0f13e1f0"><picker range="{{arr}}" value="{{arrIndex}}" range-key="name" data-event-opts="{{[['change',[['changeArr',['$event']]]]]}}" bindchange="__e" class="data-v-0f13e1f0"><view class="form_right data-v-0f13e1f0"><view style="font-size:28rpx;" class="data-v-0f13e1f0">{{arr[arrIndex]?arr[arrIndex].name:'点击选择'}}</view><image class="bottomimg data-v-0f13e1f0" src="{{BASE_IMG_URL+'xia.png'}}" mode="scaleToFill"></image></view></picker></view><view class="sec_top data-v-0f13e1f0"><view class="sec_left data-v-0f13e1f0"><view class="left_t data-v-0f13e1f0">目标(元)</view><view class="left_m data-v-0f13e1f0">{{yeartarget.achievement?yeartarget.achievement:0}}</view></view><view class="sec_left data-v-0f13e1f0"><view class="left_t data-v-0f13e1f0">完成(元)</view><view class="left_m data-v-0f13e1f0">{{yeartarget.money?yeartarget.money:0}}</view></view></view><view class="sec_bot data-v-0f13e1f0"><view class="pro_box data-v-0f13e1f0"><view class="pro_in data-v-0f13e1f0" style="{{'width:'+((yeartarget.ratio>100?100:yeartarget.ratio)+'%')+';'}}"></view></view><view class="bot_w data-v-0f13e1f0"><view class="bot_w_l data-v-0f13e1f0">完成<label class="_span data-v-0f13e1f0">{{yeartarget.ratio+"%"}}</label></view><view class="bot_w_l data-v-0f13e1f0">剩余目标<label class="_span data-v-0f13e1f0">{{(yeartarget.achievement-yeartarget.money>=0?yeartarget.achievement-yeartarget.money:0)+"元"}}</label></view></view></view></view><view class="chartbox data-v-0f13e1f0"><view class="chart_top data-v-0f13e1f0"><qiun-data-charts vue-id="47741fd4-1" type="column" canvasId="jnt" canvas2d="{{true}}" ontouch="{{true}}" opts="{{opts}}" chartData="{{chartData}}" class="data-v-0f13e1f0" bind:__l="__l"></qiun-data-charts></view><view class="tabbox data-v-0f13e1f0"><view class="table_li data-v-0f13e1f0"><view class="table_td data-v-0f13e1f0">时间</view><view class="table_td data-v-0f13e1f0">目标(元)</view><view class="table_td data-v-0f13e1f0">已完成(元)</view><view class="table_td data-v-0f13e1f0">完成度</view></view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="table_li data-v-0f13e1f0"><view class="table_td data-v-0f13e1f0">{{item.month}}</view><view class="table_td data-v-0f13e1f0">{{item.achievement?item.achievement:0}}</view><view class="table_td data-v-0f13e1f0">{{item.money?item.money:0}}</view><view class="table_td data-v-0f13e1f0">{{item.ratio+"%"}}</view></view></block></view></view><select-staff bind:sureStaff="__e" vue-id="47741fd4-2" data-ref="staffChild" data-event-opts="{{[['^sureStaff',[['sureStaff']]]]}}" class="data-v-0f13e1f0 vue-ref" bind:__l="__l"></select-staff></view> |