manage-client 3.2.10 → 3.2.14

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 (69) hide show
  1. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  2. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/7.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  10. package/.gradle/configuration-cache/gc.properties +0 -0
  11. package/build/dev-server.js +4 -6
  12. package/package.json +1 -1
  13. package/src/components/BasisEcharts/BarChart.vue +247 -247
  14. package/src/components/SellReport/BonSummary.vue +178 -178
  15. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  16. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  17. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  18. package/src/components/SellReport/NonResidentGas.vue +203 -203
  19. package/src/components/SellReport/OutletTable.vue +258 -258
  20. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  21. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  22. package/src/components/SellReport/SellingTable.vue +220 -220
  23. package/src/components/SellReport/UserSellingGas.vue +177 -177
  24. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  25. package/src/components/daping/GMap.vue +636 -636
  26. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  27. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  28. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  29. package/src/components/sale/businessquery/BusinesQuery.vue +348 -349
  30. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  31. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  32. package/src/components/sale/businessquery/NoBusinessQuery.vue +4 -4
  33. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  34. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  35. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  36. package/src/components/sale/config/exportConfig.js +526 -524
  37. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  38. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  39. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  40. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  41. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  42. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +4 -5
  43. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  44. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  45. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  46. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  47. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  48. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  49. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  50. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  51. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  52. package/src/filiale/WEINAN/UserGasAll.vue +577 -0
  53. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  54. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  55. package/src/filiale/WEINAN/reportManage.js +12 -12
  56. package/src/filiale/WEINAN/sale.js +36 -32
  57. package/src/filiale/alashan/reportManage.js +10 -10
  58. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  59. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  60. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  61. package/src/filiale/meihekou/UserQuery.vue +4 -4
  62. package/src/filiale/meihekou/sale.js +26 -26
  63. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  64. package/src/filiale/rongchuang/reportManage.js +11 -11
  65. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +295 -295
  66. package/src/filiale/tongchuan/sale.js +16 -16
  67. package/src/main.js +2 -2
  68. package/static/wuhai.json +1610 -1610
  69. package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
@@ -1,417 +1,417 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label for="startDate" class="font_normal_body">开始日期</label>
11
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
14
- format="yyyy-MM-dd HH:mm:ss"
15
- :show-reset-button="true">
16
- </datepicker>
17
- </div>
18
- <div class="col-sm-2 form-group">
19
- <label for="endDate" class="font_normal_body">结束日期</label>
20
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
23
- format="yyyy-MM-dd HH:mm:ss"
24
- :show-reset-button="true">
25
- </datepicker>
26
- </div>
27
- <div class="col-sm-2 form-group">
28
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
29
- <v-select :value.sync="model.f_payment" multiple
30
- v-model="model.f_payment"
31
- :options='$parent.$parent.payment' placeholder='请选择'
32
- condition="f_payment in {}"
33
- close-on-select></v-select>
34
- </div>
35
- <res-select-group :initres="$parent.$parent.initres"
36
- @re-res="$parent.$parent.getRes"
37
- :show-component="['company','operator']"
38
- v-ref:sel></res-select-group>
39
- <div class="span" style="float:right;">
40
- <button class="button_search button_spacing" @click="search()">查询</button>
41
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
42
-
43
- <export-excel :data="$parent.$parent.getCondition"
44
- :field="$parent.$parent.getfield"
45
- :footer="$parent.$parent.footer"
46
- :header="$parent.$parent.other"
47
- sqlurl="rs/logic/exportfile"
48
- sql-name="OpertoerCollection"
49
- template-name='操作员日结列表'
50
- :choose-col="true"></export-excel>
51
- <print-data :model="$parent.model"
52
- :field="$parent.$parent.getfield"
53
- :sum-field="$parent.$parent.getfield"
54
- titletable="操作员日结列表"
55
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
- <!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
57
- </div>
58
- </div>
59
-
60
- <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
61
-
62
- <!-- </div>-->
63
- </div>
64
- </criteria>
65
-
66
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
67
- <template partial='head'>
68
- <tr>
69
- <th>
70
- <nobr>日期</nobr>
71
- </th>
72
- <th>
73
- <nobr>售气笔数</nobr>
74
- </th>
75
- <th>
76
- <nobr>售气气量</nobr>
77
- </th>
78
- <th>
79
- <nobr>售气金额</nobr>
80
- </th>
81
- <th>
82
- <nobr>上期结余</nobr>
83
- </th>
84
- <th>
85
- <nobr>本期结余</nobr>
86
- </th>
87
- <th>
88
- <nobr>气费滞纳金</nobr>
89
- </th>
90
- <th>
91
- <nobr>退费</nobr>
92
- </th>
93
- <th>
94
- <nobr>冲正气量</nobr>
95
- </th>
96
- <th>
97
- <nobr>冲正金额</nobr>
98
- </th>
99
- <th>
100
- <nobr>冲正滞纳金</nobr>
101
- </th>
102
- <th>
103
- <nobr>发卡数</nobr>
104
- </th>
105
- <th>
106
- <nobr>发卡费</nobr>
107
- </th>
108
- <th>
109
- <nobr>其他数</nobr>
110
- </th>
111
- <th>
112
- <nobr>其他费</nobr>
113
- </th>
114
- <th>
115
- <nobr>补卡数</nobr>
116
- </th>
117
- <th>
118
- <nobr>补卡费</nobr>
119
- </th>
120
- <th>
121
- <nobr>实收金额</nobr>
122
- </th>
123
- </tr>
124
- </template>
125
- <template partial='body'>
126
- <td style="text-align: center;">{{row.f_operate_date}}</td>
127
- <td style="text-align: center;">{{row.c}}</td>
128
- <td style="text-align: center;">{{row.f_pregas}}</td>
129
- <th style="text-align: center;">{{row.f_preamount}}</th>
130
- <th style="text-align: center;">{{row.f_balance}}</th>
131
- <th style="text-align: center;">{{row.f_curbalance}}</th>
132
- <th style="text-align: center;">{{row.f_delaypay}}</th>
133
- <th style="text-align: center;">{{row.f_returnfee}}</th>
134
- <th style="text-align: center;">{{row.f_czpregas}}</th>
135
- <th style="text-align: center;">{{row.f_czpreamount}}</th>
136
- <th style="text-align: center;">{{row.f_czdelaypay}}</th>
137
- <th style="text-align: center;">{{row.fkcardnum}}</th>
138
- <th style="text-align: center;">{{row.f_fkcardfees}}</th>
139
- <th style="text-align: center;">{{row.gc}}</th>
140
- <th style="text-align: center;">{{row.f_gmoney}}</th>
141
- <th style="text-align: center;">{{row.cardnum}}</th>
142
- <th style="text-align: center;">{{row.f_cardfees}}</th>
143
- <th style="text-align: center;">{{row.f_collection}}</th>
144
- </template>
145
- </data-grid>
146
- </criteria-paged>
147
- <table class="table-hover">
148
- <tr style="position: relative" class="table-bordered">
149
- <td
150
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
151
- 汇总信息
152
- </td>
153
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
154
- 售气笔数合计:&emsp;{{sumsmodel.c}}
155
- </td>
156
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
157
- 售气气量合计:&emsp;{{sumsmodel.f_pregas}}
158
- </td>
159
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
160
- 售气金额合计:&emsp;{{sumsmodel.f_preamount}}
161
- </td>
162
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
163
- 气费滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
164
- </td>
165
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
166
- 退费合计:&emsp;{{sumsmodel.f_returnfee}}
167
- </td>
168
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
169
- 冲正气量合计:&emsp;{{sumsmodel.f_czpregas}}
170
- </td>
171
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
172
- 冲正金额合计:&emsp;{{sumsmodel.f_czpreamount}}
173
- </td>
174
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
175
- 冲正滞纳金合计:&emsp;{{sumsmodel.f_czdelaypay}}
176
- </td>
177
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
178
- 发卡数合计:&emsp;{{sumsmodel.fkcardnum}}
179
- </td>
180
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
181
- 发卡费合计:&emsp;{{sumsmodel.f_fkcardfees}}
182
- </td>
183
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
184
- 其他数合计:&emsp;{{sumsmodel.gc}}
185
- </td>
186
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
187
- 其他费合计:&emsp;{{sumsmodel.f_gmoney}}
188
- </td>
189
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
190
- 补卡数合计:&emsp;{{sumsmodel.cardnum}}
191
- </td>
192
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
193
- 补卡费合计:&emsp;{{sumsmodel.f_cardfees}}
194
- </td>
195
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
196
- 实收金额合计:&emsp;{{sumsmodel.f_collection}}
197
- </td>
198
- </tr>
199
- </table>
200
- </div>
201
- </div>
202
- </div>
203
-
204
- </template>
205
- <script>
206
- /**
207
- *用户档案查询列表以及添加操作组件
208
- */
209
- import {PagedList} from 'vue-client'
210
- import defaultPrint from '../config/DefaultPrint'
211
- import exportConfig from '../config/exportConfig'
212
-
213
- let readySomething = async function (self) {
214
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
215
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
216
- // await self.$refs.paged.$refs.cri.search()
217
- // await self.$getConfig(self, 'SellingHand')
218
- // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
219
-
220
- await self.$MagLoadParams.loadParam()
221
-
222
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
223
- console.log('self.sumsmodel', self.sumsmodel)
224
- }
225
-
226
-
227
- export default {
228
- title: '操作员日结列表',
229
- data() {
230
- return {
231
- rows: null,
232
- other: [],
233
- footer: [],
234
- criteriaShow: false,
235
- model: new PagedList('rs/sql/OpertoerCollection', 50,
236
- {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
237
- {
238
- c: 0,
239
- f_pregas: 0,
240
- f_preamount: 0,
241
- f_delaypay: 0,
242
- f_returnfee: 0,
243
- f_czpregas: 0,
244
- f_czpreamount: 0,
245
- f_czdelaypay: 0,
246
- fkcardnum: 0,
247
- f_fkcardfees: 0,
248
- gc: 0,
249
- f_gmoney: 0,
250
- cardnum: 0,
251
- f_cardfees: 0,
252
- f_collection: 0
253
- }),
254
- orgCondtionStr: '',
255
-
256
- getfield: '',
257
- show:false,
258
- rowdata:{},
259
- // config: {
260
- // defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
261
- // },
262
- initres: {
263
- org:[this.$login.f.orgid],
264
- dep:[],
265
- user:[],
266
- },
267
- defaultfield: [],
268
- sumsmodel: {}
269
- }
270
- },
271
- ready() {
272
- readySomething(this).then(() => {
273
- this.$emit('ready')
274
- }).catch((error) => {
275
- this.$emit('error', error)
276
- })
277
- },
278
- methods: {
279
- getotherfooter() {
280
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
281
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
282
- this.other = [];
283
- this.footer = [];
284
- // let exportdata = this.getCondition;
285
- let otherInData = [];
286
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
287
- let footerData = [], exportfield = this.getfield;
288
- footerData.push("合计");
289
- let self = this;
290
- for (var field in self.sumsmodel) {
291
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
292
- }
293
- this.footer.push(footerData);
294
- this.other.push(otherInData);
295
- },
296
- search(){
297
- this.$refs.paged.$refs.cri.search()
298
- },
299
- selfSearch(args) {
300
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
301
- args.condition = `${args.condition}` + this.orgCondtionStr
302
- this.model.search(args.condition, args.model)
303
- },
304
- show() {
305
- this.criteriaShow = true
306
- },
307
- cancel() {
308
- this.show = false
309
- },
310
- showmsg(obj){
311
- this.rowdata=obj
312
- this.show=true
313
- },
314
- dealmsg(val) {
315
- console.log('---------------dealmsg')
316
- val.model = this.model.model
317
- this.$dispatch('deal-msg', val)
318
- },
319
- hidden() {
320
- this.criteriaShow = !this.criteriaShow
321
- },
322
- clear() {
323
- //清空部门和人员
324
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
325
- //部门和人员变为全选
326
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
327
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
328
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
329
- this.$refs.paged.$refs.cri.model[key] = []
330
- })
331
- },
332
- getRes(obj) {
333
- this.orgCondtionStr = obj
334
- },
335
- stamp() {
336
- this.all = false
337
- //默认选择要打印的列
338
- this.modelval = defaultPrint.config
339
- this.fields = this.getfield
340
- console.log('所有打印字段', this.fields)
341
- this.printshow = true
342
- this.put()
343
- },
344
- put() {
345
- // 对Modelval进行排序
346
- this.sortModelval()
347
- this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
348
- for (let key of this.modelval) {
349
- this.thead += '<th>' + this.fields[key] + '</th>'
350
- }
351
- this.thead += '</tr>'
352
- },
353
- print() {
354
- this.$refs.print.PrintAsFile()
355
- this.printshow = false
356
- },
357
- close() {
358
- this.printshow = false
359
- this.all = false
360
- },
361
- // 对选择的列进行排序
362
- sortModelval() {
363
- let sortModel = []
364
- Object.keys(this.fields).forEach((key) => {
365
- if (this.modelval.includes(key)) {
366
- sortModel.push(key)
367
- }
368
- })
369
- this.modelval = sortModel
370
- console.log('选择的打印的字段', this.modelval)
371
- }
372
- },
373
- watch: {
374
- 'all'(val) {
375
- if (val) {
376
- this.modelval = this.bodyData
377
- } else {
378
- this.modelval = defaultPrint.config
379
- this.put()
380
- }
381
- },
382
- 'modelval.length'() {
383
- this.put()
384
- },
385
- sumsmodel: {
386
- handler: function (val) {
387
- this.getotherfooter();
388
- },
389
- deep: true
390
- }
391
- },
392
- computed: {
393
- getCondition() {
394
- let result = {
395
- condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
396
- startDate: this.$refs.paged.$refs.cri.model.startDate,
397
- endDate: this.$refs.paged.$refs.cri.model.endDate
398
- }
399
- return result
400
- },
401
- getfield() {
402
- return exportConfig.ProceedsOperConfig
403
- },
404
- payment() {
405
- return [...this.$appdata.getParam('付款方式查询')]
406
- }
407
- }
408
- }
409
- </script>
410
- <style media="screen">
411
- .divtext {
412
- min-width: 50px;
413
- max-width: 200px;
414
- border: 1px solid green;
415
- display: inline-block;
416
- }
417
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ format="yyyy-MM-dd HH:mm:ss"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ format="yyyy-MM-dd HH:mm:ss"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
29
+ <v-select :value.sync="model.f_payment" multiple
30
+ v-model="model.f_payment"
31
+ :options='$parent.$parent.payment' placeholder='请选择'
32
+ condition="f_payment in {}"
33
+ close-on-select></v-select>
34
+ </div>
35
+ <res-select-group :initres="$parent.$parent.initres"
36
+ @re-res="$parent.$parent.getRes"
37
+ :show-component="['company','operator']"
38
+ v-ref:sel></res-select-group>
39
+ <div class="span" style="float:right;">
40
+ <button class="button_search button_spacing" @click="search()">查询</button>
41
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
42
+
43
+ <export-excel :data="$parent.$parent.getCondition"
44
+ :field="$parent.$parent.getfield"
45
+ :footer="$parent.$parent.footer"
46
+ :header="$parent.$parent.other"
47
+ sqlurl="rs/logic/exportfile"
48
+ sql-name="OpertoerCollection"
49
+ template-name='操作员日结列表'
50
+ :choose-col="true"></export-excel>
51
+ <print-data :model="$parent.model"
52
+ :field="$parent.$parent.getfield"
53
+ :sum-field="$parent.$parent.getfield"
54
+ titletable="操作员日结列表"
55
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
+ <!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
57
+ </div>
58
+ </div>
59
+
60
+ <!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
61
+
62
+ <!-- </div>-->
63
+ </div>
64
+ </criteria>
65
+
66
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
67
+ <template partial='head'>
68
+ <tr>
69
+ <th>
70
+ <nobr>日期</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>售气笔数</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>售气气量</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>售气金额</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>上期结余</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>本期结余</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>气费滞纳金</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>退费</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>冲正气量</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>冲正金额</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>冲正滞纳金</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>发卡数</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>发卡费</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>其他数</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>其他费</nobr>
113
+ </th>
114
+ <th>
115
+ <nobr>补卡数</nobr>
116
+ </th>
117
+ <th>
118
+ <nobr>补卡费</nobr>
119
+ </th>
120
+ <th>
121
+ <nobr>实收金额</nobr>
122
+ </th>
123
+ </tr>
124
+ </template>
125
+ <template partial='body'>
126
+ <td style="text-align: center;">{{row.f_operate_date}}</td>
127
+ <td style="text-align: center;">{{row.c}}</td>
128
+ <td style="text-align: center;">{{row.f_pregas}}</td>
129
+ <th style="text-align: center;">{{row.f_preamount}}</th>
130
+ <th style="text-align: center;">{{row.f_balance}}</th>
131
+ <th style="text-align: center;">{{row.f_curbalance}}</th>
132
+ <th style="text-align: center;">{{row.f_delaypay}}</th>
133
+ <th style="text-align: center;">{{row.f_returnfee}}</th>
134
+ <th style="text-align: center;">{{row.f_czpregas}}</th>
135
+ <th style="text-align: center;">{{row.f_czpreamount}}</th>
136
+ <th style="text-align: center;">{{row.f_czdelaypay}}</th>
137
+ <th style="text-align: center;">{{row.fkcardnum}}</th>
138
+ <th style="text-align: center;">{{row.f_fkcardfees}}</th>
139
+ <th style="text-align: center;">{{row.gc}}</th>
140
+ <th style="text-align: center;">{{row.f_gmoney}}</th>
141
+ <th style="text-align: center;">{{row.cardnum}}</th>
142
+ <th style="text-align: center;">{{row.f_cardfees}}</th>
143
+ <th style="text-align: center;">{{row.f_collection}}</th>
144
+ </template>
145
+ </data-grid>
146
+ </criteria-paged>
147
+ <table class="table-hover">
148
+ <tr style="position: relative" class="table-bordered">
149
+ <td
150
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
151
+ 汇总信息
152
+ </td>
153
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
154
+ 售气笔数合计:&emsp;{{sumsmodel.c}}
155
+ </td>
156
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
157
+ 售气气量合计:&emsp;{{sumsmodel.f_pregas}}
158
+ </td>
159
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
160
+ 售气金额合计:&emsp;{{sumsmodel.f_preamount}}
161
+ </td>
162
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
163
+ 气费滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
164
+ </td>
165
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
166
+ 退费合计:&emsp;{{sumsmodel.f_returnfee}}
167
+ </td>
168
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
169
+ 冲正气量合计:&emsp;{{sumsmodel.f_czpregas}}
170
+ </td>
171
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
172
+ 冲正金额合计:&emsp;{{sumsmodel.f_czpreamount}}
173
+ </td>
174
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
175
+ 冲正滞纳金合计:&emsp;{{sumsmodel.f_czdelaypay}}
176
+ </td>
177
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
178
+ 发卡数合计:&emsp;{{sumsmodel.fkcardnum}}
179
+ </td>
180
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
181
+ 发卡费合计:&emsp;{{sumsmodel.f_fkcardfees}}
182
+ </td>
183
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
184
+ 其他数合计:&emsp;{{sumsmodel.gc}}
185
+ </td>
186
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
187
+ 其他费合计:&emsp;{{sumsmodel.f_gmoney}}
188
+ </td>
189
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
190
+ 补卡数合计:&emsp;{{sumsmodel.cardnum}}
191
+ </td>
192
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
193
+ 补卡费合计:&emsp;{{sumsmodel.f_cardfees}}
194
+ </td>
195
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
196
+ 实收金额合计:&emsp;{{sumsmodel.f_collection}}
197
+ </td>
198
+ </tr>
199
+ </table>
200
+ </div>
201
+ </div>
202
+ </div>
203
+
204
+ </template>
205
+ <script>
206
+ /**
207
+ *用户档案查询列表以及添加操作组件
208
+ */
209
+ import {PagedList} from 'vue-client'
210
+ import defaultPrint from '../config/DefaultPrint'
211
+ import exportConfig from '../config/exportConfig'
212
+
213
+ let readySomething = async function (self) {
214
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
215
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
216
+ // await self.$refs.paged.$refs.cri.search()
217
+ // await self.$getConfig(self, 'SellingHand')
218
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
219
+
220
+ await self.$MagLoadParams.loadParam()
221
+
222
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
223
+ console.log('self.sumsmodel', self.sumsmodel)
224
+ }
225
+
226
+
227
+ export default {
228
+ title: '操作员日结列表',
229
+ data() {
230
+ return {
231
+ rows: null,
232
+ other: [],
233
+ footer: [],
234
+ criteriaShow: false,
235
+ model: new PagedList('rs/sql/OpertoerCollection', 50,
236
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
237
+ {
238
+ c: 0,
239
+ f_pregas: 0,
240
+ f_preamount: 0,
241
+ f_delaypay: 0,
242
+ f_returnfee: 0,
243
+ f_czpregas: 0,
244
+ f_czpreamount: 0,
245
+ f_czdelaypay: 0,
246
+ fkcardnum: 0,
247
+ f_fkcardfees: 0,
248
+ gc: 0,
249
+ f_gmoney: 0,
250
+ cardnum: 0,
251
+ f_cardfees: 0,
252
+ f_collection: 0
253
+ }),
254
+ orgCondtionStr: '',
255
+
256
+ getfield: '',
257
+ show:false,
258
+ rowdata:{},
259
+ // config: {
260
+ // defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
261
+ // },
262
+ initres: {
263
+ org:[this.$login.f.orgid],
264
+ dep:[],
265
+ user:[],
266
+ },
267
+ defaultfield: [],
268
+ sumsmodel: {}
269
+ }
270
+ },
271
+ ready() {
272
+ readySomething(this).then(() => {
273
+ this.$emit('ready')
274
+ }).catch((error) => {
275
+ this.$emit('error', error)
276
+ })
277
+ },
278
+ methods: {
279
+ getotherfooter() {
280
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
281
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
282
+ this.other = [];
283
+ this.footer = [];
284
+ // let exportdata = this.getCondition;
285
+ let otherInData = [];
286
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
287
+ let footerData = [], exportfield = this.getfield;
288
+ footerData.push("合计");
289
+ let self = this;
290
+ for (var field in self.sumsmodel) {
291
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
292
+ }
293
+ this.footer.push(footerData);
294
+ this.other.push(otherInData);
295
+ },
296
+ search(){
297
+ this.$refs.paged.$refs.cri.search()
298
+ },
299
+ selfSearch(args) {
300
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
301
+ args.condition = `${args.condition}` + this.orgCondtionStr
302
+ this.model.search(args.condition, args.model)
303
+ },
304
+ show() {
305
+ this.criteriaShow = true
306
+ },
307
+ cancel() {
308
+ this.show = false
309
+ },
310
+ showmsg(obj){
311
+ this.rowdata=obj
312
+ this.show=true
313
+ },
314
+ dealmsg(val) {
315
+ console.log('---------------dealmsg')
316
+ val.model = this.model.model
317
+ this.$dispatch('deal-msg', val)
318
+ },
319
+ hidden() {
320
+ this.criteriaShow = !this.criteriaShow
321
+ },
322
+ clear() {
323
+ //清空部门和人员
324
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
325
+ //部门和人员变为全选
326
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
327
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
328
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
329
+ this.$refs.paged.$refs.cri.model[key] = []
330
+ })
331
+ },
332
+ getRes(obj) {
333
+ this.orgCondtionStr = obj
334
+ },
335
+ stamp() {
336
+ this.all = false
337
+ //默认选择要打印的列
338
+ this.modelval = defaultPrint.config
339
+ this.fields = this.getfield
340
+ console.log('所有打印字段', this.fields)
341
+ this.printshow = true
342
+ this.put()
343
+ },
344
+ put() {
345
+ // 对Modelval进行排序
346
+ this.sortModelval()
347
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
348
+ for (let key of this.modelval) {
349
+ this.thead += '<th>' + this.fields[key] + '</th>'
350
+ }
351
+ this.thead += '</tr>'
352
+ },
353
+ print() {
354
+ this.$refs.print.PrintAsFile()
355
+ this.printshow = false
356
+ },
357
+ close() {
358
+ this.printshow = false
359
+ this.all = false
360
+ },
361
+ // 对选择的列进行排序
362
+ sortModelval() {
363
+ let sortModel = []
364
+ Object.keys(this.fields).forEach((key) => {
365
+ if (this.modelval.includes(key)) {
366
+ sortModel.push(key)
367
+ }
368
+ })
369
+ this.modelval = sortModel
370
+ console.log('选择的打印的字段', this.modelval)
371
+ }
372
+ },
373
+ watch: {
374
+ 'all'(val) {
375
+ if (val) {
376
+ this.modelval = this.bodyData
377
+ } else {
378
+ this.modelval = defaultPrint.config
379
+ this.put()
380
+ }
381
+ },
382
+ 'modelval.length'() {
383
+ this.put()
384
+ },
385
+ sumsmodel: {
386
+ handler: function (val) {
387
+ this.getotherfooter();
388
+ },
389
+ deep: true
390
+ }
391
+ },
392
+ computed: {
393
+ getCondition() {
394
+ let result = {
395
+ condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
396
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
397
+ endDate: this.$refs.paged.$refs.cri.model.endDate
398
+ }
399
+ return result
400
+ },
401
+ getfield() {
402
+ return exportConfig.ProceedsOperConfig
403
+ },
404
+ payment() {
405
+ return [...this.$appdata.getParam('付款方式查询')]
406
+ }
407
+ }
408
+ }
409
+ </script>
410
+ <style media="screen">
411
+ .divtext {
412
+ min-width: 50px;
413
+ max-width: 200px;
414
+ border: 1px solid green;
415
+ display: inline-block;
416
+ }
417
+ </style>