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
@@ -54,22 +54,25 @@ export default{
54
54
  'f_comments': '备注'
55
55
  },
56
56
  userDeviceConfig: {
57
- 'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_nature': '用户性质', 'f_userinfodevices_type': '设备类型',
58
- 'f_userinfodevices_no': '设备编号','f_userinfodevices_model': '设备型号','f_userinfodevices_num': '设备数量',
57
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_nature': '用户性质', 'f_userinfodevices_type': '设备类型',
58
+ 'f_userinfodevices_no': '设备编号', 'f_userinfodevices_model': '设备型号', 'f_userinfodevices_num': '设备数量',
59
59
  'f_userinfodevices_name': '设备别名',
60
- 'f_expire_date': '缴费到期时间','f_mtc_fee': '累计维护缴费金额'
60
+ 'f_expire_date': '缴费到期时间', 'f_mtc_fee': '累计维护缴费金额'
61
61
  },
62
62
  changUserConfig: {
63
- 'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_user_phone': '客户电话', 'f_field_name': '更改内容',
64
- 'f_used_content': '更改前','f_new_content': '更改后','f_operator': '操作人', 'f_operate_date': '操作日期',
65
- 'f_depname': '部门','f_orgname': '公司'
63
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_field_name': '更改内容',
64
+ 'f_used_content': '更改前', 'f_new_content': '更改后', 'f_operator': '操作人', 'f_operate_date': '操作日期',
65
+ 'f_depname': '部门', 'f_orgname': '公司', 'f_comments': '修改原因'
66
66
  },
67
67
  chargeConfig: {
68
- 'f_userinfo_code': '用户编号','f_user_name':'用户名称',
69
- 'f_meternumber': '用户表号','f_card_id': '用户卡号','f_address': '用户地址',
70
- 'f_pregas': '购气量','f_collection': '缴费金额','f_payment': '付款方式','f_operate_date': '收费日期','f_state': '状态',
71
- 'f_depname': '网点','f_operator': '操作员','f_stairamount1':'一阶气量',
72
- 'f_stair2amount': '二阶气量','f_stair3amount':'三阶气量'
68
+ 'id': '收费编号', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_user_name': '客户名称', 'f_user_phone': '客户电话', 'f_address': '客户地址', 'f_zones': '片区', 'f_user_type': '客户类型',
69
+ 'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_times': '购气次数', 'f_price_name': '气价名称',
70
+ 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_pregas': '气量', 'fee': '金额', 'f_preamount': '燃气费', 'f_collection': '收款', 'f_privilege_money': '优惠金额', 'f_balance': '上期结余',
71
+ 'f_curbalance': '本期结余', 'f_type': '收费类型', 'f_payment': '付款方式', 'f_bank_type': '支付渠道', 'f_state': '状态', 'f_operate_date': '收费日期', 'f_serial_id': '流水号',
72
+ 'f_delaypay': '违约金', 'f_comments': '备注', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
73
+ 'f_yucun': '预存金额', 'f_card_id': '卡号', 'f_stairamount1': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
74
+ 'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
75
+ 'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_inputtor': '抄表员','f_residential_area':'小区','f_serial_number':'业务单号'
73
76
  },
74
77
  pricetypeGasConfig: {
75
78
  'f_price': '价格类型', 'f_gas': '当日售气量', 'f_money': '当日售气金额'
@@ -78,7 +81,7 @@ export default{
78
81
  'f_operate_date': '收费日期', 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_meter_brand': '气表品牌', 'f_sell_price': '购气单价', 'f_pregas': '购气量', 'f_preamount': '购气金额', 'f_collection': '充值金额', 'f_surplus_fee': '调价补差', 'f_curbalance': '本期结余', 'f_payment': '付款方式', 'f_price': '单价', 'f_real_gas': '用气量', 'f_real_money': '用气金额', 'f_residual_volume': '余量', 'f_total_usegas_amount': '剩余金额'
79
82
  },
80
83
  chargeexportConfig: {
81
- 'f_pregas': '气量', 'f_collection': '缴费金额', 'f_stairamount1': '一阶气量', 'f_stair2amount': '二阶气量', 'f_stair3amount': '三阶气量'
84
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_pregas': '气量', 'f_collection': '收款', 'f_stairamount1': '一阶气量', 'f_stair2amount': '二阶气量', 'f_stair3amount': '三阶气量'
82
85
  },
83
86
  reverseexportConfig: {
84
87
  'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址'
@@ -214,10 +217,11 @@ export default{
214
217
  'f_meter_state': '抄表状态', 'f_operator': '操作员', 'f_depname': '部门'
215
218
  },
216
219
  handplanConfig: {
217
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址', 'f_zones':'片区','phone': '客户手机', 'f_meternumber': '表号','ym_data': '数据年月',
218
- 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_oughtamount': '用气量', 'f_oughtfee': '用气金额', 'f_debt_money': '预存扣费','f_balance': '上期余额','f_curbalance': '本期余额',
219
- 'f_accounts_state': '下账状态', 'f_operate_date': '收费时间', 'f_inputtor': '抄表员', 'f_book_slice_area':'表册片区',
220
- 'f_hand_date': '下发日期', 'f_input_date': '录入日期', 'f_meter_state': '抄表状态', 'f_hand_state': '记录状态',
220
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址', 'f_zones': '片区', 'phone': '客户手机', 'f_meternumber': '表号', 'ym_data': '数据年月',
221
+ 'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_oughtamount': '用气量', 'overdue': '违约金', 'f_oughtfee': '用气金额', 'f_debt_money': '已交金额',
222
+ 'f_actual_arrears': '欠费金额', 'f_balance': '上期余额', 'f_curbalance': '本期余额',
223
+ 'f_accounts_state': '下账状态', 'f_operate_date': '收费时间', 'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区',
224
+ 'f_hand_date': '下发日期', 'f_input_date': '录入日期', 'f_audit_date': '审核日期', 'f_meter_state': '抄表状态', 'f_hand_state': '记录状态',
221
225
  'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_surplus_gas': '剩余气量', 'f_haircut_gas': '扣减气量',
222
226
  'f_stair1amount': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
223
227
  'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
@@ -281,14 +285,14 @@ export default{
281
285
  'f_inputtor': '抄表员'
282
286
  },
283
287
  reverseConfig: {
284
- 'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址',
285
- 'f_type': '冲正类型','f_pregas': '冲正气量','f_preamount': '冲正金额','f_collection': '冲正收款', 'f_operate_date': '冲正日期',
286
- 'f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
288
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
289
+ 'f_type': '冲正类型', 'f_pregas': '冲正气量', 'f_preamount': '冲正金额', 'f_collection': '冲正收款', 'f_operate_date': '冲正日期',
290
+ 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
287
291
  },
288
292
  transferConfig: {
289
- 'f_userinfo_code': '客户编号', 'f_newuser_name': '客户名称', 'f_address': '客户地址',
290
- 'f_user_name': '原客户名称', 'f_newuser_phone': '新客户电话', 'f_user_phone': '原客户电话','f_transfer_fees': '过户费','f_operate_date': '过户日期',
291
- 'f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
293
+ 'f_userinfo_code': '客户编号', 'f_newuser_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
294
+ 'f_user_name': '原客户名称', 'f_newuser_phone': '新客户电话', 'f_user_phone': '原客户电话', 'f_transfer_fees': '过户费', 'f_operate_date': '过户日期',
295
+ 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
292
296
  },
293
297
  transferPrintConfig: {
294
298
  'f_userinfo_code': '客户编号', 'f_newuser_name': '客户名称', 'f_address': '客户地址',
@@ -302,9 +306,9 @@ export default{
302
306
  },
303
307
 
304
308
  fillcardConfig: {
305
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_user_phone': '客户电话', 'f_address': '客户地址',
306
- 'f_card_id': '卡号','f_meter_brand': '气表品牌', 'f_type': '补卡类型', 'f_comments': '补卡原因', 'f_cardfees': '卡费',
307
- 'f_operate_date': '补卡日期', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
309
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_address': '客户地址',
310
+ 'f_card_id': '卡号', 'f_meter_brand': '气表品牌', 'f_type': '补卡类型', 'f_comments': '补卡原因', 'f_cardfees': '卡费',
311
+ 'f_operate_date': '补卡日期', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
308
312
  },
309
313
 
310
314
  enableConfig: {
@@ -313,9 +317,9 @@ export default{
313
317
  'f_operat_type': '操作类型','f_operator': '人员', 'f_depname': '部门', 'f_orgname': '公司'
314
318
  },
315
319
  movemeterConfig: {
316
- 'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '旧地址',
317
- 'f_address_new': '新地址','f_metertitles': '旧表箱号','f_metertitles_new': '新表箱号','f_operate_date': '操作日期',
318
- 'f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
320
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '旧地址',
321
+ 'f_address_new': '新地址', 'f_metertitles': '旧表箱号', 'f_metertitles_new': '新表箱号', 'f_operate_date': '操作日期',
322
+ 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
319
323
  },
320
324
  usergas: {
321
325
  'f_meternumber': '表计编号', 'f_user_id': '用户编号', 'f_user_name': '用户名称',
@@ -474,13 +478,12 @@ monthGasConfig: {
474
478
  'm_account': '销户民用', 'm_znum': '民用总户','fm_newadduser': '新增非民用', 'fm_startuser': '启用非民用', 'fm_stopuser': '停用非民用',
475
479
  'fm_account': '销户非民用', 'fm_znum': '民用非总户', 'f_znum': '合计'
476
480
  },
477
- ReportListConfig:{
478
- 'f_userinfo_code':'客户编号','f_meternumber':'表号','f_user_name':'客户姓名','f_user_phone':'客户电话','f_address':'客户地址',
479
- 'f_hand_date':'上报日期','f_meterBalanceAmt':'表内剩余金额','f_tablebase':'本次抄表底数','f_valvestate':'阀门状态',
480
- 'f_upload_type':'上报类型', 'f_insert_date':'系统接收时间','f_meterDebitAmt':'表内累计充值金额',
481
- 'f_signal':'噪音强度','f_snr':'信噪比','f_batterylevel':'电压','f_lowlithiumbattery':'电压状态','f_networkshutvalve':'阀门强制状态',
482
- 'f_wmprepaytype':'计量类型','f_moneystate':'金额状态','f_magneticInterference':'磁干扰异常','f_compensateState':'补偿状态'
483
-
481
+ ReportListConfig: {
482
+ 'f_userinfo_code': '客户编号', 'f_meternumber': '表号', 'f_user_name': '客户姓名', 'f_user_phone': '客户电话', 'f_address': '客户地址',
483
+ 'f_hand_date': '上报日期', 'f_jval': '表内剩余金额', 'f_tablebase': '本次抄表底数', 'f_valvestate': '阀门状态',
484
+ 'f_upload_type': '上报类型', 'f_insert_date': '系统接收时间', 'f_meterDebitAmt': '表内累计充值金额',
485
+ 'f_signal': '噪音强度', 'f_snr': '信噪比', 'f_batterylevel': '电压', 'f_lowlithiumbattery': '电压状态', 'f_networkshutvalve': '阀门强制状态',
486
+ 'f_wmprepaytype': '计量类型', 'f_moneystate': '金额状态', 'f_magneticInterference': '磁干扰异常', 'f_compensateState': '补偿状态'
484
487
  },
485
488
  ReportDataQueryConfig:{
486
489
  'f_userinfo_code':'客户编号','f_tablebase':'本次抄表底数','f_last_tablebase':'上次抄表底数','f_jval':'表计剩余余额','f_hand_date':'抄表日期',
@@ -520,9 +523,9 @@ monthGasConfig: {
520
523
  'f_oughtamount':'用气量','f_oughtfee':'用气金额','qianfei_month_num':'欠费月数','qianfei_num':'欠费条数',
521
524
  'qianfei_avg_gas':'欠费月平均气量','f_totalowe_gas':'欠费气量','f_totalowe_fee':'欠费金额'},
522
525
  surplusConfig: {
523
- 'f_userinfo_code':'客户编号', 'f_user_name':'客户名称','f_address':'地址', 'f_change_price':'单价调整量',
524
- 'f_real_amount':'补差气量','f_surplus_fee':'补差金额','f_qujian':'调价区间','f_whether_pay':'是否缴费',
525
- 'f_state':'状态','f_operate_date':'操作日期','f_operator':'人员','f_depname':'部门','f_orgname':'公司'
526
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '地址', 'f_change_price': '单价调整量',
527
+ 'f_real_amount': '补差气量', 'f_surplus_fee': '补差金额', 'f_qujian': '调价区间', 'f_whether_pay': '是否缴费',
528
+ 'f_state': '状态', 'f_operate_date': '操作日期', 'f_operator': '人员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
526
529
  },
527
530
  depositDetail: {
528
531
  'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址','f_user_state': '客户状态',
@@ -0,0 +1,468 @@
1
+ <template>
2
+ <div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
3
+ <div class="basic-main">
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 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 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
+
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
+
46
+ <export-excel :data="$parent.$parent.getCondition"
47
+ :field="$parent.$parent.getfield"
48
+ :header="$parent.$parent.other"
49
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
50
+ sqlurl="rs/logic/exportfile" sql-name="changeuserquery" template-name='档案变更导出'
51
+ :choose-col="true"></export-excel>
52
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
53
+ :defaultfield="$parent.$parent.defaultfield"
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
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">客户名称</label>
64
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
65
+ condition="f_user_name = '{}'" placeholder="客户名称">
66
+ </div>
67
+ <div class="col-sm-2 form-group">
68
+ <label class="font_normal_body">客户电话</label>
69
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
70
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
74
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
75
+ condition="f_meternumber = '{}'" placeholder='表号'>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
79
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
80
+ condition="f_card_id = '{}'" placeholder='卡号'>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body">更改内容</label>
84
+ <v-select :value.sync="model.f_field_name"
85
+ v-model="model.f_field_name"
86
+ :options='$parent.$parent.field_name' placeholder='请选择'
87
+ condition="f_field_name = '{}'"
88
+ close-on-select></v-select>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">用户类型</label>
92
+ <v-select :value.sync="model.f_user_type"
93
+ v-model="model.f_user_type"
94
+ @change="$parent.$parent.userTypeChange()"
95
+ :options='$parent.$parent.userTypes' placeholder='请选择'
96
+ condition="f_user_type = '{}'"
97
+ close-on-select></v-select>
98
+ </div>
99
+ <div class="col-sm-2 form-group">
100
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
101
+ <v-select :value.sync="model.f_user_usetype" :search="false"
102
+ @change="$parent.$parent.userUseTypeChange()"
103
+ v-model="model.f_user_usetype"
104
+ :options='$parent.$parent.userusetypes'
105
+ condition="f_user_usetype = '{}'"
106
+ placeholder='用气类型'
107
+ value-single="true"
108
+ close-on-select>
109
+ </v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
113
+ <v-select :value.sync="model.f_use_institution" :search="false"
114
+ @change="$parent.$parent.userUseInstitutionChange()"
115
+ v-model="model.f_use_institution"
116
+ :options='$parent.$parent.useinstitutions'
117
+ condition="f_use_institution = '{}'"
118
+ placeholder='用气机构'
119
+ value-single="true"
120
+ close-on-select>
121
+ </v-select>
122
+ </div>
123
+ <div class="col-sm-2 form-group">
124
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
125
+ <v-select :value.sync="model.f_user_usenature" :search="false"
126
+ v-model="model.f_user_usenature"
127
+ :options='$parent.$parent.userusenatures'
128
+ condition="f_user_usenature = '{}'"
129
+ placeholder='使用性质'
130
+ value-single="true"
131
+ close-on-select>
132
+ </v-select>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </criteria>
137
+
138
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
139
+ <template partial='head'>
140
+ <tr>
141
+ <th>
142
+ <!--<nobr>客户编号</nobr>-->
143
+ <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
144
+ </th>
145
+ <th>
146
+ <nobr>客户名称</nobr>
147
+ </th>
148
+ <th>
149
+ <nobr>档案编号</nobr>
150
+ </th>
151
+ <th>
152
+ <nobr>客户电话</nobr>
153
+ </th>
154
+ <th>
155
+ <nobr>更改内容</nobr>
156
+ </th>
157
+ <th>
158
+ <nobr>更改前</nobr>
159
+ </th>
160
+ <th>
161
+ <nobr>更改后</nobr>
162
+ </th>
163
+ <th>
164
+ <nobr>操作人</nobr>
165
+ </th>
166
+ <th>
167
+ <!--<nobr>操作日期</nobr>-->
168
+ <data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
169
+ </th>
170
+ <th>
171
+ <nobr>部门</nobr>
172
+ </th>
173
+ <th>
174
+ <nobr>公司</nobr>
175
+ </th>
176
+ <th>
177
+ <nobr>修改原因</nobr>
178
+ </th>
179
+ </tr>
180
+ </template>
181
+ <template partial='body'>
182
+ <td style="text-align: center;"><nobr>
183
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
184
+ </nobr> </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_user_name}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.f_user_phone}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_field_name}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_used_content}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_new_content}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_operator}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_operate_date}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_depname}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_orgname}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_comments}}</nobr>
217
+ </td>
218
+ </template>
219
+ <template partial='foot'></template>
220
+ </data-grid>
221
+ </criteria-paged>
222
+ </div>
223
+ <div class="flex" v-if="show">
224
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </template>
229
+
230
+ <script>
231
+ import {PagedList} from 'vue-client'
232
+ import defaultPrint from './../config/DefaultPrint'
233
+ import exportConfig from './../config/exportConfig'
234
+
235
+ let readySomething = async function (self) {
236
+
237
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
238
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
239
+ // self.$refs.paged.$refs.cri.search()
240
+ await self.$MagLoadParams.loadParam()
241
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
242
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
243
+ }
244
+ export default {
245
+ title: '档案变更记录',
246
+ data() {
247
+ return {
248
+ data: {},
249
+ other:[],
250
+ footer:[],
251
+ meterbrands: [],
252
+ pricenames: [],
253
+ model: new PagedList('rs/sql/changeuserquery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
254
+ criteriaShow: false,
255
+ orgCondtionStr: '',
256
+ modelval: [],
257
+ printshow: false,
258
+ all: false,
259
+ fields: {},
260
+ //排序
261
+ orderitem:'f_operate_date desc',
262
+ orderFields: {
263
+ f_operate_date: 'no'
264
+ },
265
+ initres: {
266
+ org:[this.$login.f.orgid],
267
+ dep:[],
268
+ user:[],
269
+ },
270
+ defaultfield: [],
271
+ config: {
272
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
273
+ },
274
+ show:false,
275
+ rowdata:{},
276
+ thead: '',
277
+ tfoot: '',
278
+ userusetypes: [],
279
+ useinstitutions: [],
280
+ userusenatures: [],
281
+
282
+ // tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
283
+
284
+
285
+ //合计数据
286
+ sumsmodel: {}
287
+ }
288
+ },
289
+ ready() {
290
+ readySomething(this)
291
+ },
292
+ methods: {
293
+ userUseInstitutionChange () {
294
+ this.userusenatures = []
295
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
296
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
297
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
298
+ this.userusenatures = this.$appdata.getParam(str)
299
+ }
300
+ },
301
+ userUseTypeChange () {
302
+ this.useinstitutions = []
303
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
304
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
305
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
306
+ this.useinstitutions = this.$appdata.getParam(str)
307
+ }
308
+ },
309
+ userTypeChange () {
310
+ this.userusetypes = []
311
+ if(this.$refs.paged.$refs.cri.model !==null) {
312
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
313
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
314
+ this.userusetypes = this.$appdata.getParam(str)
315
+ }
316
+ },
317
+ getotherfooter () {
318
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
319
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
320
+ this.other = [];
321
+ this.footer = [];
322
+ let exportdata = this.getCondition;
323
+ let otherInData = [];
324
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
325
+ // let footerData = [], exportfield = this.getfield;
326
+ // footerData.push("合计");
327
+ // let self = this;
328
+ // for (var field in self.sumsmodel) {
329
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
330
+ // }
331
+ // this.footer.push(footerData);
332
+ this.other.push(otherInData);
333
+ },
334
+ search(){
335
+ this.$refs.paged.$refs.cri.search()
336
+ },
337
+ cancel() {
338
+ this.show = false
339
+ },
340
+ showmsg(obj){
341
+ this.rowdata=obj
342
+ this.show=true
343
+ },
344
+
345
+ selfSearch(args) {
346
+ args.condition = `${args.condition}` + this.orgCondtionStr
347
+ this.model.search(args.condition, args.model)
348
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
349
+ },
350
+ clear() {
351
+ //清空部门和人员
352
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
353
+ //部门和人员变为全选
354
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
355
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
356
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
357
+ this.$refs.paged.$refs.cri.model[key] = []
358
+ })
359
+ },
360
+ show() {
361
+ this.criteriaShow = true
362
+ },
363
+ hidden() {
364
+ this.criteriaShow = !this.criteriaShow
365
+ },
366
+ getRes(obj) {
367
+ console.log(obj,"========")
368
+ this.orgCondtionStr = obj
369
+ },
370
+ stamp() {
371
+ this.all = false
372
+ //默认选择要打印的列
373
+ this.modelval = defaultPrint.config
374
+ this.fields = this.getfield
375
+ console.log('所有打印字段', this.fields)
376
+ this.printshow = true
377
+ this.put()
378
+ },
379
+ dealmsg(val) {
380
+ console.log('---------------dealmsg')
381
+ val.model = this.model.model
382
+ this.$dispatch('deal-msg', val)
383
+ },
384
+ put() {
385
+ // 对Modelval进行排序
386
+ this.sortModelval()
387
+ this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
388
+ for (let key of this.modelval) {
389
+ this.thead += '<th>' + this.fields[key] + '</th>'
390
+ }
391
+ this.thead += '</tr>'
392
+ },
393
+ print() {
394
+ this.$refs.print.PrintAsFile()
395
+ this.printshow = false
396
+ },
397
+ close() {
398
+ this.printshow = false
399
+ this.all = false
400
+ },
401
+ // 对选择的列进行排序
402
+ sortModelval() {
403
+ let sortModel = []
404
+ Object.keys(this.fields).forEach((key) => {
405
+ if (this.modelval.includes(key)) {
406
+ sortModel.push(key)
407
+ }
408
+ })
409
+ this.modelval = sortModel
410
+ console.log('选择的打印的字段', this.modelval)
411
+ },
412
+ sort (field, rule) {
413
+ // 将所有排序方式设为不排序,实现相互排斥
414
+ for (let key in this.orderFields) {
415
+ if (key === field) {
416
+ this.orderFields[key] = rule
417
+ } else {
418
+ this.orderFields[key] = 'no'
419
+ }
420
+ }
421
+ // 如果新规则不排序,还原为默认排序
422
+ if (rule === 'no') {
423
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
424
+ } else {
425
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
426
+ }
427
+
428
+ this.search()
429
+ }
430
+ },
431
+ watch: {
432
+ 'all'(val) {
433
+ if (val) {
434
+ this.modelval = this.bodyData
435
+ } else {
436
+ this.modelval = defaultPrint.config
437
+ this.put()
438
+ }
439
+ },
440
+ 'modelval.length'() {
441
+ this.put()
442
+ },
443
+ sumsmodel:{
444
+ handler: function(val) {
445
+ this.getotherfooter();
446
+ },
447
+ deep: true
448
+ },
449
+ },
450
+ computed: {
451
+ authArr () {
452
+ return this.$login.r ? this.$login.r : []
453
+ },
454
+ getCondition() {
455
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
456
+ },
457
+ getfield() {
458
+ return exportConfig.changUserConfig
459
+ },
460
+ userTypes() {
461
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
462
+ },
463
+ field_name() {
464
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('更改内容')]
465
+ }
466
+ }
467
+ }
468
+ </script>