Browse Source

修改样式

message
douzhuo 2 years ago
parent
commit
972769666d
8 changed files with 76 additions and 17 deletions
  1. +65
    -4
      pages/center/Piabodata/Employeesstatistics.vue
  2. +3
    -3
      pages/center/Piabodata/TrendAnalysis.vue
  3. +1
    -1
      pages/index/consumer/index.vue
  4. +2
    -4
      pages/index/customer.vue
  5. +1
    -1
      pages/index/learning.vue
  6. +1
    -1
      pages/index/personal.vue
  7. +2
    -2
      pages/login/index.vue
  8. +1
    -1
      utils/domain.js

+ 65
- 4
pages/center/Piabodata/Employeesstatistics.vue View File

@@ -37,7 +37,7 @@
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo1.result.length!=0" class="jindu-box"
v-for="(item,index) in newlisttabinfo1.result" :key="index">
<view class="jindu-boxche">
<view class="jindu-boxche" v-if="item.zxl != 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"
@@ -70,7 +70,7 @@
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo3.result.length!=0" class="jindu-box"
v-for="(item,index) in newlisttabinfo3.result" :key="index">
<view class="jindu-boxche">
<view class="jindu-boxche" v-if="item.zxl != 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"
@@ -108,7 +108,7 @@
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo2.result.length!=0" class="jindu-box"
v-for="(item,index) in newlisttabinfo2.result" :key="index">
<view class="jindu-boxche">
<view class="jindu-boxche" v-if="item.zxl != 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"
@@ -145,7 +145,7 @@
<view class="jindu" style="height: 360rpx;overflow: auto;">
<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-boxche" v-if="item.zxl != 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"
@@ -160,6 +160,43 @@
</view>
</view>

<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single">
<view class="title">
<view class="title1" style="flex: 1;">接待未标顾问排名(TOP10)</view>
</view>
<view class="hejisan">
<view class="sanbox1" style="width: 35%;">
<view class="text1-1">合计</view>
<view class="text1-2">{{newlisttabinfo5.total}}次</view>
</view>
<view class="sanbox1" style="width: 40%;">
<view class="text1-1">顾问</view>
<view class="text1-2">{{newlisttabinfo5.count}}人</view>
</view>
<view class="sanbox1" style="width: 25%;">
<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>
<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>
</view>
</view>


<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
</view>
@@ -202,6 +239,12 @@
total: '',
result: [],
},
newlisttabinfo5: {
avg: '',
count: '',
total: '',
result: [],
},
};
},
onLoad() {
@@ -241,6 +284,12 @@
total: '',
result: [],
}
this.newlisttabinfo5 = {
avg: '',
count: '',
total: '',
result: [],
}

var activeTotal = 0;
if (this.activeTotal == 3) {
@@ -260,6 +309,7 @@
this.staffStatisticsRecordingTimTop10(promse)
this.staffStatisticsExecutionRateTop10(promse)
this.staffStatisticsProhibitedTop10(promse)
this.staffStatisticsUnlabeledTop10(promse)
},
//接待量排名
staffStatisticsReceptionTop10(promse) {
@@ -306,6 +356,17 @@
this.newlisttabinfo4 = res;
})
},
//未标记客户数量排名,
staffStatisticsUnlabeledTop10(promse) {
this.$u.post('/cusLvStatistics/staffStatisticsUnlabeledTop', promse).then(res => {
res.result.forEach(item => {
item.zxl = item.tagCustomer
item.name = item.accountName
})
res.result = this.dealData(res.result)
this.newlisttabinfo5 = res;
})
},

//自定义时间
totalTimeChange(e) {


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

@@ -498,7 +498,7 @@
},
//对比时间
totalTimeChange2(e) {
var d = new Date(e.result);
var d = new Date(e.result.replace(/\-/g, '/'));
d.setDate(d.getDate() + this.intervaltime);
var year = d.getFullYear();
var month = d.getMonth() + 1;
@@ -1150,9 +1150,9 @@
DateDiff(sDate1, sDate2) {
var aDate, oDate1, oDate2, iDays;
aDate = sDate1.split("-");
oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]); //转换为yyyy-MM-dd格式
oDate1 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]); //转换为yyyy-MM-dd格式
aDate = sDate2.split("-");
oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]);
oDate2 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
return iDays + 1; //返回相差天数
},


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

@@ -250,7 +250,7 @@
<!-- <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select> -->

<!-- 底部导航栏 -->
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar> -->
</view>



+ 2
- 4
pages/index/customer.vue View File

@@ -152,7 +152,7 @@
</image>

<!-- 底部导航栏 -->
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar> -->
</view>
</template>
@@ -181,9 +181,7 @@
},
};
},
onLoad() {
uni.hideTabBar();
},
onLoad() {},
computed: {
timestamp() {
return (e) => {


+ 1
- 1
pages/index/learning.vue View File

@@ -120,7 +120,7 @@
</view>

<!-- 底部导航栏 -->
<!-- <u-tabbar :isBtnTop="false" class="tabbar" :mid-button="true" activeColor="#1296db" inactiveColor="#999999"
<!-- <u-tabbar :isBtnTop="false" class="tabbar" :mid-button="true" activeColor="#1296db" inactiveColor="#999999"
v-model="current" :list="tabbarList"></u-tabbar> -->
</view>
</template>


+ 1
- 1
pages/index/personal.vue View File

@@ -69,7 +69,7 @@
</view>

<!-- 底部导航栏 -->
<u-tabbar :isBtnTop="false" :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar>
<!-- <u-tabbar :isBtnTop="false" :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->
</view>
</template>



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

@@ -56,8 +56,8 @@
export default {
data() {
return {
username: '13388881113',//用户名
password: '1234567',//密码
username: '',//用户名
password: '',//密码
passwordType: true,
agreeChecked: true
};


+ 1
- 1
utils/domain.js View File

@@ -1,5 +1,5 @@
const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://8kdmng.natappfree.cc' ;// 佳豪
// const base = 'http://192.168.31.211:9999' ;// 泽明
// const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.167:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管


Loading…
Cancel
Save