Browse Source

合并代码

message
corala 2 years ago
parent
commit
618654407f
4 changed files with 30 additions and 24 deletions
  1. +3
    -4
      manifest.json
  2. +23
    -16
      pages/center/Piabodata/Employeesstatistics.vue
  3. +2
    -2
      pages/login/index.vue
  4. +2
    -2
      utils/domain.js

+ 3
- 4
manifest.json View File

@@ -1,5 +1,5 @@
{
"name" : "AI销",
"name" : "AI销讲助手",
"appid" : "__UNI__7A1611D",
"description" : "AI销讲助手",
"versionName" : "1.1.0",
@@ -64,8 +64,7 @@
},
"ios" : {
"appstore" : "",
"ipad" : {
},
"ipad" : {},
"iphone" : {}
}
}
@@ -73,7 +72,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wxd6dd7eae72606ca2",
"appid" : "wx83fec12ec03d9349",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 23
- 16
pages/center/Piabodata/Employeesstatistics.vue View File

@@ -192,32 +192,39 @@
<view class="title1" style="flex: 1;">接待未标顾问排名(TOP10)</view>
</view>
<view class="hejisan">
<view class="sanbox1" style="width: 35%;">
<view class="sanbox1">
<view class="text1-2">{{newlisttabinfo5.total||0}}</view>
<view class="text1-1">合计</view>
<view class="text1-2">{{newlisttabinfo5.total}}次</view>
</view>
<view class="sanbox1" style="width: 40%;">
<view class="sanbox1">
<view class="text1-2">{{newlisttabinfo5.count||0}}人</view>
<view class="text1-1">顾问</view>
<view class="text1-2">{{newlisttabinfo5.count}}人</view>
</view>
<view class="sanbox1" style="width: 25%;">
<view class="sanbox1">
<view class="text1-2">{{newlisttabinfo5.avg||0}}</view>
<view class="text1-1">均值</view>
<view class="text1-2">{{newlisttabinfo5.avg}}次</view>
</view>
</view>
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo5.result.length!=0" class="jindu-box"
v-for="(item,index) in newlisttabinfo5.result" :key="index">
<view class="jindu-boxche" v-if="item.zxl1 != 0">
<view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view>
<view style="width: 440rpx;margin-left: 10rpx;">
<u-line-progress height="24" :show-percent="false" active-color="#FBA448"
:percent="item.zxl1"></u-line-progress>
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx">
<view v-if="newlisttabinfo4.result.length!=0" class="jindu-box"
v-for="(item,index) in newlisttabinfo4.result" :key="index">
<view class="jindu-boxche" >
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name">
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" />
<image v-if="index==1" class="sort-img" src="/static/images/top2.png" mode="" />
<image v-if="index==2" class="sort-img" src="/static/images/top3.png" mode="" />
<view class="sort-number" v-if="index>2">{{index+1}}</view>
{{item.name.substring(0,4)}}</view>
<view class="progress-cus">
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color2" v-if="index==1" :style="'width:'+ getPercent(item.zxl,4)+ '%'" ></view>
<view class="color3" v-if="index==2" :style="'width:'+ getPercent(item.zxl,4) + '%'" ></view>
<view class="color4" v-if="index>2" :style="'width:'+ getPercent(item.zxl,4)+ '%'" ></view>
</view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}次</view>
<view class="jindu-zxl" >{{item.zxl==null?0:item.zxl}}次</view>
</view>
</view>
<view v-if="newlisttabinfo5.result.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">
<view v-if="newlisttabinfo4.result.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">
暂无数据
</view>
</view>


+ 2
- 2
pages/login/index.vue View File

@@ -56,8 +56,8 @@
export default {
data() {
return {
username: '13033782199',//用户名-测试 13388881113 1234567
password: '123456',//密码
username: '',//用户名-测试 13388881113 1234567/ 13033782199 123456
password: '',//密码
// username: '13033782199',//用户名-生产 13033782199 654321
// password: '654321',//密码
passwordType: true,


+ 2
- 2
utils/domain.js View File

@@ -1,9 +1,9 @@
const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://192.168.31.211:9999' ;// 泽明
// const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.161:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管
// const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手
const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手

// http.js使用
const baseUrl = `${base}/autoSR/api`;


Loading…
Cancel
Save