manage-client 3.1.13 → 3.1.14-ls
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/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/build/dev-server.js +174 -178
- package/package.json +101 -101
- package/src/components/SellReport/ManageBusSummary.vue +150 -187
- package/src/components/SellReport/ManageDayGas.vue +120 -120
- package/src/components/SellReport/ManageMonthGas.vue +124 -124
- package/src/components/SellReport/ManageOtherCharge.vue +121 -121
- package/src/components/SellReport/ManageSellType.vue +133 -133
- package/src/components/SellReport/ReportItems.vue +1 -2
- package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +120 -120
- package/src/components/handReport/GeneraHandReport.vue +235 -0
- package/src/components/qinhua/BarChart.vue +26 -74
- package/src/components/qinhua/Style/qinhuaStyle.less +4 -111
- package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +1 -1
- package/src/components/sale/businessquery/BusinesQuery.vue +3 -3
- package/src/components/sale/businessquery/BusinessManage.vue +0 -3
- package/src/components/sale/businessquery/CancellationQuery.vue +1 -1
- package/src/components/sale/businessquery/CardHandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -12
- package/src/components/sale/businessquery/ChangeUserQuery.vue +1 -7
- package/src/components/sale/businessquery/DisableQuery.vue +1 -1
- package/src/components/sale/businessquery/EnableQuery.vue +1 -1
- package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
- package/src/components/sale/businessquery/FillGasQuery.vue +1 -1
- package/src/components/sale/businessquery/GasInspection.vue +1 -1
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +19 -10
- package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/InspectListGas.vue +1 -1
- package/src/components/sale/businessquery/InspectListUser.vue +1 -1
- package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
- package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
- package/src/components/sale/businessquery/ReverseQuery.vue +1 -1
- package/src/components/sale/businessquery/SellingHand.vue +1 -1
- package/src/components/sale/businessquery/SendbookQuery.vue +1 -1
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +1 -1
- package/src/components/sale/businessquery/TransferQuery.vue +1 -1
- package/src/components/sale/businessquery/UserInsured.vue +1 -1
- package/src/components/sale/businessquery/overDueQuery.vue +1 -1
- package/src/components/sale/businessquery/priceadjustQuery.vue +1 -1
- package/src/components/sale/config/exportConfig.js +518 -527
- package/src/components/sale/filesquery/ArchivesManage.vue +0 -3
- package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/MeterQuery.vue +1 -1
- package/src/components/sale/filesquery/RecordInfoQuery.vue +9 -83
- package/src/components/sale/filesquery/UserDeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/UserQuery.vue +0 -46
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +28 -19
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +14 -32
- package/src/components/webmeter/DrillData/UserGasAll.vue +10 -6
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +7 -8
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +27 -13
- package/src/components/webmeter/instruction/NewQueryInstructMain.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +566 -753
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +2 -6
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +3 -10
- package/src/components/webmeter/newwebmeter/UserGasList.vue +10 -12
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +18 -26
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +14 -15
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/filiale/WEINAN/MeterQuery.vue +1 -1
- package/src/filiale/WEINAN/RecordInfoQuery.vue +1 -1
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +1 -1
- package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +19 -19
- package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -11
- package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -17
- package/src/filiale/jingwei/RecordInfoQuery.vue +1 -1
- package/src/filiale/jingzhou/ChargeQuery.vue +5 -15
- package/src/filiale/jingzhou/HandplanQuery.vue +1 -1
- package/src/filiale/jingzhou/config/exportConfig.js +13 -17
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +14 -55
- package/src/filiale/liaoyuan/ReportList.vue +1 -1
- package/src/filiale/macheng/MeterQuery.vue +1 -1
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/meihekou/ChargeQuery.vue +4 -4
- package/src/filiale/meihekou/HandplanQuery.vue +1 -1
- package/src/filiale/meihekou/RecordInfoQuery.vue +21 -3
- package/src/filiale/meihekou/sale.js +1 -5
- package/src/filiale/pingxiang/ChangeUserQuery.vue +1 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/errorHandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/overDueQuery.vue +1 -1
- package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +1 -1
- package/src/main.js +66 -66
- package/src/newmanage.js +3 -37
- package/src/reportManage.js +4 -0
- package/src/saleManage.js +0 -9
- package/src/components/daping/BarChart.vue +0 -256
- package/src/components/daping/BarChartLine.vue +0 -284
- package/src/components/daping/CallCenter.vue +0 -368
- package/src/components/daping/DataManagement.vue +0 -697
- package/src/components/daping/DataManagement1.vue +0 -345
- package/src/components/daping/DataStatistics.vue +0 -241
- package/src/components/daping/ExpireMeter.vue +0 -272
- package/src/components/daping/GMap.vue +0 -636
- package/src/components/daping/ManageMain.vue +0 -255
- package/src/components/daping/Pie.vue +0 -171
- package/src/components/daping/ResidentsSecurity.vue +0 -132
- package/src/components/daping/Ring.vue +0 -227
- package/src/components/daping/SafeCheckRing.vue +0 -160
- package/src/components/daping/SafecheckBarChart.vue +0 -294
- package/src/components/daping/Scada.vue +0 -198
- package/src/components/daping/SellBarEcharts.vue +0 -220
- package/src/components/daping/SellEcharts.vue +0 -219
- package/src/components/daping/Style/qinhuaStyle.less +0 -224
- package/src/components/daping/Style//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/components/daping/XianMap.vue +0 -275
- package/src/components/daping/js/AMap.js +0 -19
- package/src/components/daping/js/BMap.js +0 -13
- package/src/components/daping/json/mapStyle.json +0 -1299
- package/src/components/daping/json/xian.json +0 -1
- package/src/components/daping/qinHuaMap.vue +0 -338
- package/src/components/sale/businessquery/PriceChange.vue +0 -411
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +0 -334
- package/src/components/sale/filesquery/PriceChangeQuery.vue +0 -357
- package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
- package/src/filiale/meihekou/UserGasEform.vue +0 -267
- package/src/filiale/rongchuang/SellingTable.vue +0 -250
- package/src/filiale/rongchuang/reportManage.js +0 -11
- package/src/filiale/tongchuan/UserQuery.vue +0 -846
- package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
- package/src/filiale/tongchuan/config/exportConfig.js +0 -857
- package/src/filiale/tongchuan/sale.js +0 -11
- package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/sale.js +0 -11
- package/src/plugins/transformer.js +0 -117
- package/static/NewManageHome/NewManageHome/01.png +0 -0
- package/static/NewManageHome/NewManageHome/02.png +0 -0
- package/static/NewManageHome/NewManageHome/03.png +0 -0
- package/static/NewManageHome/NewManageHome/04.png +0 -0
- package/static/NewManageHome/NewManageHome/1.gif +0 -0
- package/static/NewManageHome/NewManageHome/2.gif +0 -0
- package/static/NewManageHome/NewManageHome/3.gif +0 -0
- package/static/NewManageHome/NewManageHome/5gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/6gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/7.gif +0 -0
- package/static/NewManageHome/NewManageHome/8.gif +0 -0
- package/static/NewManageHome/NewManageHome/9.gif +0 -0
- package/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
- package/static/NewManageHome/NewManageHome/green.png +0 -0
- package/static/NewManageHome/NewManageHome/map.png +0 -0
- package/static/NewManageHome/NewManageHome/map1.png +0 -0
- package/static/NewManageHome/NewManageHome/mpa.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_1.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_2.png +0 -0
- package/static/NewManageHome/NewManageHome/title.png +0 -0
- package/static/NewManageHome/NewManageHome/title_left.png +0 -0
- package/static/NewManageHome/NewManageHome/title_right.png +0 -0
- package/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
- package/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
- package/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
- package/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
- package/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
- package/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
- package/static/NewManageHome/green.png +0 -0
- package/static/NewManageHome/title.png +0 -0
- package/static/NewManageHome/title_wujie.png +0 -0
- package/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/static/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome//347/273/20445.png +0 -0
- package/static/newStyle/position.png +0 -0
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="width: 100%;height: 100%">
|
|
3
|
-
<div id='ring' style="width: 100%;height: 80%">
|
|
4
|
-
</div>
|
|
5
|
-
<div style="width: 100%;height: 20%;padding-left: 5vw">
|
|
6
|
-
<a><span :class="[param?'class1':'class2']" @click="getChargeCount">年交易笔数比例</span></a><a>
|
|
7
|
-
<span :class="[param?'class2':'class1']" @click="getChargeMoney">年消费金额比例</span></a>
|
|
8
|
-
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import {HttpResetClass} from 'vue-client'
|
|
16
|
-
export default {
|
|
17
|
-
title: '收费',
|
|
18
|
-
data () {
|
|
19
|
-
return {
|
|
20
|
-
param:1,
|
|
21
|
-
rows: [
|
|
22
|
-
{
|
|
23
|
-
name: '营业厅',
|
|
24
|
-
value: 13
|
|
25
|
-
}, {
|
|
26
|
-
name: '中国银行',
|
|
27
|
-
value: 23
|
|
28
|
-
}, {
|
|
29
|
-
name: '邮局',
|
|
30
|
-
value: 26
|
|
31
|
-
}, {
|
|
32
|
-
name: '西安银行',
|
|
33
|
-
value: 24
|
|
34
|
-
}, {
|
|
35
|
-
name: '利安',
|
|
36
|
-
value: 12
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: '其它',
|
|
40
|
-
value: 12
|
|
41
|
-
}],
|
|
42
|
-
come: ['营业厅', '中国银行', '邮局', '西安银行', '利安', '其他']
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
watch:{
|
|
46
|
-
'param'(val){
|
|
47
|
-
this.getData()
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
methods: {
|
|
51
|
-
getData(){
|
|
52
|
-
let url = this.param? 'rs/sql/getSellSumByAmount' : 'rs/sql/getSellSumByBank'
|
|
53
|
-
let http = new HttpResetClass()
|
|
54
|
-
http.load('post', url, {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
55
|
-
this.rows = res.data
|
|
56
|
-
this.init()
|
|
57
|
-
})
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
getChargeCount(){
|
|
61
|
-
console.log(1111)
|
|
62
|
-
this.param =1
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
getChargeMoney(){
|
|
66
|
-
console.log(123)
|
|
67
|
-
this.param =0
|
|
68
|
-
},
|
|
69
|
-
init () {
|
|
70
|
-
var colorarr = ['#897BD3', '#F27C79', '#42A8EF', '#6FD9D0', '#EF9861', '#F76F01']
|
|
71
|
-
var option = {
|
|
72
|
-
backgroundColor: '#ffffff00',
|
|
73
|
-
animation: true,
|
|
74
|
-
title: {
|
|
75
|
-
x: 'center',
|
|
76
|
-
y: 'center',
|
|
77
|
-
textStyle: {
|
|
78
|
-
color: '#fff',
|
|
79
|
-
fontSize: 60,
|
|
80
|
-
fontWeight: 'normal',
|
|
81
|
-
align: 'center',
|
|
82
|
-
width: '200px'
|
|
83
|
-
},
|
|
84
|
-
subtextStyle: {
|
|
85
|
-
color: '#fff',
|
|
86
|
-
fontSize: 20,
|
|
87
|
-
fontWeight: 'normal',
|
|
88
|
-
align: 'center'
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
legend: {
|
|
92
|
-
width: '20%',
|
|
93
|
-
textStyle: {
|
|
94
|
-
color: '#fff',
|
|
95
|
-
fontSize: 12
|
|
96
|
-
},
|
|
97
|
-
itemWidth: 10,
|
|
98
|
-
itemHeight: 10,
|
|
99
|
-
orient: 'horizontal',
|
|
100
|
-
icon: 'circle',
|
|
101
|
-
bottom: '10%',
|
|
102
|
-
right: '5%',
|
|
103
|
-
padding: [8, 8],
|
|
104
|
-
itemGap: 10,
|
|
105
|
-
data: this.come
|
|
106
|
-
},
|
|
107
|
-
series: [{
|
|
108
|
-
type: 'pie',
|
|
109
|
-
center: ['40%', '50%'],
|
|
110
|
-
radius: ['30%', '45%'],
|
|
111
|
-
color: colorarr,
|
|
112
|
-
startAngle: 135,
|
|
113
|
-
labelLine: {
|
|
114
|
-
normal: {
|
|
115
|
-
length: 20
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
label: {
|
|
119
|
-
show: true,
|
|
120
|
-
formatter: '{b|{b}}{per|{d}%}',
|
|
121
|
-
rich: {
|
|
122
|
-
a: {
|
|
123
|
-
color: '#999',
|
|
124
|
-
lineHeight: 16,
|
|
125
|
-
align: 'center'
|
|
126
|
-
},
|
|
127
|
-
hr: {
|
|
128
|
-
borderColor: '#aaa',
|
|
129
|
-
width: '100%',
|
|
130
|
-
borderWidth: 1,
|
|
131
|
-
height: 0
|
|
132
|
-
},
|
|
133
|
-
b: {
|
|
134
|
-
fontSize: 10,
|
|
135
|
-
padding: [5, 0],
|
|
136
|
-
color: '#fff'
|
|
137
|
-
},
|
|
138
|
-
c: {
|
|
139
|
-
fontSize: 10,
|
|
140
|
-
color: '#eee'
|
|
141
|
-
},
|
|
142
|
-
per: {
|
|
143
|
-
color: '#FDF44E',
|
|
144
|
-
fontSize: 10,
|
|
145
|
-
borderRadius: 2
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
position: 'outside'
|
|
149
|
-
},
|
|
150
|
-
data: this.rows
|
|
151
|
-
}]
|
|
152
|
-
}
|
|
153
|
-
let barchart = this.$echarts.init(document.getElementById('ring'))
|
|
154
|
-
console.log(option)
|
|
155
|
-
barchart.setOption(option)
|
|
156
|
-
let index = -1 // 高亮所在下标
|
|
157
|
-
let dataLength = colorarr.length // 当前饼图有多少个扇形
|
|
158
|
-
// 用定时器控制饼图高亮
|
|
159
|
-
// this.mTime = setInterval(() => {
|
|
160
|
-
// // 清除之前的高亮
|
|
161
|
-
// barchart.dispatchAction({
|
|
162
|
-
// type: 'downplay',
|
|
163
|
-
// seriesIndex: 0,
|
|
164
|
-
// dataIndex: index
|
|
165
|
-
// })
|
|
166
|
-
// index = (index + 1) % dataLength
|
|
167
|
-
// // 当前下标高亮
|
|
168
|
-
// barchart.dispatchAction({
|
|
169
|
-
// type: 'highlight',
|
|
170
|
-
// seriesIndex: 0,
|
|
171
|
-
// dataIndex: index
|
|
172
|
-
// })
|
|
173
|
-
// if (index > dataLength) {
|
|
174
|
-
// index = 0
|
|
175
|
-
// }
|
|
176
|
-
// }, 1000)
|
|
177
|
-
// 鼠标划入
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
ready () {
|
|
182
|
-
this.getData()
|
|
183
|
-
},
|
|
184
|
-
props: {}
|
|
185
|
-
}
|
|
186
|
-
</script>
|
|
187
|
-
<style scoped>
|
|
188
|
-
@media screen and (max-width: 1920px) {
|
|
189
|
-
.class1 {
|
|
190
|
-
background: #012c45;
|
|
191
|
-
color: #01c5ba;
|
|
192
|
-
border: 1px solid #01c5ba;
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
font-size: 14px;
|
|
195
|
-
padding: 0 10px;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.class2 {
|
|
199
|
-
background: #011332;
|
|
200
|
-
color: #426164;
|
|
201
|
-
border: 1px solid #013544;
|
|
202
|
-
cursor: pointer;
|
|
203
|
-
font-size: 14px;
|
|
204
|
-
padding: 0 10px;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
@media screen and (max-width: 1440px) {
|
|
208
|
-
.class1 {
|
|
209
|
-
background: #012c45;
|
|
210
|
-
color: #01c5ba;
|
|
211
|
-
border: 1px solid #01c5ba;
|
|
212
|
-
cursor: pointer;
|
|
213
|
-
font-size: 12px;
|
|
214
|
-
padding: 0 10px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.class2 {
|
|
218
|
-
background: #011332;
|
|
219
|
-
color: #426164;
|
|
220
|
-
border: 1px solid #013544;
|
|
221
|
-
cursor: pointer;
|
|
222
|
-
font-size: 12px;
|
|
223
|
-
padding: 0 10px;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
</style>
|
|
227
|
-
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id='safecheck-ring' style="width: 100%;height: 100%">
|
|
3
|
-
</div>
|
|
4
|
-
</template>
|
|
5
|
-
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from 'vue-client'
|
|
8
|
-
export default {
|
|
9
|
-
title: '收费',
|
|
10
|
-
data () {
|
|
11
|
-
return{
|
|
12
|
-
data:[{
|
|
13
|
-
name: '到访不遇',
|
|
14
|
-
value: 2595
|
|
15
|
-
}, {
|
|
16
|
-
name: '无法检查',
|
|
17
|
-
value: 503
|
|
18
|
-
}, {
|
|
19
|
-
name: '正常入户',
|
|
20
|
-
value: 4715
|
|
21
|
-
}, {
|
|
22
|
-
name: '拒绝检查',
|
|
23
|
-
value: 4700
|
|
24
|
-
}]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
methods: {
|
|
28
|
-
init () {
|
|
29
|
-
var colorarr = ['#00FFFF', '#f27c79', '#00FFA8', '#897bd3']
|
|
30
|
-
var option = {
|
|
31
|
-
backgroundColor: '#ffffff00',
|
|
32
|
-
animation: true,
|
|
33
|
-
title: {
|
|
34
|
-
text:'年度安检情况分布',
|
|
35
|
-
x: '10%',
|
|
36
|
-
y: '10%',
|
|
37
|
-
backgroundColor: '#002c45', //标题背景颜色,默认'rgba(0,0,0,0)'透明
|
|
38
|
-
borderColor: '#01fee8', //标题边框颜色,默认'#ccc'
|
|
39
|
-
borderWidth: 1, //标题边框线宽,单位px,默认为0(无边框)
|
|
40
|
-
padding:5,
|
|
41
|
-
textStyle: {
|
|
42
|
-
fontSize: 12,
|
|
43
|
-
fontWeight: 'normal',
|
|
44
|
-
fontFamily: 'pFBold',
|
|
45
|
-
lineHeight: 12,
|
|
46
|
-
color: '#24d4d4',
|
|
47
|
-
align: 'center'
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
legend: {
|
|
51
|
-
width: '50%',
|
|
52
|
-
textStyle: {
|
|
53
|
-
color: ' #a2b8cf',
|
|
54
|
-
fontSize: 12
|
|
55
|
-
},
|
|
56
|
-
orient: 'vertical',
|
|
57
|
-
icon: 'circle',
|
|
58
|
-
itemWidth: 8,
|
|
59
|
-
itemHeight:8,
|
|
60
|
-
bottom: '2%',
|
|
61
|
-
right: '10%',
|
|
62
|
-
itemGap: 10,
|
|
63
|
-
data: ['到访不遇', '无法检查','正常入户','拒绝检查']
|
|
64
|
-
},
|
|
65
|
-
series: [{
|
|
66
|
-
type: 'pie',
|
|
67
|
-
center: ['34%', '70%'],
|
|
68
|
-
radius: ['35%', '50%'],
|
|
69
|
-
color: colorarr,
|
|
70
|
-
startAngle: 135,
|
|
71
|
-
labelLine: {
|
|
72
|
-
normal: {
|
|
73
|
-
length: 20
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
label: {
|
|
77
|
-
show: true,
|
|
78
|
-
formatter: '{b|{b}}\n{per|{d}%}',
|
|
79
|
-
rich: {
|
|
80
|
-
a: {
|
|
81
|
-
color: '#999',
|
|
82
|
-
lineHeight: 22,
|
|
83
|
-
align: 'center'
|
|
84
|
-
},
|
|
85
|
-
hr: {
|
|
86
|
-
borderColor: '#aaa',
|
|
87
|
-
width: '100%',
|
|
88
|
-
borderWidth: 1,
|
|
89
|
-
height: 0
|
|
90
|
-
},
|
|
91
|
-
b: {
|
|
92
|
-
fontSize: 10,
|
|
93
|
-
padding: [5, 0],
|
|
94
|
-
color: '#fff'
|
|
95
|
-
},
|
|
96
|
-
c: {
|
|
97
|
-
fontSize: 10,
|
|
98
|
-
color: '#eee'
|
|
99
|
-
},
|
|
100
|
-
per: {
|
|
101
|
-
color: '#FDF44E',
|
|
102
|
-
fontSize: 10,
|
|
103
|
-
borderRadius: 2
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
position: 'outside'
|
|
107
|
-
},
|
|
108
|
-
data: this.data
|
|
109
|
-
}]
|
|
110
|
-
}
|
|
111
|
-
let barchart = this.$echarts.init(document.getElementById('safecheck-ring'))
|
|
112
|
-
console.log(option)
|
|
113
|
-
barchart.setOption(option)
|
|
114
|
-
let index = -1 // 高亮所在下标
|
|
115
|
-
let dataLength = colorarr.length // 当前饼图有多少个扇形
|
|
116
|
-
// 用定时器控制饼图高亮
|
|
117
|
-
// this.mTime = setInterval(() => {
|
|
118
|
-
// // 清除之前的高亮
|
|
119
|
-
// barchart.dispatchAction({
|
|
120
|
-
// type: 'downplay',
|
|
121
|
-
// seriesIndex: 0,
|
|
122
|
-
// dataIndex: index
|
|
123
|
-
// })
|
|
124
|
-
// index = (index + 1) % dataLength
|
|
125
|
-
// // 当前下标高亮
|
|
126
|
-
// barchart.dispatchAction({
|
|
127
|
-
// type: 'highlight',
|
|
128
|
-
// seriesIndex: 0,
|
|
129
|
-
// dataIndex: index
|
|
130
|
-
// })
|
|
131
|
-
// if (index > dataLength) {
|
|
132
|
-
// index = 0
|
|
133
|
-
// }
|
|
134
|
-
// }, 1000)
|
|
135
|
-
// 鼠标划入
|
|
136
|
-
barchart.on('mouseover', () => {
|
|
137
|
-
// 停止定时器,清除之前的高亮
|
|
138
|
-
// clearInterval(this.mTime)
|
|
139
|
-
this.echartsPie.dispatchAction({
|
|
140
|
-
type: 'downplay',
|
|
141
|
-
seriesIndex: 0,
|
|
142
|
-
dataIndex: index
|
|
143
|
-
})
|
|
144
|
-
})
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
ready () {
|
|
148
|
-
let http = new HttpResetClass()
|
|
149
|
-
http.load('post', '/rs/sql/getSafecheckSumByType', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
150
|
-
this.data = res.data
|
|
151
|
-
this.init()
|
|
152
|
-
})
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
props: {}
|
|
156
|
-
}
|
|
157
|
-
</script>
|
|
158
|
-
<style scoped>
|
|
159
|
-
</style>
|
|
160
|
-
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="safecheck-barchart" style="height: 100%;width:100%">
|
|
3
|
-
</div>
|
|
4
|
-
</template>
|
|
5
|
-
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from 'vue-client'
|
|
8
|
-
export default {
|
|
9
|
-
title: '收费',
|
|
10
|
-
data() {
|
|
11
|
-
return{
|
|
12
|
-
thisYear: undefined,
|
|
13
|
-
lastYear: undefined,
|
|
14
|
-
nextYear: undefined,
|
|
15
|
-
thisMonth: undefined,
|
|
16
|
-
today: undefined,
|
|
17
|
-
xData : ['1', '2', '3', '4', '5', '6'],
|
|
18
|
-
yData1 : [12944, 72188, 55748, 36948, 28498, 27358],
|
|
19
|
-
yData2 : [25968, 13128, 47838, 23148, 23498, 26538]
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
methods: {
|
|
23
|
-
initDate(){
|
|
24
|
-
let dt = new Date()
|
|
25
|
-
this.thisYear = dt.getFullYear()
|
|
26
|
-
this.lastYear = dt.getFullYear() - 1
|
|
27
|
-
this.nextYear = dt.getFullYear() + 1
|
|
28
|
-
this.today = dt.getDay()
|
|
29
|
-
this.thisMonth = this.today>10?dt.getMonth()+1:dt.getMonth()
|
|
30
|
-
},
|
|
31
|
-
init() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var xData =this.xData,
|
|
35
|
-
yData1 = this.yData1,
|
|
36
|
-
yData2 = this.yData2,
|
|
37
|
-
borderData = [],
|
|
38
|
-
legend = ['累计到访户数', '实际入户数'],
|
|
39
|
-
colorArr = [{
|
|
40
|
-
start: 'rgba(242,153,97)',
|
|
41
|
-
mid: 'rgba(242,153,97,0.7)',
|
|
42
|
-
end: 'rgba(0, 0, 0,0.5)'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
end: 'rgba(0, 0, 0,0.5)',
|
|
46
|
-
mid: 'rgba(111,217,208,0.7)',
|
|
47
|
-
start: 'rgba(111,217,208)'
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
color: '#00EAFF'
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
let normalColor = 'rgba(8,115,142)'
|
|
54
|
-
let seriesData = []
|
|
55
|
-
var borderHeight = 4
|
|
56
|
-
xData.forEach(element => {
|
|
57
|
-
borderData.push(borderHeight)
|
|
58
|
-
});
|
|
59
|
-
[yData1, yData2].forEach((item, index) => {
|
|
60
|
-
var obj1 = {}
|
|
61
|
-
if (index < 2) {
|
|
62
|
-
obj1 = {
|
|
63
|
-
name: legend[index],
|
|
64
|
-
type: 'bar',
|
|
65
|
-
stack: legend[index],
|
|
66
|
-
data: item,
|
|
67
|
-
barWidth: '12',
|
|
68
|
-
itemStyle: {
|
|
69
|
-
normal: {
|
|
70
|
-
barBorderRadius: [30, 30, 0, 0],
|
|
71
|
-
color: {
|
|
72
|
-
type: 'linear',
|
|
73
|
-
x: 0,
|
|
74
|
-
y: 0,
|
|
75
|
-
x2: 0,
|
|
76
|
-
y2: 1,
|
|
77
|
-
colorStops: [{
|
|
78
|
-
offset: 0,
|
|
79
|
-
color: colorArr[index].start
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
offset: 0.5,
|
|
83
|
-
color: colorArr[index].start
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
offset: 1,
|
|
87
|
-
color: colorArr[index].start
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
globalCoord: false
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
seriesData.push(obj1)
|
|
96
|
-
} else {
|
|
97
|
-
var obj3 = {
|
|
98
|
-
data: item,
|
|
99
|
-
type: 'line',
|
|
100
|
-
smooth: true,
|
|
101
|
-
name: legend[index],
|
|
102
|
-
symbol: 'circle',
|
|
103
|
-
symbolSize: 8,
|
|
104
|
-
itemStyle:{
|
|
105
|
-
normal:{
|
|
106
|
-
color:'orange',
|
|
107
|
-
borderColor:'orange',
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
lineStyle: {
|
|
111
|
-
color: colorArr[index].color,
|
|
112
|
-
width: 1,
|
|
113
|
-
shadowColor: '#e5925e', //设置折线阴影
|
|
114
|
-
shadowBlur: 15,
|
|
115
|
-
shadowOffsetY: 20,
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
seriesData.push(obj3)
|
|
119
|
-
}
|
|
120
|
-
})
|
|
121
|
-
console.log(seriesData)
|
|
122
|
-
// 更改柱状图位置
|
|
123
|
-
let option = {
|
|
124
|
-
title: {
|
|
125
|
-
text:'近六月安检情况',
|
|
126
|
-
x: '12%',
|
|
127
|
-
y: '1%',
|
|
128
|
-
backgroundColor: '#002c45', //标题背景颜色,默认'rgba(0,0,0,0)'透明
|
|
129
|
-
borderColor: '#01fee8', //标题边框颜色,默认'#ccc'
|
|
130
|
-
borderWidth: 1, //标题边框线宽,单位px,默认为0(无边框)
|
|
131
|
-
padding:5,
|
|
132
|
-
textStyle: {
|
|
133
|
-
fontSize: 12,
|
|
134
|
-
fontWeight: 'normal',
|
|
135
|
-
fontFamily: 'pFBold',
|
|
136
|
-
lineHeight: 20,
|
|
137
|
-
color: '#24d4d4',
|
|
138
|
-
align: 'center'
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
backgroundColor: '#ffffff00',
|
|
142
|
-
grid: {
|
|
143
|
-
left: '2%',
|
|
144
|
-
top: '10%',
|
|
145
|
-
right: '10%',
|
|
146
|
-
bottom: '20%',
|
|
147
|
-
containLabel: true
|
|
148
|
-
},
|
|
149
|
-
legend: {
|
|
150
|
-
show: true,
|
|
151
|
-
icon: 'circle',
|
|
152
|
-
itemWidth: 10,
|
|
153
|
-
itemHeight: 10,
|
|
154
|
-
right: 'center',
|
|
155
|
-
bottom: '7%',
|
|
156
|
-
textStyle: {
|
|
157
|
-
color: '#fff'
|
|
158
|
-
},
|
|
159
|
-
data: legend
|
|
160
|
-
},
|
|
161
|
-
tooltip: {
|
|
162
|
-
position: function (pos, params, dom, rect, size) {
|
|
163
|
-
let yPos = '20%'
|
|
164
|
-
let xPos = 0
|
|
165
|
-
if (pos[0] < size.viewSize[0] / 2) {
|
|
166
|
-
xPos = pos[0] + 10
|
|
167
|
-
} else {
|
|
168
|
-
xPos = pos[0] - dom.offsetWidth - 10
|
|
169
|
-
}
|
|
170
|
-
return [xPos, yPos]
|
|
171
|
-
},
|
|
172
|
-
trigger: 'axis',
|
|
173
|
-
extraCssText: 'width:auto;height:40%;border:1px solid #015999;background:#032f53 ',
|
|
174
|
-
formatter: function (params) {
|
|
175
|
-
var str = ''
|
|
176
|
-
for (var i = 0; i < params.length; i++) {
|
|
177
|
-
if (params[i].seriesName !== '') {
|
|
178
|
-
str += `<span style="font-size:12px">${params[i].seriesName}:</span><span style="color:gold;margin-left:5px">${params[i].value}</span> <br />`
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return str
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
xAxis: [{
|
|
185
|
-
name: '近6月',
|
|
186
|
-
type: 'category',
|
|
187
|
-
nameTextStyle: {
|
|
188
|
-
color: '#95bad7',
|
|
189
|
-
fontSize: 12
|
|
190
|
-
},
|
|
191
|
-
data: xData,
|
|
192
|
-
interval: 0,
|
|
193
|
-
axisPointer: {
|
|
194
|
-
type: 'shadow'
|
|
195
|
-
},
|
|
196
|
-
axisLabel: {
|
|
197
|
-
textStyle: {
|
|
198
|
-
color: '#95bad7',
|
|
199
|
-
fontSize: '1vw'
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
axisLine: {
|
|
203
|
-
lineStyle: {
|
|
204
|
-
color: normalColor
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
axisTick: {
|
|
208
|
-
show: false
|
|
209
|
-
},
|
|
210
|
-
splitLine: {
|
|
211
|
-
show: false
|
|
212
|
-
}
|
|
213
|
-
}],
|
|
214
|
-
yAxis: [{
|
|
215
|
-
type: 'value',
|
|
216
|
-
nameTextStyle: {
|
|
217
|
-
color: '#95bad7',
|
|
218
|
-
fontSize: 12
|
|
219
|
-
},
|
|
220
|
-
// 'min': 0,
|
|
221
|
-
// 'max': 50,
|
|
222
|
-
axisLabel: {
|
|
223
|
-
formatter: '{value}',
|
|
224
|
-
textStyle: {
|
|
225
|
-
color: '#95bad7',
|
|
226
|
-
fontSize: '1vw'
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
axisLine: {
|
|
230
|
-
lineStyle: {
|
|
231
|
-
color: normalColor
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
axisTick: {
|
|
235
|
-
show: false
|
|
236
|
-
},
|
|
237
|
-
splitLine: {
|
|
238
|
-
show: false,
|
|
239
|
-
lineStyle: {
|
|
240
|
-
type: 'dashed',
|
|
241
|
-
color: normalColor
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}],
|
|
245
|
-
series: seriesData
|
|
246
|
-
}
|
|
247
|
-
console.log(option)
|
|
248
|
-
let barchart = this.$echarts.init(document.getElementById('safecheck-barchart'))
|
|
249
|
-
console.log(option)
|
|
250
|
-
barchart.setOption(option)
|
|
251
|
-
var index = 0
|
|
252
|
-
// var mTime = setInterval(function () {
|
|
253
|
-
// barchart.dispatchAction({
|
|
254
|
-
// type: 'showTip',
|
|
255
|
-
// seriesIndex: 0,
|
|
256
|
-
// dataIndex: index
|
|
257
|
-
// })
|
|
258
|
-
// index++
|
|
259
|
-
// if (index > xData.length) {
|
|
260
|
-
// index = 0
|
|
261
|
-
// }
|
|
262
|
-
// }, 1000)
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
ready() {
|
|
266
|
-
this.initDate()
|
|
267
|
-
let http = new HttpResetClass()
|
|
268
|
-
// getSafecheckSumByMonth
|
|
269
|
-
http.load('post','rs/logic/getBpm',{data:{
|
|
270
|
-
sql:`getSafecheckSumByMonth`,
|
|
271
|
-
this_year:this.thisYear,
|
|
272
|
-
this_month:this.thisMonth
|
|
273
|
-
}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
274
|
-
this.yData1 =[]
|
|
275
|
-
this.yData2=[]
|
|
276
|
-
this.xData = []
|
|
277
|
-
for(let i=0;i<res.data.length;i++){
|
|
278
|
-
this.xData.push(res.data[i].time)
|
|
279
|
-
this.yData1.push(res.data[i].plannum)
|
|
280
|
-
this.yData2.push(res.data[i].normalnum)
|
|
281
|
-
}
|
|
282
|
-
this.init()
|
|
283
|
-
})
|
|
284
|
-
|
|
285
|
-
},
|
|
286
|
-
props: {}
|
|
287
|
-
}
|
|
288
|
-
</script>
|
|
289
|
-
<style scoped>
|
|
290
|
-
/*div{*/
|
|
291
|
-
/*height: auto;*/
|
|
292
|
-
/*}*/
|
|
293
|
-
</style>
|
|
294
|
-
|