manage-client 3.1.39 → 3.1.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 (98) hide show
  1. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  2. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  3. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  4. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  5. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/5.2.1/gc.properties +0 -0
  7. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  8. package/build/dev-server.js +174 -181
  9. package/package.json +1 -1
  10. package/src/App.vue +28 -29
  11. package/src/components/BasisEcharts/BarChart.vue +247 -247
  12. package/src/components/BasisEcharts/RingChart.vue +196 -196
  13. package/src/components/SellReport/BusinessClassify.vue +317 -293
  14. package/src/components/SellReport/ChargePrick.vue +284 -284
  15. package/src/components/SellReport/DepartmentPrick.vue +288 -288
  16. package/src/components/SellReport/FinanceSellType.vue +254 -254
  17. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  18. package/src/components/SellReport/GasPrice.vue +244 -244
  19. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  20. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  21. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  22. package/src/components/SellReport/ManageSellType.vue +284 -284
  23. package/src/components/SellReport/ManageUserCount.vue +347 -347
  24. package/src/components/SellReport/MarketMonth.vue +297 -251
  25. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  26. package/src/components/SellReport/SellingTable.vue +220 -220
  27. package/src/components/SellReport/UserClassify.vue +271 -251
  28. package/src/components/SellReport/UserSellingGas.vue +251 -251
  29. package/src/components/daping/CallCenter.vue +366 -366
  30. package/src/components/daping/DataManagement.vue +537 -537
  31. package/src/components/daping/GMap.vue +636 -636
  32. package/src/components/daping/ManageMain.vue +270 -270
  33. package/src/components/daping/NetWork.vue +238 -238
  34. package/src/components/daping/RedactDaPing.vue +468 -468
  35. package/src/components/daping/Ring.vue +212 -212
  36. package/src/components/daping/SafeCheck.vue +446 -446
  37. package/src/components/daping/SafeCheckRing.vue +166 -166
  38. package/src/components/daping/SafecheckBarChart.vue +233 -233
  39. package/src/components/daping/WuHaiMap.vue +418 -418
  40. package/src/components/qinhua/BarChart.vue +256 -256
  41. package/src/components/qinhua/Pie.vue +132 -132
  42. package/src/components/qinhua/SellEcharts.vue +115 -115
  43. package/src/components/qinhua/qinHuaMap.vue +414 -414
  44. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  45. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  46. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  47. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  48. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  49. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  50. package/src/components/sale/filesquery/DeviceQuery.vue +45 -11
  51. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  52. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  53. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  54. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  55. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  56. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  57. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  58. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +171 -170
  59. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  60. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +275 -903
  61. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  62. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +213 -238
  63. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +240 -266
  64. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  65. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -218
  66. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  67. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +2 -46
  68. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  69. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  70. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  71. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  72. package/src/filiale/alashan/SellingTable.vue +234 -234
  73. package/src/filiale/alashan/reportManage.js +10 -10
  74. package/src/filiale/jingwei/RecordInfoQuery.vue +14 -14
  75. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  76. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  77. package/src/filiale/liaoyuan/ChargeQuery.vue +6 -0
  78. package/src/filiale/liaoyuan/exportConfig.js +1 -1
  79. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  80. package/src/filiale/meihekou/sale.js +26 -26
  81. package/src/filiale/rongcheng/exportConfig.js +257 -257
  82. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  83. package/src/filiale/rongchuang/reportManage.js +11 -11
  84. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  85. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -0
  86. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -0
  87. package/src/filiale/shaoguan/sale.js +3 -1
  88. package/src/filiale/tongchuan/ManageBusSummary.vue +302 -301
  89. package/src/filiale/tongchuan/ReportList.vue +456 -0
  90. package/src/filiale/tongchuan/ResSelectGroupNew.vue +7 -2
  91. package/src/filiale/tongchuan/reportManage.js +6 -5
  92. package/src/main.js +66 -66
  93. package/src/newmanage.js +525 -525
  94. package/src/reportManage.js +462 -462
  95. package/src/saleManage.js +2 -3
  96. package/static/wuhai.json +1610 -1610
  97. package/src/components/SellReport/SellCollect.vue +0 -183
  98. package/src/components/sale/businessquery/NewHandplanQuery.vue +0 -995
@@ -312,6 +312,9 @@
312
312
  <th>
313
313
  <nobr>客户名称</nobr>
314
314
  </th>
315
+ <th>
316
+ <nobr>客户电话</nobr>
317
+ </th>
315
318
  <th>
316
319
  <nobr>片区</nobr>
317
320
  </th>
@@ -495,6 +498,9 @@
495
498
  <td style="text-align: center;">
496
499
  <nobr>{{row.f_user_name}}</nobr>
497
500
  </td>
501
+ <td style="text-align: center;">
502
+ <nobr>{{row.f_user_phone}}</nobr>
503
+ </td>
498
504
  <td style="text-align: center;">
499
505
  <nobr>{{row.f_zones}}</nobr>
500
506
  </td>
@@ -59,7 +59,7 @@ export default{
59
59
  'f_depname': '部门','f_orgname': '公司'
60
60
  },
61
61
  chargeConfig: {
62
- 'id': '收费编号', 'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_address': '客户地址','f_zones':'片区',
62
+ 'id': '收费编号', 'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_phone':'客户电话','f_address': '客户地址','f_zones':'片区',
63
63
  'f_book_slice_area':'表册片区','f_user_type': '客户类型',
64
64
  'f_gasproperties': '用气性质', 'f_meternumber': '表号','f_meter_brand': '气表品牌','f_times':'购气次数',
65
65
  'f_pregas': '气量','fee': '金额','f_preamount': '燃气费','f_collection': '收款', 'f_privilege_money': '优惠金额', 'f_balance': '上期结余',
@@ -1,267 +1,267 @@
1
- <template lang="html">
2
- <div class="basic-main" id="unit" style="height: 99%">
3
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
4
- <div class="row">
5
- <div class="col-sm-1 form-group">
6
- <label class="font_normal_body">汇总项</label>
7
- </div>
8
- <div class="col-sm-1 form-group">
9
- <input id="year" type="checkbox" checked v-model="nameForSql" value="year"/>
10
- <label class="font_normal_body" for="year">年份</label>
11
- </div>
12
- <div class="col-sm-1 form-group">
13
- <input id="month" type="checkbox" v-model="nameForSql" value="month"/>
14
- <label class="font_normal_body" for="month">月份</label>
15
- </div>
16
- <div class="col-sm-1 form-group">
17
- <input id="week" type="checkbox" v-model="nameForSql" value="week"/>
18
- <label class="font_normal_body" for="week">周</label>
19
- </div>
20
- <div class="col-sm-1 form-group">
21
- <input id="day" type="checkbox" v-model="nameForSql" value="day"/>
22
- <label class="font_normal_body" for="day">日</label>
23
- </div>
24
- <div class="col-sm-1 form-group">
25
- <input id="f_userType" type="checkbox" v-model="nameForSql" value="f_user_type"/>
26
- <label class="font_normal_body" for="f_userType">用户类型</label>
27
- </div>
28
- <div class="col-sm-1 form-group">
29
- <input id="f_gasproperties" type="checkbox" v-model="nameForSql" value="f_gasproperties"/>
30
- <label class="font_normal_body" for="f_gasproperties">用气性质</label>
31
- </div>
32
- <div class="col-sm-1 form-group">
33
- <input id="f_meter_brand" type="checkbox" v-model="nameForSql" value="f_meter_brand"/>
34
- <label class="font_normal_body" for="f_meter_brand">气表品牌</label>
35
- </div>
36
- <div class="col-sm-1 form-group">
37
- <input id="f_orgname" type="checkbox" v-model="nameForSql" value="f_orgname"/>
38
- <label class="font_normal_body" for="f_orgname">组织机构</label>
39
- </div>
40
-
41
- <span style="float: right">
42
- <button @click="searchData" class="button_search button_spacing">查询</button>
43
- <button @click="$parent.notShowTotalForm()" class="button_clear button_spacing" style="width: max-content">隐藏汇总</button>
44
- <export-excel :data="getCondition" class="button_export button_spacing"
45
- :field="getfield"
46
- sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserGasSum" template-name='用气分析汇总'
47
- :choose-col="true"></export-excel>
48
-
49
- <!--<rexport-excel class="button_export button_spacing" id="table" style="width: 28%"></rexport-excel>-->
50
- <report-print class="button_export button_spacing" height='100%' id="table" left='0' top='3cm'
51
- width='100%'></report-print></span>
52
- </div>
53
- </div>
54
- <div id="table" style="height:90%;overflow-y: scroll">
55
- <table class="table table-bordered">
56
- <thead class="text-left">
57
- <tr style="text-align:center">
58
- <p style="padding: 8px;text-align:center;width: 100%" class="font_normal_body">用户用气汇总</p>
59
- </tr>
60
- <tr>
61
- <th style="text-align:center" v-if="nameForSql.includes('year')">年份</th>
62
- <th style="text-align:center" v-if="nameForSql.includes('month')">月份</th>
63
- <th style="text-align:center" v-if="nameForSql.includes('week')">周</th>
64
- <th style="text-align:center" v-if="nameForSql.includes('day')">日</th>
65
- <th style="text-align:center" v-if="nameForSql.includes('f_user_type')">用户类型</th>
66
- <th style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">用气性质</th>
67
- <th style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">气表品牌</th>
68
- <th style="text-align:center" v-if="nameForSql.includes('f_orgname')">组织机构</th>
69
- <th style="text-align:center">
70
- <nobr>总用气气量(m³)</nobr>
71
- </th>
72
- <th style="text-align:center">
73
- <nobr>总用气金额(元)</nobr>
74
- </th>
75
- <!--<th style="text-align:center"><nobr>一阶总气量(m³)</nobr></th>-->
76
- <!--<th style="text-align:center"><nobr>一阶总金额(元)</nobr></th>-->
77
- <!--<th style="text-align:center"><nobr>二阶总气量(m³)</nobr></th>-->
78
- <!--<th style="text-align:center"><nobr>二阶总金额(元)</nobr></th>-->
79
- <!--<th style="text-align:center"><nobr>三阶总气量(m³)</nobr></th>-->
80
- <!--<th style="text-align:center"><nobr>三阶总金额(元)</nobr></th>-->
81
- </tr>
82
- </thead>
83
- <tbody>
84
-
85
- <tr v-for="item in model.rows">
86
- <td style="text-align:center" v-if="nameForSql.includes('year')">{{item.year}}</td>
87
- <td style="text-align:center" v-if="nameForSql.includes('month')">{{item.month}}</td>
88
- <td style="text-align:center" v-if="nameForSql.includes('week')">{{item.week}}</td>
89
- <td style="text-align:center" v-if="nameForSql.includes('day')">{{item.day}}</td>
90
- <td style="text-align:center" v-if="nameForSql.includes('f_user_type')">{{item.f_user_type}}</td>
91
- <td style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">{{item.f_gasproperties}}</td>
92
- <td style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">{{item.f_meter_brand}}</td>
93
- <td style="text-align:center" v-if="nameForSql.includes('f_orgname')">{{item.f_orgname}}</td>
94
- <td style="text-align:center">{{item.f_oughtamount}}</td>
95
- <td style="text-align:center">{{item.f_oughtfee}}</td>
96
- <!--<td style="text-align:center">{{item.f_gas1}}</td>-->
97
- <!--<td style="text-align:center">{{item.f_money1}}</td>-->
98
- <!--<td style="text-align:center">{{item.f_gas2}}</td>-->
99
- <!--<td style="text-align:center">{{item.f_money2}}</td>-->
100
- <!--<td style="text-align:center">{{item.f_gas3}}</td>-->
101
- <!--<td style="text-align:center">{{item.f_money3}}</td>-->
102
- </tr>
103
- </tbody>
104
- </table>
105
- </div>
106
- <div style="height: 10%;">
107
- <table class="table-hover">
108
- <tr style="position: relative" class="table-bordered">
109
- <td
110
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
111
- 汇总信息
112
- </td>
113
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
114
- 一阶气量合计:&emsp;{{sumsmodel.f_gas1}}
115
- </td>
116
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
117
- 一阶气费合计:&emsp;{{sumsmodel.f_money1}}
118
- </td>
119
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
120
- 二阶气量合计:&emsp;{{sumsmodel.f_gas2}}
121
- </td>
122
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
123
- 二阶气费合计:&emsp;{{sumsmodel.f_money2}}
124
- </td>
125
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
126
- 三阶气量合计:&emsp;{{sumsmodel.f_gas3}}
127
- </td>
128
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
129
- 三阶气费合计:&emsp;{{sumsmodel.f_money3}}
130
- </td>
131
- </tr>
132
- </table>
133
- </div>
134
- </div>
135
-
136
- </template>
137
-
138
- <script>
139
- import {DataModel, HttpResetClass, PagedList} from 'vue-client'
140
- import * as Util from '../../Util'
141
-
142
- export default {
143
- props: {
144
- startdate: {
145
- type: String
146
- },
147
- enddate: {
148
- type: String
149
- },
150
- condition: {
151
- type: String,
152
- default: '1=1'
153
- }
154
- // groupNameByDate: {
155
- // type: [],
156
- // default:['year']
157
- // }
158
- },
159
- data() {
160
- return {
161
- model2: null,
162
- model: new PagedList('rs/sql/webmeter_getUserGasSum',999999999, {groupname: 'this.model.groupname',startDate: 'this.model.startDate',endDate: 'this.model.endDate'},{
163
- f_gas1: 0,
164
- f_money1: 0,
165
- f_gas2: 0,
166
- f_money2: 0,
167
- f_gas3: 0,
168
- f_money3: 0
169
- }),
170
- sumsmodel: {},
171
- conditionForSql: '1=1',
172
- nameForSql: [],
173
- groupNameForSql: '',
174
- exportfield:{"year":"年份","month":"月份","week":"周","day":"日",
175
- "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_orgname":"组织机构"}
176
- }
177
- },
178
- ready() {
179
- this.nameForSql=['year']
180
- this.groupNameForSql= 'year'
181
- this.conditionForSql = this.condition
182
- this.searchData()
183
- },
184
- methods: {
185
- async searchData() {
186
- console.log(this.groupNameForSql)
187
- if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
188
- this.model.condition = this.conditionForSql
189
- this.model.groupname = this.groupNameForSql
190
- this.model.startDate = this.startdate.length === 10 ? this.startdate + ' 00:00:00' : this.startdate
191
- this.model.endDate = this.enddate.length === 10 ? this.enddate + ' 23:59:59' : this.enddate
192
- this.model.search(this.conditionForSql, this.model)
193
- this.sumsmodel = this.model.model.sums;
194
- // let load = new HttpResetClass()
195
- // let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
196
- // {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
197
- // {resolveMsg: null, rejectMsg: null})
198
- // console.log('res返回', res)
199
- // this.model2 = res.data
200
- // console.log('res返回123', this.model2)
201
- } else {
202
- this.$showAlert('请选择汇总项', 'warning', 3000)
203
- }
204
- },
205
- //拼接groupName1
206
- getGroupName1() {
207
- console.log("this.nameForSql.length:" + this.nameForSql.length)
208
- let str = ''
209
- let i = 0
210
- for (; i < this.nameForSql.length - 1; i++) {
211
- str += this.nameForSql[i] + ','
212
- }
213
- str += this.nameForSql[i]
214
- this.groupNameForSql = str.trim()
215
- }
216
- },
217
- computed: {
218
- // usertypes () {
219
- // return this.$appdate.getParams("客户类型")
220
- // },
221
- getfield(){
222
- var fields={}
223
- let i = 0
224
- for (; i < this.nameForSql.length; i++) {
225
- if(this.nameForSql[i] in this.exportfield ){
226
- fields[this.nameForSql[i]]=this.exportfield[this.nameForSql[i]]
227
- }
228
- }
229
- fields.f_oughtamount="总用气气量(m³)"
230
- fields.f_oughtfee="总用气金额(元)"
231
- return fields
232
- },
233
- getCondition() {
234
- return {
235
- condition: this.conditionForSql,
236
- groupname: this.groupNameForSql
237
-
238
- }
239
- }
240
- },
241
- watch: {
242
- 'nameForSql'() {
243
- // this.nameForSql =this.groupNameByDate;
244
- this.getGroupName1()
245
- }
246
- }
247
- }
248
- </script>
249
-
250
- <style scoped>
251
- .mystyle2 {
252
- width: 100%;
253
- height: 35px;
254
- /*background: #00A3F0;*/
255
- padding-left: 15px;
256
- float: left;
257
- }
258
-
259
- .datapanel {
260
- color: #333;
261
- background-color: white;
262
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
263
- padding: 10px 30px 10px 30px;
264
- border-radius: 15px;
265
- }
266
-
267
- </style>
1
+ <template lang="html">
2
+ <div class="basic-main" id="unit" style="height: 99%">
3
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
4
+ <div class="row">
5
+ <div class="col-sm-1 form-group">
6
+ <label class="font_normal_body">汇总项</label>
7
+ </div>
8
+ <div class="col-sm-1 form-group">
9
+ <input id="year" type="checkbox" checked v-model="nameForSql" value="year"/>
10
+ <label class="font_normal_body" for="year">年份</label>
11
+ </div>
12
+ <div class="col-sm-1 form-group">
13
+ <input id="month" type="checkbox" v-model="nameForSql" value="month"/>
14
+ <label class="font_normal_body" for="month">月份</label>
15
+ </div>
16
+ <div class="col-sm-1 form-group">
17
+ <input id="week" type="checkbox" v-model="nameForSql" value="week"/>
18
+ <label class="font_normal_body" for="week">周</label>
19
+ </div>
20
+ <div class="col-sm-1 form-group">
21
+ <input id="day" type="checkbox" v-model="nameForSql" value="day"/>
22
+ <label class="font_normal_body" for="day">日</label>
23
+ </div>
24
+ <div class="col-sm-1 form-group">
25
+ <input id="f_userType" type="checkbox" v-model="nameForSql" value="f_user_type"/>
26
+ <label class="font_normal_body" for="f_userType">用户类型</label>
27
+ </div>
28
+ <div class="col-sm-1 form-group">
29
+ <input id="f_gasproperties" type="checkbox" v-model="nameForSql" value="f_gasproperties"/>
30
+ <label class="font_normal_body" for="f_gasproperties">用气性质</label>
31
+ </div>
32
+ <div class="col-sm-1 form-group">
33
+ <input id="f_meter_brand" type="checkbox" v-model="nameForSql" value="f_meter_brand"/>
34
+ <label class="font_normal_body" for="f_meter_brand">气表品牌</label>
35
+ </div>
36
+ <div class="col-sm-1 form-group">
37
+ <input id="f_orgname" type="checkbox" v-model="nameForSql" value="f_orgname"/>
38
+ <label class="font_normal_body" for="f_orgname">组织机构</label>
39
+ </div>
40
+
41
+ <span style="float: right">
42
+ <button @click="searchData" class="button_search button_spacing">查询</button>
43
+ <button @click="$parent.notShowTotalForm()" class="button_clear button_spacing" style="width: max-content">隐藏汇总</button>
44
+ <export-excel :data="getCondition" class="button_export button_spacing"
45
+ :field="getfield"
46
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserGasSum" template-name='用气分析汇总'
47
+ :choose-col="true"></export-excel>
48
+
49
+ <!--<rexport-excel class="button_export button_spacing" id="table" style="width: 28%"></rexport-excel>-->
50
+ <report-print class="button_export button_spacing" height='100%' id="table" left='0' top='3cm'
51
+ width='100%'></report-print></span>
52
+ </div>
53
+ </div>
54
+ <div id="table" style="height:90%;overflow-y: scroll">
55
+ <table class="table table-bordered">
56
+ <thead class="text-left">
57
+ <tr style="text-align:center">
58
+ <p style="padding: 8px;text-align:center;width: 100%" class="font_normal_body">用户用气汇总</p>
59
+ </tr>
60
+ <tr>
61
+ <th style="text-align:center" v-if="nameForSql.includes('year')">年份</th>
62
+ <th style="text-align:center" v-if="nameForSql.includes('month')">月份</th>
63
+ <th style="text-align:center" v-if="nameForSql.includes('week')">周</th>
64
+ <th style="text-align:center" v-if="nameForSql.includes('day')">日</th>
65
+ <th style="text-align:center" v-if="nameForSql.includes('f_user_type')">用户类型</th>
66
+ <th style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">用气性质</th>
67
+ <th style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">气表品牌</th>
68
+ <th style="text-align:center" v-if="nameForSql.includes('f_orgname')">组织机构</th>
69
+ <th style="text-align:center">
70
+ <nobr>总用气气量(m³)</nobr>
71
+ </th>
72
+ <th style="text-align:center">
73
+ <nobr>总用气金额(元)</nobr>
74
+ </th>
75
+ <!--<th style="text-align:center"><nobr>一阶总气量(m³)</nobr></th>-->
76
+ <!--<th style="text-align:center"><nobr>一阶总金额(元)</nobr></th>-->
77
+ <!--<th style="text-align:center"><nobr>二阶总气量(m³)</nobr></th>-->
78
+ <!--<th style="text-align:center"><nobr>二阶总金额(元)</nobr></th>-->
79
+ <!--<th style="text-align:center"><nobr>三阶总气量(m³)</nobr></th>-->
80
+ <!--<th style="text-align:center"><nobr>三阶总金额(元)</nobr></th>-->
81
+ </tr>
82
+ </thead>
83
+ <tbody>
84
+
85
+ <tr v-for="item in model.rows">
86
+ <td style="text-align:center" v-if="nameForSql.includes('year')">{{item.year}}</td>
87
+ <td style="text-align:center" v-if="nameForSql.includes('month')">{{item.month}}</td>
88
+ <td style="text-align:center" v-if="nameForSql.includes('week')">{{item.week}}</td>
89
+ <td style="text-align:center" v-if="nameForSql.includes('day')">{{item.day}}</td>
90
+ <td style="text-align:center" v-if="nameForSql.includes('f_user_type')">{{item.f_user_type}}</td>
91
+ <td style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">{{item.f_gasproperties}}</td>
92
+ <td style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">{{item.f_meter_brand}}</td>
93
+ <td style="text-align:center" v-if="nameForSql.includes('f_orgname')">{{item.f_orgname}}</td>
94
+ <td style="text-align:center">{{item.f_oughtamount}}</td>
95
+ <td style="text-align:center">{{item.f_oughtfee}}</td>
96
+ <!--<td style="text-align:center">{{item.f_gas1}}</td>-->
97
+ <!--<td style="text-align:center">{{item.f_money1}}</td>-->
98
+ <!--<td style="text-align:center">{{item.f_gas2}}</td>-->
99
+ <!--<td style="text-align:center">{{item.f_money2}}</td>-->
100
+ <!--<td style="text-align:center">{{item.f_gas3}}</td>-->
101
+ <!--<td style="text-align:center">{{item.f_money3}}</td>-->
102
+ </tr>
103
+ </tbody>
104
+ </table>
105
+ </div>
106
+ <div style="height: 10%;">
107
+ <table class="table-hover">
108
+ <tr style="position: relative" class="table-bordered">
109
+ <td
110
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
111
+ 汇总信息
112
+ </td>
113
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
114
+ 一阶气量合计:&emsp;{{sumsmodel.f_gas1}}
115
+ </td>
116
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
117
+ 一阶气费合计:&emsp;{{sumsmodel.f_money1}}
118
+ </td>
119
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
120
+ 二阶气量合计:&emsp;{{sumsmodel.f_gas2}}
121
+ </td>
122
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
123
+ 二阶气费合计:&emsp;{{sumsmodel.f_money2}}
124
+ </td>
125
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
126
+ 三阶气量合计:&emsp;{{sumsmodel.f_gas3}}
127
+ </td>
128
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
129
+ 三阶气费合计:&emsp;{{sumsmodel.f_money3}}
130
+ </td>
131
+ </tr>
132
+ </table>
133
+ </div>
134
+ </div>
135
+
136
+ </template>
137
+
138
+ <script>
139
+ import {DataModel, HttpResetClass, PagedList} from 'vue-client'
140
+ import * as Util from '../../Util'
141
+
142
+ export default {
143
+ props: {
144
+ startdate: {
145
+ type: String
146
+ },
147
+ enddate: {
148
+ type: String
149
+ },
150
+ condition: {
151
+ type: String,
152
+ default: '1=1'
153
+ }
154
+ // groupNameByDate: {
155
+ // type: [],
156
+ // default:['year']
157
+ // }
158
+ },
159
+ data() {
160
+ return {
161
+ model2: null,
162
+ model: new PagedList('rs/sql/webmeter_getUserGasSum',999999999, {groupname: 'this.model.groupname',startDate: 'this.model.startDate',endDate: 'this.model.endDate'},{
163
+ f_gas1: 0,
164
+ f_money1: 0,
165
+ f_gas2: 0,
166
+ f_money2: 0,
167
+ f_gas3: 0,
168
+ f_money3: 0
169
+ }),
170
+ sumsmodel: {},
171
+ conditionForSql: '1=1',
172
+ nameForSql: [],
173
+ groupNameForSql: '',
174
+ exportfield:{"year":"年份","month":"月份","week":"周","day":"日",
175
+ "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_orgname":"组织机构"}
176
+ }
177
+ },
178
+ ready() {
179
+ this.nameForSql=['year']
180
+ this.groupNameForSql= 'year'
181
+ this.conditionForSql = this.condition
182
+ this.searchData()
183
+ },
184
+ methods: {
185
+ async searchData() {
186
+ console.log(this.groupNameForSql)
187
+ if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
188
+ this.model.condition = this.conditionForSql
189
+ this.model.groupname = this.groupNameForSql
190
+ this.model.startDate = this.startdate.length === 10 ? this.startdate + ' 00:00:00' : this.startdate
191
+ this.model.endDate = this.enddate.length === 10 ? this.enddate + ' 23:59:59' : this.enddate
192
+ this.model.search(this.conditionForSql, this.model)
193
+ this.sumsmodel = this.model.model.sums;
194
+ // let load = new HttpResetClass()
195
+ // let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
196
+ // {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
197
+ // {resolveMsg: null, rejectMsg: null})
198
+ // console.log('res返回', res)
199
+ // this.model2 = res.data
200
+ // console.log('res返回123', this.model2)
201
+ } else {
202
+ this.$showAlert('请选择汇总项', 'warning', 3000)
203
+ }
204
+ },
205
+ //拼接groupName1
206
+ getGroupName1() {
207
+ console.log("this.nameForSql.length:" + this.nameForSql.length)
208
+ let str = ''
209
+ let i = 0
210
+ for (; i < this.nameForSql.length - 1; i++) {
211
+ str += this.nameForSql[i] + ','
212
+ }
213
+ str += this.nameForSql[i]
214
+ this.groupNameForSql = str.trim()
215
+ }
216
+ },
217
+ computed: {
218
+ // usertypes () {
219
+ // return this.$appdate.getParams("客户类型")
220
+ // },
221
+ getfield(){
222
+ var fields={}
223
+ let i = 0
224
+ for (; i < this.nameForSql.length; i++) {
225
+ if(this.nameForSql[i] in this.exportfield ){
226
+ fields[this.nameForSql[i]]=this.exportfield[this.nameForSql[i]]
227
+ }
228
+ }
229
+ fields.f_oughtamount="总用气气量(m³)"
230
+ fields.f_oughtfee="总用气金额(元)"
231
+ return fields
232
+ },
233
+ getCondition() {
234
+ return {
235
+ condition: this.conditionForSql,
236
+ groupname: this.groupNameForSql
237
+
238
+ }
239
+ }
240
+ },
241
+ watch: {
242
+ 'nameForSql'() {
243
+ // this.nameForSql =this.groupNameByDate;
244
+ this.getGroupName1()
245
+ }
246
+ }
247
+ }
248
+ </script>
249
+
250
+ <style scoped>
251
+ .mystyle2 {
252
+ width: 100%;
253
+ height: 35px;
254
+ /*background: #00A3F0;*/
255
+ padding-left: 15px;
256
+ float: left;
257
+ }
258
+
259
+ .datapanel {
260
+ color: #333;
261
+ background-color: white;
262
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
263
+ padding: 10px 30px 10px 30px;
264
+ border-radius: 15px;
265
+ }
266
+
267
+ </style>
@@ -1,26 +1,26 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- // 卡表抄表查询
4
- 'card-handplan-query': (resolve) => { require(['./CardHandplanQuery'], resolve) },
5
- // 机表抄表查询
6
- 'handplan-query': (resolve) => {require(['./HandplanQuery'], resolve)},
7
- // 业务查询
8
- 'business-manage': (resolve) =>{ require(['./BusinessManage'], resolve)},
9
- // 收费查询
10
- 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
11
- // 客户信息查询
12
- 'user-query': (resolve) => { require(['./UserQuery'], resolve) },
13
- // 综合档案信息查询
14
- 'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) },
15
- // 欠费查询
16
- 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
17
- // 其他收费查询
18
- 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
19
- // 用气分析汇总查询
20
- 'user-gas-eform': (resolve) => { require(['./UserGasEform'], resolve) },
21
- }
22
- exports.specialComp = specialComp
23
-
24
-
25
-
26
-
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 卡表抄表查询
4
+ 'card-handplan-query': (resolve) => { require(['./CardHandplanQuery'], resolve) },
5
+ // 机表抄表查询
6
+ 'handplan-query': (resolve) => {require(['./HandplanQuery'], resolve)},
7
+ // 业务查询
8
+ 'business-manage': (resolve) =>{ require(['./BusinessManage'], resolve)},
9
+ // 收费查询
10
+ 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
11
+ // 客户信息查询
12
+ 'user-query': (resolve) => { require(['./UserQuery'], resolve) },
13
+ // 综合档案信息查询
14
+ 'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) },
15
+ // 欠费查询
16
+ 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
17
+ // 其他收费查询
18
+ 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
19
+ // 用气分析汇总查询
20
+ 'user-gas-eform': (resolve) => { require(['./UserGasEform'], resolve) },
21
+ }
22
+ exports.specialComp = specialComp
23
+
24
+
25
+
26
+