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,535 @@
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 @sort="sort">
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
+ condition="f_operate_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="f_operate_date <= '{}'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
37
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
38
+ </div>
39
+ <div class="span" style="float:right;">
40
+ <!--<read-idcard></read-idcard>-->
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+
44
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
45
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
46
+ sqlurl="rs/logic/exportfile" sql-name="surplusQuery" template-name='调价补差查询导出'
47
+ :choose-col="true">
48
+ </export-excel>
49
+
50
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
51
+ :defaultfield="$parent.$parent.defaultfield" print-name="调价补差查询"
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
+
55
+ </div>
56
+ </div>
57
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
59
+
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">客户名称</label>
62
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
63
+ condition="f_user_name = '{}'" placeholder="客户名称">
64
+ </div>
65
+
66
+ <div class="col-sm-2 form-group">
67
+ <label class="font_normal_body">客户电话</label>
68
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
69
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
70
+ </div>
71
+
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">客户地址</label>
74
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
75
+ condition="f_address like '%{}%'" placeholder='客户地址'>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body" >是否缴费</label>
79
+ <v-select :value.sync="model.f_whether_pay"
80
+ v-model="model.f_whether_pay"
81
+ :options='$parent.$parent.whetherPay' placeholder='请选择'
82
+ condition="f_whether_pay = '{}'"
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
+ <v-select :value.sync="model.f_state"
88
+ v-model="model.f_state"
89
+ :options='$parent.$parent.state' placeholder='请选择'
90
+ condition="f_state = '{}'"
91
+ close-on-select></v-select>
92
+ </div>
93
+ <div class="col-sm-2 form-group">
94
+ <label class="font_normal_body">补差编号</label>
95
+ <input type="text" style="width:60%" class="input_search" v-model="model.id"
96
+ condition="id = '{}'" placeholder="收费编号">
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label class="font_normal_body">气表品牌</label>
100
+ <v-select :value.sync="model.f_meter_brand" multiple
101
+ v-model="model.f_meter_brand"
102
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
103
+ condition="f_meter_brand in {}"
104
+ close-on-select></v-select>
105
+ </div>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ </criteria>
111
+
112
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
113
+ <template partial='head'>
114
+ <tr>
115
+ <th>
116
+ <nobr>补差编号</nobr>
117
+ </th>
118
+ <th>
119
+ <!-- <nobr>客户编号</nobr>-->
120
+ <data-order field="f_userinfo_code" name="客户编号"
121
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
122
+ </th>
123
+ <th>
124
+ <nobr>客户名称</nobr>
125
+ </th>
126
+ <th>
127
+ <nobr>档案编号</nobr>
128
+ </th>
129
+ <th>
130
+ <!-- <nobr>客户地址</nobr>-->
131
+ <data-order field="f_address" name="客户地址"
132
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
133
+ </th>
134
+ <th>
135
+ <nobr>表号</nobr>
136
+ </th>
137
+ <th>
138
+ <nobr>气表品牌</nobr>
139
+ </th>
140
+
141
+ <th>
142
+ <nobr>原单价</nobr>
143
+ </th>
144
+ <th>
145
+ <nobr>现单价</nobr>
146
+ </th>
147
+ <th>
148
+ <nobr>单价调整量</nobr>
149
+ </th>
150
+ <th>
151
+ <nobr>补差气量</nobr>
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
+ </th>
171
+ <th>
172
+ <nobr>本期底数</nobr>
173
+ </th>
174
+ <th>
175
+ <nobr>剩余量</nobr>
176
+ </th>
177
+ <th>
178
+ <nobr>抄表员</nobr>
179
+ </th>
180
+ <th>
181
+ <nobr>状态</nobr>
182
+ </th>
183
+ <th>
184
+ <!-- <nobr>操作日期</nobr>-->
185
+ <data-order field="f_operate_date" name="操作日期"
186
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
187
+ </th>
188
+
189
+ <th>
190
+ <nobr>人员</nobr>
191
+ </th>
192
+ <th>
193
+ <nobr>部门</nobr>
194
+ </th>
195
+ <th>
196
+ <nobr>公司</nobr>
197
+ </th>
198
+ <th><nobr>附件</nobr></th>
199
+ </tr>
200
+ </template>
201
+ <template partial='body'>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.id}}</nobr>
204
+ </td>
205
+ <td style="text-align: center;"><nobr>
206
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
207
+ </nobr> </td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_user_name}}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
213
+ </td>
214
+ <td style="text-align: center;">
215
+ <nobr>{{row.f_address}}</nobr>
216
+ </td>
217
+ <td style="text-align: center;">
218
+ <nobr>{{row.f_meternumber}}</nobr>
219
+ </td>
220
+ <td style="text-align: center;">
221
+ <nobr>{{row.f_meter_brand}}</nobr>
222
+ </td>
223
+
224
+ <td style="text-align: center;">
225
+ <nobr>{{row.f_old_price}}</nobr>
226
+ </td>
227
+ <td style="text-align: center;">
228
+ <nobr>{{row.f_new_price}}</nobr>
229
+ </td>
230
+ <td style="text-align: center;">
231
+ <nobr>{{row.f_change_price}}</nobr>
232
+ </td>
233
+ <td style="text-align: center;">
234
+ <nobr>{{row.f_real_amount}}</nobr>
235
+ </td>
236
+ <td style="text-align: center;">
237
+ <nobr>{{row.f_surplus_fee}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr>{{row.f_qujian}}</nobr>
241
+ </td>
242
+ <td style="text-align: center;">
243
+ <nobr>{{row.f_whether_pay}}</nobr>
244
+ </td>
245
+ <td style="text-align: center;">
246
+ <nobr>{{row.last_hand_date}}</nobr>
247
+ </td>
248
+ <td style="text-align: center;">
249
+ <nobr>{{row.f_hand_date}}</nobr>
250
+ </td>
251
+ <td style="text-align: center;">
252
+ <nobr>{{row.f_last_tablebase}}</nobr>
253
+ </td>
254
+ <td style="text-align: center;">
255
+ <nobr>{{row.f_tablebase}}</nobr>
256
+ </td>
257
+ <td style="text-align: center;">
258
+ <nobr>{{row.f_surplus_gas}}</nobr>
259
+ </td>
260
+ <td style="text-align: center;">
261
+ <nobr>{{row.f_inputtor}}</nobr>
262
+ </td>
263
+ <td style="text-align: center;">
264
+ <nobr>{{row.f_state}}</nobr>
265
+ </td>
266
+ <td style="text-align: center;">
267
+ <nobr>{{row.f_operate_date}}</nobr>
268
+ </td>
269
+
270
+ <td style="text-align: center;">
271
+ <nobr>{{row.f_operator}}</nobr>
272
+ </td>
273
+ <td style="text-align: center;">
274
+ <nobr>{{row.f_depname}}</nobr>
275
+ </td>
276
+ <td style="text-align: center;">
277
+ <nobr>{{row.f_orgname}}</nobr>
278
+ </td>
279
+ <td style="text-align: center;"><nobr>
280
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
281
+ </nobr></td>
282
+ </template>
283
+ <template partial='foot'></template>
284
+ </data-grid>
285
+ </criteria-paged>
286
+ <table class="table-hover">
287
+ <tr style="position: relative" class="table-bordered">
288
+ <td
289
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
290
+ 汇总信息
291
+ </td>
292
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
293
+ 调价气量合计:&emsp;{{sumsmodel.f_real_amount}}
294
+ </td>
295
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
296
+ 调价金额合计:&emsp;{{sumsmodel.f_surplus_fee}}
297
+ </td>
298
+ </tr>
299
+ </table>
300
+ </div>
301
+ <div class="flex" v-if="show">
302
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
303
+ </div>
304
+ </div>
305
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
306
+ <article slot="modal-body">
307
+ <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="调价补差" :isremark="false" style="width:auto" ></upload>
308
+ </article>
309
+ <footer slot="modal-footer" class="modal-footer">
310
+ </footer>
311
+ </modal>
312
+ </div>
313
+ </template>
314
+
315
+ <script>
316
+ import {HttpResetClass, PagedList} from 'vue-client'
317
+ import exportConfig from './../config/exportConfig'
318
+
319
+ let readySomething = async function (self) {
320
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
321
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
322
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
323
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
324
+ await self.$MagLoadParams.loadParam()
325
+ self.initParams()
326
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
327
+ }
328
+ export default {
329
+ props:['data'],
330
+ title: '调价补差查询',
331
+ data() {
332
+ return {
333
+ resshow:['company','department','operator'],
334
+ other:[],
335
+ footer:[],
336
+ config: {
337
+ defaultPrint: ['f_userinfo_code', 'f_user_name','f_address', 'f_change_price', 'f_real_amount','f_surplus_fee','f_qujian','f_whether_pay','f_state','f_operate_date','f_operator','f_depname','f_orgname']
338
+ },
339
+ //f_price_name:[],
340
+ gasproperties:[],
341
+ showinfo: false,
342
+ data: {},
343
+ show:false,
344
+ rowdata:{},
345
+ initres: {
346
+ org:[this.$login.f.orgid],
347
+ dep:[],
348
+ user:[]
349
+ },
350
+ //排序
351
+ orderitem:'f_operate_date desc',
352
+ orderFields: {
353
+ f_operate_date: 'no'
354
+ },
355
+ model: new PagedList('rs/sql/surplusQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {
356
+ f_real_amount: 0,
357
+ f_surplus_fee: 0
358
+ }),
359
+ whetherPay:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
360
+ state:[{label: '全部', value: ''},{label: '有效', value: '有效'}],
361
+ criteriaShow: false,
362
+ orgCondtionStr: '',
363
+ // 下拉框
364
+ meterbrands: [],
365
+ pricenames: [],
366
+ prices: [],
367
+ area: [],
368
+ //合计数据
369
+ defaultfield: [],
370
+ //小区
371
+ residentialArea: [],
372
+ sumsmodel: {},
373
+ showupload:false,
374
+ selected:{},
375
+ f_filialeid: this.$login.f.f_orgid,
376
+ wxstate:[
377
+ {label: '全部', value: ''},
378
+ {label: '已退款', value: `= '3'`},
379
+ {label: '未退款', value: `!= '3'`}
380
+ ],
381
+ privilege_money:[
382
+ {label: '全部', value: ''},
383
+ {label: '已优惠', value: '> 0'},
384
+ {label: '未优惠', value: '= 0'}
385
+ ]
386
+ }
387
+ },
388
+ ready() {
389
+ // this.getaddress()
390
+
391
+ readySomething(this).then(() => {
392
+ this.$emit('ready')
393
+ }).catch((error) => {
394
+ this.$emit('error', error)
395
+ })
396
+
397
+ },
398
+ methods: {
399
+ view(row){
400
+ this.showupload = true
401
+ this.selected= row
402
+ },
403
+ initParams() {
404
+ // 初始化气表品牌
405
+ let brandArr = []
406
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
407
+ let temp = {}
408
+ temp.label = item.label
409
+ temp.value = item.value.f_meter_brand
410
+ brandArr.push(temp)
411
+ })
412
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
413
+ //初始化气表价格
414
+ this.prices = this.$MagGetSaleParam.getPrices();
415
+ },
416
+ getotherfooter () {
417
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
418
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
419
+ this.other = [];
420
+ this.footer = [];
421
+ let exportdata = this.getCondition;
422
+ let otherInData = [];
423
+ otherInData.push(`导出时间: ${exportdata.startDate} - ${exportdata.endDate}`);
424
+ let footerData = [], exportfield = this.getfield;
425
+ footerData.push("合计");
426
+ let self = this;
427
+ for (var field in self.sumsmodel) {
428
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
429
+ }
430
+ this.footer.push(footerData);
431
+ this.other.push(otherInData);
432
+ },
433
+
434
+
435
+ search(){
436
+ this.$refs.paged.$refs.cri.search()
437
+ },
438
+ cancel() {
439
+ this.show = false
440
+ },
441
+ showmsg(obj){
442
+ this.rowdata=obj
443
+ this.show=true
444
+ },
445
+
446
+
447
+ selfSearch(args) {
448
+ //小区查询条件
449
+ if (this.data) {
450
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
451
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
452
+ }
453
+ let f_orgstr = this.orgCondtionStr
454
+ args.condition = `${args.condition} ` + f_orgstr
455
+ this.model.search(args.condition, args.model)
456
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
457
+
458
+ },
459
+ clear() {
460
+ //清空部门和人员
461
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
462
+ //部门和人员变为全选
463
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
464
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
465
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
466
+ this.$refs.paged.$refs.cri.model[key] = []
467
+ })
468
+
469
+ },
470
+ dealmsg(val) {
471
+ val.model = this.model.model
472
+ this.$dispatch('deal-msg', val)
473
+ },
474
+ show() {
475
+ this.criteriaShow = true
476
+ },
477
+ hidden() {
478
+ this.criteriaShow = !this.criteriaShow
479
+ },
480
+ getRes(condition,obj) {
481
+ this.orgCondtionStr = condition
482
+ this.orgname = obj.orgnames[0]
483
+ this.depname = obj.depnames[0]
484
+ },
485
+ sort (field, rule) {
486
+ // 将所有排序方式设为不排序,实现相互排斥
487
+ for (let key in this.orderFields) {
488
+ if (key === field) {
489
+ this.orderFields[key] = rule
490
+ } else {
491
+ this.orderFields[key] = 'no'
492
+ }
493
+ }
494
+ // 如果新规则不排序,还原为默认排序
495
+ if (rule === 'no') {
496
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
497
+ } else {
498
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
499
+ }
500
+
501
+ this.search()
502
+ }
503
+
504
+ },
505
+ events:{
506
+
507
+ },
508
+ watch: {
509
+
510
+ 'orgCondtionStr'(val) {
511
+ let res = val.match(/'(.*?)'/)
512
+ console.log('正则提取:',res && res[1])
513
+ if (res) {
514
+ this.f_filialeid = res[1]
515
+ }
516
+ }
517
+ },
518
+ computed: {
519
+ userTypes() {
520
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
521
+ },
522
+ getCondition() {
523
+ return {
524
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
525
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
526
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
527
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
528
+ },
529
+ getfield() {
530
+ return exportConfig.surplusConfig
531
+ }
532
+
533
+ }
534
+ }
535
+ </script>