sale-client 4.2.71 → 4.2.72
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 +58 -36
- package/index.html +7 -2
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/components/revenue/Common/EticketPrint.vue +2 -2
- package/src/components/revenue/HandManager/CardHand.vue +6 -6
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
- 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/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
- package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
- package/src/filiale/alashan/FileUserFiles.vue +1 -1
- package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/dexin/FileUserFiles.vue +1 -1
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/fugou/FileUserFiles.vue +1 -1
- package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
- package/src/filiale/gehua/FileUserFiles.vue +1 -1
- package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/huayin/FileUserFiles.vue +1 -1
- package/src/filiale/jingwei/FileUserFiles.vue +1 -1
- package/src/filiale/jingyang/EticketPrint.vue +2 -2
- package/src/filiale/jingyang/GovernmentSell.vue +1 -1
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/jinhuang/cardsHand.vue +8 -8
- package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
- package/src/filiale/konggang/FileUserFiles.vue +1 -1
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/macheng/EstimateManager.vue +1 -1
- package/src/filiale/macheng/FileUserFiles.vue +1 -1
- package/src/filiale/meihekou/FileUserFiles.vue +1 -1
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/ningjin/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
- package/src/filiale/qingjian/FileUserFiles.vue +1 -1
- package/src/filiale/rizhao/FileUserFiles.vue +1 -1
- package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
- package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- 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/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/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/shanggao/FileUserFiles.vue +1 -1
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
- package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/wenxi/FileUserFiles.vue +1 -1
- package/src/filiale/wuan/FileUserFiles.vue +1 -1
- package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yangchun/EticketPrint.vue +2 -2
- package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
- package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
- package/src/components/FilesManage/ncUserinfoList.vue +0 -315
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
- package/src/components/SendCard/SendCardData.vue +0 -208
- package/src/components/accounts/accountAdd.vue +0 -276
- package/src/components/accounts/accountsList.vue +0 -183
- package/src/components/accounts/accountsManage.vue +0 -87
- package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
- package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
- package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
- package/src/components/ncarchives/ncArchivesList.vue +0 -159
- package/src/components/ncarchives/ncUserfilesList.vue +0 -373
- package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
- package/src/components/revenue/IOTArrears/arrears.vue +0 -323
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
- package/src/components/thirdapply/thirdAdd.vue +0 -289
- package/src/components/thirdapply/thirdList.vue +0 -162
- package/src/components/thirdapply/thirdManage.vue +0 -74
- package/src/components/webMeter/InstructQuery.vue +0 -414
- package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
- package/src/components/webMeter/WebUserHand.vue +0 -483
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
- package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
- package/src/plugins/FileManageServicets.js +0 -214
- package/src/plugins/GetImg.js +0 -53
|
@@ -1,461 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex">
|
|
3
|
-
<div @keyup.enter="search" class="height:auto">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
-
<div class="row" >
|
|
8
|
-
<div class="col-sm-2">
|
|
9
|
-
<label class="font_normal_body"> 公司 </label>
|
|
10
|
-
<right-tree @re-res="$parent.$parent.getorg"
|
|
11
|
-
:initresid='$parent.$parent.org'></right-tree>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-sm-2">
|
|
14
|
-
<label class="font_normal_body">客户编号</label>
|
|
15
|
-
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
16
|
-
v-model="model.f_userinfo_code"
|
|
17
|
-
placeholder='客户编号'
|
|
18
|
-
condition="t1.f_userinfo_code like '{}%'"
|
|
19
|
-
>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-sm-2">
|
|
22
|
-
<label class="font_normal_body">客户名称</label>
|
|
23
|
-
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
24
|
-
v-model="model.f_user_name"
|
|
25
|
-
placeholder='客户名称'
|
|
26
|
-
condition="t1.f_user_name like '%{}%'"
|
|
27
|
-
>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-2">
|
|
30
|
-
<label class="font_normal_body">客户地址</label>
|
|
31
|
-
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
32
|
-
v-model="model.f_address"
|
|
33
|
-
placeholder='客户地址'
|
|
34
|
-
:size="model.f_address ? model.f_address.length : 6"
|
|
35
|
-
condition="t2.f_address like '%{}%'"
|
|
36
|
-
>
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<div style="float:right">
|
|
41
|
-
<button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
|
|
42
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
43
|
-
<export-excel
|
|
44
|
-
:data="{condition: $parent.$parent.condition}"
|
|
45
|
-
:field="$parent.$parent.getfield"
|
|
46
|
-
sqlurl="rs/logic/saleExport" sql-name="iot_getNewMeterBrandAndModel1" template-name='表具查询'
|
|
47
|
-
:choose-col="true"></export-excel>
|
|
48
|
-
<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>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
53
|
-
<div class="col-sm-2">
|
|
54
|
-
<label class="font_normal_body"> 表号 </label>
|
|
55
|
-
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
56
|
-
v-model="model.f_meternumber"
|
|
57
|
-
placeholder='表号'
|
|
58
|
-
condition="t1.f_meternumber like '%{}%'">
|
|
59
|
-
</div>
|
|
60
|
-
<div class="col-sm-2">
|
|
61
|
-
<label class="font_normal_body">客户类型</label>
|
|
62
|
-
<v-select
|
|
63
|
-
placeholder='客户类型'
|
|
64
|
-
value-single="true"
|
|
65
|
-
style="width:60%"
|
|
66
|
-
:value.sync="model.f_user_type"
|
|
67
|
-
v-model="model.f_user_type"
|
|
68
|
-
:options='$parent.$parent.Gasusertype'
|
|
69
|
-
close-on-select condition="t1.f_user_type ='{}'">
|
|
70
|
-
</v-select>
|
|
71
|
-
</div>
|
|
72
|
-
|
|
73
|
-
<div class="col-sm-2">
|
|
74
|
-
<label class="font_normal_body">用气性质</label>
|
|
75
|
-
<v-select
|
|
76
|
-
placeholder='用气性质'
|
|
77
|
-
value-single="true"
|
|
78
|
-
:value.sync="model.f_gasproperties"
|
|
79
|
-
style="width:60%"
|
|
80
|
-
v-model="model.f_gasproperties"
|
|
81
|
-
:options='$parent.$parent.Gasproperties'
|
|
82
|
-
close-on-select condition="t1.f_gasproperties ='{}'">
|
|
83
|
-
</v-select>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="col-sm-2">
|
|
86
|
-
<label class="font_normal_body">气表状态</label>
|
|
87
|
-
<v-select
|
|
88
|
-
placeholder='气表状态'
|
|
89
|
-
:value.sync="model.f_table_state"
|
|
90
|
-
style="width:60%"
|
|
91
|
-
v-model="model.f_table_state"
|
|
92
|
-
:options='$parent.$parent.TableStates'
|
|
93
|
-
close-on-select
|
|
94
|
-
condition="t1.f_table_state='{}'">
|
|
95
|
-
</v-select>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="col-sm-2">
|
|
98
|
-
<label class="font_normal_body">阀门状态</label>
|
|
99
|
-
<v-select
|
|
100
|
-
placeholder='阀门状态'
|
|
101
|
-
value-single="true"
|
|
102
|
-
style="width:60%"
|
|
103
|
-
:value.sync="model.f_valvestate"
|
|
104
|
-
v-model="model.f_valvestate"
|
|
105
|
-
:options='$parent.$parent.ValveState'
|
|
106
|
-
close-on-select condition="t1.f_valvestate ='{}'">
|
|
107
|
-
</v-select>
|
|
108
|
-
</div>
|
|
109
|
-
<div class="col-sm-2">
|
|
110
|
-
<label class="font_normal_body">气表品牌</label>
|
|
111
|
-
<v-select
|
|
112
|
-
placeholder='气表品牌'
|
|
113
|
-
|
|
114
|
-
:value.sync="model.f_gasbrand"
|
|
115
|
-
style="width:60%"
|
|
116
|
-
v-model="model.f_gasbrand"
|
|
117
|
-
:options='$parent.$parent.meterbrand'
|
|
118
|
-
close-on-select
|
|
119
|
-
condition="t1.f_meter_brand='{}'">
|
|
120
|
-
</v-select>
|
|
121
|
-
</div>
|
|
122
|
-
<div class="col-sm-2" >
|
|
123
|
-
<label class="font_normal_body" >开始时间</label>
|
|
124
|
-
<datepicker style="width:60%" placeholder="通气起始时间"
|
|
125
|
-
:value.sync="model.startDate"
|
|
126
|
-
v-model="model.startDate"
|
|
127
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
128
|
-
condition="t1.f_gas_date >= '{}'"
|
|
129
|
-
></datepicker>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="col-sm-2" >
|
|
132
|
-
<label class="font_normal_body" > 至 </label>
|
|
133
|
-
<datepicker style="width:60%" placeholder="通气结束时间"
|
|
134
|
-
:value.sync="model.endDate"
|
|
135
|
-
v-model="model.endDate"
|
|
136
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
137
|
-
condition="t1.f_gas_date <= '{}'"
|
|
138
|
-
></datepicker>
|
|
139
|
-
</div>
|
|
140
|
-
|
|
141
|
-
</div>
|
|
142
|
-
|
|
143
|
-
</div>
|
|
144
|
-
</criteria>
|
|
145
|
-
|
|
146
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
147
|
-
<template partial='head'>
|
|
148
|
-
<tr>
|
|
149
|
-
<th style="text-align:center">
|
|
150
|
-
<nobr>序号</nobr>
|
|
151
|
-
</th>
|
|
152
|
-
<th style="text-align:center">
|
|
153
|
-
<nobr>客户编号</nobr>
|
|
154
|
-
</th>
|
|
155
|
-
<th style="text-align:center">
|
|
156
|
-
<nobr>客户名称</nobr>
|
|
157
|
-
</th>
|
|
158
|
-
<th style="text-align:center">
|
|
159
|
-
<nobr>客户地址</nobr>
|
|
160
|
-
</th>
|
|
161
|
-
<th style="text-align:center;color:#3c763d">
|
|
162
|
-
<nobr>表号</nobr>
|
|
163
|
-
</th>
|
|
164
|
-
<th style="text-align:center;color:#3c763d">
|
|
165
|
-
<nobr>通气时间</nobr>
|
|
166
|
-
</th>
|
|
167
|
-
<th style="text-align:center">
|
|
168
|
-
<nobr>气表品牌</nobr>
|
|
169
|
-
</th>
|
|
170
|
-
<th style="text-align:center">
|
|
171
|
-
<nobr>壁挂炉</nobr>
|
|
172
|
-
</th>
|
|
173
|
-
<th style="text-align:center">
|
|
174
|
-
<nobr>热水器</nobr>
|
|
175
|
-
<th style="text-align:center">
|
|
176
|
-
<nobr>气表读数</nobr>
|
|
177
|
-
</th>
|
|
178
|
-
<th style="text-align:center">
|
|
179
|
-
<nobr>累购金额</nobr>
|
|
180
|
-
</th>
|
|
181
|
-
<th style="text-align:center">
|
|
182
|
-
<nobr>表上余额</nobr>
|
|
183
|
-
</th>
|
|
184
|
-
<th style="text-align:center">
|
|
185
|
-
<nobr>阀门状态</nobr>
|
|
186
|
-
</th>
|
|
187
|
-
<th style="text-align:center">
|
|
188
|
-
<nobr>信号强度</nobr>
|
|
189
|
-
</th>
|
|
190
|
-
<th style="text-align:center">
|
|
191
|
-
<nobr>电压</nobr>
|
|
192
|
-
</th>
|
|
193
|
-
<th style="text-align:center">
|
|
194
|
-
<nobr>磁干扰</nobr>
|
|
195
|
-
</th>
|
|
196
|
-
<th style="text-align:center">
|
|
197
|
-
<nobr>组织机构</nobr>
|
|
198
|
-
</th>
|
|
199
|
-
</tr>
|
|
200
|
-
</template>
|
|
201
|
-
<template partial='body'>
|
|
202
|
-
<tr>
|
|
203
|
-
<td style="text-align:center">
|
|
204
|
-
<nobr>{{$index+1}}</nobr>
|
|
205
|
-
</td>
|
|
206
|
-
<td style="text-align:center">
|
|
207
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
208
|
-
</td>
|
|
209
|
-
<td style="text-align:center">
|
|
210
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
211
|
-
</td>
|
|
212
|
-
<td>
|
|
213
|
-
<nobr>{{row.f_address}}</nobr>
|
|
214
|
-
</td>
|
|
215
|
-
<td style="text-align:center;color:#3c763d" >
|
|
216
|
-
<nobr>
|
|
217
|
-
{{row.f_meternumber}}
|
|
218
|
-
</nobr>
|
|
219
|
-
</td>
|
|
220
|
-
<td style="text-align:center;color:#3c763d" >
|
|
221
|
-
<nobr>
|
|
222
|
-
{{row.f_gas_date}}
|
|
223
|
-
</nobr>
|
|
224
|
-
</td>
|
|
225
|
-
<td style="text-align:center">
|
|
226
|
-
<nobr>{{row.f_meter_brand}}</nobr>
|
|
227
|
-
</td>
|
|
228
|
-
<td style="text-align:center">{{row.f_has_stove}}</td>
|
|
229
|
-
<td style="text-align:center">{{row.f_has_heater}}</td>
|
|
230
|
-
<td style="text-align:center">
|
|
231
|
-
<nobr>{{row.f_meter_base}}</nobr>
|
|
232
|
-
</td>
|
|
233
|
-
<td style="text-align:center">
|
|
234
|
-
<nobr>{{row.f_total_fee}}</nobr>
|
|
235
|
-
</td>
|
|
236
|
-
<td style="text-align:center">
|
|
237
|
-
<nobr>{{row.f_balance_amount}}</nobr>
|
|
238
|
-
</td>
|
|
239
|
-
<td style="text-align:center">
|
|
240
|
-
<nobr>{{row.f_valvestate}}</nobr>
|
|
241
|
-
</td>
|
|
242
|
-
<td style="text-align:center">
|
|
243
|
-
<nobr>{{row.f_signal}}</nobr>
|
|
244
|
-
</td>
|
|
245
|
-
<td style="text-align:center">
|
|
246
|
-
<nobr>{{isNaN(parseFloat(row.f_batterylevel))?'':parseFloat(row.f_batterylevel)}}</nobr>
|
|
247
|
-
</td>
|
|
248
|
-
<td style="text-align:center">
|
|
249
|
-
<nobr>{{row.f_magneticInterference}}</nobr>
|
|
250
|
-
</td>
|
|
251
|
-
<td style="text-align:center">
|
|
252
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
253
|
-
</td>
|
|
254
|
-
</tr>
|
|
255
|
-
</template>
|
|
256
|
-
</data-grid>
|
|
257
|
-
</criteria-paged>
|
|
258
|
-
</div>
|
|
259
|
-
</div>
|
|
260
|
-
</template>
|
|
261
|
-
<script>
|
|
262
|
-
import {PagedList} from 'vue-client'
|
|
263
|
-
let readyGen = async function (self) {
|
|
264
|
-
await self.$LoadParams.loadParam(self.$login.f.orgid)
|
|
265
|
-
self.initQueryParam()
|
|
266
|
-
await self.$getConfig(self, 'HandManager')
|
|
267
|
-
console.log('表具管理config', self.config)
|
|
268
|
-
self.getfield = self.config.excelHeaders
|
|
269
|
-
// self.reflash()
|
|
270
|
-
}
|
|
271
|
-
export default {
|
|
272
|
-
title: '表具查询',
|
|
273
|
-
data() {
|
|
274
|
-
return {
|
|
275
|
-
model: new PagedList('rs/sql/iot_getNewMeterBrandAndModel1', 50),
|
|
276
|
-
row: null,
|
|
277
|
-
meterbrand: [],
|
|
278
|
-
searchshow: false,
|
|
279
|
-
orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
|
|
280
|
-
getfield: {},
|
|
281
|
-
org:[this.$login.f.orgid],
|
|
282
|
-
criteriaShow:false,
|
|
283
|
-
config: {
|
|
284
|
-
excelHeaders: {
|
|
285
|
-
'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址','f_gas_date': '通气时间',
|
|
286
|
-
'f_meternumber': '表号','f_meter_brand': '气表品牌','f_has_stove': '壁挂炉','f_has_heater': '热水器','f_meter_base': '气表底数',
|
|
287
|
-
'f_total_fee': '累购金额','f_balance_amount': '表上余额', 'f_valvestate': '阀门状态',
|
|
288
|
-
'f_signal': '信号强度','f_batteryLevel': '电压','f_magneticInterference': '磁干扰',
|
|
289
|
-
'f_orgname': '组织机构'
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
condition:'f_filialeid = ' + this.$login.f.orgid,
|
|
293
|
-
WarningType: [
|
|
294
|
-
{label: '全部', value: ''}
|
|
295
|
-
],
|
|
296
|
-
Warningstyle: [
|
|
297
|
-
{label: '全部', value: ''}
|
|
298
|
-
],
|
|
299
|
-
|
|
300
|
-
Warningstyles: [
|
|
301
|
-
{label: '全部', value: ''}
|
|
302
|
-
],
|
|
303
|
-
styles: false,
|
|
304
|
-
softVwareersion: [],
|
|
305
|
-
Gasusertype: [],
|
|
306
|
-
Gasproperties:[],
|
|
307
|
-
// Gasproperties: this.$refs.paged.$refs.criteria.model.f_user_type.length === 1 ? this.$appdata.getParam(this.model.f_user_type[0]) : [],
|
|
308
|
-
Gasproperties2: [],
|
|
309
|
-
f_signal_1: '',
|
|
310
|
-
f_signal_2: '',
|
|
311
|
-
str: '',
|
|
312
|
-
isBusy: false,
|
|
313
|
-
f_batterylevel_1: 0,
|
|
314
|
-
f_batterylevel_2: 0,
|
|
315
|
-
f_orgid_new: this.$login.f.orgid
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
props: ['searchobj', 'isdeal'],
|
|
319
|
-
ready() {
|
|
320
|
-
//初始化气表品牌下拉框
|
|
321
|
-
//初始化客户类型,用气性质,用气属性,软件版本号下拉框
|
|
322
|
-
readyGen(this)
|
|
323
|
-
this.$refs.paged.$refs.criteria.model.f_table_state=['正常']
|
|
324
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
325
|
-
},
|
|
326
|
-
watch: {
|
|
327
|
-
'searchobj'(val) {
|
|
328
|
-
if (this.searchobj != null) {
|
|
329
|
-
this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
|
|
330
|
-
this.$refs.paged.$refs.criteria.search()
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
methods: {
|
|
336
|
-
hidden(){
|
|
337
|
-
this.criteriaShow = !this.criteriaShow
|
|
338
|
-
},
|
|
339
|
-
clearmsg() {
|
|
340
|
-
this.$refs.paged.$refs.criteria.model = {}
|
|
341
|
-
},
|
|
342
|
-
clickshow() {
|
|
343
|
-
this.searchshow = !this.searchshow
|
|
344
|
-
},
|
|
345
|
-
dealmsg(val) {
|
|
346
|
-
val.model = this.model.model
|
|
347
|
-
this.$emit('deal-msg', val)
|
|
348
|
-
},
|
|
349
|
-
async search(args) {
|
|
350
|
-
this.isBusy = true
|
|
351
|
-
if(args.condition == null){
|
|
352
|
-
return;
|
|
353
|
-
}
|
|
354
|
-
args.condition = `${args.condition} `+this.orgcondition
|
|
355
|
-
this.condition=args.condition
|
|
356
|
-
this.model.search(args.condition, args.model)
|
|
357
|
-
if(this.f_orgid_new == '' || this.f_orgid_new == null){
|
|
358
|
-
await this.$LoadParams.loadParam(this.$login.f.orgid)
|
|
359
|
-
}else{
|
|
360
|
-
await this.$LoadParams.loadParam(this.f_orgid_new)
|
|
361
|
-
}
|
|
362
|
-
this.initQueryParam();
|
|
363
|
-
},
|
|
364
|
-
getorg(obj) {
|
|
365
|
-
if (obj.resids.length>0) {
|
|
366
|
-
this.orgcondition = " and t1.f_filialeid in " + this.$login.convertToIn(obj.resids)
|
|
367
|
-
if(obj.resids instanceof Array){
|
|
368
|
-
this.f_orgid_new = obj.resids[0]
|
|
369
|
-
}else{
|
|
370
|
-
this.f_orgid_new = obj.resids
|
|
371
|
-
}
|
|
372
|
-
}else
|
|
373
|
-
{
|
|
374
|
-
this.orgcondition = " and t1.f_filialeid = " + this.$login.f.orgid
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
userTypeChange () {
|
|
379
|
-
this.gasproperties = []
|
|
380
|
-
if (this.model.f_user_type.length === 1) {
|
|
381
|
-
if (this.model.f_user_type[0]) {
|
|
382
|
-
this.gasproperties = this.$appdata.getParam(this.model.f_user_type[0])
|
|
383
|
-
} else {
|
|
384
|
-
this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
initQueryParam () {
|
|
389
|
-
let arr = []
|
|
390
|
-
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
391
|
-
let temp = {}
|
|
392
|
-
if(item.value.f_meter_type==='物联网表'){
|
|
393
|
-
temp.label = item.label
|
|
394
|
-
temp.value = item.value.f_meter_brand
|
|
395
|
-
arr.push(temp )
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
})
|
|
399
|
-
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
computed: {
|
|
403
|
-
/* Warningstyle () {
|
|
404
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('燃气表型号')]
|
|
405
|
-
},*/
|
|
406
|
-
MeterTypes() {
|
|
407
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
408
|
-
},
|
|
409
|
-
TableStates() {
|
|
410
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
411
|
-
},
|
|
412
|
-
Gasproperties() {
|
|
413
|
-
let rs = []
|
|
414
|
-
if (this.model.model.f_user_type) {
|
|
415
|
-
rs = this.$appdata.getParam(this.model.model.f_user_type[0])
|
|
416
|
-
}
|
|
417
|
-
return rs
|
|
418
|
-
// return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
419
|
-
},
|
|
420
|
-
ValveState() {
|
|
421
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
422
|
-
},
|
|
423
|
-
Gasusertype() {
|
|
424
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
425
|
-
},
|
|
426
|
-
signtype1() {
|
|
427
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
|
|
428
|
-
},
|
|
429
|
-
parameterState() {
|
|
430
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
|
|
431
|
-
},
|
|
432
|
-
userfilesState() {
|
|
433
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报状态')]
|
|
434
|
-
},
|
|
435
|
-
/*softVwareersion() {
|
|
436
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('软件版本号')]
|
|
437
|
-
},*/
|
|
438
|
-
valvestate() {
|
|
439
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
440
|
-
},
|
|
441
|
-
meterbrands() {
|
|
442
|
-
return this.$GetSaleParam.getGasbrand()
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
</script>
|
|
447
|
-
<style>
|
|
448
|
-
/*.form-input-group label {*/
|
|
449
|
-
/* text-align: right;*/
|
|
450
|
-
/* width: auto;*/
|
|
451
|
-
/*}*/
|
|
452
|
-
|
|
453
|
-
.datapanel {
|
|
454
|
-
color: #333;
|
|
455
|
-
background-color: white;
|
|
456
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
457
|
-
padding: 10px 30px 10px 30px;
|
|
458
|
-
border-radius: 15px;
|
|
459
|
-
}
|
|
460
|
-
</style>
|
|
461
|
-
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import co from 'co'
|
|
3
|
-
|
|
4
|
-
let cancelUserGen = function * (data, type) {
|
|
5
|
-
console.log('销户。。', data)
|
|
6
|
-
if (type === '销户') {
|
|
7
|
-
let owe = yield Vue.resetpost('rs/logic/hasOweWithUser', {data: {f_userinfo_id: data.f_userinfo_id.f_userinfo_id}}, {resolveMsg: null, rejectMsg: null})
|
|
8
|
-
let hasHandplan = yield Vue.resetpost('rs/sql/saleSingleTable', {data: {tablename: 't_handplan', condition: `f_meter_state = '未抄表' and f_userinfo_id = '${data.record_userinfo}'`}}, {resolveMsg: null, rejectMsg: null})
|
|
9
|
-
if (owe.data === 1 && hasHandplan.data.length > 0) {
|
|
10
|
-
Vue.showAlert('该客户还有欠费,不能销户!!', 'danger', 0)
|
|
11
|
-
} else {
|
|
12
|
-
Vue.resetpost('rs/entity/t_cancellation', data, {resolveMsg: `${type}成功`, rejectMsg: `${type}失败`})
|
|
13
|
-
}
|
|
14
|
-
} else {
|
|
15
|
-
Vue.resetpost('rs/entity/t_cancellation', data, {resolveMsg: `${type}成功`, rejectMsg: `${type}失败`})
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
let FileManageServicets = {
|
|
20
|
-
install (Vue, options) {
|
|
21
|
-
// 给vue增添对话框显示方法
|
|
22
|
-
Vue.FileManageServicets = Vue.prototype.$FileManageServicets = FileManageServicets
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
fileSave (data) {
|
|
26
|
-
let result = Object.assign({}, result, data.baseinfo.base)
|
|
27
|
-
if(data.baseinfo.civill && data.baseinfo.civill.f_civill_id){
|
|
28
|
-
result.civill ={};
|
|
29
|
-
result.civill.f_civill_id = data.baseinfo.civill.f_civill_id;
|
|
30
|
-
}
|
|
31
|
-
result.f_userinfo_id = result.f_userinfo_id ? result.f_userinfo_id + '' : null
|
|
32
|
-
result.f_cost_type = result.f_cost_type.length > 0 ? result.f_cost_type[0] : ''
|
|
33
|
-
result.f_credentials = result.f_credentials.length > 0 ? result.f_credentials[0] : ''
|
|
34
|
-
result.f_is_mgq = result.f_is_mgq.length > 0 ? result.f_is_mgq[0] : ''
|
|
35
|
-
if(result.f_out_user instanceof Array){
|
|
36
|
-
result.f_out_user =result.f_out_user && result.f_out_user.length > 0 ? result.f_out_user : '否';
|
|
37
|
-
}else{
|
|
38
|
-
result.f_out_user ==result.f_out_user ? result.f_out_user :'否';
|
|
39
|
-
}
|
|
40
|
-
result.f_paper_type = result.f_paper_type.length > 0 ? result.f_paper_type[0] : ''
|
|
41
|
-
result.f_predeposit = result.f_predeposit ? result.f_predeposit : 0
|
|
42
|
-
result.f_people_num = result.f_people_num ? result.f_people_num : 0
|
|
43
|
-
if (result.f_slice_area instanceof Array) {
|
|
44
|
-
result.f_slice_area = result.f_slice_area.length > 0 ? result.f_slice_area[0] : null
|
|
45
|
-
}
|
|
46
|
-
if (result.f_user_level instanceof Array) {
|
|
47
|
-
result.f_user_level = result.f_user_level.length > 0 ? result.f_user_level[0] : null
|
|
48
|
-
}
|
|
49
|
-
if (data.baseinfo.base.f_cost_type[0] === '银行代扣') {
|
|
50
|
-
let bank = Object.assign({}, bank, data.baseinfo.bank)
|
|
51
|
-
result.infobank = bank
|
|
52
|
-
result.infobank.f_bank_name = bank.f_bank_name.length > 0 ? bank.f_bank_name[0] : ''
|
|
53
|
-
}
|
|
54
|
-
// 获取分公司id (通过ids拆分)
|
|
55
|
-
result.f_filialeid = data.f_filialeid
|
|
56
|
-
if (result.f_userinfo_id === null) {
|
|
57
|
-
result.f_createfile_person = Vue.$login.f.name
|
|
58
|
-
result.f_createfile_date = Vue.$login.toStandardTimeString ()
|
|
59
|
-
|
|
60
|
-
result.f_operator = Vue.$login.f.name
|
|
61
|
-
result.f_operatorid = Vue.$login.f.id
|
|
62
|
-
result.f_orgid = data.f_filialeid
|
|
63
|
-
result.f_orgname = Vue.$login.f.orgs
|
|
64
|
-
result.f_depid = Vue.$login.f.depids
|
|
65
|
-
result.f_depname = Vue.$login.f.deps
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// 档案变更时,获取档案登录人信息进行操作记录的保存
|
|
69
|
-
result.f_operator_record = Vue.$login.f.name
|
|
70
|
-
result.f_operatorid_record = Vue.$login.f.id
|
|
71
|
-
result.f_orgid_record = Vue.$login.f.orgid
|
|
72
|
-
result.f_orgname_record = Vue.$login.f.orgs
|
|
73
|
-
result.f_depid_record = Vue.$login.f.depids
|
|
74
|
-
result.f_depname_record = Vue.$login.f.deps
|
|
75
|
-
result.f_user_state = result.f_user_state.length > 0 ? result.f_user_state[0] : '正常'
|
|
76
|
-
result.userfiles = []
|
|
77
|
-
// 表具信息
|
|
78
|
-
data.meterinfo.forEach((item) => {
|
|
79
|
-
// item.f_user_id = result.f_user_id ? result.f_user_id : null
|
|
80
|
-
let meter = Object.assign({}, meter, item)
|
|
81
|
-
if (meter.f_user_id) {
|
|
82
|
-
meter.f_user_id = meter.f_user_id
|
|
83
|
-
}
|
|
84
|
-
meter.f_filialeid = data.f_filialeid
|
|
85
|
-
meter.f_position = meter.f_position ? meter.f_position : null
|
|
86
|
-
meter.f_gasbrand_id = meter.gasbrand[0].id
|
|
87
|
-
meter.f_show_way = meter.f_show_way ? meter.f_show_way[0] : null
|
|
88
|
-
meter.f_inputtor = meter.f_inputtor.length > 0 ? meter.f_inputtor[0] : null
|
|
89
|
-
// meter.f_install_person = meter.f_install_person.length > 0 ? meter.f_install_person[0] : null
|
|
90
|
-
meter.f_aroundmeter = meter.f_aroundmeter.length > 0 ? meter.f_aroundmeter[0] : null
|
|
91
|
-
meter.f_garbage_fee = meter.f_garbage_fee.length > 0 ? meter.f_garbage_fee[0] : '否'
|
|
92
|
-
meter.f_valve_state = meter.f_valve_state.length > 0 ? meter.f_valve_state[0] : '开阀'
|
|
93
|
-
meter.f_meter_base = isNaN(meter.f_meter_base) || meter.f_meter_base === '' ? 0.00 : (meter.f_meter_base - 0).toFixed(4)
|
|
94
|
-
meter.f_initial_base = isNaN(meter.f_initial_base) || meter.f_initial_base === '' ? 0.00 : (meter.f_initial_base - 0).toFixed(4)
|
|
95
|
-
meter.f_remanent_gas = isNaN(meter.f_remanent_gas) || meter.f_remanent_gas === '' ? 0.00 : (meter.f_remanent_gas - 0).toFixed(4)
|
|
96
|
-
meter.f_remanent_gas = isNaN(meter.f_remanent_gas) || meter.f_remanent_gas === '' ? 0.00 : (meter.f_remanent_gas - 0).toFixed(4)
|
|
97
|
-
meter.f_meternumber = meter.f_meternumber ? meter.f_meternumber.trim() : null;
|
|
98
|
-
meter.f_cardmeternumber = meter.f_cardmeternumber ? meter.f_cardmeternumber.trim() : meter.f_meternumber;
|
|
99
|
-
meter.f_price_ratio = meter.f_price_ratio ? meter.f_price_ratio : null
|
|
100
|
-
meter.f_fire_state = meter.f_fire_state1 ? '1' : '0'
|
|
101
|
-
meter.f_gasmodel_id = meter.gasmodel[0].id
|
|
102
|
-
meter.f_meter_classify = meter.gasbrand[0].f_meter_type
|
|
103
|
-
meter.f_user_type = meter.f_user_type.length > 0 ? meter.f_user_type[0] : ''
|
|
104
|
-
meter.f_price_id = meter.pricename[0].f_price_id
|
|
105
|
-
meter.f_gasproperties = meter.f_gasproperties.length > 0 ? meter.f_gasproperties[0] : ''
|
|
106
|
-
meter.f_adjustable_id = meter.f_adjustable.length > 0 ? meter.f_adjustable[0].id : null
|
|
107
|
-
meter.f_userfiles_address = meter.f_userfiles_address ? meter.f_userfiles_address : null
|
|
108
|
-
meter.f_total_fee = meter.f_total_fee == null || meter.f_total_fee == '' ? 0:meter.f_total_fee
|
|
109
|
-
meter.f_total_gas = meter.f_total_gas == null || meter.f_total_gas == '' ? 0:meter.f_total_gas
|
|
110
|
-
meter.f_history_gas = meter.f_history_gas == null || meter.f_history_gas == '' ? 0:meter.f_history_gas
|
|
111
|
-
meter.f_history_fee = meter.f_history_fee == null || meter.f_history_fee == '' ? 0:meter.f_history_fee
|
|
112
|
-
if (!meter.f_userfiles_id) {
|
|
113
|
-
// 气表状态需要根据表型判断是否需要开通操作 目前物联网表需要做开通操作
|
|
114
|
-
meter.f_table_state = '正常'
|
|
115
|
-
//meter.f_whether_hairpin = !item.gasbrand[0].f_meter_type.includes('机表') ? '未发' : '无卡'
|
|
116
|
-
//所有表变成未发
|
|
117
|
-
meter.f_whether_hairpin = '未发'
|
|
118
|
-
meter.f_input_person = Vue.$login.f.name
|
|
119
|
-
meter.f_input_date = Vue.$login.toStandardTimeString ()
|
|
120
|
-
meter.f_card_password = item.gasbrand[0].f_card_password
|
|
121
|
-
meter.f_meter_base = isNaN(meter.f_initial_base) || meter.f_initial_base === '' ? 0.00 : (meter.f_initial_base - 0).toFixed(4)
|
|
122
|
-
meter.f_operator = Vue.$login.f.name
|
|
123
|
-
meter.f_operatorid = Vue.$login.f.id
|
|
124
|
-
meter.f_orgid = data.f_filialeid
|
|
125
|
-
meter.f_orgname = Vue.$login.f.orgs
|
|
126
|
-
meter.f_depid = Vue.$login.f.depids
|
|
127
|
-
meter.f_depname = Vue.$login.f.deps
|
|
128
|
-
}
|
|
129
|
-
// 之前建立的是卡表在档案中改成了物联网表(需验证建立的卡表是不是未发,如果是未发,表状态给成待开通)后端处理
|
|
130
|
-
|
|
131
|
-
meter.img = meter.img ? meter.img : {content: null, filename: null}
|
|
132
|
-
meter.img.content = meter.img.content ? meter.img.content : null
|
|
133
|
-
meter.img.filename = meter.img.filename ? meter.img.filename : null
|
|
134
|
-
|
|
135
|
-
// 处理表具的设备信息
|
|
136
|
-
let userfilesdevices = []
|
|
137
|
-
meter.devicesinfo.forEach((devitem) => {
|
|
138
|
-
let userfilesdevice = Object.assign({}, userfilesdevice, devitem)
|
|
139
|
-
userfilesdevice.f_user_id = data.meterinfo[0].f_user_id ? data.meterinfo[0].f_user_id : null
|
|
140
|
-
userfilesdevice.f_devices_type = userfilesdevice.f_devices_type
|
|
141
|
-
userfilesdevice.f_state = userfilesdevice.f_state ? userfilesdevice.f_state : '有效'
|
|
142
|
-
userfilesdevice.f_devices_no = userfilesdevice.f_devices_no ? userfilesdevice.f_devices_no : null
|
|
143
|
-
userfilesdevice.f_brand = userfilesdevice.f_brand ? userfilesdevice.f_brand : null
|
|
144
|
-
userfilesdevice.f_devices_model = userfilesdevice.f_devices_model ? userfilesdevice.f_devices_model : null
|
|
145
|
-
userfilesdevice.f_devices_num = userfilesdevice.f_devices_num ? userfilesdevice.f_devices_num : null
|
|
146
|
-
userfilesdevice.img = userfilesdevice.img ? userfilesdevice.img : {content: null, filename: null}
|
|
147
|
-
userfilesdevice.img.content = userfilesdevice.img.content ? userfilesdevice.img.content : null
|
|
148
|
-
userfilesdevice.img.filename = userfilesdevice.img.filename ? userfilesdevice.img.filename : null
|
|
149
|
-
if (!userfilesdevice.id) {
|
|
150
|
-
userfilesdevice.f_input_person = Vue.$login.f.name
|
|
151
|
-
userfilesdevice.f_input_date = Vue.$login.toStandardTimeString ()
|
|
152
|
-
}
|
|
153
|
-
userfilesdevices.push(userfilesdevice)
|
|
154
|
-
})
|
|
155
|
-
meter.devicesinfo = userfilesdevices
|
|
156
|
-
result.userfiles.push(meter)
|
|
157
|
-
})
|
|
158
|
-
|
|
159
|
-
// 组织地址数据,更新地址管理中的数据
|
|
160
|
-
// 地址信息
|
|
161
|
-
let address = {}
|
|
162
|
-
address = {
|
|
163
|
-
id: data.addressinfo.id,
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
if (data.oldaddressinfo.id) {
|
|
167
|
-
address.oldid = data.oldaddressinfo.id
|
|
168
|
-
}
|
|
169
|
-
if (!data.checkRefund){
|
|
170
|
-
return Vue.resetpost('rs/logic/filemanage_fileSave_ts', {data: {userinfo: result, address: address, limit_gas: data.limit_gas}})
|
|
171
|
-
} else {
|
|
172
|
-
return Vue.resetpost('rs/logic/checkRefund', {data: {userinfo: result, address: address, limit_gas: data.limit_gas}})
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
},
|
|
176
|
-
batchOperate (model, type) {
|
|
177
|
-
let operateType = type
|
|
178
|
-
if (type === '启用') {
|
|
179
|
-
operateType = '销户启用'
|
|
180
|
-
}
|
|
181
|
-
let data = {
|
|
182
|
-
f_operat_type: operateType,
|
|
183
|
-
f_describe: `${Vue.$login.f.name}对客户${model.userinfo.f_user_name}进行销户`,
|
|
184
|
-
f_state: '有效',
|
|
185
|
-
f_user_id: model.userinfo.f_user_id,
|
|
186
|
-
f_user_name: model.userinfo.f_user_name,
|
|
187
|
-
f_comments: model.f_reason,
|
|
188
|
-
f_operator: Vue.$login.f.name,
|
|
189
|
-
f_operatorid: Vue.$login.f.id,
|
|
190
|
-
f_orgid: Vue.$login.f.orgid,
|
|
191
|
-
f_orgname: Vue.$login.f.orgs,
|
|
192
|
-
f_depid: Vue.$login.f.depids,
|
|
193
|
-
f_depname: Vue.$login.f.deps
|
|
194
|
-
}
|
|
195
|
-
if (type === '销户') {
|
|
196
|
-
data.f_userinfo_id = {
|
|
197
|
-
f_userinfo_id: model.userinfo.f_userinfo_id,
|
|
198
|
-
f_user_state: '销户',
|
|
199
|
-
version: model.userinfo.version
|
|
200
|
-
}
|
|
201
|
-
} else if (type === '启用') {
|
|
202
|
-
data.f_describe = `${Vue.$login.f.name}对客户${model.userinfo.f_user_name}进行启用`
|
|
203
|
-
data.f_userinfo_id = {
|
|
204
|
-
f_userinfo_id: model.userinfo.f_userinfo_id,
|
|
205
|
-
f_user_state: '正常',
|
|
206
|
-
version: model.userinfo.version
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
let cancelUser = cancelUserGen(data, type)
|
|
210
|
-
return co(cancelUser)
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export default FileManageServicets
|