manage-client 3.1.26 → 3.1.27

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.
Files changed (76) hide show
  1. package/build/dev-server.js +28 -21
  2. package/package.json +1 -1
  3. package/src/App.vue +29 -28
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/BasisEcharts/RingChart.vue +196 -196
  6. package/src/components/SellReport/BusinessClassify.vue +251 -251
  7. package/src/components/SellReport/ChargePrick.vue +245 -262
  8. package/src/components/SellReport/DepartmentPrick.vue +262 -262
  9. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  10. package/src/components/SellReport/ManageSellType.vue +284 -284
  11. package/src/components/SellReport/ManageUserCount.vue +347 -347
  12. package/src/components/SellReport/MarketMonth.vue +251 -251
  13. package/src/components/SellReport/SellingTable.vue +220 -220
  14. package/src/components/SellReport/UserClassify.vue +251 -251
  15. package/src/components/SellReport/UserSellingGas.vue +251 -251
  16. package/src/components/daping/CallCenter.vue +366 -366
  17. package/src/components/daping/DataManagement.vue +543 -703
  18. package/src/components/daping/GMap.vue +636 -636
  19. package/src/components/daping/ManageMain.vue +267 -255
  20. package/src/components/daping/NetWork.vue +238 -0
  21. package/src/components/daping/RedactDaPing.vue +454 -0
  22. package/src/components/daping/Ring.vue +212 -217
  23. package/src/components/daping/SafeCheck.vue +446 -0
  24. package/src/components/daping/SafeCheckRing.vue +149 -160
  25. package/src/components/daping/SafecheckBarChart.vue +48 -133
  26. package/src/components/daping/WuHaiMap.vue +418 -0
  27. package/src/components/qinhua/BarChart.vue +256 -256
  28. package/src/components/qinhua/Pie.vue +132 -116
  29. package/src/components/qinhua/SellEcharts.vue +115 -94
  30. package/src/components/qinhua/qinHuaMap.vue +414 -390
  31. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  32. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  33. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  34. package/src/components/sale/businessquery/NewHandplanQuery.vue +995 -0
  35. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  36. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  37. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  38. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  39. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  40. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  41. package/src/components/webmeter/DrillData/UserGasAll.vue +596 -596
  42. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  43. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  44. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  45. package/src/components/webmeter/instruction/NewQueryInstruct.vue +396 -396
  46. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -170
  47. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  48. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +899 -899
  49. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  50. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -238
  51. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -266
  52. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +606 -606
  53. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +252 -252
  54. package/src/components/webmeter/newwebmeter/UserGasList.vue +440 -440
  55. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  56. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  57. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  58. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  59. package/src/filiale/alashan/SellingTable.vue +231 -231
  60. package/src/filiale/alashan/reportManage.js +10 -10
  61. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  62. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  63. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  64. package/src/filiale/meihekou/sale.js +26 -26
  65. package/src/filiale/rongcheng/exportConfig.js +257 -257
  66. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  67. package/src/filiale/rongchuang/reportManage.js +11 -11
  68. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  69. package/src/main.js +5 -5
  70. package/src/newmanage.js +525 -504
  71. package/src/reportManage.js +458 -458
  72. package/static/wuhai.json +1610 -1610
  73. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  74. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  75. package/.gradle/buildOutputCleanup/built.bin +0 -0
  76. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
@@ -0,0 +1,446 @@
1
+ <template>
2
+ <div class="safe">
3
+ <div class="label">安检</div>
4
+ <!--<div class="d1">-->
5
+ <div class="f2">
6
+ <div id="safe"></div>
7
+ <div id="safeerror"></div>
8
+ </div>
9
+ <div class="f1">
10
+ <table>
11
+ <tr>
12
+ <td class="td1"><img src="../../../static/ManageHomePic/图层11.png"></td>
13
+ <td>安检总数<br/>&nbsp;<span class="s1">{{totalstring}}</span></td>
14
+ </tr>
15
+ <tr>
16
+ <td class="td1"><img src="../../../static/ManageHomePic/椭圆8拷贝6.png"></td>
17
+ <td>隐患总数<br/>&nbsp;<span class="s2">{{hiddenuser}}</span></td>
18
+ </tr>
19
+ </table>
20
+ </div>
21
+
22
+ <!--</div>-->
23
+ </div>
24
+ </template>
25
+
26
+ <script>
27
+ import * as DataSql from '../../stores/DataSql'
28
+ import co from 'co'
29
+
30
+
31
+ export default {
32
+ name: "safe-check",
33
+ props: {
34
+ listenheight: String,
35
+ f_filiale:String,
36
+ },
37
+ data() {
38
+ return {
39
+ xc: '',
40
+ resdata: [],
41
+ resdata1: [],
42
+ totalstring: '',
43
+ safedata: [{value: 0, name: '当年已完成数'}, {value: 0, name: '当年未完成数'}],
44
+ safedatastring: [{value: "", name: '当年已完成数'}, {value: "", name: '当年未完成数'}],
45
+ safeerrordata:[] ,
46
+ hiddenuser:'',
47
+ timer:'',
48
+ timer1:'',
49
+ }
50
+ },
51
+ beforeDestroy() {
52
+ //清除定时器
53
+ clearInterval(this.timer);
54
+ clearInterval(this.timer1);
55
+ },
56
+ methods: {
57
+ setBar(id, iddata) {
58
+ var self = this
59
+ this.xc = this.$echarts.init(document.getElementById(id))
60
+
61
+ var scale=this.$parent.$parent.$parent.scale
62
+ var color = ["#e7c83c", "#2f3f2b"]
63
+ var center = [66, 82]
64
+ var startAngle=90
65
+ if (id == 'safeerror') {
66
+ color = ["#69d8d2", "#013e48"]
67
+ center = [66*scale, 82*scale]
68
+ startAngle=0
69
+ }
70
+ this.xc.setOption({
71
+ tooltip: {
72
+ show: true,
73
+ alwaysShowContent:true,
74
+ backgroundColor:'rgba(2, 59, 63, 0.6)',
75
+ // borderColor :'rgba(13, 109, 180)',
76
+ borderWidth:0,
77
+ hideDelay:100,
78
+ triggerOn:'mousemove',
79
+ padding:10*scale,
80
+ textStyle:{
81
+ fontSize:16*scale
82
+ },
83
+ formatter: function (params) {
84
+ return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
85
+ },
86
+ enterable:true,
87
+ position: function(point, params, dom, rect, size) {
88
+ //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
89
+ var x = point[0]; //
90
+ var y = point[1];
91
+ var viewWidth = size.viewSize[0];
92
+ var viewHeight = size.viewSize[1];
93
+ var boxWidth = size.contentSize[0];
94
+ var boxHeight = size.contentSize[1];
95
+ var posX = 0; //x坐标位置
96
+ var posY = 0; //y坐标位置
97
+ if (x < boxWidth) { //左边放不开
98
+ posX = 5;
99
+ } else { //左边放的下
100
+ posX = x - boxWidth;
101
+ }
102
+
103
+ if (y < boxHeight) { //上边放不开
104
+ posY = 5;
105
+ } else { //上边放得下
106
+ posY = y - boxHeight;
107
+ }
108
+ return [posX, posY];
109
+ },
110
+ extraCssText:'width: auto;height:auto;',
111
+ },
112
+ color: color,
113
+ series: [
114
+ {
115
+ name: 'demo',
116
+ type: 'pie',
117
+ center: ['52%', '55%'],
118
+ radius: ['40%', '60%'],
119
+ minAngle: 15,//最小角度
120
+ startAngle: startAngle, //起始角度
121
+ avoidLabelOverlap: false,
122
+ hoverAnimation: false,
123
+ label: {
124
+ show:false
125
+ // normal: {
126
+ // formatter: function (params, ticket, callback) {
127
+ // if (id == 'safe') {
128
+ // for (var i = 0; i < self.safedatastring.length; i++) {
129
+ // if (self.safedatastring[i].name == params.name) {
130
+ // return '{a|' + params.name + '}{a|' + self.safedatastring[i].value + '}\n';
131
+ // }
132
+ // }
133
+ // }
134
+ // return '{b|' + params.name + '}{b|' + params.value + '}\n';
135
+ // },
136
+ // borderWidth: 20 * scale,
137
+ // borderRadius: 4 * scale,
138
+ // padding: [0, -89 * scale],
139
+ // rich: {
140
+ // a: {
141
+ // color: '#f3c832',
142
+ // fontSize: 12 * scale,
143
+ // },
144
+ // b: {
145
+ // fontSize: 12 * scale,
146
+ // color: '#6fd9d0'
147
+ // }
148
+ // }
149
+ // }
150
+ },
151
+ labelLine: {
152
+ show:false
153
+ // normal: {
154
+ // length: 10 * scale,
155
+ // length2: 90 * scale,
156
+ // lineStyle: {
157
+ // color: color[0]
158
+ // }
159
+ // }
160
+ },
161
+ data: iddata
162
+ }
163
+ ]
164
+ })
165
+ if (id == 'safeerror') {
166
+ let idx = 0;
167
+ var dataLen=iddata.length
168
+ var oroptionmapjsonr_charts=this.xc
169
+ this.timer=setInterval(()=>{
170
+ // 取消之前选中的图形
171
+ oroptionmapjsonr_charts.dispatchAction({
172
+ type: 'pieUnSelect',
173
+ seriesIndex: 0,
174
+ dataIndex: idx,
175
+ });
176
+
177
+ idx = (idx+ 1) % dataLen;
178
+ //console.log(app.currentIndex);
179
+ // 选中当前图形
180
+ oroptionmapjsonr_charts.dispatchAction({
181
+ type: 'pieSelect',
182
+ seriesIndex: 0,
183
+ dataIndex: idx
184
+ });
185
+ oroptionmapjsonr_charts.dispatchAction({
186
+ type: 'showTip',
187
+ seriesIndex: 0,
188
+ dataIndex: idx
189
+ });
190
+ }, 3000)
191
+ }else {
192
+ let idx = 0;
193
+ var dataLen=iddata.length
194
+ var oroptionmapjsonr_charts=this.xc
195
+ this.timer1=setInterval(()=>{
196
+ // 取消之前选中的图形
197
+ oroptionmapjsonr_charts.dispatchAction({
198
+ type: 'pieUnSelect',
199
+ seriesIndex: 0,
200
+ dataIndex: idx,
201
+ });
202
+
203
+ idx = (idx+ 1) % dataLen;
204
+ //console.log(app.currentIndex);
205
+ // 选中当前图形
206
+ oroptionmapjsonr_charts.dispatchAction({
207
+ type: 'pieSelect',
208
+ seriesIndex: 0,
209
+ dataIndex: idx
210
+ });
211
+ oroptionmapjsonr_charts.dispatchAction({
212
+ type: 'showTip',
213
+ seriesIndex: 0,
214
+ dataIndex: idx
215
+ });
216
+ }, 3000)
217
+ }
218
+
219
+ },
220
+ },
221
+ watch: {
222
+ 'listenheight': {
223
+ deep: true,
224
+ handler(val) {
225
+ if (this.listenheight !== '') {
226
+ var self = this.$echarts.init(document.getElementById('safe'))
227
+ // this.$parent.$parent.changeresize(self)
228
+ var self1 = this.$echarts.init(document.getElementById('safeerror'))
229
+ // this.$parent.$parent.changeresize(self1)
230
+ }
231
+ },
232
+ },
233
+ 'resdata': {
234
+ deep: true,
235
+ handler(val) {
236
+ console.log(this.resdata, '测试安检数据')
237
+ if (typeof this.resdata[0].totalsafe !== "undefined") {
238
+ this.safedata[0].value = this.resdata[0].complete
239
+ this.safedata[1].value = this.resdata[0].undone
240
+ DataSql.dataunitarray(this, 'safedata', 'safedatastring')
241
+ this.setBar('safe', this.safedata)
242
+ this.totalstring = DataSql.dataunit(this.resdata[0].totalsafe)
243
+ // if(this.safeerrordata.length>0){
244
+ // var self=this
245
+ // // this.safeerrordata.forEach(function (s) {
246
+ // // if(s.name=='隐患数'){
247
+ // // self.hiddenuser=s.value
248
+ // // }
249
+ // // })
250
+ // }
251
+ this.$parent.loaddata++
252
+ }
253
+ },
254
+ },
255
+ 'resdata1': {
256
+ deep: true,
257
+ handler(val) {
258
+ this.safeerrordata=this.resdata1
259
+
260
+ // this.totalstring = DataSql.dataunit(this.resdata1[0].totalsafe)
261
+ this.setBar('safeerror', this.safeerrordata)
262
+ this.hiddenuser=0
263
+ if(this.resdata1.length>0){
264
+ this.safeerrordata.forEach((s)=> {
265
+ if(s.name==='有隐患用户数'){
266
+ this.hiddenuser=s.value
267
+ }
268
+
269
+ })
270
+ }
271
+ this.$parent.loaddata++
272
+ },
273
+ },
274
+ 'f_filiale'(){
275
+ clearInterval(this.timer);
276
+ clearInterval(this.timer1);
277
+ let getdata = DataSql.getData(this, 'noplancheck',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
278
+ co(getdata)
279
+ let getdata1 = DataSql.getData(this, 'hiddennum',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata1')
280
+ co(getdata1)
281
+ }
282
+ },
283
+ ready() {
284
+ let getdata = DataSql.getData(this, 'noplancheck',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
285
+ co(getdata)
286
+ let getdata1 = DataSql.getData(this, 'hiddennum',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata1')
287
+ co(getdata1)
288
+
289
+ }
290
+ }
291
+ </script>
292
+
293
+ <style scoped>
294
+ @media screen and (max-width: 1920px) {.label {
295
+ margin-left: 6%;
296
+ font-size: 1.85rem;
297
+ float: left;
298
+ color: #fff;
299
+ height: 8%;
300
+ }
301
+
302
+ .safe {
303
+
304
+ }
305
+
306
+ table {
307
+ width: 100%;
308
+ height: 100%;
309
+ }
310
+
311
+ td {
312
+ /*width: 94px;*/
313
+ /*height: 120px;*/
314
+ font-size: 1.4rem;
315
+ padding-left: 6%;
316
+ width: 50%;
317
+ height: 50%;
318
+ color: #ffffff;
319
+ }
320
+
321
+ .td1 {
322
+ width: 33%;
323
+ }
324
+
325
+ .f1 {
326
+ /*height: 314px;*/
327
+ /*width: 180px;*/
328
+ padding: 0% 0% 0% 15%;
329
+ height: 90%;
330
+ width: 45%;
331
+ float: left;
332
+ }
333
+
334
+ .f2 {
335
+ height: 100%;
336
+ width: 55%;
337
+ float: right;
338
+ }
339
+
340
+ span {
341
+ font-size: 1.5em;
342
+ }
343
+
344
+ #safe {
345
+ width: 100%;
346
+ height: 50%;
347
+ }
348
+
349
+ #safeerror {
350
+ width: 100%;
351
+ height: 50%;
352
+ }
353
+
354
+ .s1 {
355
+ color: #f3c832;
356
+ font-weight: bolder;
357
+ }
358
+
359
+ .s2 {
360
+ color: #05c3c7;
361
+ font-weight: bolder;
362
+ }
363
+
364
+ img {
365
+ width: 90%;
366
+ /*height: 34%;*/
367
+ }
368
+ }
369
+ @media screen and (max-width: 1366px) {
370
+ .label {
371
+ margin-left: 6%;
372
+ font-size: 1.85rem;
373
+ float: left;
374
+ color: #fff;
375
+ height: 8%;
376
+ }
377
+
378
+ .safe {
379
+
380
+ }
381
+
382
+ table {
383
+ width: 100%;
384
+ height: 100%;
385
+ }
386
+
387
+ td {
388
+ /*width: 94px;*/
389
+ /*height: 120px;*/
390
+ font-size: 1rem;
391
+ padding-left: 6%;
392
+ width: 50%;
393
+ height: 50%;
394
+ color: #ffffff;
395
+ }
396
+
397
+ .td1 {
398
+ width: 33%;
399
+ }
400
+
401
+ .f1 {
402
+ /*height: 314px;*/
403
+ /*width: 180px;*/
404
+ padding: 0% 0% 0% 15%;
405
+ height: 90%;
406
+ width: 45%;
407
+ float: left;
408
+ }
409
+
410
+ .f2 {
411
+ height: 100%;
412
+ width: 55%;
413
+ float: right;
414
+ }
415
+
416
+ span {
417
+ font-size: 1.1em;
418
+ }
419
+
420
+ #safe {
421
+ width: 100%;
422
+ height: 50%;
423
+ }
424
+
425
+ #safeerror {
426
+ width: 100%;
427
+ height: 50%;
428
+ }
429
+
430
+ .s1 {
431
+ color: #f3c832;
432
+ font-weight: bolder;
433
+ }
434
+
435
+ .s2 {
436
+ color: #05c3c7;
437
+ font-weight: bolder;
438
+ }
439
+
440
+ img {
441
+ width: 90%;
442
+ /*height: 34%;*/
443
+ }
444
+ }
445
+
446
+ </style>