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,242 +1,242 @@
1
- <template lang="html">
2
- <div>
3
- <div id="userinstruct" style=" height: 98%;width: 98%;padding: 1% 1%;"></div>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import * as Util from '../../../Util'
9
- import co from 'co'
10
- import echarts from 'echarts'
11
- import { HttpResetClass } from 'vue-client'
12
-
13
- let getData = function * (self) {
14
- let load = new HttpResetClass()
15
- load.load('POST','rs/sql/webmeter_getNewInstructChanceList',
16
- {data:{condition: self.condition, startDate: self.startdate, endDate: self.enddate}},
17
- {resolveMsg: null, rejectMsg: null}).then((res) => {
18
- // every_time,f_bv1,f_bv2,f_bv3,f_gas
19
- let every_time = []
20
- let f_bv0 = []
21
- let f_bv1 = []
22
- let f_bv2 = []
23
- let c = []
24
- let c0 = []
25
- for (var i = 0; i < res.data.length; i++) {
26
- every_time[i] = res.data[i].f_insert_date
27
- f_bv0[i] = res.data[i].f_bv0
28
- f_bv1[i] = res.data[i].f_bv1
29
- f_bv2[i] = res.data[i].f_bv2
30
- c[i] = res.data[i].c
31
- c0[i] = res.data[i].c0
32
- }
33
- self.set(every_time, f_bv0, f_bv1, f_bv2, c, c0)
34
- })
35
- }
36
- export default {
37
- props: {
38
- echarts: {
39
- type: Boolean,
40
- default:false
41
- },
42
- startdate: {
43
- type: String,
44
- default: Util.toStandardDateString()
45
- },
46
- enddate: {
47
- type: String,
48
- default: Util.toStandardDateString()
49
- },
50
- condition: {
51
- type: String,
52
- default: '1=1'
53
- }
54
- },
55
- data () {
56
- return {
57
- xc: ''
58
- }
59
- },
60
- methods: {
61
- // every_time: 日期 f_bv1: 抄表成功率 f_bv2: 指令成功率 f_bv3: 综合成功率 f_gas: 日用气量
62
- set (every_time, f_bv0, f_bv1, f_bv2, c, c0) {
63
-
64
- this.xc = echarts.init(document.getElementById('userinstruct'))
65
- this.xc.setOption({
66
- 'title': {
67
- 'text': '指令成功率分析',
68
- 'left': 'center',
69
- 'y': '10',
70
- 'textStyle': {
71
- 'color': '#696969',
72
- fontSize: 20
73
- }
74
- },
75
- 'tooltip': {
76
- 'trigger': 'axis',
77
- 'extraCssText': 'width: auto;height: auto;'
78
- },
79
- 'legend': {
80
- 'data': [
81
- {
82
- 'name': '当日表端接收',
83
- 'icon': 'circle',
84
- 'textStyle': {
85
- 'color': '#5b5',
86
- fontSize: 20
87
- }
88
- },
89
- {
90
- 'name': '当日发送指令',
91
- 'icon': 'circle',
92
- 'textStyle': {
93
- 'color': '#233564',
94
- fontSize: 20
95
- }
96
- },
97
- {
98
- 'name': '当日接收成功率%',
99
- 'icon': 'circle',
100
- 'textStyle': {
101
- 'color': '#ffaaff',
102
- fontSize: 20
103
- }
104
- }
105
- ],
106
- 'top': '10%',
107
- 'textStyle': {
108
- 'color': '#fff'
109
- }
110
- },
111
- 'xAxis': [
112
- {
113
- 'type': 'category',
114
- 'data': every_time,
115
- 'axisPointer': {
116
- 'type': 'shadow'
117
- },
118
- 'axisLabel': {
119
- 'show': true,
120
- 'textStyle': {
121
- 'color': '#7d838b',
122
- fontSize: 15
123
- }
124
- }
125
- }
126
- ],
127
- 'yAxis': [
128
- {
129
- 'type': 'value',
130
- 'name': '表具数',
131
- nameTextStyle: {
132
- fontSize: 10
133
- },
134
- 'show': true,
135
- 'axisLabel': {
136
- 'show': true,
137
- 'textStyle': {
138
- 'color': '#7d838b',
139
- fontSize: 10
140
- }
141
- }
142
- },
143
- {
144
- 'type': 'value',
145
- 'name': '成功率%',
146
- nameTextStyle: {
147
- fontSize: 15
148
- },
149
- 'show': true,
150
- 'axisLabel': {
151
- 'show': true,
152
- 'textStyle': {
153
- 'color': '#ffaa00',
154
- fontSize: 15
155
- }
156
- }
157
- }
158
- ],
159
- 'grid': {
160
- 'top': '20%'
161
- },
162
- 'series': [
163
- {
164
- 'name': '当日表端接收',
165
- nameTextStyle: {
166
- fontSize: 15
167
- },
168
- 'type': 'bar',
169
- 'data': c0,
170
- 'markPoint': {
171
- data: [
172
- {type: 'max', name: '最大值'},
173
- {type: 'min', name: '最小值'}
174
- ]
175
- },
176
- markLine: {
177
- data: [
178
- {type: 'average', name: '平均值'}
179
- ]
180
- },
181
- 'barWidth': 'auto',
182
- 'itemStyle': {
183
- 'normal': {
184
- 'color': '#5b5'
185
- }
186
- },
187
- 'barGap': '0'
188
- },
189
- {
190
- 'name': '当日发送指令',
191
- nameTextStyle: {
192
- fontSize: 15
193
- },
194
- 'type': 'bar',
195
- 'data': c,
196
- 'markPoint': {
197
- data: [
198
- {type: 'max', name: '最大值'},
199
- {type: 'min', name: '最小值'}
200
- ]
201
- },
202
- markLine: {
203
- data: [
204
- {type: 'average', name: '平均值'}
205
- ]
206
- },
207
- 'barWidth': 'auto',
208
- 'itemStyle': {
209
- 'normal': {
210
- 'color': '#233564'
211
- }
212
- },
213
- 'barGap': '0'
214
- },
215
- {
216
- 'name': '当日接收成功率%',
217
- 'type': 'line',
218
- 'yAxisIndex': 1,
219
- 'data': f_bv2,
220
- 'itemStyle': {
221
- 'normal': {
222
- 'color': '#ffaaff',
223
- fontSize: 15
224
- }
225
- },
226
- 'smooth': true
227
- }
228
- ]
229
- })
230
- },
231
- searchdata () {
232
- let getGen = getData(this)
233
- co(getGen)
234
- }
235
- },
236
- watch: {
237
- 'echarts' () {
238
- this.searchdata()
239
- }
240
- }
241
- }
242
- </script>
1
+ <template lang="html">
2
+ <div>
3
+ <div id="userinstruct" style=" height: 98%;width: 98%;padding: 1% 1%;"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../../Util'
9
+ import co from 'co'
10
+ import echarts from 'echarts'
11
+ import { HttpResetClass } from 'vue-client'
12
+
13
+ let getData = function * (self) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST','rs/sql/webmeter_getNewInstructChanceList',
16
+ {data:{condition: self.condition, startDate: self.startdate, endDate: self.enddate}},
17
+ {resolveMsg: null, rejectMsg: null}).then((res) => {
18
+ // every_time,f_bv1,f_bv2,f_bv3,f_gas
19
+ let every_time = []
20
+ let f_bv0 = []
21
+ let f_bv1 = []
22
+ let f_bv2 = []
23
+ let c = []
24
+ let c0 = []
25
+ for (var i = 0; i < res.data.length; i++) {
26
+ every_time[i] = res.data[i].f_insert_date
27
+ f_bv0[i] = res.data[i].f_bv0
28
+ f_bv1[i] = res.data[i].f_bv1
29
+ f_bv2[i] = res.data[i].f_bv2
30
+ c[i] = res.data[i].c
31
+ c0[i] = res.data[i].c0
32
+ }
33
+ self.set(every_time, f_bv0, f_bv1, f_bv2, c, c0)
34
+ })
35
+ }
36
+ export default {
37
+ props: {
38
+ echarts: {
39
+ type: Boolean,
40
+ default:false
41
+ },
42
+ startdate: {
43
+ type: String,
44
+ default: Util.toStandardDateString()
45
+ },
46
+ enddate: {
47
+ type: String,
48
+ default: Util.toStandardDateString()
49
+ },
50
+ condition: {
51
+ type: String,
52
+ default: '1=1'
53
+ }
54
+ },
55
+ data () {
56
+ return {
57
+ xc: ''
58
+ }
59
+ },
60
+ methods: {
61
+ // every_time: 日期 f_bv1: 抄表成功率 f_bv2: 指令成功率 f_bv3: 综合成功率 f_gas: 日用气量
62
+ set (every_time, f_bv0, f_bv1, f_bv2, c, c0) {
63
+
64
+ this.xc = echarts.init(document.getElementById('userinstruct'))
65
+ this.xc.setOption({
66
+ 'title': {
67
+ 'text': '指令成功率分析',
68
+ 'left': 'center',
69
+ 'y': '10',
70
+ 'textStyle': {
71
+ 'color': '#696969',
72
+ fontSize: 20
73
+ }
74
+ },
75
+ 'tooltip': {
76
+ 'trigger': 'axis',
77
+ 'extraCssText': 'width: auto;height: auto;'
78
+ },
79
+ 'legend': {
80
+ 'data': [
81
+ {
82
+ 'name': '当日表端接收',
83
+ 'icon': 'circle',
84
+ 'textStyle': {
85
+ 'color': '#5b5',
86
+ fontSize: 20
87
+ }
88
+ },
89
+ {
90
+ 'name': '当日发送指令',
91
+ 'icon': 'circle',
92
+ 'textStyle': {
93
+ 'color': '#233564',
94
+ fontSize: 20
95
+ }
96
+ },
97
+ {
98
+ 'name': '当日接收成功率%',
99
+ 'icon': 'circle',
100
+ 'textStyle': {
101
+ 'color': '#ffaaff',
102
+ fontSize: 20
103
+ }
104
+ }
105
+ ],
106
+ 'top': '10%',
107
+ 'textStyle': {
108
+ 'color': '#fff'
109
+ }
110
+ },
111
+ 'xAxis': [
112
+ {
113
+ 'type': 'category',
114
+ 'data': every_time,
115
+ 'axisPointer': {
116
+ 'type': 'shadow'
117
+ },
118
+ 'axisLabel': {
119
+ 'show': true,
120
+ 'textStyle': {
121
+ 'color': '#7d838b',
122
+ fontSize: 15
123
+ }
124
+ }
125
+ }
126
+ ],
127
+ 'yAxis': [
128
+ {
129
+ 'type': 'value',
130
+ 'name': '表具数',
131
+ nameTextStyle: {
132
+ fontSize: 10
133
+ },
134
+ 'show': true,
135
+ 'axisLabel': {
136
+ 'show': true,
137
+ 'textStyle': {
138
+ 'color': '#7d838b',
139
+ fontSize: 10
140
+ }
141
+ }
142
+ },
143
+ {
144
+ 'type': 'value',
145
+ 'name': '成功率%',
146
+ nameTextStyle: {
147
+ fontSize: 15
148
+ },
149
+ 'show': true,
150
+ 'axisLabel': {
151
+ 'show': true,
152
+ 'textStyle': {
153
+ 'color': '#ffaa00',
154
+ fontSize: 15
155
+ }
156
+ }
157
+ }
158
+ ],
159
+ 'grid': {
160
+ 'top': '20%'
161
+ },
162
+ 'series': [
163
+ {
164
+ 'name': '当日表端接收',
165
+ nameTextStyle: {
166
+ fontSize: 15
167
+ },
168
+ 'type': 'bar',
169
+ 'data': c0,
170
+ 'markPoint': {
171
+ data: [
172
+ {type: 'max', name: '最大值'},
173
+ {type: 'min', name: '最小值'}
174
+ ]
175
+ },
176
+ markLine: {
177
+ data: [
178
+ {type: 'average', name: '平均值'}
179
+ ]
180
+ },
181
+ 'barWidth': 'auto',
182
+ 'itemStyle': {
183
+ 'normal': {
184
+ 'color': '#5b5'
185
+ }
186
+ },
187
+ 'barGap': '0'
188
+ },
189
+ {
190
+ 'name': '当日发送指令',
191
+ nameTextStyle: {
192
+ fontSize: 15
193
+ },
194
+ 'type': 'bar',
195
+ 'data': c,
196
+ 'markPoint': {
197
+ data: [
198
+ {type: 'max', name: '最大值'},
199
+ {type: 'min', name: '最小值'}
200
+ ]
201
+ },
202
+ markLine: {
203
+ data: [
204
+ {type: 'average', name: '平均值'}
205
+ ]
206
+ },
207
+ 'barWidth': 'auto',
208
+ 'itemStyle': {
209
+ 'normal': {
210
+ 'color': '#233564'
211
+ }
212
+ },
213
+ 'barGap': '0'
214
+ },
215
+ {
216
+ 'name': '当日接收成功率%',
217
+ 'type': 'line',
218
+ 'yAxisIndex': 1,
219
+ 'data': f_bv2,
220
+ 'itemStyle': {
221
+ 'normal': {
222
+ 'color': '#ffaaff',
223
+ fontSize: 15
224
+ }
225
+ },
226
+ 'smooth': true
227
+ }
228
+ ]
229
+ })
230
+ },
231
+ searchdata () {
232
+ let getGen = getData(this)
233
+ co(getGen)
234
+ }
235
+ },
236
+ watch: {
237
+ 'echarts' () {
238
+ this.searchdata()
239
+ }
240
+ }
241
+ }
242
+ </script>