manage-client 3.2.171 → 3.2.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/SellReport/DayStairMoneyHunum.vue +256 -0
- package/src/components/SellReport/MonthStairHunum.vue +256 -0
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/filiale/WEINAN/ChargeQuery.vue +2 -2
- package/src/filiale/WEINAN/InspectListGas.vue +544 -0
- package/src/filiale/WEINAN/InspectListUser.vue +11 -1
- package/src/filiale/WEINAN/RecordInfoQuery.vue +7 -1
- package/src/filiale/WEINAN/sale.js +3 -2
- package/src/filiale/kelai/AreaChargeQuery.vue +393 -0
- package/src/filiale/kelai/sale.js +3 -1
- package/src/filiale/tongchuan/sale.js +0 -1
- package/src/filiale/tongchuan/webmeterManage.js +9 -0
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +25 -16
- package/src/filiale/zhongyi/CallReport/DropDownBox.vue +15 -25
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +17 -2
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +95 -37
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +15 -4
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +86 -100
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +34 -55
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +33 -61
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +69 -5
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +32 -41
- package/src/reportManage.js +8 -0
- package/static/images/zhongyi//345/244/251/346/260/224-/346/231/264.png +0 -0
- package/static/images/zhongyi//346/232/264/351/233/250/345/210/260/345/244/247/346/232/264/351/233/250.png +0 -0
- package/static/images/zhongyi//351/230/264/345/244/251.png +0 -0
- package/static/images/zhongyi//351/233/276.png +0 -0
|
@@ -2,17 +2,26 @@
|
|
|
2
2
|
<!-- 完成率组件 -->
|
|
3
3
|
<div class="percentageComplete">
|
|
4
4
|
<div class="view">
|
|
5
|
-
<div class="pending"><i></i><span>待处理</span><span class="pendingNum">{{ data.pendingNum }}</span></div>
|
|
6
|
-
<div class="beingProcessed"><i></i><span>处理中</span><span class="beingProcessedNum">{{ data.beingProcessedNum }}</span></div>
|
|
7
|
-
<div class="completed"><i></i><span>已完成</span><span class="completedNum">{{ data.completedNum }}</span></div>
|
|
5
|
+
<div class="pending"><i></i><span>待处理</span><span class="pendingNum">{{ data.pendingNum ?data.pendingNum:'0' }}</span></div>
|
|
6
|
+
<div class="beingProcessed"><i></i><span>处理中</span><span class="beingProcessedNum">{{ data.beingProcessedNum?data.beingProcessedNum:'0' }}</span></div>
|
|
7
|
+
<div class="completed"><i></i><span>已完成</span><span class="completedNum">{{ data.completedNum?data.completedNum:'0' }}</span></div>
|
|
8
8
|
<div class="completedEcharts"></div>
|
|
9
9
|
<div class="percentText">完成率</div>
|
|
10
10
|
</div>
|
|
11
11
|
<div class="data">
|
|
12
12
|
<ul>
|
|
13
|
-
<li><span>昨日工单</span><span class="day">{{ data.day }}</span><span>日环比</span
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
<li><span>昨日工单</span><span class="day">{{ data.day }}</span><span>日环比</span>
|
|
14
|
+
<div v-show="data.daysFrom != '0%'" :class="data.daysFrom.startsWith('-') ?'yellowArrows':'blueArrows'"></div>
|
|
15
|
+
<span :class="data.daysFrom.startsWith('-') ?'lower':'increase'">{{ data.daysFrom.startsWith('-') ? data.daysFrom.substring(1) : data.daysFrom }}</span>
|
|
16
|
+
</li>
|
|
17
|
+
<li><span>月度工单量</span><span class="month">{{ data.month }}</span><span>月环比</span>
|
|
18
|
+
<div v-show="data.onAMonthlyBasis != '0%'":class="data.onAMonthlyBasis.startsWith('-') ?'yellowArrows':'blueArrows'"></div>
|
|
19
|
+
<span :class="data.onAMonthlyBasis.startsWith('-') ?'lower':'increase'">{{ data.onAMonthlyBasis.startsWith('-') ?data.onAMonthlyBasis.substring(1) : data.onAMonthlyBasis }}</span>
|
|
20
|
+
</li>
|
|
21
|
+
<li><span>年度工单量</span><span class="year">{{ data.year }}</span><span>同比</span>
|
|
22
|
+
<div v-show="data.yoy != '0%'" :class="data.yoy.startsWith('-') ?'yellowArrows':'blueArrows'"></div>
|
|
23
|
+
<span :class="data.yoy.startsWith('-') ?'lower':'increase'">{{ data.yoy.startsWith('-') ? data.yoy.substring(1) : data.yoy}}</span>
|
|
24
|
+
</li>
|
|
16
25
|
</ul>
|
|
17
26
|
</div>
|
|
18
27
|
</div>
|
|
@@ -29,71 +38,120 @@ export default {
|
|
|
29
38
|
f_orgid: '',
|
|
30
39
|
data:{
|
|
31
40
|
//待处理
|
|
32
|
-
pendingNum:'
|
|
41
|
+
pendingNum:'',
|
|
33
42
|
// 处理中
|
|
34
|
-
beingProcessedNum:'
|
|
43
|
+
beingProcessedNum:'',
|
|
35
44
|
//已完成
|
|
36
|
-
completedNum:'
|
|
45
|
+
completedNum:'',
|
|
37
46
|
//昨日工单
|
|
38
|
-
day:'
|
|
47
|
+
day:'',
|
|
39
48
|
//月度工单量
|
|
40
|
-
month:'
|
|
49
|
+
month:'',
|
|
41
50
|
//年度工单量
|
|
42
|
-
year:'
|
|
51
|
+
year:'',
|
|
43
52
|
//日环比、月环比、同比第一个参数,0为降,1为增长
|
|
44
53
|
//日环比
|
|
45
|
-
daysFrom:
|
|
54
|
+
daysFrom:'',
|
|
46
55
|
//月环比
|
|
47
|
-
onAMonthlyBasis:
|
|
56
|
+
onAMonthlyBasis:'',
|
|
48
57
|
//同比
|
|
49
|
-
yoy:
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
yoy:''
|
|
52
59
|
}
|
|
53
60
|
}
|
|
54
61
|
},
|
|
55
62
|
props:['filialeId'],
|
|
56
63
|
methods:{
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
//获取完成
|
|
65
|
+
getWorkorder(){
|
|
59
66
|
let http = new HttpResetClass()
|
|
60
|
-
http.load('post','rs/logic/
|
|
67
|
+
http.load('post','rs/logic/WorkorderCompletionInformation',{
|
|
61
68
|
data: {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
70
|
+
}
|
|
71
|
+
},{rejectMsg:null,resolveMsg:null}).then((ress)=>{
|
|
72
|
+
console.log("完成"+JSON.stringify(ress.data))
|
|
73
|
+
this.data.completedNum = ress.data.data.yiwancheng||0
|
|
74
|
+
this.data.pendingNum = ress.data.data.daichuli||0
|
|
75
|
+
this.data.beingProcessedNum = ress.data.data.chulizhong||0
|
|
76
|
+
console.log(" this.data"+JSON.stringify(this.data))
|
|
77
|
+
this.$emit('wanchenglv',ress.data.data.wanchenglv)
|
|
78
|
+
})
|
|
79
|
+
},
|
|
80
|
+
//获取环比
|
|
81
|
+
gettongyu(){
|
|
82
|
+
let http = new HttpResetClass()
|
|
83
|
+
http.load('post','rs/logic/AnnulusStatistics',{
|
|
84
|
+
data: {
|
|
85
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
65
86
|
}
|
|
66
87
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
67
|
-
console.log(res.data)
|
|
68
|
-
this.
|
|
88
|
+
console.log("gettongyu"+JSON.stringify(res.data))
|
|
89
|
+
this.data.daysFrom = res.data.data[0].rihuanbi||0
|
|
90
|
+
this.data.onAMonthlyBasis = res.data.data[0].yuehuanbi||0
|
|
91
|
+
this.data.yoy = res.data.data[0].nianhuanbi||0
|
|
69
92
|
})
|
|
70
93
|
},
|
|
71
|
-
|
|
72
|
-
|
|
94
|
+
//获取月工单数量环
|
|
95
|
+
getmonthworkoreder(){
|
|
73
96
|
let http = new HttpResetClass()
|
|
74
97
|
http.load('post','rs/logic/Monthlyworkorderstatistics',{
|
|
75
98
|
data: {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
99
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
100
|
+
}
|
|
101
|
+
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
102
|
+
console.log("getmonthworkoreder"+JSON.stringify(res.data))
|
|
103
|
+
this.data.month = res.data.data[0].monthsum||0
|
|
104
|
+
})
|
|
105
|
+
},
|
|
106
|
+
//获取天工单数量环
|
|
107
|
+
getdayworkoreder(){
|
|
108
|
+
let http = new HttpResetClass()
|
|
109
|
+
http.load('post','rs/logic/Dayworkorderstatistics',{
|
|
110
|
+
data: {
|
|
111
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
79
112
|
}
|
|
80
113
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
81
|
-
console.log(res.data)
|
|
82
|
-
this.
|
|
114
|
+
console.log("getdayworkoreder"+JSON.stringify(res.data))
|
|
115
|
+
this.data.day = res.data.data[0].daysum||0
|
|
83
116
|
})
|
|
84
117
|
},
|
|
118
|
+
//获取年度工单数量环
|
|
119
|
+
getyearworkoreder(){
|
|
120
|
+
let http = new HttpResetClass()
|
|
121
|
+
http.load('post','rs/logic/Yearworkorderstatistics',{
|
|
122
|
+
data: {
|
|
123
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
124
|
+
}
|
|
125
|
+
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
126
|
+
console.log("year"+JSON.stringify(res.data))
|
|
127
|
+
this.data.year = res.data.data[0].yearsum||0
|
|
128
|
+
})
|
|
129
|
+
}
|
|
85
130
|
},
|
|
86
131
|
ready(){
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
132
|
+
this.getWorkorder()
|
|
133
|
+
this.gettongyu()
|
|
134
|
+
this.getmonthworkoreder()
|
|
135
|
+
this.getdayworkoreder()
|
|
136
|
+
this.getyearworkoreder()
|
|
137
|
+
setInterval(() => {
|
|
138
|
+
this.getWorkorder()
|
|
139
|
+
this.gettongyu()
|
|
140
|
+
this.getmonthworkoreder()
|
|
141
|
+
this.getdayworkoreder()
|
|
142
|
+
this.getyearworkoreder()
|
|
143
|
+
}, 300000)
|
|
89
144
|
},
|
|
90
145
|
watch: {
|
|
91
146
|
'filialeId'(val){
|
|
92
147
|
console.log("filialeId>>>=====",val)
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
148
|
+
this.getWorkorder()
|
|
149
|
+
this.gettongyu()
|
|
150
|
+
this.getmonthworkoreder()
|
|
151
|
+
this.getdayworkoreder()
|
|
152
|
+
this.getyearworkoreder()
|
|
95
153
|
}
|
|
96
|
-
}
|
|
154
|
+
}
|
|
97
155
|
}
|
|
98
156
|
</script>
|
|
99
157
|
|
|
@@ -9,22 +9,27 @@ import echarts from "echarts";
|
|
|
9
9
|
export default {
|
|
10
10
|
name: "PercentageCompleteEchart",
|
|
11
11
|
// components: {},
|
|
12
|
-
|
|
12
|
+
props:['wanchengLv'],
|
|
13
13
|
data(){
|
|
14
14
|
return {
|
|
15
|
-
percentageComplete:
|
|
15
|
+
percentageComplete:this.wanchengLv?this.wanchengLv:'0%',
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
ready(){
|
|
19
19
|
this.percentageCompleteEchart()
|
|
20
|
+
|
|
20
21
|
},
|
|
21
22
|
mounted(){
|
|
23
|
+
this.percentageCompletel()
|
|
22
24
|
},
|
|
23
25
|
methods:{
|
|
24
|
-
|
|
26
|
+
percentageCompletel(){
|
|
27
|
+
this.percentageComplete=this.wanchengLv?this.wanchengLv:'0%'
|
|
28
|
+
},
|
|
25
29
|
percentageCompleteEchart(){
|
|
26
30
|
let myChart = echarts.init(document.getElementById("echart"));
|
|
27
|
-
let value = this.percentageComplete;
|
|
31
|
+
let value = parseInt(this.percentageComplete.substring(0, this.percentageComplete.length - 1));
|
|
32
|
+
console.log("value"+value)
|
|
28
33
|
let option = {
|
|
29
34
|
// backgroundColor:"#061740",
|
|
30
35
|
title: {
|
|
@@ -122,6 +127,12 @@ export default {
|
|
|
122
127
|
|
|
123
128
|
},
|
|
124
129
|
|
|
130
|
+
},
|
|
131
|
+
watch: {
|
|
132
|
+
'wanchengLv'(val){
|
|
133
|
+
this.percentageCompletel();
|
|
134
|
+
this.percentageCompleteEchart();
|
|
135
|
+
}
|
|
125
136
|
}
|
|
126
137
|
|
|
127
138
|
}
|
|
@@ -1,85 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!-- 客服状态组件 -->
|
|
3
3
|
<div class="service-status">
|
|
4
|
-
<div>
|
|
5
|
-
<div>
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
<div v-if="service[0].name==='离线'"><i class="service2"></i></div>
|
|
9
|
-
|
|
10
|
-
<div v-if="service[0].state==='振铃'"><i class="status1"></i></div>
|
|
11
|
-
<div v-if="service[0].state==='接听'"><i class="status2"></i></div>
|
|
12
|
-
<div v-if="service[0].state==='等待'"><i class="status3"></i></div>
|
|
13
|
-
<div v-if="service[0].state==='离线'"><i class="status4"></i></div>
|
|
14
|
-
|
|
15
|
-
<span>{{ service[0].name }}</span>
|
|
4
|
+
<div v-for="serviceData in service" >
|
|
5
|
+
<div v-if="serviceData.aState!=='未登录'">
|
|
6
|
+
<i class="service1"></i>
|
|
7
|
+
<span>{{ serviceData.aName || '未登录' }}</span>
|
|
16
8
|
</div>
|
|
17
|
-
<div>
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
<div v-if="service[1].name==='离线'"><i class="service2"></i></div>
|
|
21
|
-
|
|
22
|
-
<div v-if="service[1].state==='振铃'"><i class="status1"></i></div>
|
|
23
|
-
<div v-if="service[1].state==='接听'"><i class="status2"></i></div>
|
|
24
|
-
<div v-if="service[1].state==='等待'"><i class="status3"></i></div>
|
|
25
|
-
<div v-if="service[1].state==='离线'"><i class="status4"></i></div>
|
|
26
|
-
|
|
27
|
-
<span>{{ service[1].name }}</span>
|
|
28
|
-
</div>
|
|
29
|
-
<div>
|
|
30
|
-
|
|
31
|
-
<div v-if="service[2].name!=='离线'"><i class="service1"></i></div>
|
|
32
|
-
<div v-if="service[2].name==='离线'"><i class="service2"></i></div>
|
|
33
|
-
|
|
34
|
-
<div v-if="service[2].state==='振铃'"><i class="status1"></i></div>
|
|
35
|
-
<div v-if="service[2].state==='接听'"><i class="status2"></i></div>
|
|
36
|
-
<div v-if="service[2].state==='等待'"><i class="status3"></i></div>
|
|
37
|
-
<div v-if="service[2].state==='离线'"><i class="status4"></i></div>
|
|
38
|
-
|
|
39
|
-
<span>{{ service[2].name }}</span>
|
|
9
|
+
<div v-if="serviceData.aState==='未登录'">
|
|
10
|
+
<i class="service2"></i>
|
|
11
|
+
<span>{{ serviceData.aName || '未登录' }}</span>
|
|
40
12
|
</div>
|
|
13
|
+
<div v-if="serviceData.aState==='正在振铃'"><i class="status1"></i></div>
|
|
14
|
+
<div v-if="['忙','正在保存', '回访通话','通话中'].indexOf(serviceData.aState) >= 0"><i class="status2"></i></div>
|
|
15
|
+
<div v-if="serviceData.aState==='空闲'"><i class="status3"></i></div>
|
|
16
|
+
<div v-if="serviceData.aState==='未登录'"><i class="status4"></i></div>
|
|
41
17
|
</div>
|
|
42
|
-
<div class="move-down">
|
|
43
|
-
<div>
|
|
44
|
-
|
|
45
|
-
<div v-if="service[3].name!=='离线'"><i class="service1"></i></div>
|
|
46
|
-
<div v-if="service[3].name==='离线'"><i class="service2"></i></div>
|
|
47
|
-
|
|
48
|
-
<div v-if="service[3].state==='振铃'"><i class="status1"></i></div>
|
|
49
|
-
<div v-if="service[3].state==='接听'"><i class="status2"></i></div>
|
|
50
|
-
<div v-if="service[3].state==='等待'"><i class="status3"></i></div>
|
|
51
|
-
<div v-if="service[3].state==='离线'"><i class="status4"></i></div>
|
|
52
|
-
|
|
53
|
-
<span>{{ service[3].name }}</span>
|
|
54
|
-
</div>
|
|
55
|
-
<div>
|
|
56
|
-
|
|
57
|
-
<div v-if="service[4].name!=='离线'"><i class="service1"></i></div>
|
|
58
|
-
<div v-if="service[4].name==='离线'"><i class="service2"></i></div>
|
|
59
|
-
|
|
60
|
-
<div v-if="service[4].state==='振铃'"><i class="status1"></i></div>
|
|
61
|
-
<div v-if="service[4].state==='接听'"><i class="status2"></i></div>
|
|
62
|
-
<div v-if="service[4].state==='等待'"><i class="status3"></i></div>
|
|
63
|
-
<div v-if="service[4].state==='离线'"><i class="status4"></i></div>
|
|
64
|
-
|
|
65
|
-
<span>{{ service[4].name }}</span>
|
|
66
|
-
</div>
|
|
67
|
-
<div>
|
|
68
|
-
|
|
69
|
-
<div v-if="service[5].name!=='离线'"><i class="service1"></i></div>
|
|
70
|
-
<div v-if="service[5].name==='离线'"><i class="service2"></i></div>
|
|
71
|
-
|
|
72
|
-
<div v-if="service[5].state==='振铃'"><i class="status1"></i></div>
|
|
73
|
-
<div v-if="service[5].state==='接听'"><i class="status2"></i></div>
|
|
74
|
-
<div v-if="service[5].state==='等待'"><i class="status3"></i></div>
|
|
75
|
-
<div v-if="service[5].state==='离线'"><i class="status4"></i></div>
|
|
76
|
-
|
|
77
|
-
<span>{{ service[5].name }}</span>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
18
|
</div>
|
|
82
|
-
|
|
83
19
|
<div class="status-count">
|
|
84
20
|
<div>
|
|
85
21
|
<i class="answer"></i>
|
|
@@ -107,6 +43,8 @@
|
|
|
107
43
|
|
|
108
44
|
<script>
|
|
109
45
|
import {HttpResetClass} from "vue-client";
|
|
46
|
+
import * as Util from "../../../Util";
|
|
47
|
+
import axios from "axios";
|
|
110
48
|
|
|
111
49
|
export default {
|
|
112
50
|
|
|
@@ -117,36 +55,87 @@ export default {
|
|
|
117
55
|
data(){
|
|
118
56
|
return{
|
|
119
57
|
data:{
|
|
120
|
-
answerNum:
|
|
121
|
-
awaitNum:
|
|
122
|
-
ringNum:
|
|
123
|
-
offLineNum:
|
|
58
|
+
answerNum:0,
|
|
59
|
+
awaitNum:0,
|
|
60
|
+
ringNum:0,
|
|
61
|
+
offLineNum:0,
|
|
124
62
|
|
|
125
63
|
},
|
|
126
|
-
service:[
|
|
127
|
-
{name:'刘竹凡',state:'振铃'},//振铃,接听,等待,离线
|
|
128
|
-
{name:'马静静',state:'接听'},
|
|
129
|
-
{name:'刘竹凡',state:'振铃'},
|
|
130
|
-
{name:'李云玉',state:'接听'},
|
|
131
|
-
{name:'张思雨',state:'等待'},
|
|
132
|
-
{name:'离线',state:'离线'},
|
|
133
|
-
],
|
|
64
|
+
service:[],
|
|
134
65
|
|
|
135
66
|
|
|
136
67
|
}
|
|
137
68
|
},
|
|
138
69
|
|
|
139
70
|
ready(){
|
|
140
|
-
|
|
71
|
+
this.getRecordwork()
|
|
72
|
+
setInterval(() => {
|
|
73
|
+
this.getRecordwork()
|
|
74
|
+
}, 2000)
|
|
141
75
|
},
|
|
142
|
-
|
|
143
76
|
methods:{
|
|
144
|
-
|
|
77
|
+
getRecordwork(){
|
|
145
78
|
let http = new HttpResetClass()
|
|
146
|
-
http.load('
|
|
147
|
-
|
|
148
|
-
|
|
79
|
+
http.load('GET', '/Dual/GetALLAttendant', {}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
80
|
+
//tag
|
|
81
|
+
console.log("getRecordwork"+JSON.stringify(res.data))
|
|
82
|
+
this.data.answerNum = 0
|
|
83
|
+
this.data.awaitNum = 0
|
|
84
|
+
this.data.ringNum = 0
|
|
85
|
+
this.data.offLineNum = 0
|
|
86
|
+
this.service=res.data.packets
|
|
87
|
+
console.log('this.service='+JSON.stringify(this.service));
|
|
88
|
+
for (const serviceData of this.service) {
|
|
89
|
+
switch (serviceData.aState) {
|
|
90
|
+
case '未登录':
|
|
91
|
+
this.data.offLineNum ++
|
|
92
|
+
break
|
|
93
|
+
|
|
94
|
+
case '忙':
|
|
95
|
+
// case '回访通话':
|
|
96
|
+
case '通话中':
|
|
97
|
+
this.data.answerNum ++
|
|
98
|
+
break
|
|
99
|
+
case '空闲':
|
|
100
|
+
this.data.awaitNum ++
|
|
101
|
+
break
|
|
102
|
+
case '正在振铃':
|
|
103
|
+
case '正在保存':
|
|
104
|
+
this.data.ringNum ++
|
|
105
|
+
break
|
|
106
|
+
}
|
|
107
|
+
}
|
|
149
108
|
})
|
|
109
|
+
// axios.get('/Dual/GetALLAttendant')
|
|
110
|
+
// .then((response) => {
|
|
111
|
+
// console.log("getRecordwork"+JSON.stringify(response.data))
|
|
112
|
+
// this.data.answerNum = 0
|
|
113
|
+
// this.data.awaitNum = 0
|
|
114
|
+
// this.data.ringNum = 0
|
|
115
|
+
// this.data.offLineNum = 0
|
|
116
|
+
// this.service=response.data.packets
|
|
117
|
+
// console.log('this.service='+JSON.stringify(this.service));
|
|
118
|
+
// for (const serviceData of this.service) {
|
|
119
|
+
// switch (serviceData.aState) {
|
|
120
|
+
// case '未登录':
|
|
121
|
+
// this.data.offLineNum ++
|
|
122
|
+
// break
|
|
123
|
+
//
|
|
124
|
+
// case '忙':
|
|
125
|
+
// // case '回访通话':
|
|
126
|
+
// case '通话中':
|
|
127
|
+
// this.data.answerNum ++
|
|
128
|
+
// break
|
|
129
|
+
// case '空闲':
|
|
130
|
+
// this.data.awaitNum ++
|
|
131
|
+
// break
|
|
132
|
+
// case '正在振铃':
|
|
133
|
+
// case '正在保存':
|
|
134
|
+
// this.data.ringNum ++
|
|
135
|
+
// break
|
|
136
|
+
// }
|
|
137
|
+
// }
|
|
138
|
+
// })
|
|
150
139
|
},
|
|
151
140
|
|
|
152
141
|
|
|
@@ -162,15 +151,16 @@ export default {
|
|
|
162
151
|
height: 31.944vh;
|
|
163
152
|
position: absolute;
|
|
164
153
|
top: 23.241vh;
|
|
165
|
-
left:
|
|
154
|
+
left: 36vw;
|
|
166
155
|
/* background: rgba(255, 255, 255, .04); */
|
|
167
|
-
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-flow: row wrap;
|
|
168
158
|
}
|
|
169
159
|
|
|
170
160
|
.service-status div {
|
|
171
161
|
height: 15.741vh;
|
|
172
162
|
display: flex;
|
|
173
|
-
|
|
163
|
+
width: 200px;
|
|
174
164
|
}
|
|
175
165
|
|
|
176
166
|
.move-down {
|
|
@@ -217,7 +207,6 @@ export default {
|
|
|
217
207
|
background-position: 0 0;
|
|
218
208
|
background-size: contain;
|
|
219
209
|
position: absolute;
|
|
220
|
-
right: 0.052vw;
|
|
221
210
|
bottom: 0.185vh;
|
|
222
211
|
}
|
|
223
212
|
|
|
@@ -229,7 +218,6 @@ export default {
|
|
|
229
218
|
background-position: 0 0;
|
|
230
219
|
background-size: contain;
|
|
231
220
|
position: absolute;
|
|
232
|
-
right: 0.052vw;
|
|
233
221
|
bottom: 0.104vw;
|
|
234
222
|
}
|
|
235
223
|
|
|
@@ -241,7 +229,6 @@ export default {
|
|
|
241
229
|
background-position: 0 0;
|
|
242
230
|
background-size: contain;
|
|
243
231
|
position: absolute;
|
|
244
|
-
right: 0.052vw;
|
|
245
232
|
bottom: 0.185vh;
|
|
246
233
|
}
|
|
247
234
|
|
|
@@ -253,7 +240,6 @@ export default {
|
|
|
253
240
|
background-position: 0 0;
|
|
254
241
|
background-size: contain;
|
|
255
242
|
position: absolute;
|
|
256
|
-
right: 0.052vw;
|
|
257
243
|
bottom: 0.185vh;
|
|
258
244
|
}
|
|
259
245
|
|
|
@@ -3,26 +3,16 @@
|
|
|
3
3
|
<div v-for="value in titleList">{{ value }}</div>
|
|
4
4
|
</div>
|
|
5
5
|
<div class="userinfo-data">
|
|
6
|
-
<!-- <table>-->
|
|
7
|
-
<!-- <thead>-->
|
|
8
|
-
<!-- <tr class="title-area" >-->
|
|
9
|
-
<!-- <td v-for="value in titleList">{{ value }}</td>-->
|
|
10
|
-
<!-- </tr>-->
|
|
11
|
-
<!-- </thead>-->
|
|
12
|
-
<!-- <tbody class="swiper-container">-->
|
|
13
|
-
<!-- <tr class="swiper-wrapper" v-for="item in noticeList">-->
|
|
14
|
-
<!-- <template v-for="value in item">-->
|
|
15
|
-
<!-- <td class="swiper-slide">{{value}} </td>-->
|
|
16
|
-
<!-- </template>-->
|
|
17
|
-
<!-- </tr>-->
|
|
18
|
-
<!-- </tbody>-->
|
|
19
|
-
<!-- </table>-->
|
|
20
6
|
<div class="swiper-container">
|
|
21
7
|
<div class="swiper-wrapper">
|
|
22
8
|
<div class="swiper-slide" v-for="item in noticeList">
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
<div>{{item.f_created_date||'无'}}</div>
|
|
10
|
+
<div>{{item.f_user_name||'无'}}</div>
|
|
11
|
+
<div>{{item.f_workorder_type||'无'}}</div>
|
|
12
|
+
<div>{{item.f_address||'无'}}</div>
|
|
13
|
+
<div>{{item.f_single_man||'无'}}</div>
|
|
14
|
+
<div v-if="item.f_workorder_type=='报修单'||item.f_workorder_type=='置换通气单'">{{'下派'}}</div>
|
|
15
|
+
<div v-else>{{item.f_handlings||'无'}}</div>
|
|
26
16
|
</div>
|
|
27
17
|
</div>
|
|
28
18
|
</div>
|
|
@@ -62,7 +52,7 @@ export default {
|
|
|
62
52
|
/* 行数 row 速度 speed */
|
|
63
53
|
type:Object,
|
|
64
54
|
default: {
|
|
65
|
-
row:
|
|
55
|
+
row:6,
|
|
66
56
|
speed:3
|
|
67
57
|
}
|
|
68
58
|
},
|
|
@@ -76,16 +66,17 @@ export default {
|
|
|
76
66
|
type:Array,
|
|
77
67
|
default:[
|
|
78
68
|
{
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
state:''
|
|
69
|
+
f_created_date: '',
|
|
70
|
+
f_user_name:'',
|
|
71
|
+
f_workorder_type:'',
|
|
72
|
+
f_address:'',
|
|
73
|
+
f_single_man:'',
|
|
74
|
+
f_handlings:''
|
|
86
75
|
},
|
|
87
76
|
]
|
|
88
77
|
}
|
|
78
|
+
},
|
|
79
|
+
ready(){
|
|
89
80
|
}
|
|
90
81
|
}
|
|
91
82
|
</script>
|
|
@@ -100,28 +91,16 @@ export default {
|
|
|
100
91
|
position: relative;
|
|
101
92
|
margin-top: 2.407vh;
|
|
102
93
|
text-align: center;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
//div:nth-of-type(7){width: 11%;}
|
|
110
|
-
div:nth-of-type(1){width: 100px; margin-left: 142px;}
|
|
111
|
-
div:nth-of-type(2){width: 109px; margin-left: 142px;}
|
|
112
|
-
div:nth-of-type(3){width: 109px; margin-left: 52px;}
|
|
113
|
-
div:nth-of-type(4){width: 110px; margin-left: 107px;}
|
|
114
|
-
div:nth-of-type(5){width: 109px; margin-left: 177px;}
|
|
115
|
-
div:nth-of-type(6){width: 100px; margin-left: 49px;}
|
|
116
|
-
//div:nth-of-type(7){width: 100px;margin-left: 37px}
|
|
94
|
+
div:nth-of-type(1){width: 260px}
|
|
95
|
+
div:nth-of-type(2){width: 180px}
|
|
96
|
+
div:nth-of-type(3){width: 170px}
|
|
97
|
+
div:nth-of-type(4){width: 400px}
|
|
98
|
+
div:nth-of-type(5){width: 150px}
|
|
99
|
+
div:nth-of-type(6){width: 150px}
|
|
117
100
|
}
|
|
118
101
|
|
|
119
102
|
.userinfo-data {
|
|
120
103
|
height: 19.63vh;
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: 8.148vh;
|
|
123
|
-
left: 0.521vw;
|
|
124
|
-
width: 71.354vw;
|
|
125
104
|
pointer-events: none;
|
|
126
105
|
}
|
|
127
106
|
.swiper-slide{
|
|
@@ -129,25 +108,23 @@ export default {
|
|
|
129
108
|
color: #ffffff;
|
|
130
109
|
font-size: 22px;
|
|
131
110
|
line-height: 41px;
|
|
132
|
-
justify-content: space-evenly;
|
|
133
111
|
|
|
134
112
|
div:nth-of-type(1){
|
|
135
|
-
width:
|
|
113
|
+
width: 260px;
|
|
114
|
+
text-align: center;
|
|
136
115
|
}
|
|
137
|
-
//div:nth-of-type(2){
|
|
138
|
-
// width: 70px;
|
|
139
|
-
//}
|
|
140
116
|
div:nth-of-type(2){
|
|
141
|
-
width:
|
|
117
|
+
width: 180px;
|
|
118
|
+
text-align: center;
|
|
142
119
|
}
|
|
143
120
|
div:nth-of-type(3){
|
|
144
|
-
width:
|
|
121
|
+
width: 170px;
|
|
122
|
+
text-align: center;
|
|
145
123
|
}
|
|
146
124
|
div:nth-of-type(4){
|
|
147
125
|
height: 100%;
|
|
148
|
-
width:
|
|
149
|
-
|
|
150
|
-
margin-left: 40px;
|
|
126
|
+
width: 400px;
|
|
127
|
+
text-align: center;
|
|
151
128
|
div{
|
|
152
129
|
overflow: hidden;
|
|
153
130
|
text-overflow: ellipsis;
|
|
@@ -155,11 +132,13 @@ export default {
|
|
|
155
132
|
}
|
|
156
133
|
}
|
|
157
134
|
div:nth-of-type(5){
|
|
158
|
-
width:
|
|
135
|
+
width: 150px;
|
|
136
|
+
text-align: center;
|
|
159
137
|
}
|
|
160
138
|
div:nth-of-type(6){
|
|
161
|
-
width:
|
|
139
|
+
width: 150px;
|
|
162
140
|
color: #F7DB35;
|
|
141
|
+
text-align: center;
|
|
163
142
|
}
|
|
164
143
|
}
|
|
165
144
|
|