manage-client 3.2.42 → 3.2.43

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 (111) hide show
  1. package/build/dev-server.js +8 -26
  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/ChargePrick.vue +205 -205
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  8. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  9. package/src/components/SellReport/NonResidentGas.vue +203 -203
  10. package/src/components/SellReport/OutletTable.vue +258 -258
  11. package/src/components/SellReport/QibiaoShouqi.vue +242 -242
  12. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  13. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  14. package/src/components/SellReport/SellingTable.vue +220 -220
  15. package/src/components/SellReport/UserSellingGas.vue +228 -228
  16. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  17. package/src/components/daping/GMap.vue +636 -636
  18. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  19. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  20. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  21. package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -380
  22. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  23. package/src/components/sale/businessquery/BusinessManage.vue +6 -1
  24. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  25. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  26. package/src/components/sale/businessquery/CollectManage.vue +138 -138
  27. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  28. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  29. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  30. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  31. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  32. package/src/components/sale/businessquery/GasLossQuery.vue +561 -0
  33. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  34. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  35. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  36. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  37. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  38. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  39. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  40. package/src/components/sale/businessquery/gasPriceQuery.vue +365 -0
  41. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  42. package/src/components/sale/businessquery/usergas.vue +311 -311
  43. package/src/components/sale/config/exportConfig.js +10 -0
  44. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  45. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  46. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  47. package/src/components/statistical/DendrogramManage.vue +239 -239
  48. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  49. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  50. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  51. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  52. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  53. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  54. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  55. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  56. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  57. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  58. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  59. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  60. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  61. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  62. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  63. package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
  64. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  65. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  66. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  67. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  68. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  69. package/src/filiale/WEINAN/reportManage.js +12 -12
  70. package/src/filiale/WEINAN/sale.js +36 -36
  71. package/src/filiale/alashan/reportManage.js +10 -10
  72. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  73. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  74. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  75. package/src/filiale/macheng/MeterQuery.vue +12 -0
  76. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  77. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  78. package/src/filiale/pingxiang/sale.js +9 -9
  79. package/src/filiale/qianneng/OtherChargeDetailQuery.vue +74 -0
  80. package/src/filiale/qianneng/OtherChargeQuery.vue +634 -0
  81. package/src/filiale/qianneng/sale.js +9 -0
  82. package/src/filiale/qingtongxia/sale.js +13 -13
  83. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  84. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  85. package/src/filiale/rongchuang/reportManage.js +11 -11
  86. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  87. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  88. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  89. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  90. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  91. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  92. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  93. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  94. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  95. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  96. package/src/filiale/tongchuan/reportManage.js +5 -5
  97. package/src/filiale/wuhai/ChargeQuery.vue +19 -16
  98. package/src/filiale/zhongsheng/ChargeQuery.vue +1255 -1255
  99. package/src/filiale/zhongsheng/config/exportConfig.js +899 -899
  100. package/src/filiale/zhongsheng/sale.js +10 -10
  101. package/src/main.js +3 -3
  102. package/src/saleManage.js +9 -0
  103. package/static/wuhai.json +1610 -1610
  104. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  105. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  106. package/.gradle/5.4.1/gc.properties +0 -0
  107. package/src/.idea/misc.xml +0 -9
  108. package/src/.idea/modules.xml +0 -8
  109. package/src/.idea/src.iml +0 -9
  110. package/src/.idea/vcs.xml +0 -6
  111. 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>