manage-client 3.2.38 → 3.2.42

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 (55) hide show
  1. package/.gradle/{5.2.1 → 5.4.1}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/{5.2.1 → 5.4.1}/gc.properties +0 -0
  4. package/build/dev-server.js +26 -6
  5. package/package.json +1 -1
  6. package/src/.idea/misc.xml +9 -0
  7. package/src/.idea/modules.xml +8 -0
  8. package/src/.idea/src.iml +9 -0
  9. package/src/.idea/vcs.xml +6 -0
  10. package/src/.idea/workspace.xml +93 -0
  11. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  12. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  13. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  14. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  15. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  16. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  17. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  18. package/src/components/sale/businessquery/InspectListUser.vue +1 -1
  19. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  20. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  21. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  22. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  23. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  24. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  25. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  26. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  27. package/src/components/statistical/DendrogramManage.vue +239 -239
  28. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  29. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  30. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  31. package/src/filiale/pingxiang/sale.js +9 -9
  32. package/src/filiale/qingtongxia/sale.js +13 -13
  33. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  34. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  35. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  36. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  38. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  39. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  40. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  41. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  42. package/src/filiale/tongchuan/ChargeQuery.vue +1283 -1277
  43. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  44. package/src/filiale/tongchuan/ReportList.vue +472 -472
  45. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  46. package/src/filiale/tongchuan/sale.js +16 -16
  47. package/src/filiale/zhongsheng/ChargeQuery.vue +1255 -0
  48. package/src/filiale/zhongsheng/config/exportConfig.js +899 -0
  49. package/src/filiale/zhongsheng/sale.js +10 -0
  50. package/src/main.js +66 -66
  51. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  52. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  53. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  54. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  55. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,239 +1,239 @@
1
- <template>
2
- <div>
3
- <div class="text-1">
4
- <div id="charts"></div>
5
- </div>
6
- </div>
7
- </template>
8
-
9
- <script>
10
- import {HttpResetClass} from "vue-client";
11
-
12
- export default {
13
- title: "用户分布",
14
- data() {
15
- return {
16
- model : {},
17
- company:"",
18
- fencompany:"",
19
- usertype:"",
20
- metertype:"",
21
- userstreet: "",
22
- residential:"",
23
- userinfo:"",
24
- slicearea:"",
25
- meterTypeArea:"",
26
- meterTypeUser:""
27
- }
28
- },
29
- methods: {
30
- setBar() {
31
- console.log('进入画图~~~~~~~~~~~~~~~~~~~')
32
- console.log(this.model)
33
- this.xc = this.$echarts.init(document.getElementById('charts'))
34
- this.xc.setOption({
35
- tooltip: {
36
- trigger: 'item',
37
- triggerOn: 'mousemove'
38
- },
39
- legend: {
40
- top: '2%',
41
- left: '3%',
42
- orient: 'vertical',
43
- data: [{
44
- name: 'tree1',
45
- icon: 'rectangle'
46
- }],
47
- borderColor: '#c23531'
48
- },
49
- series:[
50
- {
51
- type: 'tree',
52
-
53
- name: 'tree1',
54
-
55
- data: [this.model],
56
-
57
- top: '5%',
58
- left: '7%',
59
- bottom: '2%',
60
- right: '20%',
61
-
62
- symbolSize: 7,
63
-
64
- label: {
65
- position: 'left',
66
- verticalAlign: 'middle',
67
- align: 'right'
68
- },
69
-
70
- leaves: {
71
- label: {
72
- position: 'right',
73
- verticalAlign: 'middle',
74
- align: 'left'
75
- }
76
- },
77
-
78
- emphasis: {
79
- focus: 'descendant'
80
- },
81
-
82
- expandAndCollapse: true,
83
-
84
- animationDuration: 550,
85
- animationDurationUpdate: 750
86
-
87
- },
88
- ]
89
- })
90
- },
91
- async getcompany() {
92
- let HttpReset = new HttpResetClass()
93
- //获取表具总数
94
- let getcompany = await HttpReset.load('post','rs/sql/getCompany',{data:{}})
95
- this.company=getcompany.data
96
- },
97
- async getfencompany(){
98
- let HttpReset = new HttpResetClass()
99
- //获取分公司总表具数
100
- let getfencompany =await HttpReset.load('post','rs/sql/getFencompany',{data:{}})
101
- this.fencompany=getfencompany.data
102
- },
103
- async getslicearea(){
104
- let HttpReset = new HttpResetClass()
105
- //获取分公司大区总表具数
106
- let getslicearea =await HttpReset.load('post','rs/sql/getSlicearea',{data:{}})
107
- this.slicearea=getslicearea.data
108
- },
109
- async getusertype(){
110
- let HttpReset = new HttpResetClass()
111
- //获取分公司大区民用和非民用总表具数
112
- let getusertype =await HttpReset.load('post','rs/sql/getUsertype',{data:{}})
113
- this.usertype=getusertype.data
114
- },
115
- async getmetertype() {
116
- let HttpReset = new HttpResetClass()
117
- //获取分公司民用和非民用各自表品牌总表具数
118
- let getmetertype = await HttpReset.load('post', 'rs/sql/getMetertype', {data: {}})
119
- this.metertype=getmetertype.data
120
- },
121
- async getmetertypeArea() {
122
- let HttpReset = new HttpResetClass()
123
-
124
- let meterTypeArea = await HttpReset.load('post', 'rs/sql/getMeterTypeArea', {data: {}})
125
- this.meterTypeArea=meterTypeArea.data
126
- },
127
- async getmetertypeUser() {
128
- let HttpReset = new HttpResetClass()
129
-
130
- let meterTypeUser = await HttpReset.load('post', 'rs/sql/getMeterTypeUser', {data: {}})
131
- this.meterTypeUser=meterTypeUser.data
132
- },
133
-
134
- dataGeneration () {
135
- let model = {
136
- name: '渭南天然气公司' + `\n (${this.company[0].sumnum})`,
137
- value: this.company[0].sumnum,
138
- children: []
139
- }
140
- for (let row1 of this.fencompany) {
141
- let obj1 = {
142
- name: row1.name + `\n (${row1.num})`,
143
- value: row1.num,
144
- children: []
145
- }
146
- const filter1 = this.conditionGenerate(this.slicearea, 'name', row1.name)
147
- for (let row2 of filter1) {
148
- let obj2 = {
149
- name: row2.f_slice_area + `\n (${row2.num})`,
150
- value: row2.num,
151
- children: []
152
- }
153
- obj1.children.push(obj2)
154
- const filter2 = this.conditionGenerate(this.usertype, ['name', 'f_slice_area'], [row1.name, row2.f_slice_area])
155
- for (let row3 of filter2) {
156
- let obj3 = {
157
- name: row3.f_user_type + `(${row3.num})`,
158
- value: row3.num,
159
- children: []
160
- }
161
- obj2.children.push(obj3)
162
- const filter3 = this.conditionGenerate(this.metertype, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type])
163
- for (let row4 of filter3) {
164
- let odj4 = {
165
- name: row4.f_meter_brand + `(${row4.num})`,
166
- value: row4.num,
167
- children: []
168
- }
169
- obj3.children.push(odj4)
170
- const filter4 = this.conditionGenerate(this.meterTypeArea, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type,row4.f_meter_brand])
171
- for (let row5 of filter4) {
172
- let obj5 = {
173
- name: row5.f_residential_area + `(${row5.num})`,
174
- value: row5.num,
175
- children: []
176
- }
177
- odj4.children.push(obj5)
178
- // const filter5 = this.conditionGenerate(this.meterTypeUser, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type,row4.f_meter_brand,row5.f_residential_area])
179
- // console.log()
180
- // for (let row6 of filter5) {
181
- // let obj6 = {
182
- // name: row6.f_user_name + `(${row6.num})`,
183
- // value: row6.num,
184
- // children: []
185
- // }
186
- // obj5.children.push(obj6)
187
- // }
188
- }
189
- }
190
- }
191
- }
192
- model.children.push(obj1)
193
- }
194
- this.model = model
195
- },
196
- /**
197
- * 数组筛选
198
- * @param data 要筛选的数组
199
- * @param key 筛选的key,可以是数组
200
- * @param value 筛选key对应的value值,可以是数组
201
- * @returns {Array}
202
- */
203
- conditionGenerate (data, key, value) {
204
- const group = []
205
- for (let row of data) {
206
- if (key instanceof Array) {
207
- let flag = true
208
- for (let [index, item] of key.entries()) {
209
- if (row[item] != value[index]) {
210
- flag = false
211
- }
212
- }
213
- if (flag) group.push(row)
214
- } else {
215
- if (row[key] == value) {
216
- group.push(row)
217
- }
218
- }
219
- }
220
- return group
221
- }
222
- },
223
- async ready(){
224
- await this.getcompany() //总公司
225
- await this.getfencompany() //分公司
226
- await this.getslicearea() //大区
227
- await this.getusertype() //用户类型
228
- await this.getmetertype() //表型
229
- await this.getmetertypeArea()
230
- // await this.getmetertypeUser()
231
- this.dataGeneration()
232
- this.setBar()
233
- },
234
- }
235
- </script>
236
-
237
- <style scoped>
238
-
239
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="text-1">
4
+ <div id="charts"></div>
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <script>
10
+ import {HttpResetClass} from "vue-client";
11
+
12
+ export default {
13
+ title: "用户分布",
14
+ data() {
15
+ return {
16
+ model : {},
17
+ company:"",
18
+ fencompany:"",
19
+ usertype:"",
20
+ metertype:"",
21
+ userstreet: "",
22
+ residential:"",
23
+ userinfo:"",
24
+ slicearea:"",
25
+ meterTypeArea:"",
26
+ meterTypeUser:""
27
+ }
28
+ },
29
+ methods: {
30
+ setBar() {
31
+ console.log('进入画图~~~~~~~~~~~~~~~~~~~')
32
+ console.log(this.model)
33
+ this.xc = this.$echarts.init(document.getElementById('charts'))
34
+ this.xc.setOption({
35
+ tooltip: {
36
+ trigger: 'item',
37
+ triggerOn: 'mousemove'
38
+ },
39
+ legend: {
40
+ top: '2%',
41
+ left: '3%',
42
+ orient: 'vertical',
43
+ data: [{
44
+ name: 'tree1',
45
+ icon: 'rectangle'
46
+ }],
47
+ borderColor: '#c23531'
48
+ },
49
+ series:[
50
+ {
51
+ type: 'tree',
52
+
53
+ name: 'tree1',
54
+
55
+ data: [this.model],
56
+
57
+ top: '5%',
58
+ left: '7%',
59
+ bottom: '2%',
60
+ right: '20%',
61
+
62
+ symbolSize: 7,
63
+
64
+ label: {
65
+ position: 'left',
66
+ verticalAlign: 'middle',
67
+ align: 'right'
68
+ },
69
+
70
+ leaves: {
71
+ label: {
72
+ position: 'right',
73
+ verticalAlign: 'middle',
74
+ align: 'left'
75
+ }
76
+ },
77
+
78
+ emphasis: {
79
+ focus: 'descendant'
80
+ },
81
+
82
+ expandAndCollapse: true,
83
+
84
+ animationDuration: 550,
85
+ animationDurationUpdate: 750
86
+
87
+ },
88
+ ]
89
+ })
90
+ },
91
+ async getcompany() {
92
+ let HttpReset = new HttpResetClass()
93
+ //获取表具总数
94
+ let getcompany = await HttpReset.load('post','rs/sql/getCompany',{data:{}})
95
+ this.company=getcompany.data
96
+ },
97
+ async getfencompany(){
98
+ let HttpReset = new HttpResetClass()
99
+ //获取分公司总表具数
100
+ let getfencompany =await HttpReset.load('post','rs/sql/getFencompany',{data:{}})
101
+ this.fencompany=getfencompany.data
102
+ },
103
+ async getslicearea(){
104
+ let HttpReset = new HttpResetClass()
105
+ //获取分公司大区总表具数
106
+ let getslicearea =await HttpReset.load('post','rs/sql/getSlicearea',{data:{}})
107
+ this.slicearea=getslicearea.data
108
+ },
109
+ async getusertype(){
110
+ let HttpReset = new HttpResetClass()
111
+ //获取分公司大区民用和非民用总表具数
112
+ let getusertype =await HttpReset.load('post','rs/sql/getUsertype',{data:{}})
113
+ this.usertype=getusertype.data
114
+ },
115
+ async getmetertype() {
116
+ let HttpReset = new HttpResetClass()
117
+ //获取分公司民用和非民用各自表品牌总表具数
118
+ let getmetertype = await HttpReset.load('post', 'rs/sql/getMetertype', {data: {}})
119
+ this.metertype=getmetertype.data
120
+ },
121
+ async getmetertypeArea() {
122
+ let HttpReset = new HttpResetClass()
123
+
124
+ let meterTypeArea = await HttpReset.load('post', 'rs/sql/getMeterTypeArea', {data: {}})
125
+ this.meterTypeArea=meterTypeArea.data
126
+ },
127
+ async getmetertypeUser() {
128
+ let HttpReset = new HttpResetClass()
129
+
130
+ let meterTypeUser = await HttpReset.load('post', 'rs/sql/getMeterTypeUser', {data: {}})
131
+ this.meterTypeUser=meterTypeUser.data
132
+ },
133
+
134
+ dataGeneration () {
135
+ let model = {
136
+ name: '渭南天然气公司' + `\n (${this.company[0].sumnum})`,
137
+ value: this.company[0].sumnum,
138
+ children: []
139
+ }
140
+ for (let row1 of this.fencompany) {
141
+ let obj1 = {
142
+ name: row1.name + `\n (${row1.num})`,
143
+ value: row1.num,
144
+ children: []
145
+ }
146
+ const filter1 = this.conditionGenerate(this.slicearea, 'name', row1.name)
147
+ for (let row2 of filter1) {
148
+ let obj2 = {
149
+ name: row2.f_slice_area + `\n (${row2.num})`,
150
+ value: row2.num,
151
+ children: []
152
+ }
153
+ obj1.children.push(obj2)
154
+ const filter2 = this.conditionGenerate(this.usertype, ['name', 'f_slice_area'], [row1.name, row2.f_slice_area])
155
+ for (let row3 of filter2) {
156
+ let obj3 = {
157
+ name: row3.f_user_type + `(${row3.num})`,
158
+ value: row3.num,
159
+ children: []
160
+ }
161
+ obj2.children.push(obj3)
162
+ const filter3 = this.conditionGenerate(this.metertype, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type])
163
+ for (let row4 of filter3) {
164
+ let odj4 = {
165
+ name: row4.f_meter_brand + `(${row4.num})`,
166
+ value: row4.num,
167
+ children: []
168
+ }
169
+ obj3.children.push(odj4)
170
+ const filter4 = this.conditionGenerate(this.meterTypeArea, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type,row4.f_meter_brand])
171
+ for (let row5 of filter4) {
172
+ let obj5 = {
173
+ name: row5.f_residential_area + `(${row5.num})`,
174
+ value: row5.num,
175
+ children: []
176
+ }
177
+ odj4.children.push(obj5)
178
+ // const filter5 = this.conditionGenerate(this.meterTypeUser, ['name', 'f_slice_area','f_user_type'], [row1.name, row2.f_slice_area,row3.f_user_type,row4.f_meter_brand,row5.f_residential_area])
179
+ // console.log()
180
+ // for (let row6 of filter5) {
181
+ // let obj6 = {
182
+ // name: row6.f_user_name + `(${row6.num})`,
183
+ // value: row6.num,
184
+ // children: []
185
+ // }
186
+ // obj5.children.push(obj6)
187
+ // }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ model.children.push(obj1)
193
+ }
194
+ this.model = model
195
+ },
196
+ /**
197
+ * 数组筛选
198
+ * @param data 要筛选的数组
199
+ * @param key 筛选的key,可以是数组
200
+ * @param value 筛选key对应的value值,可以是数组
201
+ * @returns {Array}
202
+ */
203
+ conditionGenerate (data, key, value) {
204
+ const group = []
205
+ for (let row of data) {
206
+ if (key instanceof Array) {
207
+ let flag = true
208
+ for (let [index, item] of key.entries()) {
209
+ if (row[item] != value[index]) {
210
+ flag = false
211
+ }
212
+ }
213
+ if (flag) group.push(row)
214
+ } else {
215
+ if (row[key] == value) {
216
+ group.push(row)
217
+ }
218
+ }
219
+ }
220
+ return group
221
+ }
222
+ },
223
+ async ready(){
224
+ await this.getcompany() //总公司
225
+ await this.getfencompany() //分公司
226
+ await this.getslicearea() //大区
227
+ await this.getusertype() //用户类型
228
+ await this.getmetertype() //表型
229
+ await this.getmetertypeArea()
230
+ // await this.getmetertypeUser()
231
+ this.dataGeneration()
232
+ this.setBar()
233
+ },
234
+ }
235
+ </script>
236
+
237
+ <style scoped>
238
+
239
+ </style>