<view class="head_right">
|
<span bindtap="changeMonth">
|
<text class="head_tag"
|
>{{showThisMonth ? thisMonth + '本月' : lastMonth + '上月'}}汇总</text
|
>
|
<mp-icon
|
style="margin-left: 4px"
|
icon="transfer2"
|
color="white"
|
size="{{20}}"
|
></mp-icon>
|
</span>
|
<text class="head_btn" bindtap="gotoHistory">历史记录 ></text>
|
</view>
|
<view class="card">
|
<block wx:if="{{showThisMonth}}">
|
<view class="head_row">
|
<view class="head_row_item">
|
<view class="head_tag">完成度</view>
|
<view class="head_1 head_1_big"
|
>{{thisMonthInfo.percent}}<text class="head_row_item_tag"
|
>%</text
|
></view
|
>
|
</view>
|
<view class="head_row_item">
|
<view class="head_tag">必填项</view>
|
<view class="head_1"
|
>{{thisMonthInfo.finishedMust}}<text class="head_row_item_tag"
|
>/{{thisMonthInfo.totalMust}}</text
|
></view
|
>
|
</view>
|
<view class="head_row_item">
|
<view class="head_tag">选填项</view>
|
<view class="head_1"
|
>{{thisMonthInfo.finishedSelect}}<text class="head_row_item_tag"
|
>/{{thisMonthInfo.totalSelect}}</text
|
></view
|
>
|
</view>
|
</view>
|
<view class="head_row">
|
<view class="head_tag">本期台账提交日:{{deadline}}</view>
|
<block wx:if="{{thisMonthInfo.percent < 1}}">
|
<view wx:if="{{leftday >= 0}}" class="head_tag"
|
>剩余<text>{{leftday + 1}}</text>天</view
|
>
|
<view wx:else class="head_tag"
|
>逾期 <text>{{thisMonthInfo.overtime}}</text>天</view
|
>
|
</block>
|
</view>
|
<view class="head_tag">{{thisMonthInfo.suggestion}}</view>
|
</block>
|
<block wx:else>
|
<view class="head_row">
|
<view class="head_row_item">
|
<view class="head_tag">完成度</view>
|
<view class="head_1"
|
>{{lastMonthInfo.percent}}<text class="head_row_item_tag"
|
>%</text
|
></view
|
>
|
</view>
|
<view class="head_row_item">
|
<view class="head_tag">必填项</view>
|
<view class="head_1"
|
>{{lastMonthInfo.finishedMust}}<text class="head_row_item_tag"
|
>/{{lastMonthInfo.totalMust}}</text
|
></view
|
>
|
</view>
|
<view class="head_row_item">
|
<view class="head_tag">选填项</view>
|
<view class="head_1"
|
>{{lastMonthInfo.finishedSelect}}<text class="head_row_item_tag"
|
>/{{lastMonthInfo.totalSelect}}</text
|
></view
|
>
|
</view>
|
</view>
|
<view class="head_row">
|
<view class="head_tag">提交情况:{{lastMonthInfo.status}}</view>
|
</view>
|
<view class="head_tag">建议:{{lastMonthInfo.suggestion}}</view>
|
</block>
|
</view>
|
<!-- <view class="head_right">
|
<text class="head_btn" bindtap="gotoHistory">历史记录 ></text>
|
</view> -->
|