manage-client 3.3.57 → 3.3.59

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 (44) hide show
  1. package/build/dev-server.js +21 -34
  2. package/package.json +1 -1
  3. package/src/components/webmeter/instruction/NewQueryInstruct.vue +61 -7
  4. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -6
  5. package/src/filiale/WEINAN/CancellationQuery.vue +74 -0
  6. package/src/filiale/WEINAN/ChargeQuery.vue +58 -1
  7. package/src/filiale/WEINAN/DeviceQuery.vue +63 -0
  8. package/src/filiale/WEINAN/DisableQuery.vue +74 -0
  9. package/src/filiale/WEINAN/EnableQuery.vue +74 -0
  10. package/src/filiale/WEINAN/FillGasQuery.vue +74 -0
  11. package/src/filiale/WEINAN/InspectListUser.vue +35 -0
  12. package/src/filiale/WEINAN/MergeFileQuery.vue +77 -1
  13. package/src/filiale/WEINAN/MeterQuery.vue +58 -0
  14. package/src/filiale/WEINAN/NewAccountQuery.vue +58 -0
  15. package/src/filiale/WEINAN/OtherChargeQuery.vue +58 -0
  16. package/src/filiale/WEINAN/RecordInfoQuery.vue +58 -0
  17. package/src/filiale/WEINAN/UserGasAll.vue +63 -0
  18. package/src/filiale/WEINAN/UserGasList.vue +59 -0
  19. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +63 -0
  20. package/src/filiale/WEINAN/UserQuery.vue +63 -0
  21. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +643 -0
  22. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +1428 -0
  23. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +477 -0
  24. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +512 -0
  25. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +553 -0
  26. package/src/filiale/WEINAN/businessquery/UserInsured.vue +483 -0
  27. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +535 -0
  28. package/src/filiale/WEINAN/config/exportConfig.js +41 -38
  29. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +468 -0
  30. package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +911 -0
  31. package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +1021 -0
  32. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +468 -0
  33. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +505 -0
  34. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +63 -0
  35. package/src/filiale/WEINAN/sale.js +23 -2
  36. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +692 -0
  37. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +564 -0
  38. package/src/filiale/WEINAN/webmeter/ReportList.vue +483 -0
  39. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +665 -0
  40. package/src/filiale/WEINAN/webmeter/UserInstructEchartsList.vue +242 -0
  41. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +390 -0
  42. package/src/filiale/WEINAN/webmeterManage.js +13 -0
  43. package/src/filiale/lixianV3/BusinessManage.vue +3 -0
  44. package/src/filiale/shanxian/UserLostContactAnalysis.vue +35 -3
@@ -0,0 +1,512 @@
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
+
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_operate_date >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_operate_date <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
38
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
39
+ </div>
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
46
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
47
+ sqlurl="rs/logic/exportfile" sql-name="reverseQuery" template-name='冲正查询导出'
48
+ :choose-col="true"></export-excel>
49
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
50
+
51
+ titletable="冲正记录" :defaultfield="$parent.$parent.defaultfield"
52
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
+ <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>
54
+ </div>
55
+ </div>
56
+
57
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
+ <res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">客户名称</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
62
+ condition="f_user_name = '{}'" placeholder="客户名称">
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户地址</label>
66
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
67
+ condition="f_address like '%{}%'" placeholder='客户地址'>
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">冲正类型</label>
71
+ <v-select :value.sync="model.f_type"
72
+ v-model="model.f_type"
73
+ :options='$parent.$parent.correctTypes' placeholder='请选择'
74
+ condition="f_type = '{}'"
75
+ close-on-select></v-select>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">客户类型</label>
79
+ <v-select :value.sync="model.f_user_type"
80
+ @change="$parent.$parent.userTypeChange()"
81
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
82
+ condition="f_user_type = '{}'"
83
+ close-on-select></v-select>
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
87
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
88
+ condition="f_meternumber = '{}'" placeholder='表号'>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
92
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
93
+ condition="f_card_id = '{}'" placeholder='卡号'>
94
+ </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
97
+ <v-select :value.sync="model.f_user_usetype" :search="false"
98
+ @change="$parent.$parent.userUseTypeChange()"
99
+ v-model="model.f_user_usetype"
100
+ :options='$parent.$parent.userusetypes'
101
+ condition="f_user_usetype = '{}'"
102
+ placeholder='用气类型'
103
+ value-single="true"
104
+ close-on-select>
105
+ </v-select>
106
+ </div>
107
+ <div class="col-sm-2 form-group">
108
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
109
+ <v-select :value.sync="model.f_use_institution" :search="false"
110
+ @change="$parent.$parent.userUseInstitutionChange()"
111
+ v-model="model.f_use_institution"
112
+ :options='$parent.$parent.useinstitutions'
113
+ condition="f_use_institution = '{}'"
114
+ placeholder='用气机构'
115
+ value-single="true"
116
+ close-on-select>
117
+ </v-select>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
121
+ <v-select :value.sync="model.f_user_usenature" :search="false"
122
+ v-model="model.f_user_usenature"
123
+ :options='$parent.$parent.userusenatures'
124
+ condition="f_user_usenature = '{}'"
125
+ placeholder='使用性质'
126
+ value-single="true"
127
+ close-on-select>
128
+ </v-select>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </criteria>
133
+
134
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
135
+ <template partial='head'>
136
+ <tr>
137
+ <th>
138
+ <!-- <nobr>客户编号</nobr>-->
139
+ <data-order field="f_userinfo_code" name="客户编号"
140
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
141
+ </th>
142
+ <th>
143
+ <nobr>客户名称</nobr>
144
+ </th>
145
+ <th>
146
+ <nobr>档案编号</nobr>
147
+ </th>
148
+ <th>
149
+ <!-- <nobr>客户地址</nobr>-->
150
+ <data-order field="f_address" name="客户地址"
151
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
152
+ </th>
153
+ <th>
154
+ <nobr>表号</nobr>
155
+ </th>
156
+ <th>
157
+ <nobr>冲正类型</nobr>
158
+ </th>
159
+ <th>
160
+ <nobr>冲正气量</nobr>
161
+ </th>
162
+ <th>
163
+ <nobr>冲正金额</nobr>
164
+ </th>
165
+ <th>
166
+ <nobr>冲正收款</nobr>
167
+ </th>
168
+ <th>
169
+ <!-- <nobr>冲正日期</nobr>-->
170
+ <data-order field="f_operate_date" name="冲正日期"
171
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
172
+ </th>
173
+ <th>
174
+ <nobr>人员</nobr>
175
+ </th>
176
+ <th>
177
+ <nobr>部门</nobr>
178
+ </th>
179
+ <th>
180
+ <nobr>公司</nobr>
181
+ </th>
182
+ <th><nobr>附件</nobr></th>
183
+ </tr>
184
+ </template>
185
+ <template partial='body'>
186
+ <td style="text-align: center;">
187
+ <nobr>
188
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr>{{row.f_user_name}}</nobr>
192
+ </td>
193
+ <td style="text-align: center;">
194
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
195
+ </td>
196
+ <td style="text-align: center;">
197
+ <nobr>{{row.f_address}}</nobr>
198
+ </td>
199
+ <td style="text-align: center;">
200
+ <nobr>{{row.f_meternumber}}</nobr>
201
+ </td>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.f_type}}</nobr>
204
+ </td>
205
+ <td style="text-align: center;">
206
+ <nobr>{{row.f_pregas}}</nobr>
207
+ </td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_preamount}}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{row.f_collection}}</nobr>
213
+ </td>
214
+ <td style="text-align: center;">
215
+ <nobr>{{row.f_operate_date}}</nobr>
216
+ </td>
217
+ <td style="text-align: center;">
218
+ <nobr>{{row.f_operator}}</nobr>
219
+ </td>
220
+ <td style="text-align: center;">
221
+ <nobr>{{row.f_depname}}</nobr>
222
+ </td>
223
+ <td style="text-align: center;">
224
+ <nobr>{{row.f_orgname}}</nobr>
225
+ </td>
226
+ <td style="text-align: center;"><nobr>
227
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
228
+ </nobr></td>
229
+ </template>
230
+ <template partial='foot'></template>
231
+ </data-grid>
232
+
233
+ </criteria-paged>
234
+
235
+ <table class="table-hover">
236
+ <tr style="position: relative" class="table-bordered">
237
+ <td
238
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
239
+ 汇总信息
240
+ </td>
241
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
242
+ 冲正气量合计:&emsp;{{sumsmodel.f_pregas}}
243
+ </td>
244
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
245
+ 冲正金额合计:&emsp;{{sumsmodel.f_preamount}}
246
+ </td>
247
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
248
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
249
+ </td>
250
+ </tr>
251
+ </table>
252
+
253
+ </div>
254
+ <div class="flex" v-if="show">
255
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
256
+ </div>
257
+ </div>
258
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
259
+ <article slot="modal-body">
260
+ <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="冲正" :isremark="false" style="width:auto" ></upload>
261
+ </article>
262
+ <footer slot="modal-footer" class="modal-footer">
263
+ </footer>
264
+ </modal>
265
+ </div>
266
+ </template>
267
+
268
+ <script>
269
+ import {PagedList} from 'vue-client'
270
+ import defaultPrint from './../config/DefaultPrint'
271
+ import exportConfig from './../config/exportConfig'
272
+
273
+ let readySomething = async function (self) {
274
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
275
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
276
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
277
+ // await self.$refs.paged.$refs.cri.search()
278
+ await self.$MagLoadParams.loadParam(self.$login.f)
279
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
280
+ }
281
+ export default {
282
+ props:['data'],
283
+ title: '冲正查询',
284
+ data() {
285
+ return {
286
+ data: {},
287
+ other:[],
288
+ footer:[],
289
+ model: new PagedList('rs/sql/reverseQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_pregas: 0, f_preamount: 0, f_collection: 0}),
290
+ criteriaShow: false,
291
+ orgCondtionStr: '',
292
+ initres: {
293
+ org:[this.$login.f.orgid],
294
+ dep:[],
295
+ user:[],
296
+ },
297
+ //排序
298
+ orderitem:'f_operate_date desc',
299
+ orderFields: {
300
+ f_operate_date: 'no'
301
+ },
302
+ show:false,
303
+ rowdata:{},
304
+ modelval: [],
305
+ printshow: false,
306
+ all: false,
307
+ fields: {},
308
+ thead: '',
309
+ //默认打印列
310
+ defaultfield: [],
311
+ config: {
312
+ defaultPrint: ['f_userinfo_code','f_user_name', 'f_address']
313
+ },
314
+ showupload:false,
315
+ selected:{},
316
+ tfoot: '',
317
+ userusetypes: [],
318
+ useinstitutions: [],
319
+ userusenatures: [],
320
+ //合计数据
321
+ sumsmodel: {}
322
+ }
323
+ },
324
+ ready() {
325
+ readySomething(this).then(() => {
326
+ this.$emit('ready')
327
+ }).catch((error) => {
328
+ this.$emit('error', error)
329
+ })
330
+ },
331
+ methods: {userUseInstitutionChange () {
332
+ this.userusenatures = []
333
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
334
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
335
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
336
+ this.userusenatures = this.$appdata.getParam(str)
337
+ }
338
+ },
339
+ userUseTypeChange () {
340
+ this.useinstitutions = []
341
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
342
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
343
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
344
+ this.useinstitutions = this.$appdata.getParam(str)
345
+ }
346
+ },
347
+ userTypeChange () {
348
+ this.userusetypes = []
349
+ if(this.$refs.paged.$refs.cri.model !==null) {
350
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
351
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
352
+ this.userusetypes = this.$appdata.getParam(str)
353
+ }
354
+ },
355
+ view(row){
356
+ this.showupload = true
357
+ this.selected= row
358
+ },
359
+ getotherfooter(){
360
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
361
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
362
+ this.other=[];
363
+ this.footer=[];
364
+ let exportdata = this.getCondition;
365
+ let otherInData=[];
366
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
367
+ let footerData=[],exportfield=this.getfield;
368
+ footerData.push("合计");
369
+ let self = this;
370
+ for(var field in self.sumsmodel){
371
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
372
+ }
373
+ this.footer.push(footerData);
374
+ this.other.push(otherInData);
375
+ },
376
+ search(){
377
+ this.$refs.paged.$refs.cri.search()
378
+ },
379
+ cancel() {
380
+ this.show = false
381
+ },
382
+ selfSearch(args) {
383
+ if (this.data) {
384
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
385
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
386
+ }
387
+ args.condition = `${args.condition}` + this.orgCondtionStr
388
+ this.model.search(args.condition, args.model)
389
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
+ },
391
+ clear() {
392
+ //清空部门和人员
393
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
394
+ //部门和人员变为全选
395
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
396
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
397
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
398
+ this.$refs.paged.$refs.cri.model[key] = []
399
+ })
400
+ },
401
+ show() {
402
+ this.criteriaShow = true
403
+ },
404
+ hidden() {
405
+ this.criteriaShow = !this.criteriaShow
406
+ },
407
+ getRes(obj) {
408
+ this.orgCondtionStr = obj
409
+ },
410
+ stamp() {
411
+ this.all = false
412
+ //默认选择要打印的列
413
+ this.modelval = defaultPrint.config
414
+ this.fields = this.getfield
415
+ console.log('所有打印字段', this.fields)
416
+ this.printshow = true
417
+ this.put()
418
+ },
419
+ dealmsg(val) {
420
+ console.log('---------------dealmsg')
421
+ this.rowdata=val
422
+ this.show=true
423
+ val.model = this.model.model
424
+ this.$dispatch('deal-msg', val)
425
+ },
426
+ put() {
427
+ // 对Modelval进行排序
428
+ this.sortModelval()
429
+ this.thead = `<tr><th colspan=${this.modelval.length}>冲正查询统计报表</th></tr><tr>`
430
+ for (let key of this.modelval) {
431
+ this.thead += '<th>' + this.fields[key] + '</th>'
432
+ }
433
+ this.thead += '</tr>'
434
+ },
435
+ print() {
436
+ this.$refs.print.PrintAsFile()
437
+ this.printshow = false
438
+ },
439
+ close() {
440
+ this.printshow = false
441
+ this.all = false
442
+ },
443
+ // 对选择的列进行排序
444
+ sortModelval() {
445
+ let sortModel = []
446
+ Object.keys(this.fields).forEach((key) => {
447
+ if (this.modelval.includes(key)) {
448
+ sortModel.push(key)
449
+ }
450
+ })
451
+ this.modelval = sortModel
452
+ console.log('选择的打印的字段', this.modelval)
453
+ },
454
+ sort (field, rule) {
455
+ // 将所有排序方式设为不排序,实现相互排斥
456
+ for (let key in this.orderFields) {
457
+ if (key === field) {
458
+ this.orderFields[key] = rule
459
+ } else {
460
+ this.orderFields[key] = 'no'
461
+ }
462
+ }
463
+ // 如果新规则不排序,还原为默认排序
464
+ if (rule === 'no') {
465
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
466
+ } else {
467
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
468
+ }
469
+
470
+ this.search()
471
+ }
472
+ },
473
+ watch: {
474
+ 'all'(val) {
475
+ if (val) {
476
+ this.modelval = this.bodyData
477
+ } else {
478
+ this.modelval = defaultPrint.config
479
+ this.put()
480
+ }
481
+ },
482
+ sumsmodel:{
483
+ handler: function(val) {
484
+ this.getotherfooter();
485
+ },
486
+ deep: true
487
+ },
488
+ 'modelval.length'() {
489
+ this.put()
490
+ },
491
+ },
492
+ computed: {
493
+ getCondition() {
494
+ return {
495
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
496
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
497
+ },
498
+ getfield() {
499
+ return exportConfig.reverseConfig
500
+ },
501
+ defaultexport() {
502
+ return exportConfig.reverseexportConfig
503
+ },
504
+ usertypes() {
505
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
506
+ },
507
+ correctTypes() {
508
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费类型')]
509
+ }
510
+ }
511
+ }
512
+ </script>