sale-client 4.1.230 → 4.2.1-ronghao
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.
- package/build/dev-server.js +29 -46
- package/package.json +2 -2
- package/src/App.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
- package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
- package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/FilesComplete.vue +3 -3
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/OtherChargeNew.vue +68 -48
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
- package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
- package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
- package/src/components/revenue/Common/MeterMessage.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/HandManager/WebHand.vue +7 -4
- package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
- package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
- package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
- package/src/components/revenue/base/rightview/CardList.vue +7 -3
- package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
- package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
- package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
- package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
- package/src/filiale/dexin/sale.js +5 -0
- package/src/filiale/fugou/MeterinfoTest.vue +1 -1
- package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
- package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
- package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
- package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
- package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
- package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
- package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
- package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
- package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
- package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
- package/src/filiale/jiaxian/Repurchase.vue +181 -0
- package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
- package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
- package/src/filiale/jiaxian/Userinfo.vue +426 -0
- package/src/filiale/jiaxian/WatchCollection.vue +54 -1
- package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
- package/src/filiale/jiaxian/contractSigningList.vue +149 -0
- package/src/filiale/jiaxian/sale.js +5 -0
- package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
- package/src/filiale/jinhong/CardList.vue +572 -0
- package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
- package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
- package/src/filiale/jinhong/GarbageCharge.vue +1 -1
- package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
- package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
- package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
- package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
- package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
- package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
- package/src/filiale/jinhong/MachineChargeService.js +8 -0
- package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
- package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
- package/src/filiale/jinhong/Userinfo.vue +75 -1
- package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
- package/src/filiale/jinhong/machineDown.vue +1205 -0
- package/src/filiale/jinhong/sale.js +9 -0
- package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
- package/src/filiale/jinhuang/WebHand.vue +1026 -0
- package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
- package/src/filiale/jinhuang/cardsHand.vue +911 -0
- package/src/filiale/jinhuang/sale.js +8 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
- package/src/filiale/meihekou/ChargeManage.vue +3 -2
- package/src/filiale/meihekou/ChargeOper.vue +279 -169
- package/src/filiale/meihekou/HandManager.vue +57 -2
- package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
- package/src/filiale/meihekou/OverUseCharge.vue +1 -1
- package/src/filiale/meihekou/PrintBill.vue +48 -41
- package/src/filiale/meihekou/ReissueBill.vue +4 -1
- package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
- package/src/filiale/meihekou/TransferManage.vue +704 -0
- package/src/filiale/meihekou/Userinfo.vue +233 -5
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/meihekou/icTable.vue +233 -0
- package/src/filiale/meihekou/machineHand.vue +2158 -0
- package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
- package/src/filiale/meihekou/meterTable.vue +220 -0
- package/src/filiale/meihekou/sale.js +15 -0
- package/src/filiale/qianneng/MeterMessage.vue +1 -1
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
- package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardList.vue +19 -17
- package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/ChangeMeterService.js +1 -1
- package/src/filiale/ronghao/ChargeList.vue +17 -17
- package/src/filiale/ronghao/ChargeManage.vue +325 -0
- package/src/filiale/ronghao/ChargeOper.vue +330 -0
- package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
- package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
- package/src/filiale/ronghao/HandplanQuery.vue +13 -14
- package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
- package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/Userinfo.vue +18 -18
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/machineRefund.vue +3 -1
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/sale.js +11 -0
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
- package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
- package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
- package/src/filiale/wuan/MeterMessage.vue +1 -1
- package/src/filiale/yangchun/BasicLivingList.vue +281 -0
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
- package/src/filiale/yangchun/CardChangeFill.vue +1 -1
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
- package/src/filiale/yangchun/NewMeterList.vue +742 -0
- package/src/filiale/yangchun/sale.js +3 -0
- package/src/filiale/yuncheng/CardList.vue +1 -1
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
- package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
- package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
- package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
- package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/yuncheng/industryDown.vue +1118 -0
- package/src/filiale/yuncheng/sale.js +11 -0
- package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/plugins/CardService.js +2217 -2217
- package/src/sale.js +3 -1
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<partial-view v-ref:pv>
|
|
3
|
+
<div class="panel panel-info auto" style="margin-top: auto">
|
|
4
|
+
<div class="panel-heading" style="height: 35px">
|
|
5
|
+
<h4 style="display:inline-block;margin-top: auto">档案信息</h4>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="auto info-content">
|
|
8
|
+
<div class="row" v-if="warninginfo.data.insMsg">
|
|
9
|
+
<p align="center"><font color="red" style="font-weight: bold">{{ warninginfo.data.insMsg }}</font></p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="row" :class="[config.f_userinfo_code ? 'highlight' : '']">
|
|
13
|
+
<label class="col-sm-5">客户编号</label>
|
|
14
|
+
<span class="col-sm-7"><a
|
|
15
|
+
@click="dealmsg(data)">{{ data ? data.f_userinfo_code : dafault.f_userinfo_code }}</a></span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row" :class="[config.f_user_name ? 'highlight' : '']">
|
|
18
|
+
<label class="col-sm-5">客户名称</label>
|
|
19
|
+
<span class="col-sm-7">{{ data ? data.f_user_name : dafault.f_user_name }}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row" v-if="data.f_name_pinyin">
|
|
22
|
+
<label class="col-sm-5">名称首拼</label>
|
|
23
|
+
<span class="col-sm-7">{{ data ? data.f_name_pinyin : dafault.f_name_pinyin }}</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row" :class="[config.f_user_type ? 'highlight' : '']">
|
|
26
|
+
<label class="col-sm-5">客户类型</label>
|
|
27
|
+
<span class="col-sm-7">{{ data ? data.f_user_type : dafault.f_user_type }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<label class="col-sm-5">账户余额</label>
|
|
31
|
+
<span class="col-sm-7">{{ data ? data.f_balance : dafault.f_user_type }}</span>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row" v-show="data.f_project_money && data.f_project_money > 0">
|
|
34
|
+
<label class="col-sm-5">未结金额</label>
|
|
35
|
+
<span class="col-sm-7">{{ data ?data.f_project_money: '' }} | {{ data ?data.f_gas_type: '' }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" v-show="data && data.f_sys_balance !== 0">
|
|
38
|
+
<label class="col-sm-5">系统余额</label>
|
|
39
|
+
<span class="col-sm-7">{{ data.f_sys_balance ? data.f_sys_balance : dafault.f_user_type }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" :class="[config.f_idnumber ? 'highlight' : '']">
|
|
42
|
+
<label class="col-sm-5" style="color: brown">证件号码</label>
|
|
43
|
+
<span class="col-sm-7" style="word-break: break-all;color: brown">{{ data ? data.f_idnumber : dafault.f_idnumber }}
|
|
44
|
+
<span v-if="data"
|
|
45
|
+
@click.stop="changeuseridnumber"
|
|
46
|
+
class="glyphicon glyphicon-pencil clickchange"
|
|
47
|
+
title="修正客户证件号码">
|
|
48
|
+
</span>
|
|
49
|
+
</span>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" :class="[config.f_user_phone ? 'highlight' : '']">
|
|
52
|
+
<label class="col-sm-5" style="color: brown">客户电话</label>
|
|
53
|
+
<span class="col-sm-7" style="color: brown">{{ data ? data.f_user_phone : dafault.f_user_phone }}
|
|
54
|
+
<span v-if="data" @click.stop="changeuserphone"
|
|
55
|
+
class="glyphicon glyphicon-pencil clickchange" title="修正客户电话"></span>
|
|
56
|
+
</span>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="row">
|
|
59
|
+
<label class="col-sm-5" style="color: brown">备用电话</label>
|
|
60
|
+
<span class="col-sm-7" style="color: brown">{{ data ? data.f_rent_phone : dafault.f_rent_phone }}
|
|
61
|
+
<span v-if="data" @click.stop="changerentphone"
|
|
62
|
+
class="glyphicon glyphicon-pencil clickchange" title="修正备用电话"></span>
|
|
63
|
+
</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="row" :class="[config.f_user_state ? 'highlight' : '']">
|
|
66
|
+
<label class="col-sm-5">客户状态</label>
|
|
67
|
+
<span class="col-sm-7">{{ data ? data.f_user_state : dafault.f_user_state }}</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="row" :class="[config.f_comments ? 'highlight' : '']">
|
|
70
|
+
<label class="col-sm-5" style="color: brown">备注信息</label>
|
|
71
|
+
<span class="col-sm-7" style="color: brown">
|
|
72
|
+
{{ (data ? data.f_comments : dafault.f_comments) + ' ' + usedContent }}
|
|
73
|
+
<span v-if="data" @click.stop="change_reason"
|
|
74
|
+
class="glyphicon glyphicon-pencil clickchange" title="修改备注信息"></span>
|
|
75
|
+
</span>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="row" :class="[config.f_address ? 'highlight' : '']">
|
|
78
|
+
<label class="col-sm-5">客户地址</label>
|
|
79
|
+
<span class="col-sm-7">{{ data ? data.f_address : dafault.f_address }}</span>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="row" :class="[config.f_open_date ? 'highlight' : '']">
|
|
82
|
+
<label class="col-sm-5">开户时间</label>
|
|
83
|
+
<span class="col-sm-7">{{ data ? data.f_open_date.substr(0, 10) : dafault.f_open_date }}</span>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="row" :class="[config.f_input_date ? 'highlight' : '']">
|
|
86
|
+
<label class="col-sm-5">安装时间</label>
|
|
87
|
+
<span class="col-sm-7">{{ data ? data.f_install_date.substr(0, 10) : dafault.f_input_date }}</span>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="row" :class="[config.f_people_num ? 'highlight' : '']">
|
|
90
|
+
<label class="col-sm-5"> 人 口 数</label>
|
|
91
|
+
<span class="col-sm-7"
|
|
92
|
+
style="word-break: break-all">{{ data ? data.f_people_num : dafault.f_people_num }}</span>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="row">
|
|
95
|
+
<label class="col-sm-5">客户等级</label>
|
|
96
|
+
<span class="col-sm-7"
|
|
97
|
+
style="word-break: break-all">{{ data ? data.f_user_level : dafault.f_people_num }}</span>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="row">
|
|
100
|
+
<label class="col-sm-5">旧客户编号</label>
|
|
101
|
+
<span class="col-sm-7">{{ data ? data.f_olduserinfo_code : dafault.f_userinfo_code }}</span>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="row">
|
|
104
|
+
<label class="col-sm-5">合同编号</label>
|
|
105
|
+
<span class="col-sm-7">{{ data ? data.f_contract_id : dafault.f_contract_id }}</span>
|
|
106
|
+
</div>
|
|
107
|
+
<modal v-if="showselectncuserinfo" :show.sync="showselectncuserinfo" width="40%" title="修正客户电话号码"
|
|
108
|
+
v-ref:modal large backdrop="false">
|
|
109
|
+
<article slot="modal-body" class="modal-body">
|
|
110
|
+
<div class="form-horizontal">
|
|
111
|
+
<div class="row">
|
|
112
|
+
<div class="col-sm-12 form-group">
|
|
113
|
+
<label class="font_normal_body">旧客户电话</label>
|
|
114
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
115
|
+
v-model="data.f_user_phone" placeholder='旧客户电话'>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="row">
|
|
119
|
+
<div class="col-sm-12 form-group">
|
|
120
|
+
<label class="font_normal_body">新客户电话</label>
|
|
121
|
+
<input type="text" style="width:80%" class="input_search" v-model="newuserphone"
|
|
122
|
+
placeholder='新客户电话'>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</article>
|
|
127
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
128
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUser">确定</button>
|
|
129
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
130
|
+
</footer>
|
|
131
|
+
</modal>
|
|
132
|
+
<modal v-if="showselectncuserrent" :show.sync="showselectncuserrent" width="40%" title="修正客户备用电话"
|
|
133
|
+
v-ref:modal large backdrop="false">
|
|
134
|
+
<article slot="modal-body" class="modal-body">
|
|
135
|
+
<div class="form-horizontal">
|
|
136
|
+
<div class="row">
|
|
137
|
+
<div class="col-sm-12 form-group">
|
|
138
|
+
<label class="font_normal_body">旧客户备用电话</label>
|
|
139
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
140
|
+
v-model="data.f_rent_phone" placeholder='旧客户备用电话'>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="row">
|
|
144
|
+
<div class="col-sm-12 form-group">
|
|
145
|
+
<label class="font_normal_body">新客户备用电话</label>
|
|
146
|
+
<input type="text" style="width:80%" class="input_search" v-model="newrentphone"
|
|
147
|
+
placeholder='新客户备用电话'>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
</article>
|
|
152
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
153
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserRent">确定</button>
|
|
154
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
155
|
+
</footer>
|
|
156
|
+
</modal>
|
|
157
|
+
<modal v-if="reason_show" :show.sync="reason_show" width="40%" title="修改备注信息"
|
|
158
|
+
v-ref:modal large backdrop="false">
|
|
159
|
+
<article slot="modal-body" class="modal-body">
|
|
160
|
+
<div class="form-horizontal">
|
|
161
|
+
<div class="row">
|
|
162
|
+
<div class="col-sm-12 form-group">
|
|
163
|
+
<label class="font_normal_body">旧备注信息</label>
|
|
164
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
165
|
+
v-model="data.f_comments" placeholder='旧备注信息'>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="row">
|
|
169
|
+
<div class="col-sm-12 form-group">
|
|
170
|
+
<label class="font_normal_body">新备注信息</label>
|
|
171
|
+
<input type="text" style="width:80%" class="input_search" v-model="new_reason"
|
|
172
|
+
placeholder='新备注信息'>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</article>
|
|
177
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
178
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserSpecialReson">确定</button>
|
|
179
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
180
|
+
</footer>
|
|
181
|
+
</modal>
|
|
182
|
+
<modal v-if="showselectncuseridnumber" :show.sync="showselectncuseridnumber" width="40%" title="修改证件号码"
|
|
183
|
+
v-ref:modal large backdrop="false">
|
|
184
|
+
<article slot="modal-body" class="modal-body">
|
|
185
|
+
<div class="form-horizontal">
|
|
186
|
+
<div class="row">
|
|
187
|
+
<div class="col-sm-12 form-group">
|
|
188
|
+
<label class="font_normal_body">旧证件号码</label>
|
|
189
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
190
|
+
v-model="data.f_idnumber" placeholder='旧证件号码'>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="row">
|
|
194
|
+
<div class="col-sm-12 form-group">
|
|
195
|
+
<label class="font_normal_body">新证件号码</label>
|
|
196
|
+
<input type="text" style="width:80%" class="input_search" v-model="newuseridnumber"
|
|
197
|
+
placeholder='新证件号码'>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</article>
|
|
202
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
203
|
+
<button class="button_search" :disabled='!newuseridnumber' @click="modifyUserIdNumberReason">确定</button>
|
|
204
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
205
|
+
</footer>
|
|
206
|
+
</modal>
|
|
207
|
+
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</partial-view>
|
|
211
|
+
</template>
|
|
212
|
+
|
|
213
|
+
<script>
|
|
214
|
+
/**
|
|
215
|
+
*用户档案相关信息组件
|
|
216
|
+
*/
|
|
217
|
+
|
|
218
|
+
export default {
|
|
219
|
+
ready () {
|
|
220
|
+
console.log('看看userinfo里面接收的data数据:', this.data)
|
|
221
|
+
this.$getConfig(this, 'getUserInfo')
|
|
222
|
+
},
|
|
223
|
+
title: '客户基本信息',
|
|
224
|
+
data () {
|
|
225
|
+
return {
|
|
226
|
+
dafault: {
|
|
227
|
+
f_user_name: '***',
|
|
228
|
+
f_userinfo_code: '********',
|
|
229
|
+
f_people_num: '**',
|
|
230
|
+
f_idnumber: '****',
|
|
231
|
+
f_user_phone: '************',
|
|
232
|
+
f_address: '*****',
|
|
233
|
+
f_user_type: '***',
|
|
234
|
+
f_open_date: '****年**月**日',
|
|
235
|
+
f_input_date: '****年**月**日',
|
|
236
|
+
f_hand_date: '****年**月**日',
|
|
237
|
+
f_rent_phone: '************',
|
|
238
|
+
f_comments: '**',
|
|
239
|
+
f_user_state: '****',
|
|
240
|
+
f_contract_id: '*************'
|
|
241
|
+
},
|
|
242
|
+
config: {
|
|
243
|
+
f_user_name: false,
|
|
244
|
+
f_userinfo_code: false,
|
|
245
|
+
f_people_num: false,
|
|
246
|
+
f_idnumber: false,
|
|
247
|
+
f_user_phone: false,
|
|
248
|
+
f_address: false,
|
|
249
|
+
f_user_type: false,
|
|
250
|
+
f_open_date: false,
|
|
251
|
+
f_input_date: false,
|
|
252
|
+
f_comments: false,
|
|
253
|
+
f_user_state: false
|
|
254
|
+
},
|
|
255
|
+
usedContent: '', // 存储 f_used_content
|
|
256
|
+
model: null,
|
|
257
|
+
showselectncuserinfo: false,
|
|
258
|
+
showselectncuserrent: false,
|
|
259
|
+
showselectncuseridnumber: false,
|
|
260
|
+
newuserphone: '',
|
|
261
|
+
newrentphone: '',
|
|
262
|
+
newuseridnumber: '',
|
|
263
|
+
reason_show: false,
|
|
264
|
+
new_reason: ''
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
props: ['data', 'warninginfo'],
|
|
268
|
+
methods: {
|
|
269
|
+
async modifyUserSpecialReson () {
|
|
270
|
+
let param = {
|
|
271
|
+
new_reason: this.new_reason,
|
|
272
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
273
|
+
f_user_id: this.data.f_user_id,
|
|
274
|
+
f_operator: this.$login.f.name,
|
|
275
|
+
f_operatorid: this.$login.f.id,
|
|
276
|
+
f_orgid: this.$login.f.orgid,
|
|
277
|
+
f_orgname: this.$login.f.orgs,
|
|
278
|
+
f_depid: this.$login.f.depids,
|
|
279
|
+
f_depname: this.$login.f.deps
|
|
280
|
+
}
|
|
281
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
282
|
+
this.data.f_comments = this.new_reason
|
|
283
|
+
this.$parent.$parent.close()
|
|
284
|
+
this.$parent.$parent.clean()
|
|
285
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
286
|
+
this.close()
|
|
287
|
+
},
|
|
288
|
+
async modifyUserIdNumberReason () {
|
|
289
|
+
let param = {
|
|
290
|
+
new_idnumber: this.newuseridnumber,
|
|
291
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
292
|
+
f_user_id: this.data.f_user_id,
|
|
293
|
+
f_operator: this.$login.f.name,
|
|
294
|
+
f_operatorid: this.$login.f.id,
|
|
295
|
+
f_orgid: this.$login.f.orgid,
|
|
296
|
+
f_orgname: this.$login.f.orgs,
|
|
297
|
+
f_depid: this.$login.f.depids,
|
|
298
|
+
f_depname: this.$login.f.deps
|
|
299
|
+
}
|
|
300
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
301
|
+
this.data.f_idnumber = this.newuseridnumber
|
|
302
|
+
this.$parent.$parent.close()
|
|
303
|
+
this.$parent.$parent.clean()
|
|
304
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
305
|
+
this.close()
|
|
306
|
+
},
|
|
307
|
+
change_reason () {
|
|
308
|
+
// 修正客户电话
|
|
309
|
+
this.reason_show = true
|
|
310
|
+
this.new_reason = ''
|
|
311
|
+
},
|
|
312
|
+
dealmsg (val) {
|
|
313
|
+
if (val.f_userinfo_code !== '********') {
|
|
314
|
+
this.$dispatch('deal-msg', val)
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
changeuserphone () {
|
|
318
|
+
// 修正客户电话
|
|
319
|
+
this.showselectncuserinfo = true
|
|
320
|
+
this.newuserphone = ''
|
|
321
|
+
},
|
|
322
|
+
changeuseridnumber () {
|
|
323
|
+
// 修正客户证件号码
|
|
324
|
+
this.showselectncuseridnumber = true
|
|
325
|
+
this.newuseridnumber = ''
|
|
326
|
+
},
|
|
327
|
+
changerentphone () {
|
|
328
|
+
// 修正客户电话
|
|
329
|
+
this.showselectncuserrent = true
|
|
330
|
+
this.newrentphone = ''
|
|
331
|
+
},
|
|
332
|
+
async modifyUser () {
|
|
333
|
+
let param = {
|
|
334
|
+
new_userphone: this.newuserphone,
|
|
335
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
336
|
+
f_user_id: this.data.f_user_id,
|
|
337
|
+
f_operator: this.$login.f.name,
|
|
338
|
+
f_operatorid: this.$login.f.id,
|
|
339
|
+
f_orgid: this.$login.f.orgid,
|
|
340
|
+
f_orgname: this.$login.f.orgs,
|
|
341
|
+
f_depid: this.$login.f.depids,
|
|
342
|
+
f_depname: this.$login.f.deps
|
|
343
|
+
}
|
|
344
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
345
|
+
this.data.f_user_phone = this.newuserphone
|
|
346
|
+
this.$parent.$parent.close()
|
|
347
|
+
this.$parent.$parent.clean()
|
|
348
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
349
|
+
this.close()
|
|
350
|
+
},
|
|
351
|
+
async modifyUserRent () {
|
|
352
|
+
let param = {
|
|
353
|
+
new_rentphone: this.newrentphone,
|
|
354
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
355
|
+
f_user_id: this.data.f_user_id,
|
|
356
|
+
f_operator: this.$login.f.name,
|
|
357
|
+
f_operatorid: this.$login.f.id,
|
|
358
|
+
f_orgid: this.$login.f.orgid,
|
|
359
|
+
f_orgname: this.$login.f.orgs,
|
|
360
|
+
f_depid: this.$login.f.depids,
|
|
361
|
+
f_depname: this.$login.f.deps
|
|
362
|
+
}
|
|
363
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
364
|
+
this.data.f_rent_phone = this.newrentphone
|
|
365
|
+
this.$parent.$parent.close()
|
|
366
|
+
this.$parent.$parent.clean()
|
|
367
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
368
|
+
this.close()
|
|
369
|
+
},
|
|
370
|
+
close () {
|
|
371
|
+
this.showselectncuserinfo = false
|
|
372
|
+
this.showselectncuserrent = false
|
|
373
|
+
this.reason_show = false
|
|
374
|
+
this.showselectncuseridnumber = false
|
|
375
|
+
this.newuserphone = ''
|
|
376
|
+
this.new_reason = ''
|
|
377
|
+
this.new_idnumber = ''
|
|
378
|
+
},
|
|
379
|
+
async getUsedContent() {
|
|
380
|
+
try {
|
|
381
|
+
const result = await this.$resetpost('/api/af-revenue/sql/getChangeRecord', {
|
|
382
|
+
condition: `f_userinfo_code = '${this.data.f_userinfo_code}' and f_new_content = '${this.data.f_address}'`
|
|
383
|
+
}, { resolveMsg: null, rejectMsg: null })
|
|
384
|
+
|
|
385
|
+
console.log('getChangeRecord 返回结果:', result)
|
|
386
|
+
|
|
387
|
+
if (result && result.data && result.data.length > 0) {
|
|
388
|
+
const firstRecord = result.data[0]
|
|
389
|
+
console.log('第一条记录:', firstRecord)
|
|
390
|
+
console.log('f_used_content:', firstRecord.f_used_content)
|
|
391
|
+
this.usedContent = firstRecord.f_used_content || ''
|
|
392
|
+
} else {
|
|
393
|
+
this.usedContent = ''
|
|
394
|
+
}
|
|
395
|
+
} catch (error) {
|
|
396
|
+
console.error('获取 f_used_content 失败:', error)
|
|
397
|
+
this.usedContent = ''
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
watch: {
|
|
402
|
+
'data' (val) {
|
|
403
|
+
console.log('watch data 变化:', val)
|
|
404
|
+
// 当 data 变化时,调用 API 获取 f_used_content
|
|
405
|
+
if (val && val.f_userinfo_code) {
|
|
406
|
+
console.log('获取 f_used_content,用户编号:', val.f_userinfo_code)
|
|
407
|
+
this.getUsedContent()
|
|
408
|
+
} else {
|
|
409
|
+
// 当 data 为空时,重置 usedContent
|
|
410
|
+
console.log('data 为空,重置 usedContent')
|
|
411
|
+
this.usedContent = ''
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
}
|
|
416
|
+
</script>
|
|
417
|
+
<style scoped>
|
|
418
|
+
.clickchange:hover {
|
|
419
|
+
color: #3592ef;
|
|
420
|
+
cursor: pointer;
|
|
421
|
+
}
|
|
422
|
+
.highlight {
|
|
423
|
+
color: brown;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
</style>
|
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<div style="float: right">
|
|
30
30
|
<button @click="search()" class="button_search" v-el:cba>查询</button>
|
|
31
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
32
|
+
:field="$parent.$parent.fields" :header="$parent.$parent.other"
|
|
33
|
+
sqlurl="api/af-revenue/logic/saleExport"
|
|
34
|
+
:sql-name="'iot_getNewLoseUserQuery'"
|
|
35
|
+
template-name='表具采集查询导出'
|
|
36
|
+
:choose-col="true"></export-excel>
|
|
31
37
|
</div>
|
|
32
38
|
</div>
|
|
33
39
|
|
|
@@ -95,7 +101,24 @@
|
|
|
95
101
|
title: 'WatchCollection',
|
|
96
102
|
data () {
|
|
97
103
|
return {
|
|
98
|
-
model: new PagedList('api/af-revenue/sql/iot_getNewLoseUserQuery', 50)
|
|
104
|
+
model: new PagedList('api/af-revenue/sql/iot_getNewLoseUserQuery', 50),
|
|
105
|
+
fields: {
|
|
106
|
+
'f_hand_date': '上报日期',
|
|
107
|
+
'f_jval': '表上余额',
|
|
108
|
+
'f_tablebase': '本次抄表底数',
|
|
109
|
+
'f_upload_type': '上报类型',
|
|
110
|
+
'f_insert_date': '系统接收时间',
|
|
111
|
+
'f_meterdebitamt': '表内累计充值金额',
|
|
112
|
+
'f_electricity': '电量等级',
|
|
113
|
+
'f_signal': '噪音强度',
|
|
114
|
+
'f_snr': '信噪比',
|
|
115
|
+
'f_batterylevel': '电压',
|
|
116
|
+
'f_networkshutvalve': '阀门强制状态',
|
|
117
|
+
'f_wmprepaytype': '计量类型',
|
|
118
|
+
'f_moneystate': '金额状态',
|
|
119
|
+
'f_magneticInterference': '磁干扰异常',
|
|
120
|
+
'f_compensateState': '补偿状态'
|
|
121
|
+
}
|
|
99
122
|
}
|
|
100
123
|
},
|
|
101
124
|
props: ['row'],
|
|
@@ -103,17 +126,47 @@
|
|
|
103
126
|
this.$refs.paged.$refs.criteria.search()
|
|
104
127
|
},
|
|
105
128
|
methods: {
|
|
129
|
+
getotherfooter () {
|
|
130
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
131
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
132
|
+
this.other = []
|
|
133
|
+
this.footer = []
|
|
134
|
+
// let exportdata = this.getCondition;
|
|
135
|
+
let otherInData = []
|
|
136
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
137
|
+
let footerData = [], exportfield = this.fields
|
|
138
|
+
footerData.push('合计')
|
|
139
|
+
let self = this
|
|
140
|
+
for (var field in self.sumsmodel) {
|
|
141
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
142
|
+
}
|
|
143
|
+
this.footer.push(footerData)
|
|
144
|
+
this.other.push(otherInData)
|
|
145
|
+
},
|
|
106
146
|
search (args) {
|
|
107
147
|
args.condition = `${args.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
|
|
108
148
|
this.model.search(args.condition, args.model)
|
|
109
149
|
}
|
|
110
150
|
},
|
|
151
|
+
computed: {
|
|
152
|
+
getCondition () {
|
|
153
|
+
return {
|
|
154
|
+
condition: this.condition
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
111
158
|
watch: {
|
|
112
159
|
// 监听查询对象
|
|
113
160
|
'row' (val) {
|
|
114
161
|
if (this.row != null) {
|
|
115
162
|
this.$refs.paged.$refs.criteria.search()
|
|
116
163
|
}
|
|
164
|
+
},
|
|
165
|
+
sumsmodel: {
|
|
166
|
+
handler: function (val) {
|
|
167
|
+
this.getotherfooter()
|
|
168
|
+
},
|
|
169
|
+
deep: true
|
|
117
170
|
}
|
|
118
171
|
}
|
|
119
172
|
}
|