diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 2d656ec..258f2ab 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -60,6 +60,27 @@ export function findProhibitedRecord(query) { } +//首页维度触达 +export function getindexZxllist(query) { + return request({ + url: 'autoSR/cusStageStatistics/indexZxl', + method:'get', + params:query + }) +} + +//首页员工排名 +export function getemployeeExecutionRatelist(query) { + return request({ + url: 'autoSR/cusStageStatistics/employeeExecutionRate', + method:'get', + params:query + }) +} + + + + diff --git a/src/page/wel.vue b/src/page/wel.vue index e695caf..8d3a8eb 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -174,6 +174,54 @@
+ +
+
+
+
维度触达占比
+
+
+
暂无数据
+
+
+
+
+
{{item.name.substring(0,3)}}
+
+
+
+
+
+
员工执行率排名(TOP10)
+
+
+
+
合计
+
1
+
+
+
顾问
+
1
+
+
+
人均接待量
+
1
+
+
+
+
+
+
{{item.name}}
+
+
+
+
{{item.avgZxl}}%
+
+
+
+
+
+
@@ -321,6 +369,16 @@ export default { tableData: [], equipmentList:[], prohibitedlist:[], + ceratelist:[ + {name:'还是得',avgZxl:80}, + {name:'大大奥德赛',avgZxl:90}, + {name:'沙发和',avgZxl:20}, + {name:'还是得',avgZxl:10}, + {name:'还客户家客户是得',avgZxl:80}, + ], + indexZxllist:[], + employeeExecutionRatelist:[] + } }, mounted() { @@ -331,7 +389,31 @@ export default { }, methods: { - //获取看片数据 + //切换楼盘 + houseChange() { + this.TimetoAhoose=0; + this.statDateStart=''; + this.statDateEnd=''; + this.getgicd() + this.findProhibitedRecord() + }, + //获取楼盘 + zkhousePage() { + this.$api.api + .findHouseByUser({ + orgType: localStorage.getItem("orgType"), + }) + .then((res) => { + this.houseList = res.data; + this.houseId = res.data[0].id; + this.getgicd(); + this.getindexZxllist() + this.getemployeeExecutionRatelist() + this.findProhibitedRecord() + this.findAllZkEquipment() + }); + }, + //获取卡片数据 getgicd(){ let obj = { houseId:this.houseId, @@ -384,6 +466,7 @@ export default { this.equipmentList=res.data; }) }, + //获取违禁提醒列表 findProhibitedRecord(){ this.prohibitedlist=[]; this.$api.http.findProhibitedRecord({ @@ -395,29 +478,30 @@ export default { this.prohibitedlist=res.data; }) }, - - //切换楼盘 - houseChange() { - this.TimetoAhoose=0; - this.statDateStart=''; - this.statDateEnd=''; - this.getgicd() - this.findProhibitedRecord() + getindexZxllist(){ + this.indexZxllist=[] + this.$api.http.getindexZxllist({ + houseId:this.houseId, + dateType: this.TimetoAhoose, + statDateStart: this.statDateStart, + statDateEnd:this.statDateEnd + }).then((res) => { + this.indexZxllist=res.data.list||[] + }) }, - //获取楼盘 - zkhousePage() { - this.$api.api - .findHouseByUser({ - orgType: localStorage.getItem("orgType"), - }) - .then((res) => { - this.houseList = res.data; - this.houseId = res.data[0].id; - this.getgicd(); - this.findProhibitedRecord() - this.findAllZkEquipment() - }); + getemployeeExecutionRatelist(){ + this.employeeExecutionRatelist=[] + this.$api.http.getemployeeExecutionRatelist({ + houseId:this.houseId, + dateType: this.TimetoAhoose, + statDateStart: this.statDateStart, + statDateEnd:this.statDateEnd + }).then((res) => { + + this.employeeExecutionRatelist=res.list + }) }, + tabclick(i){ this.classatec=i; this.findAllZkEquipment() @@ -428,6 +512,8 @@ export default { this.customtime=[]; this.TimetoAhoose=i; this.getgicd() + this.getindexZxllist() + this.getemployeeExecutionRatelist() this.findProhibitedRecord() }, //切换时间 @@ -436,6 +522,8 @@ export default { this.statDateEnd=this.customtime[1]; this.TimetoAhoose=5; this.getgicd() + this.getindexZxllist() + this.getemployeeExecutionRatelist() this.findProhibitedRecord() }, } @@ -624,4 +712,55 @@ export default { font-size: 14px; } } +// 进度条 + .jinbox { + width: 100%; + height: 18px; + line-height: 18px; + display: flex; + font-size: 16px; + color: #2C3542; + margin-top: 20px; + .jinboxtit { + width: 14%; + height: 18px; + padding-right: 6px; + white-space: nowrap; + text-overflow:ellipsis; + overflow: hidden; + } + .jinbox-box { + width: 75%; + height: 100%; + border-radius: 8px; + background: #F2F2F2; + } + .boxbaifenbi { + height: 100%; + background:#60D7A0; + border-radius: 8px; + } + .boxbaifenbi2 { + height: 100%; + background: #5B8FF9; + } + .jinboxbott { + width: 16%; + text-indent: 50px; + } + } + .hejisan{ + width: 92%; + margin: 0 auto; + display: flex; + padding-top: 10px; + padding-bottom:10px; + .text1-1{ + color: #666666; + } + .text1-2{ + color: #333333; + margin-top: 10px; + } + } diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 6a0b6f8..13ce1b8 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -182,8 +182,7 @@
-
-
+
{{item.name}}
@@ -192,6 +191,7 @@
{{item.avgZxl}}%
+
diff --git a/src/views/Template/ProblemsinLibrary.vue b/src/views/Template/ProblemsinLibrary.vue new file mode 100644 index 0000000..1bfb723 --- /dev/null +++ b/src/views/Template/ProblemsinLibrary.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/src/views/inspection/ProhibitedList.vue b/src/views/inspection/ProhibitedList.vue new file mode 100644 index 0000000..67c6bf9 --- /dev/null +++ b/src/views/inspection/ProhibitedList.vue @@ -0,0 +1,16 @@ + + + + +