manage-client 3.2.7 → 3.2.8

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 (40) hide show
  1. package/build/dev-server.js +176 -174
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  5. package/src/components/SellReport/SellingTable.vue +220 -220
  6. package/src/components/daping/GMap.vue +636 -636
  7. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  8. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  9. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  10. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  11. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  12. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  13. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  14. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  15. package/src/components/sale/config/exportConfig.js +885 -885
  16. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  17. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  18. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  19. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  20. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  21. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -283
  22. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  23. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  24. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  25. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  26. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  27. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  28. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  29. package/src/filiale/WEINAN/reportManage.js +12 -12
  30. package/src/filiale/alashan/reportManage.js +10 -10
  31. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  32. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  33. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  34. package/src/filiale/meihekou/sale.js +26 -26
  35. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  36. package/src/filiale/rongchuang/reportManage.js +11 -11
  37. package/src/filiale/tongchuan/CriteriaPaged.vue +49 -0
  38. package/src/filiale/tongchuan/sale.js +19 -16
  39. package/src/main.js +66 -66
  40. package/static/wuhai.json +1610 -1610
@@ -1,283 +1,284 @@
1
- <template lang="html">
2
- <div class="basic-main" style="height: 100%;">
3
- <div style="height: 10%;width: 100%;" v-show="echarts">
4
- <div style="display: inline-block;">
5
- <button @click="$parent.showEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
- </div>
7
- </div>
8
- <div style="height: 80%;width: 98%;">
9
- <div id="userhandplan"></div>
10
- </div>
11
- </div>
12
- </template>
13
-
14
- <script>
15
- import * as Util from '../../../Util'
16
- import co from 'co'
17
- import echarts from 'echarts'
18
- import { HttpResetClass } from 'vue-client'
19
-
20
- let getData = function * (self) {
21
- let load = new HttpResetClass()
22
- load.load('POST','rs/sql/webmeter_getNewHandChanceList',
23
- {data:{condition: self.condition, startDate: self.startdate, endDate: self.enddate}},
24
- {resolveMsg: null, rejectMsg: null}).then((res) => {
25
- // every_time,f_bv1,f_bv2,f_bv3,f_gas
26
- let every_time = res.data.map(x => x.f_insert_date)
27
- let f_bv1 = res.data.map(x => x.f_bv1)
28
- // let f_gas = res.data.map(x => x.f_gas)
29
- let f_gas1 = res.data.map(x => x.f_gas1)
30
- let c = res.data.map(x => x.c)
31
- let c1 = res.data.map(x => x.c1)
32
- // for (var i = 0; i < res.data.length; i++) {
33
- // every_time[i] = res.data[i].f_insert_date
34
- // f_bv1[i] = res.data[i].f_bv1
35
- // f_gas[i] = res.data[i].f_gas
36
- // f_gas1[i] = res.data[i].f_gas1
37
- // }
38
- console.log(self.echarts)
39
- self.set(every_time, f_bv1, f_gas1, c, c1)
40
- })
41
- }
42
- export default {
43
- props: {
44
- echarts: {
45
- type: Boolean,
46
- default:false
47
- },
48
- startdate: {
49
- type: String,
50
- default: Util.toStandardDateString()
51
- },
52
- enddate: {
53
- type: String,
54
- default: Util.toStandardDateString()
55
- },
56
- condition: {
57
- type: String,
58
- default: '1=1'
59
- }
60
- },
61
- data () {
62
- return {
63
- xc: ''
64
- }
65
- },
66
- ready(){
67
- console.log(this.echarts)
68
- },
69
- methods: {
70
- // every_time: 日期 f_bv1: 抄表成功率 f_gas: 日用气量
71
- set (every_time, f_bv1, f_gas1, c, c1) {
72
-
73
- const statInfo = document.getElementById('userhandplan') // 获取图表元素
74
- statInfo.style.width = window.innerWidth - 200 + "px"; //初始化echarts图表宽度
75
- statInfo.style.height = window.innerHeight - 200 + "px"; //初始化echarts图表宽度
76
- this.xc = this.$echarts.init(statInfo)
77
- // 设置宽度自适应
78
- window.addEventListener('resize', () => {
79
- statInfo.style.width = window.innerWidth - 200 + "px";
80
- statInfo.style.height = window.innerHeight - 200 + "px";
81
- this.xc.resize();
82
- })
83
- this.xc.setOption({
84
- 'title': {
85
- 'text': '抄表率分析',
86
- 'left': 'center',
87
- 'y': '10',
88
- 'textStyle': {
89
- 'color': '#696969',
90
- fontSize: 20
91
- }
92
- },
93
-
94
- 'tooltip': {
95
- 'trigger': 'axis',
96
- 'extraCssText': 'height: auto;'
97
- },
98
- 'legend': {
99
- 'data': [
100
- {
101
- 'name': '日均用气量(m³)',
102
- 'icon': 'circle',
103
- 'textStyle': {
104
- 'color': '#7b5541',
105
- fontSize: 12
106
- }
107
- },
108
- {
109
- 'name': '抄表成功户数',
110
- 'icon': 'circle',
111
- 'textStyle': {
112
- 'color': '#45c1b6',
113
- fontSize: 12
114
- }
115
- },
116
- {
117
- 'name': '再用户数',
118
- 'icon': 'circle',
119
- 'textStyle': {
120
- 'color': '#8a9e64',
121
- fontSize: 12
122
- }
123
- },
124
- {
125
- 'name': '抄表成功率%',
126
- 'icon': 'circle',
127
- 'textStyle': {
128
- 'color': '#ffaa00',
129
- fontSize: 12
130
- }
131
- }
132
- ],
133
- 'top': '10%',
134
- 'textStyle': {
135
- 'color': '#fff'
136
- }
137
- },
138
- 'xAxis': [
139
- {
140
- 'type': 'category',
141
- 'data': every_time,
142
- 'axisPointer': {
143
- 'type': 'shadow'
144
- },
145
- 'axisLabel': {
146
- 'show': true,
147
- 'textStyle': {
148
- 'color': '#7d838b',
149
- fontSize: 10
150
- }
151
- }
152
- }
153
- ],
154
- 'yAxis': [
155
- {
156
- 'type': 'value',
157
- 'name': '用气量(m³)',
158
- nameTextStyle: {
159
- fontSize: 10
160
- },
161
- 'show': true,
162
- 'axisLabel': {
163
- 'show': true,
164
- 'textStyle': {
165
- 'color': '#7d8000',
166
- fontSize: 10
167
- }
168
- }
169
- },
170
- {
171
- 'type': 'value',
172
- 'name': '完成率(%)',
173
- nameTextStyle: {
174
- fontSize: 10
175
- },
176
- 'show': true,
177
- 'axisLabel': {
178
- 'show': true,
179
- 'textStyle': {
180
- 'color': '#7d838b',
181
- fontSize: 10
182
- }
183
- }
184
- }
185
- ],
186
- 'grid': {
187
- 'top': '15%'
188
- },
189
- 'series': [
190
- {
191
- 'name': '日均用气量(m³)',
192
- 'type': 'line',
193
- 'yAxisIndex': 1,
194
- 'data': f_gas1,
195
- 'itemStyle': {
196
- 'normal': {
197
- 'color': '#7b5541',
198
- fontSize: 10
199
- }
200
- },
201
- 'smooth': true
202
- },
203
- {
204
- 'name': '抄表成功户数',
205
- nameTextStyle: {
206
- fontSize: 10
207
- },
208
- 'type': 'bar',
209
- 'data': c1,
210
- 'barWidth': 'auto',
211
- markPoint: {
212
- data: [
213
- {type: 'max', name: '最大值'},
214
- {type: 'min', name: '最小值'}
215
- ]
216
- },
217
- markLine: {
218
- data: [
219
- {type: 'average', name: '平均值'}
220
- ]
221
- },
222
- 'itemStyle': {
223
- 'normal': {
224
- 'color': '#45c1b6'
225
- }
226
- },
227
- 'barGap': '0'
228
- },
229
- {
230
- 'name': '再用户数',
231
- nameTextStyle: {
232
- fontSize: 10
233
- },
234
- 'type': 'bar',
235
- 'data': c,
236
- 'barWidth': 'auto',
237
- markPoint: {
238
- data: [
239
- {type: 'max', name: '最大值'},
240
- {type: 'min', name: '最小值'}
241
- ]
242
- },
243
- markLine: {
244
- data: [
245
- {type: 'average', name: '平均值'}
246
- ]
247
- },
248
- 'itemStyle': {
249
- 'normal': {
250
- 'color': '#8a9e64'
251
- }
252
- },
253
- 'barGap': '0'
254
- },
255
- {
256
- 'name': '抄表成功率%',
257
- 'type': 'line',
258
- 'yAxisIndex': 1,
259
- 'data': f_bv1,
260
- 'itemStyle': {
261
- 'normal': {
262
- 'color': '#ffaa00',
263
- fontSize: 10
264
- }
265
- },
266
- 'smooth': true
267
- }
268
- ]
269
- })
270
- },
271
- searchdata () {
272
- let getGen = getData(this)
273
- co(getGen)
274
- }
275
- },
276
- watch: {
277
- 'echarts' () {
278
- console.log(this.echarts)
279
- this.searchdata()
280
- }
281
- }
282
- }
283
- </script>
1
+ <template lang="html">
2
+ <div class="basic-main" style="height: 100%;">
3
+ <div style="height: 10%;width: 100%;" v-show="echarts">
4
+ <div style="display: inline-block;">
5
+ <button @click="$parent.showEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
+ </div>
7
+ </div>
8
+ <div style="height: 80%;width: 98%;">
9
+ <div id="userhandplan"></div>
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+ import * as Util from '../../../Util'
16
+ import co from 'co'
17
+ import echarts from 'echarts'
18
+ import { HttpResetClass } from 'vue-client'
19
+
20
+ let getData = function * (self) {
21
+ let load = new HttpResetClass()
22
+ load.load('POST','rs/sql/webmeter_getNewHandChanceList',
23
+ {data:{condition: self.condition, startDate: self.startdate, endDate: self.enddate}},
24
+ {resolveMsg: null, rejectMsg: null}).then((res) => {
25
+ // every_time,f_bv1,f_bv2,f_bv3,f_gas
26
+ let every_time = res.data.map(x => x.f_insert_date)
27
+ let f_bv1 = res.data.map(x => x.f_bv1)
28
+ // let f_gas = res.data.map(x => x.f_gas)
29
+ let f_gas1 = res.data.map(x => x.f_gas1)
30
+ let c = res.data.map(x => x.c)
31
+ let c1 = res.data.map(x => x.c1)
32
+ // for (var i = 0; i < res.data.length; i++) {
33
+ // every_time[i] = res.data[i].f_insert_date
34
+ // f_bv1[i] = res.data[i].f_bv1
35
+ // f_gas[i] = res.data[i].f_gas
36
+ // f_gas1[i] = res.data[i].f_gas1
37
+ // }
38
+ console.log(self.echarts)
39
+ self.set(every_time, f_bv1, f_gas1, c, c1)
40
+ })
41
+ }
42
+ export default {
43
+ props: {
44
+ echarts: {
45
+ type: Boolean,
46
+ default:false
47
+ },
48
+ startdate: {
49
+ type: String,
50
+ default: Util.toStandardDateString()
51
+ },
52
+ enddate: {
53
+ type: String,
54
+ default: Util.toStandardDateString()
55
+ },
56
+ condition: {
57
+ type: String,
58
+ default: '1=1'
59
+ }
60
+ },
61
+ data () {
62
+ return {
63
+ xc: ''
64
+ }
65
+ },
66
+ ready(){
67
+ this.searchdata()
68
+ console.log(this.echarts)
69
+ },
70
+ methods: {
71
+ // every_time: 日期 f_bv1: 抄表成功率 f_gas: 日用气量
72
+ set (every_time, f_bv1, f_gas1, c, c1) {
73
+
74
+ const statInfo = document.getElementById('userhandplan') // 获取图表元素
75
+ statInfo.style.width = window.innerWidth - 200 + "px"; //初始化echarts图表宽度
76
+ statInfo.style.height = window.innerHeight - 200 + "px"; //初始化echarts图表宽度
77
+ this.xc = this.$echarts.init(statInfo)
78
+ // 设置宽度自适应
79
+ window.addEventListener('resize', () => {
80
+ statInfo.style.width = window.innerWidth - 200 + "px";
81
+ statInfo.style.height = window.innerHeight - 200 + "px";
82
+ this.xc.resize();
83
+ })
84
+ this.xc.setOption({
85
+ 'title': {
86
+ 'text': '抄表率分析',
87
+ 'left': 'center',
88
+ 'y': '10',
89
+ 'textStyle': {
90
+ 'color': '#696969',
91
+ fontSize: 20
92
+ }
93
+ },
94
+
95
+ 'tooltip': {
96
+ 'trigger': 'axis',
97
+ 'extraCssText': 'height: auto;'
98
+ },
99
+ 'legend': {
100
+ 'data': [
101
+ {
102
+ 'name': '日均用气量(m³)',
103
+ 'icon': 'circle',
104
+ 'textStyle': {
105
+ 'color': '#7b5541',
106
+ fontSize: 12
107
+ }
108
+ },
109
+ {
110
+ 'name': '抄表成功户数',
111
+ 'icon': 'circle',
112
+ 'textStyle': {
113
+ 'color': '#45c1b6',
114
+ fontSize: 12
115
+ }
116
+ },
117
+ {
118
+ 'name': '再用户数',
119
+ 'icon': 'circle',
120
+ 'textStyle': {
121
+ 'color': '#8a9e64',
122
+ fontSize: 12
123
+ }
124
+ },
125
+ {
126
+ 'name': '抄表成功率%',
127
+ 'icon': 'circle',
128
+ 'textStyle': {
129
+ 'color': '#ffaa00',
130
+ fontSize: 12
131
+ }
132
+ }
133
+ ],
134
+ 'top': '10%',
135
+ 'textStyle': {
136
+ 'color': '#fff'
137
+ }
138
+ },
139
+ 'xAxis': [
140
+ {
141
+ 'type': 'category',
142
+ 'data': every_time,
143
+ 'axisPointer': {
144
+ 'type': 'shadow'
145
+ },
146
+ 'axisLabel': {
147
+ 'show': true,
148
+ 'textStyle': {
149
+ 'color': '#7d838b',
150
+ fontSize: 10
151
+ }
152
+ }
153
+ }
154
+ ],
155
+ 'yAxis': [
156
+ {
157
+ 'type': 'value',
158
+ 'name': '用气量(m³)',
159
+ nameTextStyle: {
160
+ fontSize: 10
161
+ },
162
+ 'show': true,
163
+ 'axisLabel': {
164
+ 'show': true,
165
+ 'textStyle': {
166
+ 'color': '#7d8000',
167
+ fontSize: 10
168
+ }
169
+ }
170
+ },
171
+ {
172
+ 'type': 'value',
173
+ 'name': '完成率(%)',
174
+ nameTextStyle: {
175
+ fontSize: 10
176
+ },
177
+ 'show': true,
178
+ 'axisLabel': {
179
+ 'show': true,
180
+ 'textStyle': {
181
+ 'color': '#7d838b',
182
+ fontSize: 10
183
+ }
184
+ }
185
+ }
186
+ ],
187
+ 'grid': {
188
+ 'top': '15%'
189
+ },
190
+ 'series': [
191
+ {
192
+ 'name': '日均用气量(m³)',
193
+ 'type': 'line',
194
+ 'yAxisIndex': 1,
195
+ 'data': f_gas1,
196
+ 'itemStyle': {
197
+ 'normal': {
198
+ 'color': '#7b5541',
199
+ fontSize: 10
200
+ }
201
+ },
202
+ 'smooth': true
203
+ },
204
+ {
205
+ 'name': '抄表成功户数',
206
+ nameTextStyle: {
207
+ fontSize: 10
208
+ },
209
+ 'type': 'bar',
210
+ 'data': c1,
211
+ 'barWidth': 'auto',
212
+ markPoint: {
213
+ data: [
214
+ {type: 'max', name: '最大值'},
215
+ {type: 'min', name: '最小值'}
216
+ ]
217
+ },
218
+ markLine: {
219
+ data: [
220
+ {type: 'average', name: '平均值'}
221
+ ]
222
+ },
223
+ 'itemStyle': {
224
+ 'normal': {
225
+ 'color': '#45c1b6'
226
+ }
227
+ },
228
+ 'barGap': '0'
229
+ },
230
+ {
231
+ 'name': '再用户数',
232
+ nameTextStyle: {
233
+ fontSize: 10
234
+ },
235
+ 'type': 'bar',
236
+ 'data': c,
237
+ 'barWidth': 'auto',
238
+ markPoint: {
239
+ data: [
240
+ {type: 'max', name: '最大值'},
241
+ {type: 'min', name: '最小值'}
242
+ ]
243
+ },
244
+ markLine: {
245
+ data: [
246
+ {type: 'average', name: '平均值'}
247
+ ]
248
+ },
249
+ 'itemStyle': {
250
+ 'normal': {
251
+ 'color': '#8a9e64'
252
+ }
253
+ },
254
+ 'barGap': '0'
255
+ },
256
+ {
257
+ 'name': '抄表成功率%',
258
+ 'type': 'line',
259
+ 'yAxisIndex': 1,
260
+ 'data': f_bv1,
261
+ 'itemStyle': {
262
+ 'normal': {
263
+ 'color': '#ffaa00',
264
+ fontSize: 10
265
+ }
266
+ },
267
+ 'smooth': true
268
+ }
269
+ ]
270
+ })
271
+ },
272
+ searchdata () {
273
+ let getGen = getData(this)
274
+ co(getGen)
275
+ }
276
+ },
277
+ watch: {
278
+ 'echarts' () {
279
+ console.log(this.echarts)
280
+ this.searchdata()
281
+ }
282
+ }
283
+ }
284
+ </script>