manage-client 3.2.65-aode → 3.2.66-aode

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/build/dev-server.js +193 -193
  2. package/build/webpack.base.conf.js +79 -79
  3. package/client.iml +14 -14
  4. package/package.json +1 -1
  5. package/src/Util.js +383 -383
  6. package/src/components/MeterManage/MeterList.vue +336 -336
  7. package/src/components/WebReport/UserGasAll.vue +214 -214
  8. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
  9. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  10. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  11. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  12. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  13. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  14. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  15. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  16. package/src/components/sale/businessquery/InspectListGas.vue +456 -456
  17. package/src/components/sale/businessquery/NewAccountQuery.vue +506 -506
  18. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  19. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  20. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  21. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  22. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  23. package/src/components/sale/filesquery/ArchivesManage.vue +3 -0
  24. package/src/components/sale/filesquery/ChangeUserQuery.vue +394 -0
  25. package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
  26. package/src/components/sale/filesquery/MeterQuery.vue +593 -593
  27. package/src/components/sale/filesquery/UserQuery.vue +556 -556
  28. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  29. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  30. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  31. package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
  32. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
  33. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
  34. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
  35. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
  36. package/src/components/sale/report/aode/DayReportList.vue +516 -516
  37. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
  38. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  39. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  40. package/src/components/sale/report/aode/YearByUserType.vue +342 -342
  41. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  42. package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
  43. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  44. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
  45. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
  46. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
  47. package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
  48. package/src/components/webmeter/ArreasuserQuery.vue +193 -193
  49. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  50. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
  51. package/src/components/webmeter/DrillData/NewUserGasAll.vue +564 -564
  52. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +507 -507
  53. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  54. package/src/components/webmeter/IOTArrears/arrears.vue +324 -324
  55. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -377
  56. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  57. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  58. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  59. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  60. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  61. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  62. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
  63. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  64. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
  65. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  66. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  67. package/src/components/webmeter/report/ReportList.vue +211 -211
  68. package/src/main.js +56 -56
  69. package/src/saleManage.js +4 -0
@@ -1,526 +1,526 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">时间类型</label>
12
- <v-select
13
- :value.sync="$parent.$parent.typeInfo" v-model="$parent.$parent.typeInfo"
14
- :options='$parent.$parent.DateType' placeholder='选择月份' close-on-select
15
- @change="$parent.$parent.ThePolesReverse()"
16
- >
17
- </v-select>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label class="font_normal_body">包含APP</label>
21
- <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
22
- :options='$parent.$parent.hasapps' placeholder='请选择'
23
- condition="{} "
24
- close-on-select></v-select>
25
- </div>
26
- </div>
27
- <div class="row">
28
- <div class="col-sm-2 form-group" v-show="$parent.$parent.oneShow">
29
- <label for="YeanMouthDate" class="font_normal_body" >统计月份</label>
30
- <datepicker placeholder="统计月份" style="width:60%"
31
- v-model="model.YeanMouthDate"
32
- :value.sync="model.YeanMouthDate"
33
- :format="'yyyy-MM'"
34
- :show-reset-button="true"
35
- :select-month="true">
36
- </datepicker>
37
- </div>
38
- <div class="col-sm-2 form-group" v-show="!$parent.$parent.oneShow">
39
- <label for="endDate" class="font_normal_body">开始时间</label>
40
- <datepicker placeholder="开始时间" style="width:60%"
41
- v-model="model.f_begin_operate_date"
42
- :value.sync="model.f_begin_operate_date"
43
- :format="'yyyy-MM-dd'"
44
- :show-reset-button="true"
45
-
46
- >
47
- </datepicker>
48
- </div>
49
- <div class="col-sm-2 form-group" v-show="!$parent.$parent.oneShow">
50
- <label for="endDate" class="font_normal_body">结束时间</label>
51
- <datepicker placeholder="结束时间" style="width:60%"
52
- v-model="model.f_end_operate_date"
53
- :value.sync="model.f_end_operate_date"
54
- :format="'yyyy-MM-dd'"
55
- :show-reset-button="true"
56
- >
57
- </datepicker>
58
- </div>
59
- <div class="span" style="float:right;margin-top:10px">
60
- <button class="button_search button_spacing" @click="search()">查询</button>
61
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
62
-
63
- <export-excel-hand :data="$parent.$parent.getCondition" class="button_export button_spacing"
64
- :other-data="$parent.$parent.other"
65
- :footer-data="$parent.$parent.footer" v-ref:exports
66
- :defaultselect="$parent.$parent.selectfields"
67
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
68
- sqlurl="rs/logic/reportExportfile" sql-name="aode_monthByChargeType" template-name='月报(缴费类型)'
69
- :choose-col="true"></export-excel-hand>
70
-
71
- <!--<print-data :model="$parent.model" :field="$parent.$parent.getfield"-->
72
- <!--:defaultfield="$parent.$parent.defaultfield" print-name="月报(缴费类型)"></print-data>-->
73
- <month-by-charge-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></month-by-charge-print>
74
-
75
- </div>
76
- </div>
77
- </div>
78
- </criteria>
79
- <data-grid :model="model" :sumsmodel="sumsmodel" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
80
- <template partial='head'>
81
- <tr>
82
- <th>
83
- <nobr>购买日期</nobr>
84
- </th>
85
- <th>
86
- <nobr>开户人次</nobr>
87
- </th>
88
- <th>
89
- <nobr>开户气量</nobr>
90
- </th>
91
- <th>
92
- <nobr>开户金额</nobr>
93
- </th>
94
- <th>
95
- <nobr>再购人次</nobr>
96
- </th>
97
- <th>
98
- <nobr>再购气量</nobr>
99
- </th>
100
- <th>
101
- <nobr>再购金额</nobr>
102
- </th>
103
- <th>
104
- <nobr>补卡人次</nobr>
105
- </th>
106
- <th>
107
- <nobr>补卡金额</nobr>
108
- </th>
109
- <th>
110
- <nobr>补气人次</nobr>
111
- </th>
112
- <th>
113
- <nobr>补气气量</nobr>
114
- </th>
115
- <th>
116
- <nobr>补气金额</nobr>
117
- </th>
118
- <th>
119
- <nobr>换表人次</nobr>
120
- </th>
121
- <th>
122
- <nobr>柜台微信</nobr>
123
- </th>
124
- <th>
125
- <nobr>财务收款</nobr>
126
- </th>
127
- <th>
128
- <nobr>现金缴费</nobr>
129
- </th>
130
- <th>
131
- <nobr>柜台支付宝</nobr>
132
- </th>
133
- <th>
134
- <nobr>P&nbsp;O&nbsp;S</nobr>
135
- </th>
136
- <th>
137
- <nobr>换表金额</nobr>
138
- </th>
139
- <th>
140
- <nobr>合计人次</nobr>
141
- </th>
142
- <th>
143
- <nobr>合计气量</nobr>
144
- </th>
145
- <th>
146
- <nobr>合计金额</nobr>
147
- </th>
148
- </tr>
149
- </template>
150
- <template partial='body'>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_operate_date}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_count_open}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{row.f_pregas_open}}</nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr>{{row.f_collection_open}}</nobr>
162
- </td>
163
- <td style="text-align: center;">
164
- <nobr>{{row.f_count_zg}}</nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr>{{row.f_pregas_zg}}</nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr>{{row.f_collection_zg}}</nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr>{{row.f_count_bk}}</nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <nobr>{{row.f_collection_bk}}</nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr>{{row.f_count_bq}}</nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr>{{row.f_pregas_bq}}</nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr>{{row.f_collection_bq}}</nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr>{{row.f_count_hb}}</nobr>
189
- </td>
190
- <td style="text-align: center;">
191
- <nobr>{{row.f_payment =='柜台微信'? row.f_collection:0}}</nobr>
192
- </td>
193
- <td style="text-align: center;">
194
- <nobr>{{row.f_payment =='财务收款'? row.f_collection:0}}</nobr>
195
- </td>
196
- <td style="text-align: center;">
197
- <nobr>{{row.f_payment =='现金缴费'? row.f_collection:0}}</nobr>
198
- </td>
199
- <td style="text-align: center;">
200
- <nobr>{{row.f_payment =='柜台支付宝'? row.f_collection:0}}</nobr>
201
- </td>
202
- <td style="text-align: center;">
203
- <nobr>{{row.f_payment =='pos'? row.f_collection:0}}</nobr>
204
- </td>
205
- <td style="text-align: center;">
206
- <nobr>{{row.f_collection_hb}}</nobr>
207
- </td>
208
- <td style="text-align: center;">
209
- <nobr>{{row.f_count}}</nobr>
210
- </td>
211
- <td style="text-align: center;">
212
- <nobr>{{row.f_pregas}}</nobr>
213
- </td>
214
- <td style="text-align: center;">
215
- <nobr>{{row.f_collection}}</nobr>
216
- </td>
217
- </template>
218
- <template partial='foot'>
219
- <td style="text-align: center;background-color: mistyrose">
220
- <nobr>合计:</nobr>
221
- </td>
222
- <td style="text-align: center;background-color: mistyrose">
223
- <nobr>{{model.sums.f_count_open}}</nobr>
224
- </td>
225
- <td style="text-align: center;background-color: mistyrose">
226
- <nobr>{{model.sums.f_pregas_open}}</nobr>
227
- </td>
228
- <td style="text-align: center;background-color: mistyrose">
229
- <nobr>{{model.sums.f_collection_open}}</nobr>
230
- </td>
231
- <td style="text-align: center;background-color: mistyrose">
232
- <nobr>{{model.sums.f_count_zg}}</nobr>
233
- </td>
234
- <td style="text-align: center;background-color: mistyrose">
235
- <nobr>{{model.sums.f_pregas_zg}}</nobr>
236
- </td>
237
- <td style="text-align: center;background-color: mistyrose">
238
- <nobr>{{model.sums.f_collection_zg}}</nobr>
239
- </td>
240
- <td style="text-align: center;background-color: mistyrose">
241
- <nobr>{{model.sums.f_count_bk}}</nobr>
242
- </td>
243
- <td style="text-align: center;background-color: mistyrose">
244
- <nobr>{{model.sums.f_collection_bk}}</nobr>
245
- </td>
246
- <td style="text-align: center;background-color: mistyrose">
247
- <nobr>{{model.sums.f_count_bq}}</nobr>
248
- </td>
249
- <td style="text-align: center;background-color: mistyrose">
250
- <nobr>{{model.sums.f_pregas_bq}}</nobr>
251
- </td>
252
- <td style="text-align: center;background-color: mistyrose">
253
- <nobr>{{model.sums.f_collection_bq}}</nobr>
254
- </td>
255
- <td style="text-align: center;background-color: mistyrose">
256
- <nobr>{{model.sums.f_count_hb}}</nobr>
257
- </td>
258
- <td style="text-align: center;background-color: mistyrose">
259
- <nobr>{{row.f_payment =='柜台微信'? row.f_collection:0}}</nobr>
260
- </td>
261
- <td style="text-align: center;background-color: mistyrose">
262
- <nobr>{{row.f_payment =='财务收款'? row.f_collection:0}}</nobr>
263
- </td>
264
- <td style="text-align: center;background-color: mistyrose">
265
- <nobr>{{row.f_payment =='现金缴费'? row.f_collection:0}}</nobr>
266
- </td>
267
- <td style="text-align: center;background-color: mistyrose">
268
- <nobr>{{row.f_payment =='柜台支付宝'? row.f_collection:0}}</nobr>
269
- </td>
270
- <td style="text-align: center;background-color: mistyrose">
271
- <nobr>{{row.f_payment =='pos'? row.f_collection:0}}</nobr>
272
- </td>
273
- <td style="text-align: center;background-color: mistyrose">
274
- <nobr>{{model.sums.f_collection_hb}}</nobr>
275
- </td>
276
- <td style="text-align: center;background-color: mistyrose">
277
- <nobr>{{model.sums.f_count}}</nobr>
278
- </td>
279
- <td style="text-align: center;background-color: mistyrose">
280
- <nobr>{{model.sums.f_pregas}}</nobr>
281
- </td>
282
- <td style="text-align: center;background-color: mistyrose">
283
- <nobr>{{model.sums.f_collection}}</nobr>
284
- </td>
285
- </template>
286
- </data-grid>
287
- </criteria-paged>
288
- </div>
289
- </div>
290
- </template>
291
-
292
- <script>
293
- import {PagedList} from 'vue-client'
294
- // import defaultPrint from '../config/DefaultPrint'
295
- import exportConfig from '../../config/exportConfig'
296
-
297
- let readySomething = async function (self) {
298
- self.$refs.paged.$refs.cri.model.f_operate_date = self.$login.toStandardYearMonth()
299
- self.$refs.paged.$refs.cri.model.f_hasapp = [`f_operator != '悦生活'`]
300
- // await self.$refs.paged.$refs.cri.search()
301
- // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
302
- }
303
-
304
- export default {
305
- title: '月报(缴费类型)',
306
- data() {
307
- return {
308
- other:[],
309
- footer:[],
310
- model: new PagedList('rs/sql/aode_monthByChargeType', 35, {YeanMouthDate: 'this.model.YeanMouthDate',f_begin_operate_date: 'this.model.f_begin_operate_date',f_end_operate_date: 'this.model.f_end_operate_date'}, {
311
- f_count_open:0,
312
- f_pregas_open:0,
313
- f_collection_open:0,
314
- f_count_zg:0,
315
- f_pregas_zg:0,
316
- f_collection_zg:0,
317
- f_count_bk:0,
318
- f_collection_bk:0,
319
- f_count_bq:0,
320
- f_pregas_bq:0,
321
- f_collection_bq:0,
322
- f_count_hb:0,
323
- f_collection_hb:0,
324
- f_count: 0,
325
- f_pregas: 0,
326
- f_collection: 0
327
- }),
328
- initres: {
329
- org:[this.$login.f.orgid],
330
- dep:[this.$login.f.depids],
331
- user:[this.$login.f.id]
332
- },
333
- oneShow: true,
334
- typeInfo: '选择月份',
335
- DateType:[{label:'选择月份',value:'选择月份'},{label:'选择区间',value:'选择区间'}],
336
- hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "f_operator != '悦生活'"},{label: '不包含POS', value: "len(f_voucher_number)<1"},{label: 'POS', value: "f_voucher_number!=''"}],
337
- criteriaShow: true,
338
- orgCondtionStr: '',
339
- sumsmodel: {},
340
- orgname: '',
341
- depname: '',
342
- sumName:[
343
- 'f_count_open','f_pregas_open','f_collection_open',
344
- 'f_count_zg', 'f_pregas_zg','f_collection_zg',
345
- 'f_count_bk', 'f_collection_bk',
346
- ' f_count_bq', 'f_pregas_bq','f_collection_bq',
347
- 'f_count_hb', 'f_collection_bk',
348
- 'f_count','f_pregas','f_collection'
349
- ],
350
- selectfields:[]
351
- }
352
- },
353
- ready() {
354
- readySomething(this).then(() => {
355
- this.$emit('ready')
356
- }).catch((error) => {
357
- this.$emit('error', error)
358
- })
359
- for(var item in exportConfig.dataReportConfig){
360
- this.selectfields.push(item)
361
- }
362
- },
363
- methods: {
364
- getotherfooter(){
365
- this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
366
- this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
367
- this.other=[];
368
- this.footer=[];
369
- let exportdata = this.getCondition;
370
- let otherInData=[];
371
-
372
- otherInData.push(`导出时间: ${this.$login.toStandardDateString()}`);
373
- otherInData.push(`导出人:${this.$login.f.name}`)
374
- let footerData=[],exportfield=this.getfield;
375
- footerData.push("合计");
376
- let self = this;
377
- for(var field in self.sumsmodel){
378
- footerData.push(`${self.sumsmodel[field]}`);
379
- }
380
- this.footer.push(footerData);
381
- this.other.push(otherInData);
382
- },
383
- async selfSearch(args) {
384
- let f_orgstr = this.orgCondtionStr
385
- if (!this.orgCondtionStr) {
386
- f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
387
- }
388
- args.condition = `${args.condition} ` + f_orgstr
389
- await this.model.search(args.condition, args.model)
390
-
391
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
392
- console.log('计算合计。', this.sumsmodel)
393
- if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
394
- for (let key in this.sumsmodel) {
395
- this.sumsmodel[key] = 0
396
- }
397
- }
398
- this.$dispatch('getdata', this.sumsmodel)
399
- },
400
- ThePolesReverse(){
401
- if(this.typeInfo[0] === '选择月份'){
402
- this.$refs.paged.$refs.cri.model.f_begin_operate_date =''
403
- this.$refs.paged.$refs.cri.model.f_end_operate_date =''
404
- this.$refs.paged.$refs.cri.model.YeanMouthDate = this.$login.toStandardYearMonth()
405
- this.oneShow =true
406
- }else{
407
- this.$refs.paged.$refs.cri.model.YeanMouthDate =''
408
- this.$refs.paged.$refs.cri.model.f_begin_operate_date = this.$login.toStandardDateString()
409
- this.$refs.paged.$refs.cri.model.f_end_operate_date = this.$login.toStandardDateString()
410
- this.oneShow =false
411
- }
412
- },
413
- clear() {
414
- //清空部门和人员
415
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
416
- //部门和人员变为全选
417
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
418
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
419
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
420
- this.$refs.paged.$refs.cri.model[key] = ''
421
- })
422
- },
423
- show() {
424
- this.criteriaShow = true
425
- },
426
- hidden() {
427
- this.criteriaShow = false
428
- },
429
- getRes(condition,obj) {
430
- this.orgCondtionStr = condition
431
- this.orgname = obj.orgnames[0]
432
- this.depname = obj.depnames[0]
433
- },
434
- stamp() {
435
- this.all = false
436
- //默认选择要打印的列
437
- this.modelval = defaultPrint.config
438
- this.fields = this.getfield
439
- console.log('所有打印字段', this.fields)
440
- this.printshow = true
441
- this.put()
442
- },
443
- put() {
444
- // 对Modelval进行排序
445
- console.log("put======================================================================")
446
- this.sortModelval()
447
- this.thead = `<tr><th colspan=${this.modelval.length}>客户查询统计报表</th></tr><tr>`
448
- for (let key of this.modelval) {
449
- this.thead += '<th>' + this.fields[key] + '</th>'
450
- }
451
- this.thead += '</tr>'
452
- },
453
- print() {
454
- this.$refs.print.PrintAsFile()
455
- this.printshow = false
456
- },
457
- close() {
458
- this.printshow = false
459
- },
460
- // 对选择的列进行排序
461
- sortModelval() {
462
- let sortModel = []
463
- Object.keys(this.fields).forEach((key) => {
464
- if (this.modelval.includes(key)) {
465
- sortModel.push(key)
466
- }
467
- })
468
- this.modelval = sortModel
469
- console.log('选择的打印的字段', this.modelval)
470
- }
471
- },
472
- watch: {
473
- 'all'(val) {
474
- if (val) {
475
- this.modelval = this.bodyData
476
- } else {
477
- this.modelval = defaultPrint.config
478
- this.put()
479
- }
480
- },
481
- 'modelval.length'() {
482
- this.put()
483
- },
484
- sumsmodel:{
485
- handler: function(val) {
486
- this.getotherfooter();
487
- },
488
- deep: true
489
- }
490
- },
491
- computed: {
492
- getCondition() {
493
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,f_operate_date:`${this.$refs.paged.$refs.cri.model.f_operate_date}`
494
- ,f_begin_operate_date:`${this.$refs.paged.$refs.cri.model.f_begin_operate_date}` ,f_end_operate_date:`${this.$refs.paged.$refs.cri.model.f_end_operate_date}`,
495
- YeanMouthDate:`${this.$refs.paged.$refs.cri.model.YeanMouthDate}`}
496
- },
497
- getfield() {
498
- return exportConfig.monthByChargeConfig
499
- },
500
- userstates() {
501
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
502
- },
503
- sliceArea() {
504
- let rs = new Array()
505
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
506
- let temp = {
507
- label: this.$login.f.f_allArea[i].label,
508
- value: this.$login.f.f_allArea[i].label
509
- }
510
- rs.push(temp)
511
- }
512
- return [{label: '全部', value: ''}, ...rs]
513
- }
514
- }
515
- }
516
- </script>
517
-
518
- <style>
519
- .datapanel {
520
- color: #333;
521
- background-color: white;
522
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
523
- padding: 10px 10px 5px 10px;
524
- border-radius: 10px;
525
- }
526
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">时间类型</label>
12
+ <v-select
13
+ :value.sync="$parent.$parent.typeInfo" v-model="$parent.$parent.typeInfo"
14
+ :options='$parent.$parent.DateType' placeholder='选择月份' close-on-select
15
+ @change="$parent.$parent.ThePolesReverse()"
16
+ >
17
+ </v-select>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">包含APP</label>
21
+ <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
22
+ :options='$parent.$parent.hasapps' placeholder='请选择'
23
+ condition="{} "
24
+ close-on-select></v-select>
25
+ </div>
26
+ </div>
27
+ <div class="row">
28
+ <div class="col-sm-2 form-group" v-show="$parent.$parent.oneShow">
29
+ <label for="YeanMouthDate" class="font_normal_body" >统计月份</label>
30
+ <datepicker placeholder="统计月份" style="width:60%"
31
+ v-model="model.YeanMouthDate"
32
+ :value.sync="model.YeanMouthDate"
33
+ :format="'yyyy-MM'"
34
+ :show-reset-button="true"
35
+ :select-month="true">
36
+ </datepicker>
37
+ </div>
38
+ <div class="col-sm-2 form-group" v-show="!$parent.$parent.oneShow">
39
+ <label for="endDate" class="font_normal_body">开始时间</label>
40
+ <datepicker placeholder="开始时间" style="width:60%"
41
+ v-model="model.f_begin_operate_date"
42
+ :value.sync="model.f_begin_operate_date"
43
+ :format="'yyyy-MM-dd'"
44
+ :show-reset-button="true"
45
+
46
+ >
47
+ </datepicker>
48
+ </div>
49
+ <div class="col-sm-2 form-group" v-show="!$parent.$parent.oneShow">
50
+ <label for="endDate" class="font_normal_body">结束时间</label>
51
+ <datepicker placeholder="结束时间" style="width:60%"
52
+ v-model="model.f_end_operate_date"
53
+ :value.sync="model.f_end_operate_date"
54
+ :format="'yyyy-MM-dd'"
55
+ :show-reset-button="true"
56
+ >
57
+ </datepicker>
58
+ </div>
59
+ <div class="span" style="float:right;margin-top:10px">
60
+ <button class="button_search button_spacing" @click="search()">查询</button>
61
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
62
+
63
+ <export-excel-hand :data="$parent.$parent.getCondition" class="button_export button_spacing"
64
+ :other-data="$parent.$parent.other"
65
+ :footer-data="$parent.$parent.footer" v-ref:exports
66
+ :defaultselect="$parent.$parent.selectfields"
67
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
68
+ sqlurl="rs/logic/reportExportfile" sql-name="aode_monthByChargeType" template-name='月报(缴费类型)'
69
+ :choose-col="true"></export-excel-hand>
70
+
71
+ <!--<print-data :model="$parent.model" :field="$parent.$parent.getfield"-->
72
+ <!--:defaultfield="$parent.$parent.defaultfield" print-name="月报(缴费类型)"></print-data>-->
73
+ <month-by-charge-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></month-by-charge-print>
74
+
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </criteria>
79
+ <data-grid :model="model" :sumsmodel="sumsmodel" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
80
+ <template partial='head'>
81
+ <tr>
82
+ <th>
83
+ <nobr>购买日期</nobr>
84
+ </th>
85
+ <th>
86
+ <nobr>开户人次</nobr>
87
+ </th>
88
+ <th>
89
+ <nobr>开户气量</nobr>
90
+ </th>
91
+ <th>
92
+ <nobr>开户金额</nobr>
93
+ </th>
94
+ <th>
95
+ <nobr>再购人次</nobr>
96
+ </th>
97
+ <th>
98
+ <nobr>再购气量</nobr>
99
+ </th>
100
+ <th>
101
+ <nobr>再购金额</nobr>
102
+ </th>
103
+ <th>
104
+ <nobr>补卡人次</nobr>
105
+ </th>
106
+ <th>
107
+ <nobr>补卡金额</nobr>
108
+ </th>
109
+ <th>
110
+ <nobr>补气人次</nobr>
111
+ </th>
112
+ <th>
113
+ <nobr>补气气量</nobr>
114
+ </th>
115
+ <th>
116
+ <nobr>补气金额</nobr>
117
+ </th>
118
+ <th>
119
+ <nobr>换表人次</nobr>
120
+ </th>
121
+ <th>
122
+ <nobr>柜台微信</nobr>
123
+ </th>
124
+ <th>
125
+ <nobr>财务收款</nobr>
126
+ </th>
127
+ <th>
128
+ <nobr>现金缴费</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>柜台支付宝</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>P&nbsp;O&nbsp;S</nobr>
135
+ </th>
136
+ <th>
137
+ <nobr>换表金额</nobr>
138
+ </th>
139
+ <th>
140
+ <nobr>合计人次</nobr>
141
+ </th>
142
+ <th>
143
+ <nobr>合计气量</nobr>
144
+ </th>
145
+ <th>
146
+ <nobr>合计金额</nobr>
147
+ </th>
148
+ </tr>
149
+ </template>
150
+ <template partial='body'>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_operate_date}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_count_open}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_pregas_open}}</nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr>{{row.f_collection_open}}</nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr>{{row.f_count_zg}}</nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_pregas_zg}}</nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr>{{row.f_collection_zg}}</nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_count_bk}}</nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr>{{row.f_collection_bk}}</nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr>{{row.f_count_bq}}</nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr>{{row.f_pregas_bq}}</nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.f_collection_bq}}</nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr>{{row.f_count_hb}}</nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr>{{row.f_payment =='柜台微信'? row.f_collection:0}}</nobr>
192
+ </td>
193
+ <td style="text-align: center;">
194
+ <nobr>{{row.f_payment =='财务收款'? row.f_collection:0}}</nobr>
195
+ </td>
196
+ <td style="text-align: center;">
197
+ <nobr>{{row.f_payment =='现金缴费'? row.f_collection:0}}</nobr>
198
+ </td>
199
+ <td style="text-align: center;">
200
+ <nobr>{{row.f_payment =='柜台支付宝'? row.f_collection:0}}</nobr>
201
+ </td>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.f_payment =='pos'? row.f_collection:0}}</nobr>
204
+ </td>
205
+ <td style="text-align: center;">
206
+ <nobr>{{row.f_collection_hb}}</nobr>
207
+ </td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_count}}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{row.f_pregas}}</nobr>
213
+ </td>
214
+ <td style="text-align: center;">
215
+ <nobr>{{row.f_collection}}</nobr>
216
+ </td>
217
+ </template>
218
+ <template partial='foot'>
219
+ <td style="text-align: center;background-color: mistyrose">
220
+ <nobr>合计:</nobr>
221
+ </td>
222
+ <td style="text-align: center;background-color: mistyrose">
223
+ <nobr>{{model.sums.f_count_open}}</nobr>
224
+ </td>
225
+ <td style="text-align: center;background-color: mistyrose">
226
+ <nobr>{{model.sums.f_pregas_open}}</nobr>
227
+ </td>
228
+ <td style="text-align: center;background-color: mistyrose">
229
+ <nobr>{{model.sums.f_collection_open}}</nobr>
230
+ </td>
231
+ <td style="text-align: center;background-color: mistyrose">
232
+ <nobr>{{model.sums.f_count_zg}}</nobr>
233
+ </td>
234
+ <td style="text-align: center;background-color: mistyrose">
235
+ <nobr>{{model.sums.f_pregas_zg}}</nobr>
236
+ </td>
237
+ <td style="text-align: center;background-color: mistyrose">
238
+ <nobr>{{model.sums.f_collection_zg}}</nobr>
239
+ </td>
240
+ <td style="text-align: center;background-color: mistyrose">
241
+ <nobr>{{model.sums.f_count_bk}}</nobr>
242
+ </td>
243
+ <td style="text-align: center;background-color: mistyrose">
244
+ <nobr>{{model.sums.f_collection_bk}}</nobr>
245
+ </td>
246
+ <td style="text-align: center;background-color: mistyrose">
247
+ <nobr>{{model.sums.f_count_bq}}</nobr>
248
+ </td>
249
+ <td style="text-align: center;background-color: mistyrose">
250
+ <nobr>{{model.sums.f_pregas_bq}}</nobr>
251
+ </td>
252
+ <td style="text-align: center;background-color: mistyrose">
253
+ <nobr>{{model.sums.f_collection_bq}}</nobr>
254
+ </td>
255
+ <td style="text-align: center;background-color: mistyrose">
256
+ <nobr>{{model.sums.f_count_hb}}</nobr>
257
+ </td>
258
+ <td style="text-align: center;background-color: mistyrose">
259
+ <nobr>{{row.f_payment =='柜台微信'? row.f_collection:0}}</nobr>
260
+ </td>
261
+ <td style="text-align: center;background-color: mistyrose">
262
+ <nobr>{{row.f_payment =='财务收款'? row.f_collection:0}}</nobr>
263
+ </td>
264
+ <td style="text-align: center;background-color: mistyrose">
265
+ <nobr>{{row.f_payment =='现金缴费'? row.f_collection:0}}</nobr>
266
+ </td>
267
+ <td style="text-align: center;background-color: mistyrose">
268
+ <nobr>{{row.f_payment =='柜台支付宝'? row.f_collection:0}}</nobr>
269
+ </td>
270
+ <td style="text-align: center;background-color: mistyrose">
271
+ <nobr>{{row.f_payment =='pos'? row.f_collection:0}}</nobr>
272
+ </td>
273
+ <td style="text-align: center;background-color: mistyrose">
274
+ <nobr>{{model.sums.f_collection_hb}}</nobr>
275
+ </td>
276
+ <td style="text-align: center;background-color: mistyrose">
277
+ <nobr>{{model.sums.f_count}}</nobr>
278
+ </td>
279
+ <td style="text-align: center;background-color: mistyrose">
280
+ <nobr>{{model.sums.f_pregas}}</nobr>
281
+ </td>
282
+ <td style="text-align: center;background-color: mistyrose">
283
+ <nobr>{{model.sums.f_collection}}</nobr>
284
+ </td>
285
+ </template>
286
+ </data-grid>
287
+ </criteria-paged>
288
+ </div>
289
+ </div>
290
+ </template>
291
+
292
+ <script>
293
+ import {PagedList} from 'vue-client'
294
+ // import defaultPrint from '../config/DefaultPrint'
295
+ import exportConfig from '../../config/exportConfig'
296
+
297
+ let readySomething = async function (self) {
298
+ self.$refs.paged.$refs.cri.model.f_operate_date = self.$login.toStandardYearMonth()
299
+ self.$refs.paged.$refs.cri.model.f_hasapp = [`f_operator != '悦生活'`]
300
+ // await self.$refs.paged.$refs.cri.search()
301
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
302
+ }
303
+
304
+ export default {
305
+ title: '月报(缴费类型)',
306
+ data() {
307
+ return {
308
+ other:[],
309
+ footer:[],
310
+ model: new PagedList('rs/sql/aode_monthByChargeType', 35, {YeanMouthDate: 'this.model.YeanMouthDate',f_begin_operate_date: 'this.model.f_begin_operate_date',f_end_operate_date: 'this.model.f_end_operate_date'}, {
311
+ f_count_open:0,
312
+ f_pregas_open:0,
313
+ f_collection_open:0,
314
+ f_count_zg:0,
315
+ f_pregas_zg:0,
316
+ f_collection_zg:0,
317
+ f_count_bk:0,
318
+ f_collection_bk:0,
319
+ f_count_bq:0,
320
+ f_pregas_bq:0,
321
+ f_collection_bq:0,
322
+ f_count_hb:0,
323
+ f_collection_hb:0,
324
+ f_count: 0,
325
+ f_pregas: 0,
326
+ f_collection: 0
327
+ }),
328
+ initres: {
329
+ org:[this.$login.f.orgid],
330
+ dep:[this.$login.f.depids],
331
+ user:[this.$login.f.id]
332
+ },
333
+ oneShow: true,
334
+ typeInfo: '选择月份',
335
+ DateType:[{label:'选择月份',value:'选择月份'},{label:'选择区间',value:'选择区间'}],
336
+ hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "f_operator != '悦生活'"},{label: '不包含POS', value: "len(f_voucher_number)<1"},{label: 'POS', value: "f_voucher_number!=''"}],
337
+ criteriaShow: true,
338
+ orgCondtionStr: '',
339
+ sumsmodel: {},
340
+ orgname: '',
341
+ depname: '',
342
+ sumName:[
343
+ 'f_count_open','f_pregas_open','f_collection_open',
344
+ 'f_count_zg', 'f_pregas_zg','f_collection_zg',
345
+ 'f_count_bk', 'f_collection_bk',
346
+ ' f_count_bq', 'f_pregas_bq','f_collection_bq',
347
+ 'f_count_hb', 'f_collection_bk',
348
+ 'f_count','f_pregas','f_collection'
349
+ ],
350
+ selectfields:[]
351
+ }
352
+ },
353
+ ready() {
354
+ readySomething(this).then(() => {
355
+ this.$emit('ready')
356
+ }).catch((error) => {
357
+ this.$emit('error', error)
358
+ })
359
+ for(var item in exportConfig.dataReportConfig){
360
+ this.selectfields.push(item)
361
+ }
362
+ },
363
+ methods: {
364
+ getotherfooter(){
365
+ this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
366
+ this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
367
+ this.other=[];
368
+ this.footer=[];
369
+ let exportdata = this.getCondition;
370
+ let otherInData=[];
371
+
372
+ otherInData.push(`导出时间: ${this.$login.toStandardDateString()}`);
373
+ otherInData.push(`导出人:${this.$login.f.name}`)
374
+ let footerData=[],exportfield=this.getfield;
375
+ footerData.push("合计");
376
+ let self = this;
377
+ for(var field in self.sumsmodel){
378
+ footerData.push(`${self.sumsmodel[field]}`);
379
+ }
380
+ this.footer.push(footerData);
381
+ this.other.push(otherInData);
382
+ },
383
+ async selfSearch(args) {
384
+ let f_orgstr = this.orgCondtionStr
385
+ if (!this.orgCondtionStr) {
386
+ f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
387
+ }
388
+ args.condition = `${args.condition} ` + f_orgstr
389
+ await this.model.search(args.condition, args.model)
390
+
391
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
392
+ console.log('计算合计。', this.sumsmodel)
393
+ if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
394
+ for (let key in this.sumsmodel) {
395
+ this.sumsmodel[key] = 0
396
+ }
397
+ }
398
+ this.$dispatch('getdata', this.sumsmodel)
399
+ },
400
+ ThePolesReverse(){
401
+ if(this.typeInfo[0] === '选择月份'){
402
+ this.$refs.paged.$refs.cri.model.f_begin_operate_date =''
403
+ this.$refs.paged.$refs.cri.model.f_end_operate_date =''
404
+ this.$refs.paged.$refs.cri.model.YeanMouthDate = this.$login.toStandardYearMonth()
405
+ this.oneShow =true
406
+ }else{
407
+ this.$refs.paged.$refs.cri.model.YeanMouthDate =''
408
+ this.$refs.paged.$refs.cri.model.f_begin_operate_date = this.$login.toStandardDateString()
409
+ this.$refs.paged.$refs.cri.model.f_end_operate_date = this.$login.toStandardDateString()
410
+ this.oneShow =false
411
+ }
412
+ },
413
+ clear() {
414
+ //清空部门和人员
415
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
416
+ //部门和人员变为全选
417
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
418
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
419
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
420
+ this.$refs.paged.$refs.cri.model[key] = ''
421
+ })
422
+ },
423
+ show() {
424
+ this.criteriaShow = true
425
+ },
426
+ hidden() {
427
+ this.criteriaShow = false
428
+ },
429
+ getRes(condition,obj) {
430
+ this.orgCondtionStr = condition
431
+ this.orgname = obj.orgnames[0]
432
+ this.depname = obj.depnames[0]
433
+ },
434
+ stamp() {
435
+ this.all = false
436
+ //默认选择要打印的列
437
+ this.modelval = defaultPrint.config
438
+ this.fields = this.getfield
439
+ console.log('所有打印字段', this.fields)
440
+ this.printshow = true
441
+ this.put()
442
+ },
443
+ put() {
444
+ // 对Modelval进行排序
445
+ console.log("put======================================================================")
446
+ this.sortModelval()
447
+ this.thead = `<tr><th colspan=${this.modelval.length}>客户查询统计报表</th></tr><tr>`
448
+ for (let key of this.modelval) {
449
+ this.thead += '<th>' + this.fields[key] + '</th>'
450
+ }
451
+ this.thead += '</tr>'
452
+ },
453
+ print() {
454
+ this.$refs.print.PrintAsFile()
455
+ this.printshow = false
456
+ },
457
+ close() {
458
+ this.printshow = false
459
+ },
460
+ // 对选择的列进行排序
461
+ sortModelval() {
462
+ let sortModel = []
463
+ Object.keys(this.fields).forEach((key) => {
464
+ if (this.modelval.includes(key)) {
465
+ sortModel.push(key)
466
+ }
467
+ })
468
+ this.modelval = sortModel
469
+ console.log('选择的打印的字段', this.modelval)
470
+ }
471
+ },
472
+ watch: {
473
+ 'all'(val) {
474
+ if (val) {
475
+ this.modelval = this.bodyData
476
+ } else {
477
+ this.modelval = defaultPrint.config
478
+ this.put()
479
+ }
480
+ },
481
+ 'modelval.length'() {
482
+ this.put()
483
+ },
484
+ sumsmodel:{
485
+ handler: function(val) {
486
+ this.getotherfooter();
487
+ },
488
+ deep: true
489
+ }
490
+ },
491
+ computed: {
492
+ getCondition() {
493
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,f_operate_date:`${this.$refs.paged.$refs.cri.model.f_operate_date}`
494
+ ,f_begin_operate_date:`${this.$refs.paged.$refs.cri.model.f_begin_operate_date}` ,f_end_operate_date:`${this.$refs.paged.$refs.cri.model.f_end_operate_date}`,
495
+ YeanMouthDate:`${this.$refs.paged.$refs.cri.model.YeanMouthDate}`}
496
+ },
497
+ getfield() {
498
+ return exportConfig.monthByChargeConfig
499
+ },
500
+ userstates() {
501
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
502
+ },
503
+ sliceArea() {
504
+ let rs = new Array()
505
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
506
+ let temp = {
507
+ label: this.$login.f.f_allArea[i].label,
508
+ value: this.$login.f.f_allArea[i].label
509
+ }
510
+ rs.push(temp)
511
+ }
512
+ return [{label: '全部', value: ''}, ...rs]
513
+ }
514
+ }
515
+ }
516
+ </script>
517
+
518
+ <style>
519
+ .datapanel {
520
+ color: #333;
521
+ background-color: white;
522
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
523
+ padding: 10px 10px 5px 10px;
524
+ border-radius: 10px;
525
+ }
526
+ </style>