manage-client 3.2.21 → 3.2.25

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 (75) hide show
  1. package/build/dev-server.js +4 -6
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/package.json +1 -1
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/SellReport/BonSummary.vue +178 -178
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -0
  8. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  9. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  10. package/src/components/SellReport/NonResidentGas.vue +203 -203
  11. package/src/components/SellReport/OtherChargePublicReport.vue +262 -0
  12. package/src/components/SellReport/OutletTable.vue +258 -258
  13. package/src/components/SellReport/QibiaoShouqi.vue +58 -98
  14. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  15. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  16. package/src/components/SellReport/SellingTable.vue +220 -220
  17. package/src/components/SellReport/UserSellingGas.vue +228 -177
  18. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  19. package/src/components/daping/GMap.vue +636 -636
  20. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  21. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  22. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  23. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  24. package/src/components/sale/businessquery/InspectListUser.vue +433 -433
  25. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  26. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  27. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  28. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  29. package/src/components/sale/businessquery/usergas.vue +1 -3
  30. package/src/components/sale/config/exportConfig.js +12 -1
  31. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  32. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  33. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  34. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  35. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  36. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
  37. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  38. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  39. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  40. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  41. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  42. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  43. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  44. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  45. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  46. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  47. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  48. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  49. package/src/components/webmeter/recharge/RechargeList.vue +343 -0
  50. package/src/components/webmeter/report/ReportList.vue +2 -16
  51. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  52. package/src/filiale/WEINAN/ReportDataQuery.vue +50 -1
  53. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  54. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  55. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  56. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  57. package/src/filiale/WEINAN/reportManage.js +12 -12
  58. package/src/filiale/WEINAN/sale.js +36 -36
  59. package/src/filiale/alashan/reportManage.js +10 -10
  60. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  61. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  62. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  63. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1029
  64. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  65. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  66. package/src/filiale/meihekou/config/exportConfig.js +831 -831
  67. package/src/filiale/meihekou/sale.js +29 -29
  68. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  69. package/src/filiale/rongchuang/reportManage.js +11 -11
  70. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  71. package/src/filiale/tongchuan/reportManage.js +5 -5
  72. package/src/main.js +1 -1
  73. package/src/reportManage.js +8 -0
  74. package/src/webmeterManage.js +12 -0
  75. package/static/wuhai.json +1610 -1610
@@ -121,6 +121,20 @@
121
121
  <template partial='foot'></template>
122
122
  </data-grid>
123
123
  </criteria-paged>
124
+ <table class="table-hover">
125
+ <tr style="position: relative" class="table-bordered">
126
+ <td
127
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
128
+ 汇总信息
129
+ </td>
130
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
131
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount.toFixed(0)}}
132
+ </td>
133
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
134
+ 用气金额合计:&emsp;{{sumsmodel.f_oughtfee.toFixed(0)}}
135
+ </td>
136
+ </tr>
137
+ </table>
124
138
  </div>
125
139
  </div>
126
140
  </div>
@@ -143,11 +157,16 @@
143
157
  title: '上报数据查询',
144
158
  data() {
145
159
  return {
146
- model: new PagedList('rs/sql/manage_getReportDataQuery', 20, {}),
160
+ model: new PagedList('rs/sql/manage_getReportDataQuery', 20, {},{
161
+ f_oughtamount: 0,
162
+ f_oughtfee: 0
163
+ }),
147
164
  criteriaShow: false,
148
165
  defaultConfig: {
149
166
  defaultPrint: []
150
167
  },
168
+ other:[],
169
+ footer:[],
151
170
  config: {
152
171
  fieldMapping: {
153
172
  f_userinfo_code: '客户编号',
@@ -161,6 +180,7 @@
161
180
  {label: '全部', value: ''}
162
181
  ],
163
182
  styles:false,
183
+ sumsmodel: {},
164
184
  headData: [],
165
185
  bodyData: [],
166
186
  //默认打印列
@@ -206,6 +226,23 @@
206
226
  //初始化气表价格
207
227
  this.prices = this.$MagGetSaleParam.getPrices();
208
228
  },
229
+ getotherfooter () {
230
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
231
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
232
+ this.other = [];
233
+ this.footer = [];
234
+ let exportdata = this.getCondition;
235
+ let otherInData = [];
236
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
237
+ let footerData = [], exportfield = this.getfield;
238
+ footerData.push("合计");
239
+ let self = this;
240
+ for (var field in self.sumsmodel) {
241
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
242
+ }
243
+ this.footer.push(footerData);
244
+ this.other.push(otherInData);
245
+ },
209
246
  showMeterStyle() {
210
247
  this.styles = true
211
248
  },
@@ -215,6 +252,7 @@
215
252
  async selfSearch(args) {
216
253
  args.condition = `${args.condition}` + this.orgCondtionStr
217
254
  await this.model.search(args.condition, args.model)
255
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
218
256
  // 查询到数据进行处理
219
257
  // if (this.model.rows.length > 0) {
220
258
  // this.bodyData = Object.keys(this.model.rows[0])
@@ -256,6 +294,17 @@
256
294
  // }
257
295
  },
258
296
  watch: {
297
+ 'model.rows'(val) {
298
+ if(val.length === 0){
299
+ this.sumsmodel = {}
300
+ }
301
+ },
302
+ sumsmodel:{
303
+ handler: function(val) {
304
+ this.getotherfooter();
305
+ },
306
+ deep: true
307
+ }
259
308
  },
260
309
  computed: {
261
310
  metertypes() {
@@ -1,191 +1,191 @@
1
- <template lang="html">
2
- <div id="charts">
3
- <div id="gph" :style="{width:'100%',height:'100%'}"></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/getPregas',
16
- {data: {startDate: self.startdate + ' 00:00:00', endDate: self.enddate + ' 23:59:59',f_orgid: `f_orgid = ${self.orgid}`}},
17
- {resolveMsg: null, rejectMsg: null})
18
- .then((res) => {
19
- let data = res.data
20
- // let xPro = Array.from(new Set(res.data.map(x => x.f_gasproperties)))
21
- // 表型
22
- let xPro = data.map(x => x.f_meter_type)
23
- // 居民用气
24
- let yNumJM = data.map(x => x.f_ptpregas)
25
- let yNumBGL = data.map(x => x.f_bglpregas)
26
- let yNumJZCN = data.map(x => x.f_cnpregas)
27
- let yNumGF = data.map(x => x.f_gfpregas)
28
- let yNumFJM = data.map(x => x.f_fjmpregas)
29
- // xPro.forEach(item => {
30
- // yNumJB[yNumJB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '机表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
31
- // yNumKB[yNumKB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '卡表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
32
- // yNumWLWB[yNumWLWB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '物联网表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
33
- // })
34
- console.log('表型', xPro)
35
- console.log('居民用气', yNumJM)
36
- console.log('壁挂炉用气', yNumBGL)
37
- console.log('集中采暖', yNumJZCN)
38
- console.log('公福用气', yNumGF)
39
- console.log('非居民用气', yNumFJM)
40
- // self.texttile = '用户类型'
41
- // let arrparams = []
42
- // let numdata = []
43
- // let gasdata = []
44
- // let pricedata = []
45
- // for (var i = 0; i < res.data.length; i++) {
46
- // arrparams[i] = res.data[i].name
47
- // numdata[i] = res.data[i].num_value
48
- // gasdata[i] = res.data[i].gas_value
49
- // pricedata[i] = res.data[i].money_value
50
- // }
51
- self.set(xPro,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM)
52
- })
53
- }
54
- export default {
55
- props: {
56
- startdate: {
57
- type: String,
58
- default: Util.toStandardDateString()
59
- },
60
- enddate: {
61
- type: String,
62
- default: Util.toStandardDateString()
63
- },
64
- orgid: {
65
- type: String
66
- }
67
- },
68
- data () {
69
- title: '用户购(用)气'
70
- return {
71
- texttile: '',
72
- xc: ''
73
- }
74
- },
75
- methods: {
76
- set (arrparams,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM) {
77
- this.xc = echarts.init(document.getElementById('gph'))
78
- this.xc.setOption({
79
- title : {
80
- text: '用户购(用)气',
81
- subtext: '数据查询来源',
82
- x: 'left'
83
- },
84
- tooltip : {
85
- trigger: 'axis'
86
- },
87
- legend: {
88
- x: 'left',
89
- y: 'bottom',
90
- data: ['居民用气','壁挂炉用气','集中采暖','公福用气','非居民用气']
91
- },
92
- toolbox: {
93
- show : true,
94
- feature : {
95
- dataView : {show: true, readOnly: false},
96
- magicType : {show: true, type: ['line', 'bar']},
97
- restore : {show: true},
98
- saveAsImage : {show: true}
99
- }
100
- },
101
- calculable : true,
102
- xAxis : [
103
- {
104
- type : 'category',
105
- axisLabel :{
106
- interval:0
107
- },
108
- data : arrparams
109
- }
110
- ],
111
- yAxis : [
112
- {
113
- type : 'value'
114
- }
115
- ],
116
- series : [
117
- {
118
- name:'居民用气',
119
- type:'bar',
120
- data:yNumJM,
121
- markLine : {
122
- data : [
123
- {type : 'average', name: '平均值'}
124
- ]
125
- }
126
- },
127
- {
128
- name:'壁挂炉用气',
129
- type:'bar',
130
- data:yNumBGL,
131
- markLine : {
132
- data : [
133
- {type : 'average', name: '平均值'}
134
- ]
135
- }
136
- },
137
- {
138
- name:'集中采暖',
139
- type:'bar',
140
- data:yNumJZCN,
141
- markLine : {
142
- data : [
143
- {type : 'average', name : '平均值'}
144
- ]
145
- }
146
- },
147
- {
148
- name:'公福用气',
149
- type:'bar',
150
- data:yNumGF,
151
- markLine : {
152
- data : [
153
- {type : 'average', name : '平均值'}
154
- ]
155
- }
156
- },
157
- {
158
- name:'非居民用气',
159
- type:'bar',
160
- data:yNumFJM,
161
- markLine : {
162
- data : [
163
- {type : 'average', name : '平均值'}
164
- ]
165
- }
166
- }
167
- ]
168
- })
169
- },
170
- searchdata () {
171
- let getGen =getData(this)
172
- co(getGen)
173
- }
174
- },
175
- ready () {
176
- this.searchdata()
177
- },
178
- watch: {
179
- 'startdate' (val) {
180
- this.searchdata()
181
- },
182
- 'enddate' (val) {
183
- this.searchdata()
184
- },
185
- 'orgid' (val) {
186
- this.searchdata()
187
- }
188
- }
189
-
190
- }
191
- </script>
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="gph" :style="{width:'100%',height:'100%'}"></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/getPregas',
16
+ {data: {startDate: self.startdate + ' 00:00:00', endDate: self.enddate + ' 23:59:59',f_orgid: `f_orgid = ${self.orgid}`}},
17
+ {resolveMsg: null, rejectMsg: null})
18
+ .then((res) => {
19
+ let data = res.data
20
+ // let xPro = Array.from(new Set(res.data.map(x => x.f_gasproperties)))
21
+ // 表型
22
+ let xPro = data.map(x => x.f_meter_type)
23
+ // 居民用气
24
+ let yNumJM = data.map(x => x.f_ptpregas)
25
+ let yNumBGL = data.map(x => x.f_bglpregas)
26
+ let yNumJZCN = data.map(x => x.f_cnpregas)
27
+ let yNumGF = data.map(x => x.f_gfpregas)
28
+ let yNumFJM = data.map(x => x.f_fjmpregas)
29
+ // xPro.forEach(item => {
30
+ // yNumJB[yNumJB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '机表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
31
+ // yNumKB[yNumKB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '卡表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
32
+ // yNumWLWB[yNumWLWB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '物联网表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
33
+ // })
34
+ console.log('表型', xPro)
35
+ console.log('居民用气', yNumJM)
36
+ console.log('壁挂炉用气', yNumBGL)
37
+ console.log('集中采暖', yNumJZCN)
38
+ console.log('公福用气', yNumGF)
39
+ console.log('非居民用气', yNumFJM)
40
+ // self.texttile = '用户类型'
41
+ // let arrparams = []
42
+ // let numdata = []
43
+ // let gasdata = []
44
+ // let pricedata = []
45
+ // for (var i = 0; i < res.data.length; i++) {
46
+ // arrparams[i] = res.data[i].name
47
+ // numdata[i] = res.data[i].num_value
48
+ // gasdata[i] = res.data[i].gas_value
49
+ // pricedata[i] = res.data[i].money_value
50
+ // }
51
+ self.set(xPro,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM)
52
+ })
53
+ }
54
+ export default {
55
+ props: {
56
+ startdate: {
57
+ type: String,
58
+ default: Util.toStandardDateString()
59
+ },
60
+ enddate: {
61
+ type: String,
62
+ default: Util.toStandardDateString()
63
+ },
64
+ orgid: {
65
+ type: String
66
+ }
67
+ },
68
+ data () {
69
+ title: '用户购(用)气'
70
+ return {
71
+ texttile: '',
72
+ xc: ''
73
+ }
74
+ },
75
+ methods: {
76
+ set (arrparams,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM) {
77
+ this.xc = echarts.init(document.getElementById('gph'))
78
+ this.xc.setOption({
79
+ title : {
80
+ text: '用户购(用)气',
81
+ subtext: '数据查询来源',
82
+ x: 'left'
83
+ },
84
+ tooltip : {
85
+ trigger: 'axis'
86
+ },
87
+ legend: {
88
+ x: 'left',
89
+ y: 'bottom',
90
+ data: ['居民用气','壁挂炉用气','集中采暖','公福用气','非居民用气']
91
+ },
92
+ toolbox: {
93
+ show : true,
94
+ feature : {
95
+ dataView : {show: true, readOnly: false},
96
+ magicType : {show: true, type: ['line', 'bar']},
97
+ restore : {show: true},
98
+ saveAsImage : {show: true}
99
+ }
100
+ },
101
+ calculable : true,
102
+ xAxis : [
103
+ {
104
+ type : 'category',
105
+ axisLabel :{
106
+ interval:0
107
+ },
108
+ data : arrparams
109
+ }
110
+ ],
111
+ yAxis : [
112
+ {
113
+ type : 'value'
114
+ }
115
+ ],
116
+ series : [
117
+ {
118
+ name:'居民用气',
119
+ type:'bar',
120
+ data:yNumJM,
121
+ markLine : {
122
+ data : [
123
+ {type : 'average', name: '平均值'}
124
+ ]
125
+ }
126
+ },
127
+ {
128
+ name:'壁挂炉用气',
129
+ type:'bar',
130
+ data:yNumBGL,
131
+ markLine : {
132
+ data : [
133
+ {type : 'average', name: '平均值'}
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ name:'集中采暖',
139
+ type:'bar',
140
+ data:yNumJZCN,
141
+ markLine : {
142
+ data : [
143
+ {type : 'average', name : '平均值'}
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ name:'公福用气',
149
+ type:'bar',
150
+ data:yNumGF,
151
+ markLine : {
152
+ data : [
153
+ {type : 'average', name : '平均值'}
154
+ ]
155
+ }
156
+ },
157
+ {
158
+ name:'非居民用气',
159
+ type:'bar',
160
+ data:yNumFJM,
161
+ markLine : {
162
+ data : [
163
+ {type : 'average', name : '平均值'}
164
+ ]
165
+ }
166
+ }
167
+ ]
168
+ })
169
+ },
170
+ searchdata () {
171
+ let getGen =getData(this)
172
+ co(getGen)
173
+ }
174
+ },
175
+ ready () {
176
+ this.searchdata()
177
+ },
178
+ watch: {
179
+ 'startdate' (val) {
180
+ this.searchdata()
181
+ },
182
+ 'enddate' (val) {
183
+ this.searchdata()
184
+ },
185
+ 'orgid' (val) {
186
+ this.searchdata()
187
+ }
188
+ }
189
+
190
+ }
191
+ </script>