Browse Source

修改趋势分析百分比问题!!!!!!

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

+ 2
- 2
manifest.json View File

@@ -1,5 +1,5 @@
{ {
"name" : "去房智控管家",
"name" : "数智工牌",
"appid" : "__UNI__7A1611D", "appid" : "__UNI__7A1611D",
"description" : "去房智控管家", "description" : "去房智控管家",
"versionName" : "1.1.0", "versionName" : "1.1.0",
@@ -91,7 +91,7 @@
}, },
"quickapp" : {}, "quickapp" : {},
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx8f883dca5ecc5510",
"appid" : "wxe044603515ff2cb5",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : true, "es6" : true,


+ 5
- 2
pages/center/Piabodata/TrendAnalysis.vue View File

@@ -57,11 +57,14 @@
<text style="margin-right: 10rpx;">对比:{{index==1?item.num1+'%':item.num1}} </text> <text style="margin-right: 10rpx;">对比:{{index==1?item.num1+'%':item.num1}} </text>
<template v-if="item.num2*1 != 0"> <template v-if="item.num2*1 != 0">
<text <text
:style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{item.num2*1 > 0 ? '↑':'↓'}}</text>
:style="{color:item.num2*1>0?'red':'green'}">
<!-- +'%' -->
{{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}{{item.num2*1 > 0 ? '↑':'↓'}}</text>
</template> </template>
<template v-else> <template v-else>
<!-- +'%' -->
<text <text
:style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}</text>
:style="{color:item.num2*1>0?'red':'green'}">{{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}</text>
</template> </template>
</view> </view>
</view> </view>


+ 2
- 2
utils/domain.js View File

@@ -1,10 +1,10 @@
// http.js使用域名 // http.js使用域名
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
// const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地
// const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.149:9090/api'; // 盛浩 // const baseUrl = 'http://192.168.31.149:9090/api'; // 盛浩
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式
const baseUrl = 'https://hfju.com/api'; // 数智正式
// const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 // const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用






Loading…
Cancel
Save