Browse Source

提交

message
douzhuo 2 years ago
parent
commit
ace8bb5862
3 changed files with 12 additions and 6 deletions
  1. +1
    -1
      manifest.json
  2. +9
    -3
      pages/center/Piabodata/TrendAnalysis.vue
  3. +2
    -2
      utils/domain.js

+ 1
- 1
manifest.json View File

@@ -1,6 +1,6 @@
{ {
"name" : "AI销管", "name" : "AI销管",
"appid" : "__UNI__7A1611D",
"appid" : "__UNI__D88F14A",
"description" : "AI销讲助手", "description" : "AI销讲助手",
"versionName" : "1.1.0", "versionName" : "1.1.0",
"versionCode" : "100", "versionCode" : "100",


+ 9
- 3
pages/center/Piabodata/TrendAnalysis.vue View File

@@ -56,7 +56,12 @@
<view class="num" v-else>{{item.num||0}}</view> <view class="num" v-else>{{item.num||0}}</view>
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> <view class="comparesize" v-if="compareFlag&&timepickpickisshow">
<text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text> <text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text>
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text>
<text :style="{color:item.num2*1>0?'red':'green'}">
{{item.num2}}
<template v-if="item.name==='平均执行率'">
%
</template>
{{(item.num2*1) > 0 ? '↑' : '↓'}}</text>
</view> </view>
</view> </view>
<!-- <view class="grid" v-for="(item,index) in numlist" :key="index" <!-- <view class="grid" v-for="(item,index) in numlist" :key="index"
@@ -439,11 +444,12 @@
this.numlist[3].num1 = data.endSumCustomer this.numlist[3].num1 = data.endSumCustomer
this.numlist[0].num1 = data.endFraction; this.numlist[0].num1 = data.endFraction;
this.numlist[1].num1 = data.endSumDuration || 0; this.numlist[1].num1 = data.endSumDuration || 0;
this.numlist[2].num = data.endReceptionCount || 0
this.numlist[2].num1 = data.endReceptionCount || 0
this.numlist[3].num2 = data.contrastSumCustomer this.numlist[3].num2 = data.contrastSumCustomer
this.numlist[0].num2 = data.contrastFraction; this.numlist[0].num2 = data.contrastFraction;
this.numlist[1].num2 = data.contrastSumDuration || 0; this.numlist[1].num2 = data.contrastSumDuration || 0;
this.numlist[2].num = data.contrastReceptionCount || 0
this.numlist[2].num = data.startReceptionCount || 0
this.numlist[2].num2 = data.contrastReceptionCount || 0




} else { } else {


+ 2
- 2
utils/domain.js View File

@@ -1,7 +1,7 @@
const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://8kdmng.natappfree.cc' ;// 佳豪 // const base = 'http://8kdmng.natappfree.cc' ;// 佳豪
// const base = 'http://192.168.31.86:9999' ;// 胜浩 // const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.167:9999' // 长龙
const base = 'http://192.168.31.161:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管 // const base = 'https://zanyong.hfju.com';// 正式 AI销管
// const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手 // const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手




Loading…
Cancel
Save