From 34bf78180df05ccc855f31eb7a9e3f4a12a33bcd Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Sat, 21 Aug 2021 13:58:21 +0800 Subject: [PATCH] init --- pages/center/Piabodata/StaffAnalysis.vue | 322 +++++++- pages/center/Piabodata/Theteamcompared.vue | 808 +++++++++++++++++++-- utils/http.js | 4 +- 3 files changed, 1040 insertions(+), 94 deletions(-) diff --git a/pages/center/Piabodata/StaffAnalysis.vue b/pages/center/Piabodata/StaffAnalysis.vue index 62d59a8..49b3828 100644 --- a/pages/center/Piabodata/StaffAnalysis.vue +++ b/pages/center/Piabodata/StaffAnalysis.vue @@ -2,13 +2,13 @@ - 今日 + 近七天 - 昨日 + 近15天 - 近一周 + 近30天 自定义 @@ -16,8 +16,8 @@ - - 毛丫丫 + + {{staff1.label}} @@ -28,8 +28,8 @@ 对比 - - 毛丫丫2 + + {{staff2.label}} @@ -42,8 +42,8 @@ 接待量 - 合计:50 - 均值:25 + {{staff2.label}}:50 + {{staff1.label}}:25 来访(人) @@ -63,23 +63,23 @@ 接待客户 - + - 合计:50 - 均值:25 + {{staff2.label}}:50 + {{staff1.label}}:25 来访(人) + - - + + + + @@ -272,4 +899,45 @@ background: #FAFAFA; padding-bottom: 60rpx; } + // 对比时间切换 + .timepick{ + width: 100%; + height: 90rpx; + display: flex; + align-items: center; + background: #FAFAFA; + } + .timepicktime{ + width: 260rpx; + height: 50rpx; + border: 1rpx solid #E0E0E0; + margin-left: 30rpx; + display: flex; + background: #FFFFFF; + } + .timepicktime>view:nth-of-type(1){ + width: 210rpx; + height: 100%; + line-height: 50rpx; + font-size: 26rpx; + font-weight: 400; + text-align: center; + } + .timepicktime>view:nth-of-type(2){ + width: 50rpx; + height: 100%; + border-left: 1px solid #E0E0E0; + } + .timepickpick{ + width: 110rpx; + height: 50rpx; + margin-left: 30rpx; + display: flex; + align-items: center; + } + .Underimg{ + width: 50rpx; + height:50rpx; + margin-top: -2rpx; + } diff --git a/utils/http.js b/utils/http.js index 23b2ed9..96a06fa 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,5 +1,5 @@ -const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 -// const baseUrl = 'http://192.168.31.163:8080/autoSR/api'; // 长龙 +// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 +const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.130:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式