manage-client 3.2.161 → 3.2.164
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/build/dev-server.js +179 -176
- package/package.json +1 -1
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/PrintSheetQuery.vue +212 -0
- package/src/filiale/WEINAN/ChargeQuery.vue +5 -41
- package/src/filiale/WEINAN/OtherChargeQuery.vue +250 -250
- package/src/filiale/WEINAN/config/exportConfig.js +7 -7
- package/src/filiale/qianneng/QnChaobiaomingxi.vue +44 -1
- package/src/filiale/qianneng/QnChaobiaoyhhz.vue +44 -1
- package/src/filiale/qianneng/QnChaobiaoyqxzhz.vue +44 -1
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +43 -22
- package/src/filiale/zhongyi/CallReport/DropDownBox.vue +74 -0
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +9 -17
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +44 -11
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +1 -2
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +5 -5
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +35 -30
- package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +67 -34
- package/src/filiale/zhongyi/CallReport/Time.vue +2 -2
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +8 -8
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +96 -8
- package/src/filiale/zhongyi/sale.js +2 -1
- package/src/main.js +66 -66
- package/src/saleManage.js +3 -0
|
@@ -65,11 +65,11 @@ export default{
|
|
|
65
65
|
'f_depname': '部门','f_orgname': '公司'
|
|
66
66
|
},
|
|
67
67
|
chargeConfig: {
|
|
68
|
-
'
|
|
68
|
+
'f_userinfo_code': '用户编号','f_user_name':'用户名称',
|
|
69
69
|
'f_meternumber': '用户表号','f_card_id': '用户卡号','f_address': '用户地址',
|
|
70
|
-
'f_pregas': '
|
|
71
|
-
'f_depname': '网点','f_operator': '操作员','f_bill_code':'发票订单','f_stairamount1':'一阶气量',
|
|
72
|
-
'f_stair2amount': '二阶气量','
|
|
70
|
+
'f_pregas': '购气量','f_collection': '缴费金额','f_payment': '付款方式','f_operate_date': '收费日期','f_state': '状态',
|
|
71
|
+
'f_depname': '网点','f_operator': '操作员','f_bill_code':'发票订单','f_stairamount1':'一阶气量',
|
|
72
|
+
'f_stair2amount': '二阶气量','f_stair3amount':'三阶气量'
|
|
73
73
|
},
|
|
74
74
|
pricetypeGasConfig: {
|
|
75
75
|
'f_price': '价格类型', 'f_gas': '当日售气量', 'f_money': '当日售气金额'
|
|
@@ -199,9 +199,9 @@ export default{
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
otherchargeConfig: {
|
|
202
|
-
'f_userinfo_code': '
|
|
203
|
-
'
|
|
204
|
-
'
|
|
202
|
+
'f_userinfo_code': '用户编号','f_user_name': '用户姓名', 'f_meternumber': '用户表号', 'f_card_id': '用户卡号',
|
|
203
|
+
'f_address': '用户地址', 'f_typename': '规格', 'f_typenumber': '型号', 'f_unitprice': '单价','f_number': '数量', 'f_collection': '缴费金额',
|
|
204
|
+
'f_payment': '付款方式','f_operate_date': '收费日期','f_state': '状态','f_depname': '网点','f_operator': '操作人'
|
|
205
205
|
},
|
|
206
206
|
otherchargePrintConfig: {
|
|
207
207
|
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址',
|
|
@@ -71,6 +71,35 @@
|
|
|
71
71
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
72
72
|
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
73
73
|
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">下账状态</label>
|
|
76
|
+
<v-select :value.sync="model.f_accounts_state"
|
|
77
|
+
:options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"
|
|
78
|
+
condition="f_accounts_state = '{}'"
|
|
79
|
+
close-on-select></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">客户类型</label>
|
|
83
|
+
<v-select :value.sync="model.f_user_type"
|
|
84
|
+
@change="$parent.$parent.userTypeChange()"
|
|
85
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
86
|
+
condition="f_user_type = '{}'"
|
|
87
|
+
close-on-select></v-select>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-sm-2 form-group">
|
|
90
|
+
<label class="font_normal_body">用气性质</label>
|
|
91
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
92
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
93
|
+
condition="f_gasproperties = '{}'"
|
|
94
|
+
close-on-select></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
98
|
+
<div class="col-sm-2 form-group">
|
|
99
|
+
<label class="font_normal_body">气量大于</label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_gas"
|
|
101
|
+
condition="f_gas > {} " placeholder="气量大于">
|
|
102
|
+
</div>
|
|
74
103
|
</div>
|
|
75
104
|
</div>
|
|
76
105
|
</criteria>
|
|
@@ -310,6 +339,7 @@
|
|
|
310
339
|
orderFields: {
|
|
311
340
|
|
|
312
341
|
},
|
|
342
|
+
gasproperties:[],
|
|
313
343
|
//默认打印列
|
|
314
344
|
defaultfield: [],
|
|
315
345
|
config: {
|
|
@@ -451,6 +481,16 @@
|
|
|
451
481
|
|
|
452
482
|
// this.f_userinfo_id=obj.f_userinfo_id
|
|
453
483
|
},
|
|
484
|
+
userTypeChange () {
|
|
485
|
+
this.gasproperties=[]
|
|
486
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
487
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
488
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
489
|
+
}
|
|
490
|
+
else{
|
|
491
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
492
|
+
}
|
|
493
|
+
},
|
|
454
494
|
//初始化片区
|
|
455
495
|
async initSlice (val) {
|
|
456
496
|
if (val) {
|
|
@@ -661,7 +701,7 @@
|
|
|
661
701
|
userLevels () {
|
|
662
702
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
663
703
|
},
|
|
664
|
-
|
|
704
|
+
usertypes () {
|
|
665
705
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
666
706
|
},
|
|
667
707
|
hairpin() {
|
|
@@ -675,6 +715,9 @@
|
|
|
675
715
|
},
|
|
676
716
|
metertypes() {
|
|
677
717
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
718
|
+
},
|
|
719
|
+
accountsState() {
|
|
720
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
|
|
678
721
|
}
|
|
679
722
|
}
|
|
680
723
|
}
|
|
@@ -71,6 +71,35 @@
|
|
|
71
71
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
72
72
|
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
73
73
|
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">下账状态</label>
|
|
76
|
+
<v-select :value.sync="model.f_accounts_state"
|
|
77
|
+
:options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"
|
|
78
|
+
condition="f_accounts_state = '{}'"
|
|
79
|
+
close-on-select></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">客户类型</label>
|
|
83
|
+
<v-select :value.sync="model.f_user_type"
|
|
84
|
+
@change="$parent.$parent.userTypeChange()"
|
|
85
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
86
|
+
condition="f_user_type = '{}'"
|
|
87
|
+
close-on-select></v-select>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-sm-2 form-group">
|
|
90
|
+
<label class="font_normal_body">用气性质</label>
|
|
91
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
92
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
93
|
+
condition="f_gasproperties = '{}'"
|
|
94
|
+
close-on-select></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
98
|
+
<div class="col-sm-2 form-group">
|
|
99
|
+
<label class="font_normal_body">气量大于</label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_gas"
|
|
101
|
+
condition="f_gas > {} " placeholder="气量大于">
|
|
102
|
+
</div>
|
|
74
103
|
</div>
|
|
75
104
|
</div>
|
|
76
105
|
</criteria>
|
|
@@ -201,6 +230,7 @@
|
|
|
201
230
|
orderFields: {
|
|
202
231
|
|
|
203
232
|
},
|
|
233
|
+
gasproperties:[],
|
|
204
234
|
//默认打印列
|
|
205
235
|
defaultfield: [],
|
|
206
236
|
config: {
|
|
@@ -344,6 +374,16 @@
|
|
|
344
374
|
|
|
345
375
|
// this.f_userinfo_id=obj.f_userinfo_id
|
|
346
376
|
},
|
|
377
|
+
userTypeChange () {
|
|
378
|
+
this.gasproperties=[]
|
|
379
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
380
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
381
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
382
|
+
}
|
|
383
|
+
else{
|
|
384
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
385
|
+
}
|
|
386
|
+
},
|
|
347
387
|
//初始化片区
|
|
348
388
|
async initSlice (val) {
|
|
349
389
|
if (val) {
|
|
@@ -554,7 +594,7 @@
|
|
|
554
594
|
userLevels () {
|
|
555
595
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
556
596
|
},
|
|
557
|
-
|
|
597
|
+
usertypes () {
|
|
558
598
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
559
599
|
},
|
|
560
600
|
hairpin() {
|
|
@@ -568,6 +608,9 @@
|
|
|
568
608
|
},
|
|
569
609
|
metertypes() {
|
|
570
610
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
611
|
+
},
|
|
612
|
+
accountsState() {
|
|
613
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
|
|
571
614
|
}
|
|
572
615
|
}
|
|
573
616
|
}
|
|
@@ -71,6 +71,35 @@
|
|
|
71
71
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
72
72
|
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
73
73
|
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">下账状态</label>
|
|
76
|
+
<v-select :value.sync="model.f_accounts_state"
|
|
77
|
+
:options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_accounts_state"
|
|
78
|
+
condition="f_accounts_state = '{}'"
|
|
79
|
+
close-on-select></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">客户类型</label>
|
|
83
|
+
<v-select :value.sync="model.f_user_type"
|
|
84
|
+
@change="$parent.$parent.userTypeChange()"
|
|
85
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
86
|
+
condition="f_user_type = '{}'"
|
|
87
|
+
close-on-select></v-select>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-sm-2 form-group">
|
|
90
|
+
<label class="font_normal_body">用气性质</label>
|
|
91
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
92
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
93
|
+
condition="f_gasproperties = '{}'"
|
|
94
|
+
close-on-select></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
98
|
+
<div class="col-sm-2 form-group">
|
|
99
|
+
<label class="font_normal_body">气量大于</label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_gas"
|
|
101
|
+
condition="f_gas > {} " placeholder="气量大于">
|
|
102
|
+
</div>
|
|
74
103
|
</div>
|
|
75
104
|
</div>
|
|
76
105
|
</criteria>
|
|
@@ -172,6 +201,7 @@
|
|
|
172
201
|
orderFields: {
|
|
173
202
|
|
|
174
203
|
},
|
|
204
|
+
gasproperties:[],
|
|
175
205
|
//默认打印列
|
|
176
206
|
defaultfield: [],
|
|
177
207
|
config: {
|
|
@@ -313,6 +343,16 @@
|
|
|
313
343
|
|
|
314
344
|
// this.f_userinfo_id=obj.f_userinfo_id
|
|
315
345
|
},
|
|
346
|
+
userTypeChange () {
|
|
347
|
+
this.gasproperties=[]
|
|
348
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
349
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
350
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
351
|
+
}
|
|
352
|
+
else{
|
|
353
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
354
|
+
}
|
|
355
|
+
},
|
|
316
356
|
//初始化片区
|
|
317
357
|
async initSlice (val) {
|
|
318
358
|
if (val) {
|
|
@@ -523,7 +563,7 @@
|
|
|
523
563
|
userLevels () {
|
|
524
564
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
525
565
|
},
|
|
526
|
-
|
|
566
|
+
usertypes () {
|
|
527
567
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
528
568
|
},
|
|
529
569
|
hairpin() {
|
|
@@ -537,6 +577,9 @@
|
|
|
537
577
|
},
|
|
538
578
|
metertypes() {
|
|
539
579
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
580
|
+
},
|
|
581
|
+
accountsState() {
|
|
582
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
|
|
540
583
|
}
|
|
541
584
|
}
|
|
542
585
|
}
|
|
@@ -1,64 +1,70 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="main-basic">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
<!-- <basic-page ></basic-page>-->
|
|
7
|
-
|
|
8
4
|
<!-- <!–左侧内容模块–>-->
|
|
9
5
|
<!-- <template v-slot:contentLeft>-->
|
|
10
6
|
<!-- <left-content-page></left-content-page>-->
|
|
11
7
|
<!-- </template>-->
|
|
12
8
|
<!-- <!–右侧–>-->
|
|
13
|
-
|
|
9
|
+
<!--分公司下拉框-->
|
|
10
|
+
<drop-down-box @select="selectIndex"></drop-down-box>
|
|
14
11
|
<weather-data></weather-data>
|
|
15
12
|
<time></time>
|
|
16
13
|
<div class="content-header">中邑燃气</div>
|
|
17
|
-
<div class="inform"><span><i></i>{{ data.inform }}</span></div>
|
|
14
|
+
<div class="inform" v-if="false"><span><i></i>{{ data.inform }}</span></div>
|
|
18
15
|
<!--工单模块-->
|
|
19
|
-
<work-order-page></work-order-page>
|
|
16
|
+
<work-order-page :filiale-id="filiale"></work-order-page>
|
|
20
17
|
<!--完成率模块-->
|
|
21
|
-
<percentage-complete></percentage-complete>
|
|
18
|
+
<percentage-complete :filiale-id="filiale"></percentage-complete>
|
|
22
19
|
<!--完成率echart-->
|
|
23
20
|
<percentage-complete-echart></percentage-complete-echart>
|
|
24
21
|
<!--用户模块-->
|
|
25
22
|
<userinfo></userinfo>
|
|
26
23
|
<!--来电统计模块-->
|
|
27
24
|
<incoming-telegram :row="model"></incoming-telegram>
|
|
28
|
-
|
|
29
25
|
<!---->
|
|
30
|
-
|
|
31
|
-
<rate-
|
|
32
|
-
<rate-bottom></rate-bottom>-->
|
|
26
|
+
<!-- <rate-top></rate-top>-->
|
|
27
|
+
<!-- <rate-bottom></rate-bottom>-->
|
|
33
28
|
<!--客服状态模块-->
|
|
34
29
|
<service-status></service-status>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
30
|
</div>
|
|
40
|
-
|
|
41
|
-
|
|
42
31
|
</template>
|
|
43
32
|
|
|
44
33
|
<script>
|
|
45
34
|
import WorkOrderPage from "./WorkOrderPage";
|
|
35
|
+
// import Select from "./Select";
|
|
36
|
+
import {HttpResetClass} from "vue-client";
|
|
46
37
|
import PercentageComplete from "./PercentageComplete";
|
|
38
|
+
import PercentageCompleteEchart from "./PercentageCompleteEchart";
|
|
39
|
+
import RateTop from "./RateTop";
|
|
47
40
|
import RateBottom from "./RateBottom";
|
|
48
41
|
import WeatherData from "./WeatherData";
|
|
42
|
+
import ServiceStatus from "./ServiceStatus";
|
|
43
|
+
import IncomingTelegram from "./IncomingTelegram";
|
|
44
|
+
import DropDownBox from "./DropDownBox";
|
|
49
45
|
export default {
|
|
50
|
-
components: {
|
|
46
|
+
components: {ServiceStatus,IncomingTelegram,DropDownBox, WeatherData, PercentageComplete,PercentageCompleteEchart, WorkOrderPage,RateTop,RateBottom},
|
|
51
47
|
title:'CallReportMainPage',
|
|
52
48
|
data() {
|
|
53
49
|
return {
|
|
54
50
|
// model:"初入数据",
|
|
55
51
|
data:{
|
|
56
52
|
inform:'2022.3.7号停气',
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
},
|
|
54
|
+
filiale:23145,
|
|
59
55
|
}
|
|
60
56
|
},
|
|
61
|
-
name: "CallReportMainPage"
|
|
57
|
+
name: "CallReportMainPage",
|
|
58
|
+
methods:{
|
|
59
|
+
selectIndex(val){
|
|
60
|
+
// console.log("这里是父组件",val)
|
|
61
|
+
this.filiale=val
|
|
62
|
+
}},
|
|
63
|
+
watch: {
|
|
64
|
+
'filiale'(val){
|
|
65
|
+
// console.log('toOrgid=====filiale===>',val)
|
|
66
|
+
}
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
</script>
|
|
64
70
|
|
|
@@ -79,6 +85,8 @@ export default {
|
|
|
79
85
|
top: 1.389vh;
|
|
80
86
|
left: 45.99vw;
|
|
81
87
|
line-height: 3.333vh;
|
|
88
|
+
font-weight: bolder;
|
|
89
|
+
font-family: '黑体';
|
|
82
90
|
}
|
|
83
91
|
.inform {
|
|
84
92
|
width: 35.833vw;
|
|
@@ -113,4 +121,17 @@ export default {
|
|
|
113
121
|
left: -2.604vw;
|
|
114
122
|
top: 1.111vh;
|
|
115
123
|
}
|
|
124
|
+
.filiale{
|
|
125
|
+
width: 300px;
|
|
126
|
+
height: 50px;
|
|
127
|
+
position: absolute;
|
|
128
|
+
top: 75px;
|
|
129
|
+
left: 31px;
|
|
130
|
+
}
|
|
131
|
+
.font_normal_body{
|
|
132
|
+
color: #fff;
|
|
133
|
+
}
|
|
134
|
+
/*.default.focus,default.focus,dropdown-menu{*/
|
|
135
|
+
/* background: #0f136c;*/
|
|
136
|
+
/*}*/
|
|
116
137
|
</style>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- 分公司下拉框 -->
|
|
3
|
+
<div class="col-sm-3 form-group form-input-group drop-down-box" style="width: 20%">
|
|
4
|
+
<label class="font_normal_body" style="color: #fff;">分公司</label>
|
|
5
|
+
<v-select
|
|
6
|
+
placeholder='请选择分公司'
|
|
7
|
+
:value-single="true"
|
|
8
|
+
v-model='f_orgstr'
|
|
9
|
+
:value.sync="f_orgstr"
|
|
10
|
+
:options='orgstrs'
|
|
11
|
+
close-on-select clear-button>
|
|
12
|
+
</v-select>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
import {HttpResetClass} from "vue-client";
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
name: "DropDownBox",
|
|
23
|
+
data(){
|
|
24
|
+
return{
|
|
25
|
+
f_orgstr:'',
|
|
26
|
+
orgstrs:[
|
|
27
|
+
{label: '德州中邑燃气有限责任公司', value: '21125'},
|
|
28
|
+
{label: '夏津中邑燃气有限公司', value: '21131'},
|
|
29
|
+
{label: '临邑中邑燃气有限公司', value: '21137'},
|
|
30
|
+
{label: '山东彤运天燃气有限公司', value: '21143'},
|
|
31
|
+
{label: '庆云中邑燃气有限公司', value: '21149'},
|
|
32
|
+
{label: '庆云浩通天燃气有限公司', value: '21155'},
|
|
33
|
+
{label: '宁津天科燃气有限公司', value: '21161'},
|
|
34
|
+
{label: '山东中邑燃气有限公司', value: '23145'},
|
|
35
|
+
{label: '铜川', value: '47003'},
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
computed:{
|
|
40
|
+
},
|
|
41
|
+
ready(){
|
|
42
|
+
// this.getfengongsi()
|
|
43
|
+
},
|
|
44
|
+
methods:{
|
|
45
|
+
// 获取县域分公司内容
|
|
46
|
+
// getfengongsi(){
|
|
47
|
+
// // console.log("this.$login.f.id:",this.$login.f.orgid,this.$login)
|
|
48
|
+
// let val = {source: 'this.getParentByType($organization$).getSpecialResByType($organization$)', userid: `${this.$login.f.id}`}
|
|
49
|
+
// let http = new HttpResetClass()
|
|
50
|
+
// http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
51
|
+
// // console.log("res.data",res.data)
|
|
52
|
+
// // localStorage.setItem('dataConfig',JSON.stringify(res.data))
|
|
53
|
+
// // console.log("res.data.id",JSON.parse(localStorage.getItem('dataConfig')))
|
|
54
|
+
// res.data.forEach((item) => {
|
|
55
|
+
// this.orgstrs.push({label: item.name, value: item.id})
|
|
56
|
+
// })
|
|
57
|
+
// })
|
|
58
|
+
// },
|
|
59
|
+
},
|
|
60
|
+
watch: {
|
|
61
|
+
'f_orgstr'(val){
|
|
62
|
+
// console.log('f_orgstr========>',val)
|
|
63
|
+
this.$emit('select',val)
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
</script>
|
|
68
|
+
|
|
69
|
+
<style scoped>
|
|
70
|
+
.drop-down-box{
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 76px;
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
<i></i><i></i>
|
|
6
6
|
<div class="incoming-telegram-div">
|
|
7
7
|
<span>{{ data.netAppointment}}</span><br>
|
|
8
|
-
<span
|
|
8
|
+
<span>日统计来电数量</span>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="incoming-telegram-div">
|
|
11
11
|
<span>{{ data.hotLine }}</span><br>
|
|
12
|
-
<span
|
|
12
|
+
<span>月统计来电数量</span>
|
|
13
13
|
</div>
|
|
14
|
-
<span class="text1">接通率</span
|
|
15
|
-
<span class="text2">接通率</span
|
|
16
|
-
<div class="blueLadder"></div
|
|
17
|
-
<div class="yellowLadder"></div
|
|
14
|
+
<!-- <span class="text1">接通率</span>-->
|
|
15
|
+
<!-- <span class="text2">接通率</span>-->
|
|
16
|
+
<!-- <div class="blueLadder"></div>-->
|
|
17
|
+
<!-- <div class="yellowLadder"></div>-->
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
</div>
|
|
@@ -37,16 +37,8 @@ export default {
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
methods:{
|
|
40
|
-
getInitData(){
|
|
41
|
-
let http = new HttpResetClass()
|
|
42
|
-
http.load('post','rs/sql/getCallSumData',{}).then((res)=>{
|
|
43
|
-
console.log(res.data)
|
|
44
|
-
// this.data = res.data[0]
|
|
45
|
-
})
|
|
46
|
-
}
|
|
47
40
|
},
|
|
48
41
|
ready(){
|
|
49
|
-
// this.getInitData()
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
|
|
@@ -103,13 +95,13 @@ export default {
|
|
|
103
95
|
|
|
104
96
|
.incoming-telegram-div {
|
|
105
97
|
position: absolute;
|
|
106
|
-
top:
|
|
107
|
-
left:
|
|
98
|
+
top: 13vh;
|
|
99
|
+
left: 8.042vw;
|
|
108
100
|
height: 13.889vh;
|
|
109
101
|
}
|
|
110
102
|
|
|
111
103
|
.incoming-telegram div:nth-of-type(2) {
|
|
112
|
-
top:
|
|
104
|
+
top: 34.185vh;
|
|
113
105
|
}
|
|
114
106
|
|
|
115
107
|
.incoming-telegram div span:nth-of-type(1) {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
<div class="data">
|
|
12
12
|
<ul>
|
|
13
|
-
<li><span>昨日工单</span><span class="day">{{ data.day }}</span><span>日环比</span><div :class="data.daysFrom[
|
|
14
|
-
<li><span>月度工单量</span><span class="month">{{ data.month }}</span><span>月环比</span><div :class="data.onAMonthlyBasis[
|
|
15
|
-
<li><span>年度工单量</span><span class="year">{{ data.year }}</span><span>同比</span><div :class="data.yoy[
|
|
13
|
+
<li><span>昨日工单</span><span class="day">{{ data.day }}</span><span>日环比</span><div :class="data.daysFrom[1]>'70'?'blueArrows':'yellowArrows'"></div><span :class="data.daysFrom[1]>='70'?'increase':'lower'">{{ data.daysFrom[1] }}%</span></li>
|
|
14
|
+
<li><span>月度工单量</span><span class="month">{{ data.month }}</span><span>月环比</span><div :class="data.onAMonthlyBasis[1]>'70'?'blueArrows':'yellowArrows'"></div><span :class="data.onAMonthlyBasis[1]>'70'?'increase':'lower'">{{ data.onAMonthlyBasis[1] }}%</span></li>
|
|
15
|
+
<li><span>年度工单量</span><span class="year">{{ data.year }}</span><span>同比</span><div :class="data.yoy[1]>'70'?'blueArrows':'yellowArrows'"></div><span :class="data.yoy[1]>'70'?'increase':'lower'">{{ data.yoy[1] }}%</span></li>
|
|
16
16
|
</ul>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
@@ -20,11 +20,13 @@
|
|
|
20
20
|
|
|
21
21
|
<script>
|
|
22
22
|
import {HttpResetClass} from "vue-client";
|
|
23
|
+
import * as Util from '../../../util'
|
|
23
24
|
|
|
24
25
|
export default {
|
|
25
26
|
name: "PercentageComplete",
|
|
26
27
|
data(){
|
|
27
28
|
return{
|
|
29
|
+
f_orgid: '',
|
|
28
30
|
data:{
|
|
29
31
|
//待处理
|
|
30
32
|
pendingNum:'29',
|
|
@@ -40,27 +42,58 @@ export default {
|
|
|
40
42
|
year:'145784',
|
|
41
43
|
//日环比、月环比、同比第一个参数,0为降,1为增长
|
|
42
44
|
//日环比
|
|
43
|
-
daysFrom:['0','44.18
|
|
45
|
+
daysFrom:['0','44.18'],
|
|
44
46
|
//月环比
|
|
45
|
-
onAMonthlyBasis:['1','71.12
|
|
47
|
+
onAMonthlyBasis:['1','71.12'],
|
|
46
48
|
//同比
|
|
47
|
-
yoy:['1','95.07
|
|
49
|
+
yoy:['1','95.07'],
|
|
48
50
|
|
|
49
51
|
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
},
|
|
55
|
+
props:['filialeId'],
|
|
53
56
|
methods:{
|
|
54
|
-
|
|
57
|
+
//获取昨日工单
|
|
58
|
+
getDay(){
|
|
55
59
|
let http = new HttpResetClass()
|
|
56
|
-
http.load('post','rs/
|
|
60
|
+
http.load('post','rs/logic/Dayworkorderstatistics',{
|
|
61
|
+
data: {
|
|
62
|
+
month_start: Util.toStandardDateString(), // 开始时间
|
|
63
|
+
month_end: Util.toStandardDateString(), // 结束时间
|
|
64
|
+
f_orgid: this.filialeId?this.filialeId:this.$login.f.orgid // 分公司id
|
|
65
|
+
}
|
|
66
|
+
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
57
67
|
console.log(res.data)
|
|
68
|
+
this.day = res.data.daysum
|
|
58
69
|
})
|
|
59
|
-
}
|
|
70
|
+
},
|
|
71
|
+
//获取月工单
|
|
72
|
+
getMonth(){
|
|
73
|
+
let http = new HttpResetClass()
|
|
74
|
+
http.load('post','rs/logic/Monthlyworkorderstatistics',{
|
|
75
|
+
data: {
|
|
76
|
+
month_start: Util.toStandardDateString(), // 开始时间
|
|
77
|
+
month_end: Util.toStandardDateString(), // 结束时间
|
|
78
|
+
f_orgid: this.filialeId?this.filialeId:0 // 分公司id
|
|
79
|
+
}
|
|
80
|
+
},{rejectMsg:null,resolveMsg:null}).then((res)=>{
|
|
81
|
+
console.log(res.data)
|
|
82
|
+
this.month = res.data.monthsum
|
|
83
|
+
})
|
|
84
|
+
},
|
|
60
85
|
},
|
|
61
86
|
ready(){
|
|
62
|
-
|
|
63
|
-
|
|
87
|
+
this.getDay()
|
|
88
|
+
this.getMonth()
|
|
89
|
+
},
|
|
90
|
+
watch: {
|
|
91
|
+
'filialeId'(val){
|
|
92
|
+
console.log("filialeId>>>=====",val)
|
|
93
|
+
this.getDay()
|
|
94
|
+
this.getMonth()
|
|
95
|
+
}
|
|
96
|
+
},
|
|
64
97
|
}
|
|
65
98
|
</script>
|
|
66
99
|
|
|
@@ -16,7 +16,6 @@ export default {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
ready(){
|
|
19
|
-
// console.log(this.row)
|
|
20
19
|
this.percentageCompleteEchart()
|
|
21
20
|
},
|
|
22
21
|
mounted(){
|
|
@@ -41,7 +40,7 @@ export default {
|
|
|
41
40
|
type: 'pie',
|
|
42
41
|
radius: ['58%', '45%'],
|
|
43
42
|
silent: true,
|
|
44
|
-
clockwise:
|
|
43
|
+
clockwise: false,
|
|
45
44
|
startAngle: 90,
|
|
46
45
|
z: 0,
|
|
47
46
|
zlevel: 0,
|