Browse Source

修改字段

master
douzhuo 1 year ago
parent
commit
b7fbd283af
5 changed files with 12 additions and 15 deletions
  1. +1
    -1
      manifest.json
  2. +1
    -7
      pages/center/consumer/consumerDetail.vue
  3. +2
    -1
      pages/center/consumer/index.vue
  4. +8
    -6
      pages/index/index.vue
  5. BIN
      static/images/close.png

+ 1
- 1
manifest.json View File

@@ -91,7 +91,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx8f883dca5ecc5510",
"appid" : "wxe044603515ff2cb5",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 1
- 7
pages/center/consumer/consumerDetail.vue View File

@@ -425,7 +425,7 @@
<!-- intentionRateList -->
<view class="intentionRateList-title">
客户意向{{ `${customerInfo.levelFraction||'0'}%` }}
<view class="close" @click="showIntentionRate = false">x</view>
<image class="close" @click="showIntentionRate = false" src="@/static/images/close.png" mode=""></image>
</view>
<scroll-view scroll-y="true" style="height: 50vh;">
<view class="intentionRateList">
@@ -1769,13 +1769,7 @@
transform: translateY(-50%);
width: 45rpx;
height: 45rpx;
border: 1px solid #E0E0E0;
border-radius: 50%;
text-align: center;
line-height: 45rpx;
font-size: 26rpx;
font-weight: bold;
color: #E0E0E0;
}
}



+ 2
- 1
pages/center/consumer/index.vue View File

@@ -576,7 +576,8 @@
onLoad(options) {
this.LOADING = true;
this.isnorefresh = options.refresh;
if (options.dataType) this.activeTotal = options.dataType
if (options.dateType != null || options.dateType != undefined) this.activeTotal = options.dateType
console.log(this.activeTotal, options.dateType)
if (options.staTime) this.screen.staTime = options.staTime
if (options.endTime) this.screen.endTime = options.endTime
},


+ 8
- 6
pages/index/index.vue View File

@@ -151,7 +151,7 @@
<view class="realnum">{{max100(realtimeobj.wordFinishFraction)}}%</view>
<view class="realtext">平均挖掘率</view>
</view>
<view class="real" @click="toCustomerManagement('dateType=0')">
<view class="real" @click="toCustomerManagement('dateType')">
<view class="realnum">
{{realtimeobj.sumLevelFraction || 0}}%
</view>
@@ -205,7 +205,7 @@
<view class="realtext">平均执行率</view>
</view>

<view class="real" @click="toCustomerManagement">
<view class="real" @click="toCustomerManagement()">
<view class="realnum">
{{Thisweekobj.sumLevelFraction || 0}}%
</view>
@@ -453,20 +453,22 @@
methods: {
// 跳转客户详情
toCustomerManagement(str) {
if (str != 'dateType=0') {
console.log(str)
if (str != 'dateType') {
// dateType == 2 //
if (this.zhixingcenterindex != 7) {
uni.navigateTo({
url: `/pages/center/consumer/index?refresh=refresh&dataType=${this.zhixingcenterindex}`
url: `/pages/center/consumer/index?refresh=refresh&dateType=${this.zhixingcenterindex}`
})
} else {
uni.navigateTo({
url: `/pages/center/consumer/index?refresh=refresh&dataType=4&staTime=${this.statDateStart}&endTime=${this.statDateEnd}`
url: `/pages/center/consumer/index?refresh=refresh&dateType=4&staTime=${this.statDateStart}&endTime=${this.statDateEnd}`
})
}
} else {
console.log('adasdasljdlks', str)
uni.navigateTo({
url: `/pages/center/consumer/index?refresh=refresh&${str}`
url: `/pages/center/consumer/index?refresh=refresh&dateType=0`
})
}
},


BIN
static/images/close.png View File

Before After
Width: 88  |  Height: 88  |  Size: 3.5 KiB

Loading…
Cancel
Save