manage-client 3.2.16 → 3.2.17

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 (84) hide show
  1. package/build/dev-server.js +8 -24
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/BonSummary.vue +178 -178
  5. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  6. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  7. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  8. package/src/components/SellReport/NonResidentGas.vue +203 -203
  9. package/src/components/SellReport/OutletTable.vue +258 -258
  10. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  11. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  12. package/src/components/SellReport/SellingTable.vue +220 -220
  13. package/src/components/SellReport/UserSellingGas.vue +177 -177
  14. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  15. package/src/components/daping/GMap.vue +636 -636
  16. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  17. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  18. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  19. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  20. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  21. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  22. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  23. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  24. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  25. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  26. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  27. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  28. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  29. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  30. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  31. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  32. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  33. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  34. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  35. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  36. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  37. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  38. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  39. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  40. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  41. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  42. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  43. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  44. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  45. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  46. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  47. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  48. package/src/filiale/WEINAN/reportManage.js +12 -12
  49. package/src/filiale/WEINAN/sale.js +36 -36
  50. package/src/filiale/alashan/reportManage.js +10 -10
  51. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  52. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  53. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  54. package/src/filiale/meihekou/CardHandplanQuery.vue +612 -612
  55. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  56. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  57. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  58. package/src/filiale/meihekou/sale.js +26 -26
  59. package/src/filiale/pingxiang/sale.js +9 -9
  60. package/src/filiale/qingtongxia/sale.js +13 -13
  61. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  62. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  63. package/src/filiale/rongchuang/reportManage.js +11 -11
  64. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  65. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  66. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  67. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  68. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  69. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  70. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  71. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  72. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -302
  73. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  74. package/src/filiale/tongchuan/reportManage.js +5 -6
  75. package/src/main.js +4 -4
  76. package/static/wuhai.json +1610 -1610
  77. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  78. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  79. package/.gradle/5.4.1/gc.properties +0 -0
  80. package/src/.idea/misc.xml +0 -9
  81. package/src/.idea/modules.xml +0 -8
  82. package/src/.idea/src.iml +0 -9
  83. package/src/.idea/vcs.xml +0 -6
  84. package/src/.idea/workspace.xml +0 -93
@@ -1,266 +1,266 @@
1
- <template lang="html">
2
- <div class="basic-main" style="height: 98%;">
3
- <div class="row" style="height: 40px;width: 100%;" v-show="echarts">
4
- <div class="col-sm-2" style="display: inline-block;">
5
- <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
- </div>
7
- <!--图显示模板-->
8
- <div class="row col-sm-3 mystyle" style="display: inline-block;">
9
- <label class="font_normal_body">图表统计项</label>
10
- <v-select :options='$parent.getgroupname' :value.sync="groupname"
11
- close-on-select
12
- id="groupname"
13
- placeholder='分组项'
14
- v-model="groupname"
15
- value-single="true"></v-select>
16
- </div>
17
- </div>
18
- <div id="charts" style=" height: 98%;width: 98%;padding: 1% 1%;">
19
- <div id="signInfo"></div>
20
- </div>
21
- </div>
22
- </template>
23
-
24
- <script>
25
- import * as Util from '../../../Util'
26
- import co from 'co'
27
- import echarts from 'echarts'
28
- import {HttpResetClass} from 'vue-client'
29
-
30
- let getData = function* (self, condition) {
31
- let load = new HttpResetClass()
32
- console.log("con:" + self.groupname)
33
- load.load('POST', 'rs/sql/selectSignAnalysis',
34
- {
35
- data: {
36
- condition: condition, groupname: self.groupname[0], startDate: self.startdate,
37
- endDate: self.enddate
38
- }
39
- },
40
- {resolveMsg: null, rejectMsg: null})
41
- .then((res) => {
42
- let arrparams = []
43
- // let gasdata = []
44
- let gettip = []
45
- for (var i = 0; i < res.data.length; i++) {
46
- arrparams[i] = res.data[i].f_parameter_date
47
- gettip[i] = res.data[i].f_parameter_name
48
- }
49
- console.log("res" + res.data)
50
- gettip = uniqueArray(gettip);
51
- arrparams = uniqueArray(arrparams);
52
- self.set(arrparams, res.data, gettip)
53
- console.log("tip", gettip)
54
- })
55
- }
56
-
57
- function selectArray(res, str) {
58
- let j = 0;
59
- let sum = 0;
60
- let data = []
61
- //上一轮是否在data中添加成功
62
- let mark = false
63
- for (let i = 0; i < res.length; i++) {
64
- if (i != 0) {
65
- if (res[i].f_parameter_date == res[i - 1].f_parameter_date) {
66
- if (res[i].f_parameter_name == str) {
67
- data[j] = res[i].s
68
- mark = true;
69
- j++;
70
- }
71
- } else {
72
- if (!mark) {
73
- data[j] = 0;
74
- j++;
75
- mark = true
76
- }
77
- if (res[i].f_parameter_name == str) {
78
- data[j] = res[i].s
79
- mark = true;
80
- j++;
81
- } else {
82
- mark = false;
83
- }
84
- }
85
- } else {
86
- if (res[i].f_parameter_name == str) {
87
- data[j] = res[i].s
88
- mark = true;
89
- j++;
90
- } else {
91
- mark = false;
92
- }
93
- }
94
- if (i == res.length - 1 && !mark) {
95
- data[j] = 0;
96
- }
97
- }
98
- console.log("我" + data)
99
- return data;
100
- }
101
-
102
- function uniqueArray(data) {
103
- data = data || [];
104
- var a = {};
105
- for (var i = 0; i < data.length; i++) {
106
- var v = data[i];
107
- if (typeof (a[v]) == 'undefined') {
108
- a[v] = 1;
109
- }
110
- }
111
- data.length = 0;
112
- for (var i in a) {
113
- data[data.length] = i;
114
- }
115
- console.log("data" + data)
116
- return data;
117
- }
118
-
119
- export default {
120
- props: {
121
- echarts: {
122
- type: Boolean,
123
- default:false
124
- },
125
- startdate: {
126
- type: String,
127
- default: Util.toStandardDateString()
128
- },
129
- enddate: {
130
- type: String,
131
- default: Util.toStandardDateString()
132
- },
133
- condition: {
134
- type: String,
135
- default: '1=1'
136
- }
137
- },
138
- data() {
139
- title: '业务类型'
140
- return {
141
- groupname: ['year'],
142
- getgroupname: [
143
- {label: '年份', value: 'year'},
144
- {label: '月份', value: 'month'},
145
- {label: '周', value: 'week'},
146
- {label: '日', value: 'day'}
147
- ],
148
- condition: '',
149
- xc: '',
150
- timer: 0,//定时器
151
- height: 0,
152
- width: 0
153
- }
154
- },
155
- ready(){
156
- console.log(this.groupname[0]+"==="+this.echarts)
157
- },
158
- methods: {
159
- set(arrparams, res, gettip) {
160
- let name = ''
161
- if (this.groupname[0] === 'year') {
162
- name = '年'
163
- } else if (this.groupname[0] === 'month') {
164
- name = '月'
165
- } else if (this.groupname[0] === 'week') {
166
- name = '周'
167
- } else {
168
- name = '日'
169
- }
170
- let series = [];
171
- for (let i = 0; i < gettip.length; i++) {
172
- series.push({
173
- name: gettip[i],
174
- type: 'bar',
175
- data: selectArray(res, gettip[i])
176
- });
177
- }
178
- this.xc = echarts.init(document.getElementById('signInfo'))
179
- this.xc.setOption({
180
- title: {
181
- text: '标记' + name + '分析图',
182
- 'left': 'center',
183
- 'y': '10',
184
- textStyle: {
185
- color: '#000',
186
- fontSize: 20
187
- }
188
- },
189
- 'tooltip': {
190
- 'trigger': 'axis',
191
- 'extraCssText': 'width: auto;height: auto;'
192
- },
193
- toolbox: {
194
- show: true,
195
- feature: {
196
- dataView: {show: true, readOnly: false},
197
- magicType: {show: true, type: ['line', 'bar']},
198
- restore: {show: true},
199
- saveAsImage: {show: true}
200
- }
201
- },
202
- calculable: true,
203
- legend: {
204
- x: 'left', //靠左
205
- data: gettip //这里要与下面的name对应
206
- },
207
- xAxis: [
208
- {
209
- name: '日期',
210
- nameTextStyle: {
211
- fontSize: 15
212
- },
213
- type: 'category',
214
- data: arrparams,
215
- axisLabel: {
216
- show: true,
217
- textStyle: {
218
- fontSize: 15
219
- }
220
- }
221
- }
222
- ],
223
- yAxis: [
224
- {
225
- 'type': 'value',
226
- name: '标记个数',
227
- nameTextStyle: {
228
- fontSize: 15
229
- },
230
- 'show': true,
231
- axisLabel: {
232
- show: true,
233
- textStyle: {
234
- fontSize: 15,
235
- 'color': '#7d8000'
236
- }
237
- }
238
- }
239
- ],
240
- series: series
241
- })
242
- },
243
- searchdata(condition) {
244
- console.log(this.groupname[0])
245
- let getGen = getData(this, condition)
246
- co(getGen)
247
- }
248
- },
249
- watch: {
250
- 'echarts'(val){
251
- this.searchdata(this.condition)
252
- },
253
- 'groupname'(val) {
254
- this.searchdata(this.condition)
255
- }
256
- }
257
- }
258
- </script>
259
-
260
- <style scoped>
261
- #signInfo {
262
- height: 98%;
263
- width: 98%;
264
- padding: 1% 1%;
265
- }
266
- </style>
1
+ <template lang="html">
2
+ <div class="basic-main" style="height: 98%;">
3
+ <div class="row" style="height: 40px;width: 100%;" v-show="echarts">
4
+ <div class="col-sm-2" style="display: inline-block;">
5
+ <button @click="$parent.notShowEcharts()" class="button_clear button_spacing">隐藏图表</button>
6
+ </div>
7
+ <!--图显示模板-->
8
+ <div class="row col-sm-3 mystyle" style="display: inline-block;">
9
+ <label class="font_normal_body">图表统计项</label>
10
+ <v-select :options='$parent.getgroupname' :value.sync="groupname"
11
+ close-on-select
12
+ id="groupname"
13
+ placeholder='分组项'
14
+ v-model="groupname"
15
+ value-single="true"></v-select>
16
+ </div>
17
+ </div>
18
+ <div id="charts" style=" height: 98%;width: 98%;padding: 1% 1%;">
19
+ <div id="signInfo"></div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+ import * as Util from '../../../Util'
26
+ import co from 'co'
27
+ import echarts from 'echarts'
28
+ import {HttpResetClass} from 'vue-client'
29
+
30
+ let getData = function* (self, condition) {
31
+ let load = new HttpResetClass()
32
+ console.log("con:" + self.groupname)
33
+ load.load('POST', 'rs/sql/selectSignAnalysis',
34
+ {
35
+ data: {
36
+ condition: condition, groupname: self.groupname[0], startDate: self.startdate,
37
+ endDate: self.enddate
38
+ }
39
+ },
40
+ {resolveMsg: null, rejectMsg: null})
41
+ .then((res) => {
42
+ let arrparams = []
43
+ // let gasdata = []
44
+ let gettip = []
45
+ for (var i = 0; i < res.data.length; i++) {
46
+ arrparams[i] = res.data[i].f_parameter_date
47
+ gettip[i] = res.data[i].f_parameter_name
48
+ }
49
+ console.log("res" + res.data)
50
+ gettip = uniqueArray(gettip);
51
+ arrparams = uniqueArray(arrparams);
52
+ self.set(arrparams, res.data, gettip)
53
+ console.log("tip", gettip)
54
+ })
55
+ }
56
+
57
+ function selectArray(res, str) {
58
+ let j = 0;
59
+ let sum = 0;
60
+ let data = []
61
+ //上一轮是否在data中添加成功
62
+ let mark = false
63
+ for (let i = 0; i < res.length; i++) {
64
+ if (i != 0) {
65
+ if (res[i].f_parameter_date == res[i - 1].f_parameter_date) {
66
+ if (res[i].f_parameter_name == str) {
67
+ data[j] = res[i].s
68
+ mark = true;
69
+ j++;
70
+ }
71
+ } else {
72
+ if (!mark) {
73
+ data[j] = 0;
74
+ j++;
75
+ mark = true
76
+ }
77
+ if (res[i].f_parameter_name == str) {
78
+ data[j] = res[i].s
79
+ mark = true;
80
+ j++;
81
+ } else {
82
+ mark = false;
83
+ }
84
+ }
85
+ } else {
86
+ if (res[i].f_parameter_name == str) {
87
+ data[j] = res[i].s
88
+ mark = true;
89
+ j++;
90
+ } else {
91
+ mark = false;
92
+ }
93
+ }
94
+ if (i == res.length - 1 && !mark) {
95
+ data[j] = 0;
96
+ }
97
+ }
98
+ console.log("我" + data)
99
+ return data;
100
+ }
101
+
102
+ function uniqueArray(data) {
103
+ data = data || [];
104
+ var a = {};
105
+ for (var i = 0; i < data.length; i++) {
106
+ var v = data[i];
107
+ if (typeof (a[v]) == 'undefined') {
108
+ a[v] = 1;
109
+ }
110
+ }
111
+ data.length = 0;
112
+ for (var i in a) {
113
+ data[data.length] = i;
114
+ }
115
+ console.log("data" + data)
116
+ return data;
117
+ }
118
+
119
+ export default {
120
+ props: {
121
+ echarts: {
122
+ type: Boolean,
123
+ default:false
124
+ },
125
+ startdate: {
126
+ type: String,
127
+ default: Util.toStandardDateString()
128
+ },
129
+ enddate: {
130
+ type: String,
131
+ default: Util.toStandardDateString()
132
+ },
133
+ condition: {
134
+ type: String,
135
+ default: '1=1'
136
+ }
137
+ },
138
+ data() {
139
+ title: '业务类型'
140
+ return {
141
+ groupname: ['year'],
142
+ getgroupname: [
143
+ {label: '年份', value: 'year'},
144
+ {label: '月份', value: 'month'},
145
+ {label: '周', value: 'week'},
146
+ {label: '日', value: 'day'}
147
+ ],
148
+ condition: '',
149
+ xc: '',
150
+ timer: 0,//定时器
151
+ height: 0,
152
+ width: 0
153
+ }
154
+ },
155
+ ready(){
156
+ console.log(this.groupname[0]+"==="+this.echarts)
157
+ },
158
+ methods: {
159
+ set(arrparams, res, gettip) {
160
+ let name = ''
161
+ if (this.groupname[0] === 'year') {
162
+ name = '年'
163
+ } else if (this.groupname[0] === 'month') {
164
+ name = '月'
165
+ } else if (this.groupname[0] === 'week') {
166
+ name = '周'
167
+ } else {
168
+ name = '日'
169
+ }
170
+ let series = [];
171
+ for (let i = 0; i < gettip.length; i++) {
172
+ series.push({
173
+ name: gettip[i],
174
+ type: 'bar',
175
+ data: selectArray(res, gettip[i])
176
+ });
177
+ }
178
+ this.xc = echarts.init(document.getElementById('signInfo'))
179
+ this.xc.setOption({
180
+ title: {
181
+ text: '标记' + name + '分析图',
182
+ 'left': 'center',
183
+ 'y': '10',
184
+ textStyle: {
185
+ color: '#000',
186
+ fontSize: 20
187
+ }
188
+ },
189
+ 'tooltip': {
190
+ 'trigger': 'axis',
191
+ 'extraCssText': 'width: auto;height: auto;'
192
+ },
193
+ toolbox: {
194
+ show: true,
195
+ feature: {
196
+ dataView: {show: true, readOnly: false},
197
+ magicType: {show: true, type: ['line', 'bar']},
198
+ restore: {show: true},
199
+ saveAsImage: {show: true}
200
+ }
201
+ },
202
+ calculable: true,
203
+ legend: {
204
+ x: 'left', //靠左
205
+ data: gettip //这里要与下面的name对应
206
+ },
207
+ xAxis: [
208
+ {
209
+ name: '日期',
210
+ nameTextStyle: {
211
+ fontSize: 15
212
+ },
213
+ type: 'category',
214
+ data: arrparams,
215
+ axisLabel: {
216
+ show: true,
217
+ textStyle: {
218
+ fontSize: 15
219
+ }
220
+ }
221
+ }
222
+ ],
223
+ yAxis: [
224
+ {
225
+ 'type': 'value',
226
+ name: '标记个数',
227
+ nameTextStyle: {
228
+ fontSize: 15
229
+ },
230
+ 'show': true,
231
+ axisLabel: {
232
+ show: true,
233
+ textStyle: {
234
+ fontSize: 15,
235
+ 'color': '#7d8000'
236
+ }
237
+ }
238
+ }
239
+ ],
240
+ series: series
241
+ })
242
+ },
243
+ searchdata(condition) {
244
+ console.log(this.groupname[0])
245
+ let getGen = getData(this, condition)
246
+ co(getGen)
247
+ }
248
+ },
249
+ watch: {
250
+ 'echarts'(val){
251
+ this.searchdata(this.condition)
252
+ },
253
+ 'groupname'(val) {
254
+ this.searchdata(this.condition)
255
+ }
256
+ }
257
+ }
258
+ </script>
259
+
260
+ <style scoped>
261
+ #signInfo {
262
+ height: 98%;
263
+ width: 98%;
264
+ padding: 1% 1%;
265
+ }
266
+ </style>