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
|
@@ -7,81 +7,52 @@
|
|
|
7
7
|
|
|
8
8
|
<script>
|
|
9
9
|
import SwiperTools from "./SwiperTools"
|
|
10
|
+
import {HttpResetClass} from "vue-client";
|
|
10
11
|
export default {
|
|
11
|
-
|
|
12
12
|
name: "Userinfo",
|
|
13
13
|
components:{
|
|
14
14
|
SwiperTools
|
|
15
15
|
},
|
|
16
16
|
data(){
|
|
17
17
|
return{
|
|
18
|
-
noticeList:[
|
|
19
|
-
{
|
|
20
|
-
date: "2022-09-01 10:25:06",
|
|
21
|
-
// duration:'2min',
|
|
22
|
-
name:'赵王莉1',
|
|
23
|
-
orderType:'报修',
|
|
24
|
-
address:'建设小区21号112室',
|
|
25
|
-
receptionist:'候倩楠',
|
|
26
|
-
state:'接听'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
date: "2022-09-01 10:25:06",
|
|
30
|
-
// duration:'2min',
|
|
31
|
-
name:'林妹妹1',
|
|
32
|
-
orderType:'报修',
|
|
33
|
-
address:'建设小区21号112室',
|
|
34
|
-
receptionist:'候倩楠',
|
|
35
|
-
state:'接听'
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
date: "2022-09-01 10:25:06",
|
|
39
|
-
// duration:'2min',
|
|
40
|
-
name:'赵王莉2',
|
|
41
|
-
orderType:'报修',
|
|
42
|
-
address:'建设小区21号112室',
|
|
43
|
-
receptionist:'候倩楠',
|
|
44
|
-
state:'接听'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
date: "2022-09-01 10:25:06",
|
|
48
|
-
// duration:'2min',
|
|
49
|
-
name:'林妹妹2',
|
|
50
|
-
orderType:'报修',
|
|
51
|
-
address:'建设小区21号112室',
|
|
52
|
-
receptionist:'候倩楠',
|
|
53
|
-
state:'接听'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
date: "2022-09-01 10:25:06",
|
|
57
|
-
// duration:'2min',
|
|
58
|
-
name:'赵王莉3',
|
|
59
|
-
orderType:'报修',
|
|
60
|
-
address:'建设小区21号112室',
|
|
61
|
-
receptionist:'候倩楠',
|
|
62
|
-
state:'接听'
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
date: "2022-09-01 10:25:06",
|
|
66
|
-
// duration:'2min',
|
|
67
|
-
name:'林妹妹3',
|
|
68
|
-
orderType:'报修',
|
|
69
|
-
address:'建设小区21号112室',
|
|
70
|
-
receptionist:'候倩楠',
|
|
71
|
-
state:'接听'
|
|
72
|
-
},
|
|
73
|
-
],
|
|
18
|
+
noticeList:[],
|
|
74
19
|
titleList:{
|
|
75
|
-
date: '
|
|
76
|
-
// duration: '来电时长',
|
|
20
|
+
date: '派单时间',
|
|
77
21
|
name:'用户姓名',
|
|
78
22
|
orderType:'工单类型',
|
|
79
23
|
address:'用户地址',
|
|
80
|
-
receptionist:'
|
|
81
|
-
state:'
|
|
24
|
+
receptionist:'话务员',
|
|
25
|
+
state:'工单状态'
|
|
82
26
|
}
|
|
83
27
|
}
|
|
84
28
|
},
|
|
29
|
+
props:['filialeId'],
|
|
30
|
+
methods:{
|
|
31
|
+
getworkuser(){
|
|
32
|
+
let http = new HttpResetClass()
|
|
33
|
+
http.load('post','rs/logic/Workorderinformation',{
|
|
34
|
+
data: {
|
|
35
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
36
|
+
}
|
|
37
|
+
},{rejectMsg:null,resolveMsg:null}).then((ress)=>{
|
|
38
|
+
console.log("getworkuser"+JSON.stringify(ress.data))
|
|
39
|
+
this.noticeList = ress.data.data
|
|
40
|
+
console.log("this.noticeList"+JSON.stringify(this.noticeList))
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
ready(){
|
|
45
|
+
this.getworkuser()
|
|
46
|
+
setInterval(() => {
|
|
47
|
+
this.getworkuser()
|
|
48
|
+
}, 300000)
|
|
49
|
+
},
|
|
50
|
+
watch: {
|
|
51
|
+
'filialeId'(val){
|
|
52
|
+
console.log("filialeId>>>=====",val)
|
|
53
|
+
this.getworkuser()
|
|
54
|
+
}
|
|
55
|
+
}
|
|
85
56
|
}
|
|
86
57
|
</script>
|
|
87
58
|
|
|
@@ -93,5 +64,6 @@ export default {
|
|
|
93
64
|
position: absolute;
|
|
94
65
|
right: 1.09375vw;
|
|
95
66
|
bottom: 3.889vh;
|
|
67
|
+
padding: 0 1vw;
|
|
96
68
|
}
|
|
97
69
|
</style>
|
|
@@ -1,21 +1,85 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="weather">
|
|
3
|
-
<div class="weather-icon"></div>
|
|
3
|
+
<div id="scan" class="weather-icon"></div>
|
|
4
4
|
<span class="weather-text">
|
|
5
|
-
|
|
5
|
+
{{weatherList.wea}} {{weatherList.tem_night}}℃~{{weatherList.tem_day}}℃ 风速:{{weatherList.win_meter}}
|
|
6
|
+
风向:{{weatherList.win}}
|
|
6
7
|
</span>
|
|
7
8
|
</div>
|
|
8
9
|
</template>
|
|
9
10
|
|
|
10
11
|
<script>
|
|
12
|
+
import axios from "axios";
|
|
11
13
|
export default {
|
|
12
|
-
name: "WeatherData"
|
|
14
|
+
name: "WeatherData",
|
|
15
|
+
data(){
|
|
16
|
+
return{
|
|
17
|
+
cityid: '',
|
|
18
|
+
weatherList: {},
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
props:['filiale'],
|
|
22
|
+
ready(){
|
|
23
|
+
this.serchWeather()
|
|
24
|
+
setInterval(() => {
|
|
25
|
+
this.serchWeather()
|
|
26
|
+
}, 28800000)
|
|
27
|
+
console.log("ssss"+JSON.stringify(this.filiale))
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
serchWeather(){
|
|
32
|
+
// 调用天气接口
|
|
33
|
+
axios.get('https://www.tianqiapi.com/free/day?appid=85841439&appsecret=EKCDLT4I&cityid=' + this.cityid)
|
|
34
|
+
.then((response) => {
|
|
35
|
+
console.log("天气"+JSON.stringify(response.data))
|
|
36
|
+
this.weatherList = response.data
|
|
37
|
+
console.log("22222"+JSON.stringify(this.weatherList))
|
|
38
|
+
})
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
watch: {
|
|
43
|
+
'weatherList.wea':{
|
|
44
|
+
handler(val){
|
|
45
|
+
if(val=='多云'||val=='阴转多云'){
|
|
46
|
+
document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/cloudy.png")'
|
|
47
|
+
}if(val=='晴'){
|
|
48
|
+
document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/天气-晴.png")'
|
|
49
|
+
}if(val=='霾'){
|
|
50
|
+
document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/雾.png")'
|
|
51
|
+
}if(val=='暴雨'){
|
|
52
|
+
document.getElementById('scan').style.backgroundImage = 'url("../../../../static/images/zhongyi/暴雨到大暴雨.png")'
|
|
53
|
+
}
|
|
54
|
+
this.serchWeather()
|
|
55
|
+
console.log('f_orgname==>',val)
|
|
56
|
+
},
|
|
57
|
+
immediate: true
|
|
58
|
+
},
|
|
59
|
+
'filiale': {
|
|
60
|
+
handler(val){
|
|
61
|
+
if(val=='山东彤运天燃气有限公司'||val=='临邑中邑燃气有限公司'){
|
|
62
|
+
this.cityid=101120401
|
|
63
|
+
}if(val=='夏津中邑燃气有限公司'){
|
|
64
|
+
this.cityid=101120410
|
|
65
|
+
}if(val=='庆云浩通天燃气有限公司'){
|
|
66
|
+
this.cityid=101120407
|
|
67
|
+
}if(val=='山东中邑燃气有限公司'){
|
|
68
|
+
this.cityid=101120409
|
|
69
|
+
}
|
|
70
|
+
this.serchWeather()
|
|
71
|
+
console.log('f_orgname==>',val)
|
|
72
|
+
},
|
|
73
|
+
immediate: true
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
}
|
|
13
77
|
}
|
|
14
78
|
</script>
|
|
15
79
|
|
|
16
80
|
<style scoped>
|
|
17
81
|
.weather {
|
|
18
|
-
width:
|
|
82
|
+
width: 24.021vw;
|
|
19
83
|
height: 2.222vh;
|
|
20
84
|
position: absolute;
|
|
21
85
|
top: 0.926vh;
|
|
@@ -36,7 +100,7 @@ export default {
|
|
|
36
100
|
|
|
37
101
|
.weather-text {
|
|
38
102
|
font-family: alhy;
|
|
39
|
-
font-size:
|
|
103
|
+
font-size: 1.9vh;
|
|
40
104
|
font-weight: 400;
|
|
41
105
|
color: #C3DEFF;
|
|
42
106
|
line-height: 3.333vh;
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
<li><span>工单量</span><span class="orderQuantity">{{ data.orderQuantity }}</span></li>
|
|
9
9
|
<li><span>在线处理</span><span class="onLineProcessing">{{ data.onLineProcessing }}</span></li>
|
|
10
10
|
<li><span>派单量</span><span class="sendOrders">{{ data.sendOrders }}</span></li>
|
|
11
|
-
|
|
12
11
|
<li><span>电话派单量</span><span class="orderByTelephone">{{ data.orderByTelephone }}</span></li>
|
|
13
12
|
<li><span>微信客服派单量</span><span class="orderByWechat">{{ data.orderByWechat }}</span></li>
|
|
14
|
-
<li><span>网厅预约派单量</span><span class="orderByNetHall">{{ data.orderByNetHall }}</span></li>
|
|
15
13
|
</ul>
|
|
16
14
|
</div>
|
|
17
15
|
</template>
|
|
@@ -26,14 +24,12 @@ export default {
|
|
|
26
24
|
data(){
|
|
27
25
|
return{
|
|
28
26
|
data:{
|
|
29
|
-
orderQuantity:'
|
|
30
|
-
onLineProcessing:'
|
|
31
|
-
sendOrders:'
|
|
32
|
-
orderByTelephone:'
|
|
33
|
-
orderByWechat:'
|
|
34
|
-
orderByNetHall:'
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
orderQuantity:'',
|
|
28
|
+
onLineProcessing:'',
|
|
29
|
+
sendOrders:'',
|
|
30
|
+
orderByTelephone:'',
|
|
31
|
+
orderByWechat:'',
|
|
32
|
+
orderByNetHall:'',
|
|
37
33
|
},
|
|
38
34
|
}
|
|
39
35
|
},
|
|
@@ -44,14 +40,12 @@ export default {
|
|
|
44
40
|
let http = new HttpResetClass()
|
|
45
41
|
http.load('post','rs/logic/TelenumberWorkorders',{
|
|
46
42
|
data: {
|
|
47
|
-
|
|
48
|
-
end_date: Util.toStandardDateString(), // 结束时间
|
|
49
|
-
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
43
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
50
44
|
}
|
|
51
45
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
52
46
|
// console.log('获取所有工单数量TelenumberWorkorders',res.data.data[0].wordercont)
|
|
53
|
-
console.log(res.data)
|
|
54
|
-
this.data.orderQuantity = res.data.data[0].wordercont
|
|
47
|
+
console.log("所有工单数量"+JSON.stringify(res.data))
|
|
48
|
+
this.data.orderQuantity = res.data.data[0].wordercont||0
|
|
55
49
|
})
|
|
56
50
|
},
|
|
57
51
|
//获取在线处理
|
|
@@ -59,14 +53,11 @@ export default {
|
|
|
59
53
|
let http = new HttpResetClass()
|
|
60
54
|
http.load('post','rs/logic/Directlyprocessedworkorder',{
|
|
61
55
|
data: {
|
|
62
|
-
|
|
63
|
-
end_date: Util.toStandardDateString(), // 结束时间
|
|
64
|
-
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
56
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
65
57
|
}
|
|
66
58
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
this.data.onLineProcessing = res.data.data[0].zaixian
|
|
59
|
+
console.log("获取在线处理"+JSON.stringify(res.data))
|
|
60
|
+
this.data.onLineProcessing = res.data.data[0].zaixian||0
|
|
70
61
|
})
|
|
71
62
|
},
|
|
72
63
|
//获取所有下派工单
|
|
@@ -74,13 +65,15 @@ export default {
|
|
|
74
65
|
let http = new HttpResetClass()
|
|
75
66
|
http.load('post','rs/logic/Quantityworkorder',{
|
|
76
67
|
data: {
|
|
77
|
-
|
|
78
|
-
end_date: Util.toStandardDateString(), // 结束时间
|
|
79
|
-
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
68
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
80
69
|
}
|
|
81
70
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
82
|
-
console.log(res.data)
|
|
83
|
-
|
|
71
|
+
console.log("下派工单"+JSON.stringify(res.data))
|
|
72
|
+
if (res.data.data.length > 0){
|
|
73
|
+
this.data.sendOrders = res.data.data[0].handlingsum||0
|
|
74
|
+
}else {
|
|
75
|
+
this.data.sendOrders=0
|
|
76
|
+
}
|
|
84
77
|
})
|
|
85
78
|
},
|
|
86
79
|
//获取电话派单量
|
|
@@ -88,31 +81,23 @@ export default {
|
|
|
88
81
|
let http = new HttpResetClass()
|
|
89
82
|
http.load('post','rs/logic/QuantityworkorderNoWeixin',{
|
|
90
83
|
data: {
|
|
91
|
-
|
|
92
|
-
end_date: Util.toStandardDateString(), // 结束时间
|
|
93
|
-
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
84
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
94
85
|
}
|
|
95
86
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
96
|
-
console.log(res.data)
|
|
97
|
-
this.
|
|
87
|
+
console.log("电话派单量"+JSON.stringify(res.data))
|
|
88
|
+
this.data.orderByTelephone = res.data.data[0].noweixinsums||0
|
|
98
89
|
})
|
|
99
90
|
},
|
|
100
91
|
//获取微信客服派单量
|
|
101
92
|
getOrderByWechat(){
|
|
102
|
-
// if (val){
|
|
103
|
-
// let f_orgid = val
|
|
104
|
-
// }
|
|
105
93
|
let http = new HttpResetClass()
|
|
106
94
|
http.load('post','rs/logic/QuantityworkorderWeixin',{
|
|
107
95
|
data: {
|
|
108
|
-
|
|
109
|
-
end_date: Util.toStandardDateString(), // 结束时间
|
|
110
|
-
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
96
|
+
f_orgid: this.filialeId?this.filialeId:23145 // 分公司id
|
|
111
97
|
}
|
|
112
98
|
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
113
|
-
console.log(res.data)
|
|
114
|
-
this.orderByWechat = res.data.weixinsums
|
|
115
|
-
// console.log("orderByWechat"+JSON.stringify(this.orderByWechat))
|
|
99
|
+
console.log("微信客服派单量"+JSON.stringify(res.data))
|
|
100
|
+
this.data.orderByWechat = res.data.data[0].weixinsums||0
|
|
116
101
|
})
|
|
117
102
|
},
|
|
118
103
|
},
|
|
@@ -122,13 +107,19 @@ export default {
|
|
|
122
107
|
this.getSendOrders()
|
|
123
108
|
this.getOrderByTelephone()
|
|
124
109
|
this.getOrderByWechat()
|
|
110
|
+
setInterval(() => {
|
|
111
|
+
this.getOrderQuantity()
|
|
112
|
+
this.getOnLineProcessing()
|
|
113
|
+
this.getSendOrders()
|
|
114
|
+
this.getOrderByTelephone()
|
|
115
|
+
this.getOrderByWechat()
|
|
116
|
+
}, 5000*60)
|
|
125
117
|
},
|
|
126
118
|
computed:{
|
|
127
119
|
|
|
128
120
|
},
|
|
129
121
|
watch: {
|
|
130
122
|
'filialeId'(val){
|
|
131
|
-
// console.log("filialeId>>>=====",val)
|
|
132
123
|
this.getOrderQuantity()
|
|
133
124
|
this.getOnLineProcessing()
|
|
134
125
|
this.getSendOrders()
|
package/src/reportManage.js
CHANGED
|
@@ -652,6 +652,14 @@ export default function (filiale) {
|
|
|
652
652
|
Vue.component('feimin_style', (resolve) => {
|
|
653
653
|
require(['./components/SellReport/feimin_style'], resolve)
|
|
654
654
|
})
|
|
655
|
+
// 物联网月用气报表(户数)
|
|
656
|
+
Vue.component('monthm-stair-hunum', (resolve) => {
|
|
657
|
+
require(['./components/SellReport/MonthStairHunum'], resolve)
|
|
658
|
+
})
|
|
659
|
+
// 物联网日用气报表(户数)
|
|
660
|
+
Vue.component('day-stair-hunum', (resolve) => {
|
|
661
|
+
require(['./components/SellReport/DayStairMoneyHunum'], resolve)
|
|
662
|
+
})
|
|
655
663
|
if (filiale) {
|
|
656
664
|
let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
|
|
657
665
|
Vue.filialeInfo = Vue.prototype.$filialeInfo = filiale
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|