manage-client 3.2.87-aode → 3.2.87-aodeToV4
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/.classpath +6 -6
- package/.eslintrc.js +16 -16
- package/.project +18 -18
- package/CHANGELOG.md +13 -13
- package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
- package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
- package/ManageClient.iml +12 -12
- package/build/dev-server.js +193 -193
- package/build/webpack.base.conf.js +80 -80
- package/build.gradle +13 -13
- package/config/index.js +38 -38
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/package.json +101 -101
- package/src/App.vue +28 -28
- package/src/ManageHome.js +269 -269
- package/src/Staff/StaffCompileList.vue +334 -334
- package/src/Staff/StaffList.vue +161 -161
- package/src/Util.js +383 -383
- package/src/components/ManageHome/Drill/DrillList.vue +320 -320
- package/src/components/ManageHome/Home/CallCenter.vue +124 -124
- package/src/components/ManageHome/Home/Monitor.vue +329 -329
- package/src/components/ManageHome/Home/UserModule.vue +367 -367
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHome/Monitor/NoContact.vue +232 -232
- package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
- package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
- package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
- package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +116 -116
- package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +115 -115
- package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +195 -195
- package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +177 -177
- package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +173 -173
- package/src/components/ManageHomeCS/Drill/DrillData.vue +792 -792
- package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
- package/src/components/ManageHomeCS/Home/CallCenter.vue +191 -191
- package/src/components/ManageHomeCS/Home/GasValue.vue +377 -377
- package/src/components/ManageHomeCS/Home/Home.vue +55 -55
- package/src/components/ManageHomeCS/Home/Monitor.vue +415 -415
- package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
- package/src/components/ManageHomeCS/Home/SafeCheck.vue +443 -443
- package/src/components/ManageHomeCS/Home/UserModule.vue +527 -527
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/ManageHome.vue +149 -149
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
- package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
- package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
- package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
- package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
- package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
- package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
- package/src/components/MeterManage/ChargeQuery.vue +79 -79
- package/src/components/MeterManage/FillCardQuery.vue +80 -80
- package/src/components/MeterManage/FillGasQuery.vue +80 -80
- package/src/components/MeterManage/HandQuery.vue +72 -72
- package/src/components/MeterManage/MeterList.vue +336 -336
- package/src/components/MeterManage/MeterMsg.vue +181 -181
- package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
- package/src/components/MeterManage/ReversalQuery.vue +77 -77
- package/src/components/MeterManage/TransferQuery.vue +72 -72
- package/src/components/SellReport/BankManager.vue +146 -146
- package/src/components/SellReport/BonSummary.vue +182 -182
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChargeBill.vue +186 -186
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GasPrice.vue +183 -183
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/GetSummary.vue +186 -186
- package/src/components/SellReport/GetUserNum.vue +166 -166
- package/src/components/SellReport/HandCollect.vue +189 -189
- package/src/components/SellReport/HandplanBili.vue +73 -73
- package/src/components/SellReport/JinChengBusSummary.vue +182 -182
- package/src/components/SellReport/JinChengHandGas.vue +182 -182
- package/src/components/SellReport/JinChengOperSummary.vue +182 -182
- package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
- package/src/components/SellReport/ManageBusSummary.vue +241 -241
- package/src/components/SellReport/ManageGasPrice.vue +183 -183
- package/src/components/SellReport/ManageHandInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +181 -181
- package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
- package/src/components/SellReport/ManageSellType.vue +183 -183
- package/src/components/SellReport/ManageUserCollect.vue +177 -177
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterInput.vue +185 -185
- package/src/components/SellReport/MeterReader.vue +203 -203
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
- package/src/components/SellReport/RefundQuery.vue +237 -237
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportItems.vue +39 -39
- package/src/components/SellReport/ReportPool.vue +40 -40
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +151 -151
- package/src/components/SellReport/UsertypePie.vue +99 -99
- package/src/components/SellReport/VolumeStatistics.vue +226 -226
- package/src/components/SellReport/YuShou.vue +185 -185
- package/src/components/SellReport/getWebReport.vue +181 -181
- package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
- package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
- package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
- package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
- package/src/components/TelReport/TrafficAssess.vue +99 -99
- package/src/components/TelReport/TrafficBasic.vue +117 -117
- package/src/components/TelReport/ZhiHuanservice.vue +147 -147
- package/src/components/WebReport/AbnormalInfo.vue +197 -197
- package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
- package/src/components/WebReport/BatteryLow.vue +148 -148
- package/src/components/WebReport/BussinessType.vue +140 -140
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/EchartsBox.vue +110 -110
- package/src/components/WebReport/ElectroMagnetic.vue +142 -142
- package/src/components/WebReport/GaspriceHas.vue +141 -141
- package/src/components/WebReport/HandplanPrint.vue +167 -167
- package/src/components/WebReport/NotUpload.vue +165 -165
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/WebReport/Paymentpie.vue +160 -160
- package/src/components/WebReport/ReportWorklist.vue +220 -220
- package/src/components/WebReport/SellType.vue +89 -89
- package/src/components/WebReport/Telemanlist.vue +221 -221
- package/src/components/WebReport/UserGasAll.vue +214 -214
- package/src/components/WebReport/UserGasEcharts.vue +107 -107
- package/src/components/WebReport/UsertypePie.vue +105 -105
- package/src/components/WebReport/ValueEcharts.vue +99 -99
- package/src/components/WebReport/ValueInfo.vue +194 -194
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/sale/businessquery/BusinessManage.vue +109 -109
- package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
- package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
- package/src/components/sale/businessquery/DeductionGas.vue +149 -149
- package/src/components/sale/businessquery/DisableQuery.vue +315 -315
- package/src/components/sale/businessquery/EnableQuery.vue +315 -315
- package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
- package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
- package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
- package/src/components/sale/businessquery/InspectListGas.vue +456 -456
- package/src/components/sale/businessquery/InspectListUser.vue +366 -366
- package/src/components/sale/businessquery/InspectManage.vue +37 -37
- package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
- package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
- package/src/components/sale/businessquery/QueryUserState.vue +313 -313
- package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
- package/src/components/sale/businessquery/SellingHand.vue +340 -340
- package/src/components/sale/businessquery/TransferQuery.vue +363 -363
- package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
- package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
- package/src/components/sale/common/TabButton.vue +149 -149
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/config/exportConfig.js +271 -271
- package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
- package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
- package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
- package/src/components/sale/filesquery/MeterQuery.vue +613 -613
- package/src/components/sale/filesquery/UserQuery.vue +556 -556
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
- package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
- package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
- package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
- package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
- package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
- package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
- package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
- package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
- package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
- package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
- package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
- package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
- package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
- package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
- package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
- package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
- package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
- package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
- package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
- package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
- package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
- package/src/components/sale/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportList.vue +553 -553
- package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
- package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
- package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
- package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
- package/src/components/sale/report/aode/YearByUserType.vue +351 -351
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
- package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
- package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
- package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
- package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
- package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
- package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
- package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
- package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
- package/src/components/webmeter/ArreasuserQuery.vue +193 -193
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
- package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
- package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
- package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
- package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
- package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
- package/src/components/webmeter/OperatorCount.vue +189 -189
- package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
- package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
- package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
- package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
- package/src/components/webmeter/report/ReportList.vue +211 -211
- package/src/index.js +9 -9
- package/src/main.js +56 -56
- package/src/newmanage.js +288 -288
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/reportManage.js +208 -208
- package/src/saleManage.js +263 -263
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +601 -601
- package/src/stores/DrillSql.js +675 -675
- package/src/stores/MagGetSaleParams.js +138 -138
- package/src/stores/MagLoadParams.js +63 -63
- package/src/webmeterManage.js +99 -99
- package/yarn-error.log +7394 -7394
|
@@ -1,527 +1,527 @@
|
|
|
1
|
-
<template xmlns="http://www.w3.org/1999/html">
|
|
2
|
-
<div class="flex-row" v-if="!showdetail">
|
|
3
|
-
<div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
|
|
4
|
-
<criteria-paged :model="model" :pager='true' v-ref:paged>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
|
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<!--<div class="form-group">-->
|
|
9
|
-
<!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
|
|
10
|
-
<!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
|
|
11
|
-
<!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
|
|
12
|
-
<!--</div>-->
|
|
13
|
-
|
|
14
|
-
<div class="col-sm-2 form-group">
|
|
15
|
-
<label class="font_normal_body">客户编号</label>
|
|
16
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
17
|
-
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
18
|
-
condition="f_userinfo_code like '{}%'" v-el:xq v-next-el='userinfocode' v-el:username
|
|
19
|
-
>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-sm-2 form-group">
|
|
22
|
-
<label class="font_normal_body">客户名称</label>
|
|
23
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
24
|
-
v-model="model.f_user_name" placeholder='客户名称'
|
|
25
|
-
condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
|
|
26
|
-
>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="col-sm-2 form-group">
|
|
29
|
-
<label class="font_normal_body">客户地址</label>
|
|
30
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
|
|
31
|
-
placeholder='地址'
|
|
32
|
-
condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
33
|
-
>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-2 form-group">
|
|
36
|
-
<label class="font_normal_body"> 表号 </label>
|
|
37
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
38
|
-
v-model="model.f_meternumber" placeholder='表号'
|
|
39
|
-
condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
40
|
-
>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
<div style="float:right">
|
|
44
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
45
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
46
|
-
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
47
|
-
:field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
|
|
48
|
-
sqlurl="
|
|
49
|
-
:choose-col="true"></export-excel>
|
|
50
|
-
<!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
|
|
51
|
-
<!-- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
|
|
52
|
-
<!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
|
|
53
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
57
|
-
<div class="col-sm-2 form-group">
|
|
58
|
-
<label class="font_normal_body"> 公司 </label>
|
|
59
|
-
<right-tree @re-res="$parent.$parent.getorg"
|
|
60
|
-
:initresid='$parent.$parent.org'></right-tree>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="col-sm-2 form-group">
|
|
63
|
-
<label class="font_normal_body">客户类型</label>
|
|
64
|
-
<v-select style="width:60%" id="f_user_type"
|
|
65
|
-
v-model="model.f_user_type"
|
|
66
|
-
placeholder='客户类型'
|
|
67
|
-
:value.sync="model.f_user_type"
|
|
68
|
-
:options='$parent.$parent.usertypes'
|
|
69
|
-
condition="f_user_type = '{}'"
|
|
70
|
-
close-on-select>
|
|
71
|
-
</v-select>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="col-sm-2 form-group">
|
|
74
|
-
<label class="font_normal_body">用气性质</label>
|
|
75
|
-
<v-select style="width:60%" id="f_gasproperties"
|
|
76
|
-
v-model="model.f_gasproperties"
|
|
77
|
-
placeholder='用气性质'
|
|
78
|
-
:value.sync="model.f_gasproperties"
|
|
79
|
-
:options='$parent.$parent.Gasproperties'
|
|
80
|
-
condition="f_gasproperties = '{}'"
|
|
81
|
-
close-on-select>
|
|
82
|
-
</v-select>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="col-sm-2">
|
|
85
|
-
<label class="font_normal_body">阀门状态</label>
|
|
86
|
-
<v-select
|
|
87
|
-
placeholder='阀门状态'
|
|
88
|
-
value-single="true"
|
|
89
|
-
style="width:60%"
|
|
90
|
-
:value.sync="model.f_valvestate"
|
|
91
|
-
v-model="model.f_valvestate"
|
|
92
|
-
:options='$parent.$parent.ValveState'
|
|
93
|
-
close-on-select condition="f_valvestate ='{}'">
|
|
94
|
-
</v-select>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="col-sm-2 form-group">
|
|
97
|
-
<label class="font_normal_body">气表品牌</label>
|
|
98
|
-
<v-select :value.sync="model.f_meter_brand"
|
|
99
|
-
v-model="model.f_meter_brand"
|
|
100
|
-
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
101
|
-
condition="f_meter_brand = '{}'"
|
|
102
|
-
close-on-select></v-select>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
105
|
-
<label class="font_normal_body">失联天数 </label>
|
|
106
|
-
<div class="row">
|
|
107
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.SLday1"
|
|
108
|
-
condition="SLday >= {} " placeholder="">
|
|
109
|
-
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
110
|
-
<input type="text" style="width:27%" class="input_search" v-model="model.SLday2"
|
|
111
|
-
condition="SLday <= {} " placeholder="">
|
|
112
|
-
</div>
|
|
113
|
-
</div>
|
|
114
|
-
<div class="col-sm-2 form-group ">
|
|
115
|
-
<label for="contain_newfile" class="font_normal_body">开户未上报</label>
|
|
116
|
-
<v-select id="contain_newfile"
|
|
117
|
-
v-model="model.notappear"
|
|
118
|
-
style="width:60%"
|
|
119
|
-
:value.sync="model.notappear"
|
|
120
|
-
:options='$parent.$parent.not_appear'
|
|
121
|
-
:value-single="true"
|
|
122
|
-
close-on-select>
|
|
123
|
-
</v-select>
|
|
124
|
-
</div>
|
|
125
|
-
<div class="col-sm-2 form-group ">
|
|
126
|
-
<label for="contain_newfile" class="font_normal_body">用户状态</label>
|
|
127
|
-
<v-select id="contain_newfile"
|
|
128
|
-
v-model="model.user_state"
|
|
129
|
-
style="width:60%"
|
|
130
|
-
:value.sync="model.user_state"
|
|
131
|
-
:options='$parent.$parent.user_state'
|
|
132
|
-
:value-single="true"
|
|
133
|
-
condition="f_user_state='{}'"
|
|
134
|
-
close-on-select>
|
|
135
|
-
</v-select>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
142
|
-
<!--:thead='"<th>序号</th>\n"+-->
|
|
143
|
-
<!--"<th>档案编号</th>" +-->
|
|
144
|
-
<!--" <th>档案标识</th>"+-->
|
|
145
|
-
<!--"<th>客户名称</th>"+-->
|
|
146
|
-
<!--"<th>表号</th"+-->
|
|
147
|
-
<!--"<th>表具类型</th>"+-->
|
|
148
|
-
<!--"<th>客户类型</th>"+-->
|
|
149
|
-
<!--"<th>区域</th>"+-->
|
|
150
|
-
<!--"<th>小区</th>"+-->
|
|
151
|
-
<!--"<th>地址</th>"+-->
|
|
152
|
-
<!--"<th>用气气量</th>"+-->
|
|
153
|
-
<!--"<th>用气金额</th>"-->
|
|
154
|
-
<!--+"<th>用气价格</th>"-->
|
|
155
|
-
<!--+"<th>时间</th>"-->
|
|
156
|
-
<!--+"<th>所属机构</th>"'-->
|
|
157
|
-
<!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
|
|
158
|
-
<!--</print-table>-->
|
|
159
|
-
<!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
|
|
160
|
-
<!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
|
|
161
|
-
<!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
|
|
162
|
-
<!--sqlurl="
|
|
163
|
-
|
|
164
|
-
</div>
|
|
165
|
-
</criteria>
|
|
166
|
-
<data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
167
|
-
<template partial='head'>
|
|
168
|
-
<tr>
|
|
169
|
-
<th style="text-align:center">
|
|
170
|
-
<nobr>序号</nobr>
|
|
171
|
-
</th>
|
|
172
|
-
|
|
173
|
-
<!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
|
|
174
|
-
|
|
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
|
-
<th style="text-align:center" >
|
|
200
|
-
<nobr>初次上报日期</nobr>
|
|
201
|
-
</th>
|
|
202
|
-
<th style="text-align:center" >
|
|
203
|
-
<nobr>最后上报日期</nobr>
|
|
204
|
-
</th>
|
|
205
|
-
<th style="text-align:center">
|
|
206
|
-
<nobr>最后表读数</nobr>
|
|
207
|
-
</th>
|
|
208
|
-
|
|
209
|
-
<th style="text-align:center" >
|
|
210
|
-
<nobr>失联天数</nobr>
|
|
211
|
-
</th>
|
|
212
|
-
<th style="text-align:center" >
|
|
213
|
-
<nobr>气表厂家</nobr>
|
|
214
|
-
</th>
|
|
215
|
-
<th style="text-align:center" >
|
|
216
|
-
<nobr>组织机构</nobr>
|
|
217
|
-
</th>
|
|
218
|
-
<th style="text-align:center" >
|
|
219
|
-
<nobr>用户状态</nobr>
|
|
220
|
-
</th>
|
|
221
|
-
</tr>
|
|
222
|
-
|
|
223
|
-
</template>
|
|
224
|
-
<template partial='body'>
|
|
225
|
-
<td style="text-align:center">{{$index+1}}</td>
|
|
226
|
-
<!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
<td style="text-align: center;"><nobr>
|
|
230
|
-
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
231
|
-
</nobr> </td>
|
|
232
|
-
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
233
|
-
<td>
|
|
234
|
-
<nobr>{{row.f_address}}</nobr>
|
|
235
|
-
</td>
|
|
236
|
-
<td style="text-align:center">{{row.f_user_type}}</td>
|
|
237
|
-
<td style="text-align:center">{{row.f_gasproperties}}</td>
|
|
238
|
-
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
239
|
-
<td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
|
|
240
|
-
<td style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></td>
|
|
241
|
-
<td style="text-align:center">
|
|
242
|
-
<nobr>{{row.initinsertdate}}</nobr>
|
|
243
|
-
</td> <td style="text-align:center">
|
|
244
|
-
<nobr>{{row.lastinsertdate}}</nobr>
|
|
245
|
-
</td>
|
|
246
|
-
<td style="text-align:center">{{row.f_meter_base}}</td>
|
|
247
|
-
|
|
248
|
-
<td style="text-align:center">
|
|
249
|
-
<nobr>{{row.slday}}</nobr>
|
|
250
|
-
</td>
|
|
251
|
-
<td style="text-align:center">{{row.f_meter_brand}}</td>
|
|
252
|
-
<td style="text-align:center">
|
|
253
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
254
|
-
</td>
|
|
255
|
-
<td style="text-align:center">
|
|
256
|
-
<nobr>{{row.f_user_state}}</nobr>
|
|
257
|
-
</td>
|
|
258
|
-
<!--<td style="text-align:center">{{row.new_days}}</td>-->
|
|
259
|
-
<!--<td style="text-align:center">{{row.f_state}}</td>-->
|
|
260
|
-
|
|
261
|
-
</template>
|
|
262
|
-
</data-grid>
|
|
263
|
-
</criteria-paged>
|
|
264
|
-
</div>
|
|
265
|
-
<div v-show="echarts" style="height: 40px;width: 100%;">
|
|
266
|
-
<div style="display: inline-block;">
|
|
267
|
-
<button class="button_search button_spacing" @click="notShowEcharts()">隐藏图表</button>
|
|
268
|
-
</div>
|
|
269
|
-
<div class="mystyle" style="display: inline-block;">
|
|
270
|
-
<label class="font_normal_body">图表统计项</label>
|
|
271
|
-
<v-select style="width:60%" id="Groupname" v-model="groupname"
|
|
272
|
-
placeholder='分组项'
|
|
273
|
-
value-single="true"
|
|
274
|
-
:value.sync="groupname"
|
|
275
|
-
:options='getgroupname'
|
|
276
|
-
close-on-select></v-select>
|
|
277
|
-
</div>
|
|
278
|
-
</div>
|
|
279
|
-
<div class="span" v-show="echarts" style="width: 100%;height: 90%;">
|
|
280
|
-
<lost-contact-echarts :groupname="groupname[0]" :condition="condition"
|
|
281
|
-
:echarts="echarts"></lost-contact-echarts>
|
|
282
|
-
</div>
|
|
283
|
-
<!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
|
|
284
|
-
<!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
|
|
285
|
-
<!-- </div>-->
|
|
286
|
-
<div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
|
|
287
|
-
<lost-contact-eform :condition="condition"
|
|
288
|
-
></lost-contact-eform>
|
|
289
|
-
</div>
|
|
290
|
-
</div>
|
|
291
|
-
<div class="basic-main" v-if="showdetail">
|
|
292
|
-
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
293
|
-
</div>
|
|
294
|
-
</template>
|
|
295
|
-
|
|
296
|
-
<script>
|
|
297
|
-
import {PagedList} from 'vue-client'
|
|
298
|
-
import UserGasEcharts from './UserGasEcharts'
|
|
299
|
-
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
300
|
-
|
|
301
|
-
let readySomething = async function (self) {
|
|
302
|
-
|
|
303
|
-
await self.$MagLoadParams.loadParam()
|
|
304
|
-
self.initParams()
|
|
305
|
-
self.$refs.paged.$refs.cri.model.notappear='不包含'
|
|
306
|
-
self.$refs.paged.$refs.cri.model.SLday1=10
|
|
307
|
-
// self.$refs.paged.$refs.cri.search()
|
|
308
|
-
}
|
|
309
|
-
export default {
|
|
310
|
-
title: '失联分析',
|
|
311
|
-
props: ['data'],
|
|
312
|
-
components: {UserGasEcharts},
|
|
313
|
-
|
|
314
|
-
data() {
|
|
315
|
-
return {
|
|
316
|
-
model: new PagedList('
|
|
317
|
-
getfield:{
|
|
318
|
-
"f_userinfo_code":"客户编号","f_user_name":"客户名称",
|
|
319
|
-
"f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
|
|
320
|
-
"f_meternumber":"表号",
|
|
321
|
-
|
|
322
|
-
"f_startuse_date":"启用日期",
|
|
323
|
-
"f_valvestate":"阀门状态",
|
|
324
|
-
"initinsertdate":"初次上报日期",
|
|
325
|
-
"lastinsertdate":"最后上报日期",
|
|
326
|
-
"f_meter_base":"最后表读数",
|
|
327
|
-
"slday":"失联天数",
|
|
328
|
-
"f_meter_brand":"气表厂家","f_orgname":"组织机构","f_user_state":"用户状态"},
|
|
329
|
-
reportStr: null,
|
|
330
|
-
show: false,
|
|
331
|
-
showdetail:false,
|
|
332
|
-
rowdata:{},
|
|
333
|
-
criteriaShow:false,
|
|
334
|
-
outlets: [],
|
|
335
|
-
operator: [],
|
|
336
|
-
filename: '',
|
|
337
|
-
meterbrands: [],
|
|
338
|
-
org:[this.$login.f.orgid],
|
|
339
|
-
orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
|
|
340
|
-
echarts: false,
|
|
341
|
-
searchshow: false,
|
|
342
|
-
isActiveTotalForm: false,
|
|
343
|
-
condition: '1=1',
|
|
344
|
-
groupname: ['max_days_type'],
|
|
345
|
-
getgroupname: [
|
|
346
|
-
{label: '客户类型', value: 'f_user_type'},
|
|
347
|
-
{label: '用气性质', value: 'f_gasproperties'},
|
|
348
|
-
{label: '分公司', value: 'f_orgid'},
|
|
349
|
-
{label: '最长失联天数', value: 'max_days_type'},
|
|
350
|
-
{label: '合计失联天数', value: 'all_days_type'}
|
|
351
|
-
]
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
ready() {
|
|
356
|
-
readySomething(this)
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
methods: {
|
|
360
|
-
hidden(){
|
|
361
|
-
this.criteriaShow = !this.criteriaShow
|
|
362
|
-
},
|
|
363
|
-
showmsg(obj){
|
|
364
|
-
this.rowdata=obj
|
|
365
|
-
this.showdetail=true
|
|
366
|
-
},
|
|
367
|
-
cancel() {
|
|
368
|
-
this.showdetail = false
|
|
369
|
-
},
|
|
370
|
-
clickshow() {
|
|
371
|
-
this.searchshow = !this.searchshow
|
|
372
|
-
},
|
|
373
|
-
search(args) {
|
|
374
|
-
this.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
|
|
375
|
-
args.condition = this.condition
|
|
376
|
-
if(this.$refs.paged.$refs.cri.model.notappear) {
|
|
377
|
-
if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
|
|
378
|
-
args.condition = args.condition + " and initinsertdate <> '开户未上报'"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
this.model.search(args.condition, args.model)
|
|
382
|
-
},
|
|
383
|
-
getorg(obj) {
|
|
384
|
-
if (obj.resids.length>0) {
|
|
385
|
-
this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
386
|
-
}else
|
|
387
|
-
{
|
|
388
|
-
this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
// SaveAsFile(str) {
|
|
392
|
-
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
393
|
-
// if (res === 'confirm') {
|
|
394
|
-
// let style = '<style>' +
|
|
395
|
-
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
396
|
-
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
397
|
-
// console.log(strHtml);
|
|
398
|
-
// let LODOP = getLodop();
|
|
399
|
-
// LODOP.PRINT_INIT('');
|
|
400
|
-
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
401
|
-
// LODOP.SAVE_TO_FILE('失联分析.xls')
|
|
402
|
-
// }
|
|
403
|
-
// })
|
|
404
|
-
// },
|
|
405
|
-
clearmsg() {
|
|
406
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
407
|
-
},
|
|
408
|
-
close() {
|
|
409
|
-
this.show = false
|
|
410
|
-
},
|
|
411
|
-
initParams () {
|
|
412
|
-
let arr = []
|
|
413
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
414
|
-
let temp = {}
|
|
415
|
-
if(item.value.f_meter_type==='物联网表'){
|
|
416
|
-
temp.label = item.label
|
|
417
|
-
temp.value = item.value.f_meter_brand
|
|
418
|
-
arr.push(temp )
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
})
|
|
422
|
-
this.meterbrands = [{label: '全部', value: ''}, ...arr]
|
|
423
|
-
},
|
|
424
|
-
// 显示柱状图
|
|
425
|
-
showEcharts() {
|
|
426
|
-
this.echarts = true
|
|
427
|
-
this.isActiveTotalForm = false
|
|
428
|
-
},
|
|
429
|
-
notShowTotalForm() {
|
|
430
|
-
this.echarts = false
|
|
431
|
-
this.isActiveTotalForm = false
|
|
432
|
-
},
|
|
433
|
-
// 不显示柱状图
|
|
434
|
-
notShowEcharts() {
|
|
435
|
-
this.echarts = false
|
|
436
|
-
this.isActiveTotalForm = false
|
|
437
|
-
},
|
|
438
|
-
// 显示汇总数据表格
|
|
439
|
-
showTotalForm() {
|
|
440
|
-
this.echarts = false
|
|
441
|
-
this.isActiveTotalForm = true
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
watch: {
|
|
445
|
-
'data'(val) {
|
|
446
|
-
if (val.f_files_path) {
|
|
447
|
-
this.getFileContent(val.f_files_path)
|
|
448
|
-
} else {
|
|
449
|
-
this.reportStr = null
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
computed: {
|
|
454
|
-
// usertypes () {
|
|
455
|
-
// return this.$appdate.getParams("客户类型")
|
|
456
|
-
// },
|
|
457
|
-
getCondition() {
|
|
458
|
-
let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
|
|
459
|
-
if(this.$refs.paged.$refs.cri.model.notappear) {
|
|
460
|
-
if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
|
|
461
|
-
condition = condition + " and initinsertdate <> '开户未上报'"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
return {
|
|
465
|
-
|
|
466
|
-
condition: condition
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
usertypes() {
|
|
470
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
471
|
-
},
|
|
472
|
-
ValveState() {
|
|
473
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
474
|
-
},
|
|
475
|
-
Gasproperties() {
|
|
476
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
477
|
-
},
|
|
478
|
-
f_outlets() {
|
|
479
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
480
|
-
},
|
|
481
|
-
valveStatus() {
|
|
482
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
483
|
-
},
|
|
484
|
-
not_appear(){
|
|
485
|
-
return [{label: '包含', value: '包含'},{label: '不包含', value: '不包含'} ]
|
|
486
|
-
},
|
|
487
|
-
getstate() {
|
|
488
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
|
|
489
|
-
},
|
|
490
|
-
user_state(){
|
|
491
|
-
return [...this.$appdata.getParam('用户状态'),{label:'预备',value:'预备'} ]
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
</script>
|
|
496
|
-
<style>
|
|
497
|
-
.form-input-group label {
|
|
498
|
-
text-align: right;
|
|
499
|
-
width: auto;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.mystyle {
|
|
503
|
-
float: right;
|
|
504
|
-
padding-right: 10%;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.mystyle1 {
|
|
508
|
-
padding-top: 10px;
|
|
509
|
-
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.mystyle2 {
|
|
513
|
-
width: 100%;
|
|
514
|
-
height: 35px;
|
|
515
|
-
/*background: #00A3F0;*/
|
|
516
|
-
padding-left: 15px;
|
|
517
|
-
float: left;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.datapanel {
|
|
521
|
-
color: #333;
|
|
522
|
-
background-color: white;
|
|
523
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
524
|
-
padding: 10px 30px 10px 30px;
|
|
525
|
-
border-radius: 15px;
|
|
526
|
-
}
|
|
527
|
-
</style>
|
|
1
|
+
<template xmlns="http://www.w3.org/1999/html">
|
|
2
|
+
<div class="flex-row" v-if="!showdetail">
|
|
3
|
+
<div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
|
|
4
|
+
<criteria-paged :model="model" :pager='true' v-ref:paged>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<!--<div class="form-group">-->
|
|
9
|
+
<!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
|
|
10
|
+
<!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
|
|
11
|
+
<!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
|
|
12
|
+
<!--</div>-->
|
|
13
|
+
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户编号</label>
|
|
16
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
17
|
+
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
18
|
+
condition="f_userinfo_code like '{}%'" v-el:xq v-next-el='userinfocode' v-el:username
|
|
19
|
+
>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-sm-2 form-group">
|
|
22
|
+
<label class="font_normal_body">客户名称</label>
|
|
23
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
24
|
+
v-model="model.f_user_name" placeholder='客户名称'
|
|
25
|
+
condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
|
|
26
|
+
>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-2 form-group">
|
|
29
|
+
<label class="font_normal_body">客户地址</label>
|
|
30
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
|
|
31
|
+
placeholder='地址'
|
|
32
|
+
condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
33
|
+
>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body"> 表号 </label>
|
|
37
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
38
|
+
v-model="model.f_meternumber" placeholder='表号'
|
|
39
|
+
condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
40
|
+
>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div style="float:right">
|
|
44
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
45
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
47
|
+
:field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
|
|
48
|
+
sqlurl="api/af-revenue/logic/exportfile" sql-name="webmeter_getUserLoseQuery" template-name='用户失联查询'
|
|
49
|
+
:choose-col="true"></export-excel>
|
|
50
|
+
<!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
|
|
51
|
+
<!-- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
|
|
52
|
+
<!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
|
|
53
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
57
|
+
<div class="col-sm-2 form-group">
|
|
58
|
+
<label class="font_normal_body"> 公司 </label>
|
|
59
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
60
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">客户类型</label>
|
|
64
|
+
<v-select style="width:60%" id="f_user_type"
|
|
65
|
+
v-model="model.f_user_type"
|
|
66
|
+
placeholder='客户类型'
|
|
67
|
+
:value.sync="model.f_user_type"
|
|
68
|
+
:options='$parent.$parent.usertypes'
|
|
69
|
+
condition="f_user_type = '{}'"
|
|
70
|
+
close-on-select>
|
|
71
|
+
</v-select>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="col-sm-2 form-group">
|
|
74
|
+
<label class="font_normal_body">用气性质</label>
|
|
75
|
+
<v-select style="width:60%" id="f_gasproperties"
|
|
76
|
+
v-model="model.f_gasproperties"
|
|
77
|
+
placeholder='用气性质'
|
|
78
|
+
:value.sync="model.f_gasproperties"
|
|
79
|
+
:options='$parent.$parent.Gasproperties'
|
|
80
|
+
condition="f_gasproperties = '{}'"
|
|
81
|
+
close-on-select>
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-2">
|
|
85
|
+
<label class="font_normal_body">阀门状态</label>
|
|
86
|
+
<v-select
|
|
87
|
+
placeholder='阀门状态'
|
|
88
|
+
value-single="true"
|
|
89
|
+
style="width:60%"
|
|
90
|
+
:value.sync="model.f_valvestate"
|
|
91
|
+
v-model="model.f_valvestate"
|
|
92
|
+
:options='$parent.$parent.ValveState'
|
|
93
|
+
close-on-select condition="f_valvestate ='{}'">
|
|
94
|
+
</v-select>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">气表品牌</label>
|
|
98
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
99
|
+
v-model="model.f_meter_brand"
|
|
100
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
101
|
+
condition="f_meter_brand = '{}'"
|
|
102
|
+
close-on-select></v-select>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
105
|
+
<label class="font_normal_body">失联天数 </label>
|
|
106
|
+
<div class="row">
|
|
107
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.SLday1"
|
|
108
|
+
condition="SLday >= {} " placeholder="">
|
|
109
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
110
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.SLday2"
|
|
111
|
+
condition="SLday <= {} " placeholder="">
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-2 form-group ">
|
|
115
|
+
<label for="contain_newfile" class="font_normal_body">开户未上报</label>
|
|
116
|
+
<v-select id="contain_newfile"
|
|
117
|
+
v-model="model.notappear"
|
|
118
|
+
style="width:60%"
|
|
119
|
+
:value.sync="model.notappear"
|
|
120
|
+
:options='$parent.$parent.not_appear'
|
|
121
|
+
:value-single="true"
|
|
122
|
+
close-on-select>
|
|
123
|
+
</v-select>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="col-sm-2 form-group ">
|
|
126
|
+
<label for="contain_newfile" class="font_normal_body">用户状态</label>
|
|
127
|
+
<v-select id="contain_newfile"
|
|
128
|
+
v-model="model.user_state"
|
|
129
|
+
style="width:60%"
|
|
130
|
+
:value.sync="model.user_state"
|
|
131
|
+
:options='$parent.$parent.user_state'
|
|
132
|
+
:value-single="true"
|
|
133
|
+
condition="f_user_state='{}'"
|
|
134
|
+
close-on-select>
|
|
135
|
+
</v-select>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
142
|
+
<!--:thead='"<th>序号</th>\n"+-->
|
|
143
|
+
<!--"<th>档案编号</th>" +-->
|
|
144
|
+
<!--" <th>档案标识</th>"+-->
|
|
145
|
+
<!--"<th>客户名称</th>"+-->
|
|
146
|
+
<!--"<th>表号</th"+-->
|
|
147
|
+
<!--"<th>表具类型</th>"+-->
|
|
148
|
+
<!--"<th>客户类型</th>"+-->
|
|
149
|
+
<!--"<th>区域</th>"+-->
|
|
150
|
+
<!--"<th>小区</th>"+-->
|
|
151
|
+
<!--"<th>地址</th>"+-->
|
|
152
|
+
<!--"<th>用气气量</th>"+-->
|
|
153
|
+
<!--"<th>用气金额</th>"-->
|
|
154
|
+
<!--+"<th>用气价格</th>"-->
|
|
155
|
+
<!--+"<th>时间</th>"-->
|
|
156
|
+
<!--+"<th>所属机构</th>"'-->
|
|
157
|
+
<!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
|
|
158
|
+
<!--</print-table>-->
|
|
159
|
+
<!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
|
|
160
|
+
<!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
|
|
161
|
+
<!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
|
|
162
|
+
<!--sqlurl="api/af-revenue/sql/getUserGas"></export-excel>-->
|
|
163
|
+
|
|
164
|
+
</div>
|
|
165
|
+
</criteria>
|
|
166
|
+
<data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
167
|
+
<template partial='head'>
|
|
168
|
+
<tr>
|
|
169
|
+
<th style="text-align:center">
|
|
170
|
+
<nobr>序号</nobr>
|
|
171
|
+
</th>
|
|
172
|
+
|
|
173
|
+
<!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
|
|
174
|
+
|
|
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
|
+
<th style="text-align:center" >
|
|
200
|
+
<nobr>初次上报日期</nobr>
|
|
201
|
+
</th>
|
|
202
|
+
<th style="text-align:center" >
|
|
203
|
+
<nobr>最后上报日期</nobr>
|
|
204
|
+
</th>
|
|
205
|
+
<th style="text-align:center">
|
|
206
|
+
<nobr>最后表读数</nobr>
|
|
207
|
+
</th>
|
|
208
|
+
|
|
209
|
+
<th style="text-align:center" >
|
|
210
|
+
<nobr>失联天数</nobr>
|
|
211
|
+
</th>
|
|
212
|
+
<th style="text-align:center" >
|
|
213
|
+
<nobr>气表厂家</nobr>
|
|
214
|
+
</th>
|
|
215
|
+
<th style="text-align:center" >
|
|
216
|
+
<nobr>组织机构</nobr>
|
|
217
|
+
</th>
|
|
218
|
+
<th style="text-align:center" >
|
|
219
|
+
<nobr>用户状态</nobr>
|
|
220
|
+
</th>
|
|
221
|
+
</tr>
|
|
222
|
+
|
|
223
|
+
</template>
|
|
224
|
+
<template partial='body'>
|
|
225
|
+
<td style="text-align:center">{{$index+1}}</td>
|
|
226
|
+
<!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
<td style="text-align: center;"><nobr>
|
|
230
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
231
|
+
</nobr> </td>
|
|
232
|
+
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
233
|
+
<td>
|
|
234
|
+
<nobr>{{row.f_address}}</nobr>
|
|
235
|
+
</td>
|
|
236
|
+
<td style="text-align:center">{{row.f_user_type}}</td>
|
|
237
|
+
<td style="text-align:center">{{row.f_gasproperties}}</td>
|
|
238
|
+
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
239
|
+
<td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
|
|
240
|
+
<td style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></td>
|
|
241
|
+
<td style="text-align:center">
|
|
242
|
+
<nobr>{{row.initinsertdate}}</nobr>
|
|
243
|
+
</td> <td style="text-align:center">
|
|
244
|
+
<nobr>{{row.lastinsertdate}}</nobr>
|
|
245
|
+
</td>
|
|
246
|
+
<td style="text-align:center">{{row.f_meter_base}}</td>
|
|
247
|
+
|
|
248
|
+
<td style="text-align:center">
|
|
249
|
+
<nobr>{{row.slday}}</nobr>
|
|
250
|
+
</td>
|
|
251
|
+
<td style="text-align:center">{{row.f_meter_brand}}</td>
|
|
252
|
+
<td style="text-align:center">
|
|
253
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
254
|
+
</td>
|
|
255
|
+
<td style="text-align:center">
|
|
256
|
+
<nobr>{{row.f_user_state}}</nobr>
|
|
257
|
+
</td>
|
|
258
|
+
<!--<td style="text-align:center">{{row.new_days}}</td>-->
|
|
259
|
+
<!--<td style="text-align:center">{{row.f_state}}</td>-->
|
|
260
|
+
|
|
261
|
+
</template>
|
|
262
|
+
</data-grid>
|
|
263
|
+
</criteria-paged>
|
|
264
|
+
</div>
|
|
265
|
+
<div v-show="echarts" style="height: 40px;width: 100%;">
|
|
266
|
+
<div style="display: inline-block;">
|
|
267
|
+
<button class="button_search button_spacing" @click="notShowEcharts()">隐藏图表</button>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="mystyle" style="display: inline-block;">
|
|
270
|
+
<label class="font_normal_body">图表统计项</label>
|
|
271
|
+
<v-select style="width:60%" id="Groupname" v-model="groupname"
|
|
272
|
+
placeholder='分组项'
|
|
273
|
+
value-single="true"
|
|
274
|
+
:value.sync="groupname"
|
|
275
|
+
:options='getgroupname'
|
|
276
|
+
close-on-select></v-select>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
<div class="span" v-show="echarts" style="width: 100%;height: 90%;">
|
|
280
|
+
<lost-contact-echarts :groupname="groupname[0]" :condition="condition"
|
|
281
|
+
:echarts="echarts"></lost-contact-echarts>
|
|
282
|
+
</div>
|
|
283
|
+
<!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
|
|
284
|
+
<!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
|
|
285
|
+
<!-- </div>-->
|
|
286
|
+
<div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
|
|
287
|
+
<lost-contact-eform :condition="condition"
|
|
288
|
+
></lost-contact-eform>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
<div class="basic-main" v-if="showdetail">
|
|
292
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
293
|
+
</div>
|
|
294
|
+
</template>
|
|
295
|
+
|
|
296
|
+
<script>
|
|
297
|
+
import {PagedList} from 'vue-client'
|
|
298
|
+
import UserGasEcharts from './UserGasEcharts'
|
|
299
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
300
|
+
|
|
301
|
+
let readySomething = async function (self) {
|
|
302
|
+
|
|
303
|
+
await self.$MagLoadParams.loadParam()
|
|
304
|
+
self.initParams()
|
|
305
|
+
self.$refs.paged.$refs.cri.model.notappear='不包含'
|
|
306
|
+
self.$refs.paged.$refs.cri.model.SLday1=10
|
|
307
|
+
// self.$refs.paged.$refs.cri.search()
|
|
308
|
+
}
|
|
309
|
+
export default {
|
|
310
|
+
title: '失联分析',
|
|
311
|
+
props: ['data'],
|
|
312
|
+
components: {UserGasEcharts},
|
|
313
|
+
|
|
314
|
+
data() {
|
|
315
|
+
return {
|
|
316
|
+
model: new PagedList('api/af-revenue/sql/webmeter_getUserLoseQuery', 20),
|
|
317
|
+
getfield:{
|
|
318
|
+
"f_userinfo_code":"客户编号","f_user_name":"客户名称",
|
|
319
|
+
"f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
|
|
320
|
+
"f_meternumber":"表号",
|
|
321
|
+
|
|
322
|
+
"f_startuse_date":"启用日期",
|
|
323
|
+
"f_valvestate":"阀门状态",
|
|
324
|
+
"initinsertdate":"初次上报日期",
|
|
325
|
+
"lastinsertdate":"最后上报日期",
|
|
326
|
+
"f_meter_base":"最后表读数",
|
|
327
|
+
"slday":"失联天数",
|
|
328
|
+
"f_meter_brand":"气表厂家","f_orgname":"组织机构","f_user_state":"用户状态"},
|
|
329
|
+
reportStr: null,
|
|
330
|
+
show: false,
|
|
331
|
+
showdetail:false,
|
|
332
|
+
rowdata:{},
|
|
333
|
+
criteriaShow:false,
|
|
334
|
+
outlets: [],
|
|
335
|
+
operator: [],
|
|
336
|
+
filename: '',
|
|
337
|
+
meterbrands: [],
|
|
338
|
+
org:[this.$login.f.orgid],
|
|
339
|
+
orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
|
|
340
|
+
echarts: false,
|
|
341
|
+
searchshow: false,
|
|
342
|
+
isActiveTotalForm: false,
|
|
343
|
+
condition: '1=1',
|
|
344
|
+
groupname: ['max_days_type'],
|
|
345
|
+
getgroupname: [
|
|
346
|
+
{label: '客户类型', value: 'f_user_type'},
|
|
347
|
+
{label: '用气性质', value: 'f_gasproperties'},
|
|
348
|
+
{label: '分公司', value: 'f_orgid'},
|
|
349
|
+
{label: '最长失联天数', value: 'max_days_type'},
|
|
350
|
+
{label: '合计失联天数', value: 'all_days_type'}
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
ready() {
|
|
356
|
+
readySomething(this)
|
|
357
|
+
|
|
358
|
+
},
|
|
359
|
+
methods: {
|
|
360
|
+
hidden(){
|
|
361
|
+
this.criteriaShow = !this.criteriaShow
|
|
362
|
+
},
|
|
363
|
+
showmsg(obj){
|
|
364
|
+
this.rowdata=obj
|
|
365
|
+
this.showdetail=true
|
|
366
|
+
},
|
|
367
|
+
cancel() {
|
|
368
|
+
this.showdetail = false
|
|
369
|
+
},
|
|
370
|
+
clickshow() {
|
|
371
|
+
this.searchshow = !this.searchshow
|
|
372
|
+
},
|
|
373
|
+
search(args) {
|
|
374
|
+
this.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
|
|
375
|
+
args.condition = this.condition
|
|
376
|
+
if(this.$refs.paged.$refs.cri.model.notappear) {
|
|
377
|
+
if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
|
|
378
|
+
args.condition = args.condition + " and initinsertdate <> '开户未上报'"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
this.model.search(args.condition, args.model)
|
|
382
|
+
},
|
|
383
|
+
getorg(obj) {
|
|
384
|
+
if (obj.resids.length>0) {
|
|
385
|
+
this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
386
|
+
}else
|
|
387
|
+
{
|
|
388
|
+
this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
// SaveAsFile(str) {
|
|
392
|
+
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
393
|
+
// if (res === 'confirm') {
|
|
394
|
+
// let style = '<style>' +
|
|
395
|
+
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
396
|
+
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
397
|
+
// console.log(strHtml);
|
|
398
|
+
// let LODOP = getLodop();
|
|
399
|
+
// LODOP.PRINT_INIT('');
|
|
400
|
+
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
401
|
+
// LODOP.SAVE_TO_FILE('失联分析.xls')
|
|
402
|
+
// }
|
|
403
|
+
// })
|
|
404
|
+
// },
|
|
405
|
+
clearmsg() {
|
|
406
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
407
|
+
},
|
|
408
|
+
close() {
|
|
409
|
+
this.show = false
|
|
410
|
+
},
|
|
411
|
+
initParams () {
|
|
412
|
+
let arr = []
|
|
413
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
414
|
+
let temp = {}
|
|
415
|
+
if(item.value.f_meter_type==='物联网表'){
|
|
416
|
+
temp.label = item.label
|
|
417
|
+
temp.value = item.value.f_meter_brand
|
|
418
|
+
arr.push(temp )
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
})
|
|
422
|
+
this.meterbrands = [{label: '全部', value: ''}, ...arr]
|
|
423
|
+
},
|
|
424
|
+
// 显示柱状图
|
|
425
|
+
showEcharts() {
|
|
426
|
+
this.echarts = true
|
|
427
|
+
this.isActiveTotalForm = false
|
|
428
|
+
},
|
|
429
|
+
notShowTotalForm() {
|
|
430
|
+
this.echarts = false
|
|
431
|
+
this.isActiveTotalForm = false
|
|
432
|
+
},
|
|
433
|
+
// 不显示柱状图
|
|
434
|
+
notShowEcharts() {
|
|
435
|
+
this.echarts = false
|
|
436
|
+
this.isActiveTotalForm = false
|
|
437
|
+
},
|
|
438
|
+
// 显示汇总数据表格
|
|
439
|
+
showTotalForm() {
|
|
440
|
+
this.echarts = false
|
|
441
|
+
this.isActiveTotalForm = true
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
watch: {
|
|
445
|
+
'data'(val) {
|
|
446
|
+
if (val.f_files_path) {
|
|
447
|
+
this.getFileContent(val.f_files_path)
|
|
448
|
+
} else {
|
|
449
|
+
this.reportStr = null
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
computed: {
|
|
454
|
+
// usertypes () {
|
|
455
|
+
// return this.$appdate.getParams("客户类型")
|
|
456
|
+
// },
|
|
457
|
+
getCondition() {
|
|
458
|
+
let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
|
|
459
|
+
if(this.$refs.paged.$refs.cri.model.notappear) {
|
|
460
|
+
if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
|
|
461
|
+
condition = condition + " and initinsertdate <> '开户未上报'"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
return {
|
|
465
|
+
|
|
466
|
+
condition: condition
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
usertypes() {
|
|
470
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
471
|
+
},
|
|
472
|
+
ValveState() {
|
|
473
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
474
|
+
},
|
|
475
|
+
Gasproperties() {
|
|
476
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
477
|
+
},
|
|
478
|
+
f_outlets() {
|
|
479
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
480
|
+
},
|
|
481
|
+
valveStatus() {
|
|
482
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
483
|
+
},
|
|
484
|
+
not_appear(){
|
|
485
|
+
return [{label: '包含', value: '包含'},{label: '不包含', value: '不包含'} ]
|
|
486
|
+
},
|
|
487
|
+
getstate() {
|
|
488
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
|
|
489
|
+
},
|
|
490
|
+
user_state(){
|
|
491
|
+
return [...this.$appdata.getParam('用户状态'),{label:'预备',value:'预备'} ]
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
</script>
|
|
496
|
+
<style>
|
|
497
|
+
.form-input-group label {
|
|
498
|
+
text-align: right;
|
|
499
|
+
width: auto;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.mystyle {
|
|
503
|
+
float: right;
|
|
504
|
+
padding-right: 10%;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.mystyle1 {
|
|
508
|
+
padding-top: 10px;
|
|
509
|
+
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.mystyle2 {
|
|
513
|
+
width: 100%;
|
|
514
|
+
height: 35px;
|
|
515
|
+
/*background: #00A3F0;*/
|
|
516
|
+
padding-left: 15px;
|
|
517
|
+
float: left;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.datapanel {
|
|
521
|
+
color: #333;
|
|
522
|
+
background-color: white;
|
|
523
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
524
|
+
padding: 10px 30px 10px 30px;
|
|
525
|
+
border-radius: 15px;
|
|
526
|
+
}
|
|
527
|
+
</style>
|