|
@@ -4,7 +4,7 @@
|
|
|
:navsHeight="navsHeight" :opacity="scrollTop" :justify="'left'" :color="'#fff'" :fixedHeight="160">
|
|
:navsHeight="navsHeight" :opacity="scrollTop" :justify="'left'" :color="'#fff'" :fixedHeight="160">
|
|
|
<view class="task-tabs m-t20" :style="{top:`${$tools.topHeight()}px`}">
|
|
<view class="task-tabs m-t20" :style="{top:`${$tools.topHeight()}px`}">
|
|
|
<HeadFilter @onTopSelect="onTopSelect" :user-status-list="userStatusList"></HeadFilter>
|
|
<HeadFilter @onTopSelect="onTopSelect" :user-status-list="userStatusList"></HeadFilter>
|
|
|
- <view class="m-lr30 m-tb30 bor-255 r-100" v-if="statType === 3">
|
|
|
|
|
|
|
+ <view class="m-lr30 m-tb30 bor-255 r-100" v-if="statType === 7">
|
|
|
<uv-subsection :list="list" :bgColor="'rgba(255,255,255,0.1)'" :activeColor="'#0FB160'"
|
|
<uv-subsection :list="list" :bgColor="'rgba(255,255,255,0.1)'" :activeColor="'#0FB160'"
|
|
|
:inactiveColor="'#004615'" :fontSize="14" custom-style="height: 70rpx;border-radius: 30rpx;"
|
|
:inactiveColor="'#004615'" :fontSize="14" custom-style="height: 70rpx;border-radius: 30rpx;"
|
|
|
custom-item-style="border-radius: 30rpx;" :current="current" @change="onChange"></uv-subsection>
|
|
custom-item-style="border-radius: 30rpx;" :current="current" @change="onChange"></uv-subsection>
|
|
@@ -14,8 +14,8 @@
|
|
|
<view class="statistics_content" :style="[{top:`${$tools.topHeight() + positionHeight}px`}]">
|
|
<view class="statistics_content" :style="[{top:`${$tools.topHeight() + positionHeight}px`}]">
|
|
|
|
|
|
|
|
<view class="">
|
|
<view class="">
|
|
|
- <HeadData v-if="statType === 0 || statType === 1"></HeadData>
|
|
|
|
|
- <view class="tabs page-box-bg-fff m-lr30 r-30" v-if="statType === 2 || statType === 3"
|
|
|
|
|
|
|
+ <HeadData v-if="statType === 3 || statType === 4"></HeadData>
|
|
|
|
|
+ <view class="tabs page-box-bg-fff m-lr30 r-30" v-if="statType === 6 || statType === 7"
|
|
|
:style="[{position:is_fixed?'absolute':''},{top:`${$tools.topHeight() + 85}px`}]"
|
|
:style="[{position:is_fixed?'absolute':''},{top:`${$tools.topHeight() + 85}px`}]"
|
|
|
style="height: 100rpx;">
|
|
style="height: 100rpx;">
|
|
|
<z-tabs ref="tabs" :list="tabsList"
|
|
<z-tabs ref="tabs" :list="tabsList"
|
|
@@ -27,17 +27,17 @@
|
|
|
<StatSingleData :is_fixed="is_tabs_fixed" v-if="is_single_data"></StatSingleData>
|
|
<StatSingleData :is_fixed="is_tabs_fixed" v-if="is_single_data"></StatSingleData>
|
|
|
<view class="sys-list-background-color p-lr30">
|
|
<view class="sys-list-background-color p-lr30">
|
|
|
<!-- 汇总统计-公司 -->
|
|
<!-- 汇总统计-公司 -->
|
|
|
- <GeneralStat v-if="statType === 0"></GeneralStat>
|
|
|
|
|
|
|
+ <GeneralStat v-if="statType === 3"></GeneralStat>
|
|
|
<!-- 资金统计-部门 -->
|
|
<!-- 资金统计-部门 -->
|
|
|
- <CapitalStat v-if="statType === 1"></CapitalStat>
|
|
|
|
|
|
|
+ <CapitalStat v-if="statType === 4"></CapitalStat>
|
|
|
<!-- 提放统计-部门 -->
|
|
<!-- 提放统计-部门 -->
|
|
|
- <DrawingsStat v-if="statType === 2"></DrawingsStat>
|
|
|
|
|
|
|
+ <DrawingsStat v-if="statType === 6"></DrawingsStat>
|
|
|
<!-- 消金统计-部门 -->
|
|
<!-- 消金统计-部门 -->
|
|
|
- <ConsumeStat v-if="statType === 3"></ConsumeStat>
|
|
|
|
|
|
|
+ <ConsumeStat v-if="statType === 7"></ConsumeStat>
|
|
|
<!-- 任务统计-个人 -->
|
|
<!-- 任务统计-个人 -->
|
|
|
- <TaskStat v-if="statType === 4"></TaskStat>
|
|
|
|
|
|
|
+ <TaskStat v-if="statType === 1"></TaskStat>
|
|
|
<!-- 业绩统计-个人 -->
|
|
<!-- 业绩统计-个人 -->
|
|
|
- <PerformanceStat v-if="statType === 5"></PerformanceStat>
|
|
|
|
|
|
|
+ <PerformanceStat v-if="statType === 2"></PerformanceStat>
|
|
|
<view class="bottom_view"></view>
|
|
<view class="bottom_view"></view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -124,7 +124,7 @@
|
|
|
this.scrollTop = res.scrollTop / 120
|
|
this.scrollTop = res.scrollTop / 120
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- // this.getUserType()
|
|
|
|
|
|
|
+ this.getUserType()
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
computed: {
|
|
computed: {
|