sale-client 4.2.134 → 4.2.135
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 +51 -29
- package/index.html +7 -2
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +2 -2
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +19 -1
- 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/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/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/OtherChargeNew.vue +625 -625
- package/src/filiale/dexin/UserInfoDetailManageNew.vue +535 -0
- package/src/filiale/dexin/WebHandQueryUser.vue +411 -0
- package/src/filiale/dexin/sale.js +1 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- 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/PaymentCode.vue +209 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- 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/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/ChangeMeter.vue +1149 -1149
- 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/zhongyi/HandQueryUser.vue +389 -389
- package/src/main.js +3 -3
- 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
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="binary flex" >
|
|
3
|
+
<div class="row binary-left flex" style="width:99%;height:98%;margin-bottom:0px">
|
|
4
|
+
<div class="auto">
|
|
5
|
+
<user-base-info-new :row="row" :buttonshow="buttonshow"
|
|
6
|
+
@refresh="search"
|
|
7
|
+
@cancel-main="cancel"
|
|
8
|
+
@cancel-re="cancelRe"
|
|
9
|
+
@search-main="search"></user-base-info-new></div>
|
|
10
|
+
<saletabbut v-if="row" v-ref:list style="height:72%;margin-top: 1%;overflow-y: scroll">
|
|
11
|
+
<saletab v-for="tab in tabConfigs" :header="tab.header" :key="$index">
|
|
12
|
+
<component
|
|
13
|
+
:is="tab.component"
|
|
14
|
+
:row="row"
|
|
15
|
+
v-if="!tab.needShowCheck || show == tab.header"
|
|
16
|
+
@deal-msg="dealMsg">
|
|
17
|
+
</component>
|
|
18
|
+
</saletab>
|
|
19
|
+
<!-- <saletab header="装表记录" v-if="permission('装表记录')">-->
|
|
20
|
+
<!-- <metering-records :row="row" @deal-msg="dealMsg"></metering-records>-->
|
|
21
|
+
<!-- </saletab>-->
|
|
22
|
+
<!-- <saletab header="报装流转记录" v-if="permission('报装流转记录查看')">-->
|
|
23
|
+
<!-- <supervisory-control :row="row" ></supervisory-control>-->
|
|
24
|
+
<!-- </saletab>-->
|
|
25
|
+
<!-- <saletab header="报装收费记录" v-if="permission('报装收费记录查看')">-->
|
|
26
|
+
<!-- <apply-charge-search :row="row" ></apply-charge-search>-->
|
|
27
|
+
<!-- </saletab>-->
|
|
28
|
+
</saletabbut>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
import {HttpResetClass} from 'vue-client'
|
|
35
|
+
// 导入IC卡相关查询界面
|
|
36
|
+
import ChangeMeterQueryUser from '../../components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser'
|
|
37
|
+
import ChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeQueryUser'
|
|
38
|
+
import ChargeRecordQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeRecordQuery'
|
|
39
|
+
import FillCardQueryUser from '../../components/common/userinfo_detail/ic_detail/FillCardQueryUser'
|
|
40
|
+
import HandQueryUser from '../../components/common/userinfo_detail/ic_detail/HandQueryUser'
|
|
41
|
+
import OtherChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/OtherChargeQueryUser'
|
|
42
|
+
import RecordQueryUser from '../../components/common/userinfo_detail/ic_detail/RecordQueryUser'
|
|
43
|
+
import TransferQueryUser from '../../components/common/userinfo_detail/ic_detail/TransferQueryUser'
|
|
44
|
+
import CardHandRecord from '../../components/common/userinfo_detail/ic_detail/CardHandRecord'
|
|
45
|
+
import AutomaticPurse from '../../components/common/userinfo_detail/ic_detail/AutomaticPurse'
|
|
46
|
+
import Repurchase from '../../components/common/userinfo_detail/ic_detail/Repurchase'
|
|
47
|
+
import MachineRecordQuery from '../../components/common/userinfo_detail/ic_detail/MachineRecordQuery'
|
|
48
|
+
import WebAutomaticPurse from '../../components/common/userinfo_detail/ic_detail/WebAutomaticPurse'
|
|
49
|
+
import WebChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/WebChargeQueryUser'
|
|
50
|
+
import WebHandQueryUser from '../../components/common/userinfo_detail/ic_detail/WebHandQueryUser'
|
|
51
|
+
import UserDeviceQuery from '../../components/common/userinfo_detail/ic_detail/UserDeviceQuery'
|
|
52
|
+
import contractSigningList from '../../components/common/userinfo_detail/ic_detail/contractSigningList'
|
|
53
|
+
import UserKeyRecord from '../../components/common/userinfo_detail/ic_detail/UserKeyRecord'
|
|
54
|
+
import RepairList from '../../components/common/userinfo_detail/ic_detail/RepairList'
|
|
55
|
+
import SecurityCheckInfo from '../../components/common/userinfo_detail/ic_detail/SecuritycheckInfo'
|
|
56
|
+
// import MeteringRecords from '../../components/common/userinfo_detail/ic_detail/MeteringRecords'
|
|
57
|
+
// import SupervisoryControl from '../../components/common/userinfo_detail/apply_detail/Supervisory/SupervisoryControl'
|
|
58
|
+
// import ApplyChargeSearch from '../../components/common/userinfo_detail/apply_detail/applyCharge/ApplyChargeSearch'
|
|
59
|
+
// 导入物联网相关查询
|
|
60
|
+
import QueryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryInstruct'
|
|
61
|
+
import QueryHistoryInstruct from '../../components/common/userinfo_detail/iot_detail/QueryHistoryInstruct'
|
|
62
|
+
import WatchCollection from '../../components/common/userinfo_detail/iot_detail/WatchCollection'
|
|
63
|
+
import WatchWarning from '../../components/common/userinfo_detail/iot_detail/WatchWarning'
|
|
64
|
+
import PriceChangeQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceChangeQueryUser'
|
|
65
|
+
import ChangeRecord from '../../components/common/userinfo_detail/ic_detail/ChangeRecord'
|
|
66
|
+
import PriceAdjustmentQueryUser from '../../components/common/userinfo_detail/ic_detail/PriceAdjustmentQueryUser'
|
|
67
|
+
import MeterParam from '../../components/common/userinfo_detail/ic_detail/MeterParam'
|
|
68
|
+
import DeveiceRecord from '../../components/common/userinfo_detail/ic_detail/DeveiceRecord'
|
|
69
|
+
import GarbageRecordList from '../../components/common/userinfo_detail/ic_detail/GarbageRecordList.vue'
|
|
70
|
+
import InsuranceChargesRecord from '../../components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue'
|
|
71
|
+
export default {
|
|
72
|
+
title: '用户详细信息',
|
|
73
|
+
props: ['f_userfiles_id', 'f_userinfo_id', 'f_userinfo_code', 'parentname', 'buttonshow'],
|
|
74
|
+
components: {
|
|
75
|
+
InsuranceChargesRecord,
|
|
76
|
+
GarbageRecordList,
|
|
77
|
+
SecurityCheckInfo,
|
|
78
|
+
RepairList,
|
|
79
|
+
PriceAdjustmentQueryUser,
|
|
80
|
+
PriceChangeQueryUser,
|
|
81
|
+
AutomaticPurse,
|
|
82
|
+
WebAutomaticPurse,
|
|
83
|
+
WebChargeQueryUser,
|
|
84
|
+
WebHandQueryUser,
|
|
85
|
+
Repurchase,
|
|
86
|
+
ChangeMeterQueryUser,
|
|
87
|
+
ChargeQueryUser,
|
|
88
|
+
ChargeRecordQueryUser,
|
|
89
|
+
FillCardQueryUser,
|
|
90
|
+
HandQueryUser,
|
|
91
|
+
OtherChargeQueryUser,
|
|
92
|
+
RecordQueryUser,
|
|
93
|
+
TransferQueryUser,
|
|
94
|
+
WatchWarning,
|
|
95
|
+
WatchCollection,
|
|
96
|
+
QueryInstruct,
|
|
97
|
+
QueryHistoryInstruct,
|
|
98
|
+
ChangeRecord,
|
|
99
|
+
CardHandRecord,
|
|
100
|
+
MeterParam,
|
|
101
|
+
DeveiceRecord,
|
|
102
|
+
MachineRecordQuery,
|
|
103
|
+
UserDeviceQuery,
|
|
104
|
+
contractSigningList,
|
|
105
|
+
UserKeyRecord
|
|
106
|
+
// MeteringRecords
|
|
107
|
+
// SupervisoryControl,
|
|
108
|
+
// ApplyChargeSearch
|
|
109
|
+
},
|
|
110
|
+
computed: {
|
|
111
|
+
// 标签配置数组
|
|
112
|
+
tabConfigs () {
|
|
113
|
+
if (!this.row) {
|
|
114
|
+
return []
|
|
115
|
+
}
|
|
116
|
+
const configs = []
|
|
117
|
+
// 流水查询
|
|
118
|
+
if (this.permission('流水查询')) {
|
|
119
|
+
configs.push({
|
|
120
|
+
header: '流水查询',
|
|
121
|
+
permission: '流水查询',
|
|
122
|
+
component: 'record-query-user',
|
|
123
|
+
condition: () => true,
|
|
124
|
+
needShowCheck: false // 流水查询不需要 show 检查
|
|
125
|
+
})
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// 机表流水查询
|
|
129
|
+
if (this.permission('机表流水查询') && this.row.f_meter_type && this.row.f_meter_type.includes('机表')) {
|
|
130
|
+
configs.push({
|
|
131
|
+
header: '机表流水查询',
|
|
132
|
+
permission: '机表流水查询',
|
|
133
|
+
component: 'machine-record-query',
|
|
134
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('机表'),
|
|
135
|
+
needShowCheck: true
|
|
136
|
+
})
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// 收费查询(根据 newWebHand 选择组件,但这里组件相同)
|
|
140
|
+
if (this.permission('收费查询')) {
|
|
141
|
+
configs.push({
|
|
142
|
+
header: '收费查询',
|
|
143
|
+
permission: '收费查询',
|
|
144
|
+
component: 'charge-query-user',
|
|
145
|
+
condition: () => true,
|
|
146
|
+
needShowCheck: true
|
|
147
|
+
})
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// 累购查询
|
|
151
|
+
if (this.permission('累购查询')) {
|
|
152
|
+
configs.push({
|
|
153
|
+
header: '累购查询',
|
|
154
|
+
permission: '累购查询',
|
|
155
|
+
component: 'repurchase',
|
|
156
|
+
condition: () => true,
|
|
157
|
+
needShowCheck: true
|
|
158
|
+
})
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// 下账查询(根据 newWebHand 选择不同组件)
|
|
162
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('物联网表') && this.permission('自动下账查询')) {
|
|
163
|
+
configs.push({
|
|
164
|
+
header: '下账查询',
|
|
165
|
+
permission: '自动下账查询',
|
|
166
|
+
component: this.newWebHand ? 'web-automatic-purse' : 'automatic-purse',
|
|
167
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('物联网表'),
|
|
168
|
+
needShowCheck: false // 下账查询不需要 show 检查
|
|
169
|
+
})
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// 抄表记录(根据 meter_type 和 newWebHand 选择不同组件)
|
|
173
|
+
if (this.permission('抄表记录')) {
|
|
174
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('卡表')) {
|
|
175
|
+
configs.push({
|
|
176
|
+
header: '抄表记录',
|
|
177
|
+
permission: '抄表记录',
|
|
178
|
+
component: 'card-hand-record',
|
|
179
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('卡表'),
|
|
180
|
+
needShowCheck: true
|
|
181
|
+
})
|
|
182
|
+
} else {
|
|
183
|
+
configs.push({
|
|
184
|
+
header: '抄表记录',
|
|
185
|
+
permission: '抄表记录',
|
|
186
|
+
component: this.newWebHand ? 'web-hand-query-user' : 'hand-query-user',
|
|
187
|
+
condition: () => !this.row.f_meter_type || !this.row.f_meter_type.includes('卡表'),
|
|
188
|
+
needShowCheck: true
|
|
189
|
+
})
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// 补卡查询
|
|
194
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('卡表') && this.permission('补卡查询')) {
|
|
195
|
+
configs.push({
|
|
196
|
+
header: '补卡查询',
|
|
197
|
+
permission: '补卡查询',
|
|
198
|
+
component: 'fill-card-query-user',
|
|
199
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('卡表'),
|
|
200
|
+
needShowCheck: true
|
|
201
|
+
})
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// 补气查询
|
|
205
|
+
if (this.permission('补气查询')) {
|
|
206
|
+
configs.push({
|
|
207
|
+
header: '补气查询',
|
|
208
|
+
permission: '补气查询',
|
|
209
|
+
component: 'fill-gas-query-user',
|
|
210
|
+
condition: () => true,
|
|
211
|
+
needShowCheck: true
|
|
212
|
+
})
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// 换表查询
|
|
216
|
+
if (this.permission('换表查询')) {
|
|
217
|
+
configs.push({
|
|
218
|
+
header: '换表查询',
|
|
219
|
+
permission: '换表查询',
|
|
220
|
+
component: 'change-meter-query-user',
|
|
221
|
+
condition: () => true,
|
|
222
|
+
needShowCheck: true
|
|
223
|
+
})
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// 其他收费
|
|
227
|
+
if (this.permission('其他收费')) {
|
|
228
|
+
configs.push({
|
|
229
|
+
header: '其他收费',
|
|
230
|
+
permission: '其他收费',
|
|
231
|
+
component: 'other-charge-query-user',
|
|
232
|
+
condition: () => true,
|
|
233
|
+
needShowCheck: true
|
|
234
|
+
})
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// 保险收费记录
|
|
238
|
+
if (this.permission('保险收费记录')) {
|
|
239
|
+
configs.push({
|
|
240
|
+
header: '保险收费记录',
|
|
241
|
+
permission: '保险收费记录',
|
|
242
|
+
component: 'insurance-charges-record',
|
|
243
|
+
condition: () => true,
|
|
244
|
+
needShowCheck: false
|
|
245
|
+
})
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// 垃圾费收费记录
|
|
249
|
+
if (this.permission('垃圾费收费记录')) {
|
|
250
|
+
configs.push({
|
|
251
|
+
header: '垃圾费收费记录',
|
|
252
|
+
permission: '垃圾费收费记录',
|
|
253
|
+
component: 'garbage-record-list',
|
|
254
|
+
condition: () => true,
|
|
255
|
+
needShowCheck: false
|
|
256
|
+
})
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// 过户查询
|
|
260
|
+
if (this.permission('过户查询')) {
|
|
261
|
+
configs.push({
|
|
262
|
+
header: '过户查询',
|
|
263
|
+
permission: '过户查询',
|
|
264
|
+
component: 'transfer-query-user',
|
|
265
|
+
condition: () => true,
|
|
266
|
+
needShowCheck: true
|
|
267
|
+
})
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// 价格调整
|
|
271
|
+
if (this.permission('价格调整')) {
|
|
272
|
+
configs.push({
|
|
273
|
+
header: '价格调整',
|
|
274
|
+
permission: '价格调整',
|
|
275
|
+
component: 'price-change-query-user',
|
|
276
|
+
condition: () => true,
|
|
277
|
+
needShowCheck: true
|
|
278
|
+
})
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// 附件查看
|
|
282
|
+
if (this.permission('附件查看')) {
|
|
283
|
+
configs.push({
|
|
284
|
+
header: '附件查看',
|
|
285
|
+
permission: '附件查看',
|
|
286
|
+
component: 'upload-file-history',
|
|
287
|
+
condition: () => true,
|
|
288
|
+
needShowCheck: true
|
|
289
|
+
})
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// 变更记录
|
|
293
|
+
if (this.permission('变更记录')) {
|
|
294
|
+
configs.push({
|
|
295
|
+
header: '变更记录',
|
|
296
|
+
permission: '变更记录',
|
|
297
|
+
component: 'change-record',
|
|
298
|
+
condition: () => true,
|
|
299
|
+
needShowCheck: true
|
|
300
|
+
})
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// 指令查看
|
|
304
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('物联网表') && this.permission('指令查看')) {
|
|
305
|
+
configs.push({
|
|
306
|
+
header: '指令查看',
|
|
307
|
+
permission: '指令查看',
|
|
308
|
+
component: 'query-instruct',
|
|
309
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('物联网表'),
|
|
310
|
+
needShowCheck: true
|
|
311
|
+
})
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// 历史指令查看
|
|
315
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('物联网表') && this.permission('历史指令查看')) {
|
|
316
|
+
configs.push({
|
|
317
|
+
header: '历史指令查看',
|
|
318
|
+
permission: '历史指令查看',
|
|
319
|
+
component: 'query-history-instruct',
|
|
320
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('物联网表'),
|
|
321
|
+
needShowCheck: true
|
|
322
|
+
})
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// 异常报警
|
|
326
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('物联网表') && this.permission('异常报警')) {
|
|
327
|
+
configs.push({
|
|
328
|
+
header: '异常报警',
|
|
329
|
+
permission: '异常报警',
|
|
330
|
+
component: 'watch-warning',
|
|
331
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('物联网表'),
|
|
332
|
+
needShowCheck: true
|
|
333
|
+
})
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// 表具采集
|
|
337
|
+
if (this.row.f_meter_type && this.row.f_meter_type.includes('物联网表') && this.permission('表具采集')) {
|
|
338
|
+
configs.push({
|
|
339
|
+
header: '表具采集',
|
|
340
|
+
permission: '表具采集',
|
|
341
|
+
component: 'watch-collection',
|
|
342
|
+
condition: () => this.row.f_meter_type && this.row.f_meter_type.includes('物联网表'),
|
|
343
|
+
needShowCheck: true
|
|
344
|
+
})
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
// 调价补差
|
|
348
|
+
if (this.permission('调价补差')) {
|
|
349
|
+
configs.push({
|
|
350
|
+
header: '调价补差',
|
|
351
|
+
permission: '调价补差',
|
|
352
|
+
component: 'price-adjustment-query-user',
|
|
353
|
+
condition: () => true,
|
|
354
|
+
needShowCheck: true
|
|
355
|
+
})
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// 设备查询
|
|
359
|
+
if (this.permission('设备查询')) {
|
|
360
|
+
configs.push({
|
|
361
|
+
header: '设备查询',
|
|
362
|
+
permission: '设备查询',
|
|
363
|
+
component: 'deveice-record',
|
|
364
|
+
condition: () => true,
|
|
365
|
+
needShowCheck: true
|
|
366
|
+
})
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// 流量计参数查看
|
|
370
|
+
if (this.permission('流量计参数查看')) {
|
|
371
|
+
configs.push({
|
|
372
|
+
header: '流量计参数查看',
|
|
373
|
+
permission: '流量计参数查看',
|
|
374
|
+
component: 'meter-param',
|
|
375
|
+
condition: () => true,
|
|
376
|
+
needShowCheck: true
|
|
377
|
+
})
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// 表使用量图表
|
|
381
|
+
if (this.permission('流量计参数查看')) {
|
|
382
|
+
configs.push({
|
|
383
|
+
header: '表使用量图表',
|
|
384
|
+
permission: '流量计参数查看',
|
|
385
|
+
component: 'table-usage-chart',
|
|
386
|
+
condition: () => true,
|
|
387
|
+
needShowCheck: true
|
|
388
|
+
})
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// 用户设备查询
|
|
392
|
+
if (this.permission('用户设备查看')) {
|
|
393
|
+
configs.push({
|
|
394
|
+
header: '用户设备查询',
|
|
395
|
+
permission: '用户设备查看',
|
|
396
|
+
component: 'user-device-query',
|
|
397
|
+
condition: () => true,
|
|
398
|
+
needShowCheck: true
|
|
399
|
+
})
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// 合同查看
|
|
403
|
+
if (this.permission('合同查看')) {
|
|
404
|
+
configs.push({
|
|
405
|
+
header: '合同查看',
|
|
406
|
+
permission: '合同查看',
|
|
407
|
+
component: 'contract-signing-list',
|
|
408
|
+
condition: () => true,
|
|
409
|
+
needShowCheck: true
|
|
410
|
+
})
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// 用户重点记录
|
|
414
|
+
if (this.permission('用户重点记录')) {
|
|
415
|
+
configs.push({
|
|
416
|
+
header: '用户重点记录',
|
|
417
|
+
permission: '用户重点记录',
|
|
418
|
+
component: 'user-key-record',
|
|
419
|
+
condition: () => true,
|
|
420
|
+
needShowCheck: false
|
|
421
|
+
})
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// 维修记录
|
|
425
|
+
if (this.permission('维修记录')) {
|
|
426
|
+
configs.push({
|
|
427
|
+
header: '维修记录',
|
|
428
|
+
permission: '维修记录',
|
|
429
|
+
component: 'repair-list',
|
|
430
|
+
condition: () => true,
|
|
431
|
+
needShowCheck: false
|
|
432
|
+
})
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// 安检记录
|
|
436
|
+
if (this.permission('安检记录')) {
|
|
437
|
+
configs.push({
|
|
438
|
+
header: '安检记录',
|
|
439
|
+
permission: '安检记录',
|
|
440
|
+
component: 'security-check-info',
|
|
441
|
+
condition: () => true,
|
|
442
|
+
needShowCheck: false
|
|
443
|
+
})
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
return configs
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
data () {
|
|
450
|
+
return {
|
|
451
|
+
row: null,
|
|
452
|
+
name: '自动下账查询',
|
|
453
|
+
newWebHand: this.$appdata.getSingleValue('新抄表'),
|
|
454
|
+
show: ''
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
async ready () {
|
|
458
|
+
await this.search()
|
|
459
|
+
console.log(this.$login)
|
|
460
|
+
},
|
|
461
|
+
methods: {
|
|
462
|
+
permission (name) {
|
|
463
|
+
return this.$login.r.includes(name)
|
|
464
|
+
},
|
|
465
|
+
async search () {
|
|
466
|
+
let http = new HttpResetClass()
|
|
467
|
+
if (!this.f_userfiles_id && !this.f_userinfo_id && !this.f_userinfo_code) {
|
|
468
|
+
this.$showMessage('用户信息缺失,查询详情信息失败')
|
|
469
|
+
return
|
|
470
|
+
}
|
|
471
|
+
let getBaseInfo = await http.load('POST', 'api/af-revenue/logic/iot_getUserBaseData',
|
|
472
|
+
{
|
|
473
|
+
data: {
|
|
474
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
475
|
+
f_userinfo_id: this.f_userinfo_id,
|
|
476
|
+
f_userinfo_code: this.f_userinfo_code
|
|
477
|
+
}
|
|
478
|
+
}, {resolveMsg: null, rejectMsg: '获取基本信息出错'})
|
|
479
|
+
this.row = getBaseInfo.data
|
|
480
|
+
this.row.parentname = this.parentname || ''
|
|
481
|
+
// 数据加载完成后,初始化第一个可见标签
|
|
482
|
+
this.$nextTick(() => {
|
|
483
|
+
this.initFirstVisibleTab()
|
|
484
|
+
})
|
|
485
|
+
},
|
|
486
|
+
|
|
487
|
+
cancel (val) {
|
|
488
|
+
// 判断当前是否在 iframe 环境中
|
|
489
|
+
this.$emit('cancel-main', val)
|
|
490
|
+
},
|
|
491
|
+
|
|
492
|
+
cancelRe (val) {
|
|
493
|
+
this.$emit('cancel-re', val)
|
|
494
|
+
},
|
|
495
|
+
|
|
496
|
+
butOper (val) {
|
|
497
|
+
this.name = val
|
|
498
|
+
},
|
|
499
|
+
|
|
500
|
+
dealMsg (msg) {
|
|
501
|
+
// 处理消息
|
|
502
|
+
},
|
|
503
|
+
|
|
504
|
+
// 获取组件渲染配置
|
|
505
|
+
getComponentConfig (tab) {
|
|
506
|
+
// 返回组件名和是否需要 show 检查
|
|
507
|
+
return {
|
|
508
|
+
name: tab.component,
|
|
509
|
+
needShow: tab.needShowCheck
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
|
|
513
|
+
// 初始化第一个可见的标签
|
|
514
|
+
initFirstVisibleTab () {
|
|
515
|
+
// 确保 row 数据存在,因为很多标签的显示依赖于 row
|
|
516
|
+
if (!this.row) {
|
|
517
|
+
return
|
|
518
|
+
}
|
|
519
|
+
// 如果已经有值且不为空,说明已经初始化过了,不需要再次初始化
|
|
520
|
+
if (this.show) {
|
|
521
|
+
return
|
|
522
|
+
}
|
|
523
|
+
// 使用 tabConfigs 找到第一个可见的标签
|
|
524
|
+
if (this.tabConfigs && this.tabConfigs.length > 0) {
|
|
525
|
+
this.show = this.tabConfigs[0].header
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
watch: {
|
|
530
|
+
'f_userinfo_id' () {
|
|
531
|
+
this.search()
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
</script>
|