Browse Source

修改一些问题

dev
wangshuai 2 years ago
parent
commit
8cf7bb2fe3
2 changed files with 565 additions and 559 deletions
  1. +550
    -552
      pages/center/Piabodata/Theteamcompared.vue
  2. +15
    -7
      pages/center/Piabodata/TrendAnalysis.vue

+ 550
- 552
pages/center/Piabodata/Theteamcompared.vue
File diff suppressed because it is too large
View File


+ 15
- 7
pages/center/Piabodata/TrendAnalysis.vue View File

@@ -55,7 +55,14 @@
</view>
<view class="comparesize" v-if="compareFlag&&timepickpickisshow">
<text style="margin-right: 10rpx;">对比:{{index==1?item.num1+'%':item.num1}} </text>
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{item.num2*1>0?'↑':'↓'}}</text>
<template v-if="item.num2*1 != 0">
<text
:style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{item.num2*1 > 0 ? '↑':'↓'}}</text>
</template>
<template>
<text
:style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}</text>
</template>
</view>
</view>
</view>
@@ -185,7 +192,8 @@
style="display: inline-block;">
<view v-if="index==1&&index1>0" class="td" :style="{color:item1*1>0?'red':'green'}"
style="border-right:1px solid #E0E0E0;">
{{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}</view>
{{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
</view>
<view v-else-if="index>1&&index1>0" class="td" style="border-right:1px solid #E0E0E0;">
{{item1+'%'}}
</view>
@@ -323,8 +331,8 @@
},
onPullDownRefresh() {
this.init()
setTimeout(function () {
uni.stopPullDownRefresh();
setTimeout(function() {
uni.stopPullDownRefresh();
}, 1000);
},
watch: {
@@ -743,7 +751,7 @@
this.pamect.accountId = this.lopanobj.id;
this.ConsultantDimension()
this.Showhiddenunits = false;
for(let i = 0; i < this.selectlist.length; i++) {
for (let i = 0; i < this.selectlist.length; i++) {
if (e[0].value == this.selectlist[i].value) {
this.selindexList[0] = i
}
@@ -981,8 +989,8 @@
this.timepickpickisshow = false;
this.init()
this.TeamCompared()
for(let i = 0; i < this.selectlist4.length; i++) {
for (let i = 0; i < this.selectlist4.length; i++) {
if (e[0].value == this.selectlist4[i].value) {
this.selindexList4[0] = i
}


Loading…
Cancel
Save