manage-client 3.2.33 → 3.2.37
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/.babelrc +5 -5
- package/.classpath +6 -6
- package/.editorconfig +9 -9
- package/.eslintrc.js +20 -20
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.project +18 -18
- package/CHANGELOG.md +15 -15
- 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 +13 -13
- package/README.md +38 -38
- package/build/dev-server.js +174 -176
- package/build/webpack.base.conf.js +82 -82
- package/build.gradle +13 -13
- package/config/dev.env.js +6 -6
- package/config/index.js +40 -40
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew.bat +100 -100
- package/index.html +28 -28
- package/package.json +1 -1
- package/release.bat +5 -5
- package/src/ManageHome.js +269 -269
- package/src/Staff/StaffCompileList.vue +334 -334
- package/src/Staff/StaffList.vue +161 -161
- package/src/Staff/StaffListManage.vue +49 -49
- package/src/Util.js +367 -367
- package/src/components/BasisEcharts/LineChart.vue +243 -243
- package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
- package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
- package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
- package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
- package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
- package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
- package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
- package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
- package/src/components/ManageHome/Drill/DrillData.vue +791 -791
- package/src/components/ManageHome/Drill/DrillList.vue +320 -320
- package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
- package/src/components/ManageHome/Home/CallCenter.vue +124 -124
- package/src/components/ManageHome/Home/CallFix.vue +172 -172
- package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
- package/src/components/ManageHome/Home/GasValue.vue +233 -233
- package/src/components/ManageHome/Home/Home.vue +138 -138
- package/src/components/ManageHome/Home/Monitor.vue +329 -329
- package/src/components/ManageHome/Home/NetWork.vue +202 -202
- package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
- package/src/components/ManageHome/Home/UserModule.vue +367 -367
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHome/ManageHome.vue +292 -292
- package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
- package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
- package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
- package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
- package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
- package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
- package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
- package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
- package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
- package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
- package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
- package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
- package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
- package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
- package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
- package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
- package/src/components/ManageHome/User/GasDistri.vue +271 -271
- package/src/components/ManageHome/User/InspecDistri.vue +272 -272
- package/src/components/ManageHome/User/SaleProportion.vue +309 -309
- package/src/components/ManageHome/User/UseHome.vue +155 -155
- package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
- package/src/components/ManageHome/User/UserNumber.vue +519 -519
- package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
- package/src/components/ManageHome/loading.vue +23 -23
- package/src/components/ManageHomeCS/Cockpit.vue +43 -43
- 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 +146 -146
- package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
- package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
- package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
- package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
- package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
- package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
- package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
- package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
- package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
- package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
- package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
- package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
- package/src/components/ManageHomeCS/Home/Home.vue +57 -57
- package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
- package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
- package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
- package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
- package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
- package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
- 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 +106 -106
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
- package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
- package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
- package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
- package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
- package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
- package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
- package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
- package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
- package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
- package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
- package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/ManageHomeCS/loading.vue +39 -39
- package/src/components/ManageHomeCS/test.vue +88 -88
- 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/MeterInfoManage.vue +107 -107
- 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 +178 -178
- package/src/components/SellReport/CaiManageDayGas.vue +280 -280
- package/src/components/SellReport/ChManageBusSummary.vue +273 -273
- package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
- package/src/components/SellReport/ChManageMonthGas.vue +285 -285
- package/src/components/SellReport/ChOtherfee.vue +251 -251
- package/src/components/SellReport/ChargePrick.vue +205 -205
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/DayStairMoney.vue +256 -256
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/FxGasTable.vue +220 -220
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/HandCollect.vue +189 -189
- 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 +219 -219
- package/src/components/SellReport/ManageBusTable.vue +207 -207
- package/src/components/SellReport/ManageGasFee.vue +247 -247
- package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
- package/src/components/SellReport/ManageGasPrice.vue +176 -176
- package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +249 -249
- package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
- package/src/components/SellReport/ManageReceivable.vue +254 -254
- package/src/components/SellReport/ManageUserCollect.vue +183 -183
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterGasMoney.vue +226 -226
- package/src/components/SellReport/MeterInput.vue +250 -250
- package/src/components/SellReport/MonthStairMoney.vue +256 -256
- package/src/components/SellReport/NonResidentGas.vue +203 -203
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/QibiaoShouqi.vue +242 -242
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportPool.vue +60 -60
- package/src/components/SellReport/SaleMonthReport.vue +153 -153
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/SiteManager.vue +147 -147
- package/src/components/SellReport/UserSellingGas.vue +228 -228
- package/src/components/SellReport/UserStateStatistics.vue +188 -188
- package/src/components/SellReport/UsertypePie.vue +101 -101
- package/src/components/SellReport/XianYangDate.vue +227 -227
- package/src/components/SellReport/XianYangOperator.vue +228 -228
- package/src/components/SellReport/XyDateCharge.vue +227 -227
- package/src/components/SellReport/XyOperatorCharge.vue +256 -256
- package/src/components/SellReport/YuShouTableTwo.vue +309 -309
- 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 +479 -479
- package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
- package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
- package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
- package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
- package/src/components/TelReport/ZhiHuanservice.vue +162 -162
- 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/BusinessHall.vue +85 -85
- package/src/components/WebReport/BussinessType.vue +137 -137
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/CompanyUser.vue +79 -79
- 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/PaymentDistributed.vue +176 -176
- package/src/components/WebReport/Paymentpie.vue +157 -157
- 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/daping/GMap.vue +636 -636
- package/src/components/qinhua/BarChartLine.vue +288 -288
- package/src/components/qinhua/ManageMain.vue +162 -162
- package/src/components/qinhua/Ring.vue +165 -165
- package/src/components/qinhua/SafeCheckRing.vue +149 -149
- package/src/components/qinhua/SafecheckBarChart.vue +209 -209
- package/src/components/qinhua/Scada.vue +93 -93
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
- package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
- package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
- package/src/components/safecheck/planCheck/inFamily.vue +185 -185
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
- package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
- package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -0
- package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
- package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1245
- package/src/components/sale/businessquery/CollectManage.vue +3 -0
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/InspectListUser.vue +412 -412
- package/src/components/sale/businessquery/InspectManage.vue +47 -47
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
- package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
- package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
- package/src/components/sale/businessquery/TongjiManage.vue +74 -74
- package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
- package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
- package/src/components/sale/businessquery/usergas.vue +311 -311
- package/src/components/sale/businessquery/weChatBind.vue +361 -361
- package/src/components/sale/common/PrintData.vue +171 -171
- package/src/components/sale/common/PrintDataSelf.vue +225 -225
- package/src/components/sale/common/PrintTable.vue +228 -228
- package/src/components/sale/common/PrintTableSelf.vue +251 -251
- package/src/components/sale/common/TabButton.vue +155 -155
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/common/handplanUser.vue +112 -112
- package/src/components/sale/config/DefaultPrint.js +6 -6
- package/src/components/sale/config/exportConfig.js +3 -0
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
- package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
- 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/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
- package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
- package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
- package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
- package/src/components/sale/report/aode/YearByUserType.vue +272 -272
- package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
- package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
- package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
- package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
- package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
- package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
- package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
- package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
- package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
- package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
- package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
- package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
- package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
- package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
- package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
- package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
- package/src/components/statistical/DendrogramManage.vue +36 -1
- package/src/components/statistical/StatisticalAnalysis.vue +252 -252
- 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 +633 -633
- package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
- package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
- 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/NewGasEcharts.vue +208 -208
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
- package/src/components/yulin/GuanWang.vue +24 -24
- package/src/components/yulin/SingleBarLine.vue +352 -352
- package/src/components/yulin/Weather.vue +157 -157
- package/src/expandcss.less +26 -26
- package/src/filiale/WEINAN/EchartsBox.vue +110 -110
- package/src/filiale/WEINAN/InspectListUser.vue +492 -492
- package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
- package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
- package/src/filiale/WEINAN/SiteManager.vue +191 -191
- package/src/filiale/WEINAN/UserGasAll.vue +577 -577
- package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
- package/src/filiale/WEINAN/UserGasList.vue +438 -438
- package/src/filiale/WEINAN/reportManage.js +12 -12
- package/src/filiale/WEINAN/sale.js +36 -36
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/aode/ArchivesManage.vue +38 -38
- package/src/filiale/aode/BusinessManage.vue +94 -94
- package/src/filiale/aode/DefaultPrint.js +6 -6
- package/src/filiale/aode/HandplanQuery.vue +632 -632
- package/src/filiale/aode/Tabs.vue +67 -67
- package/src/filiale/aode/UserQuery.vue +599 -599
- package/src/filiale/aode/sale.js +17 -17
- package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
- package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
- package/src/filiale/ceshi/CollectManage.vue +94 -94
- package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
- package/src/filiale/ceshi/TabButton.vue +149 -149
- package/src/filiale/ceshi/Tabs.vue +69 -69
- package/src/filiale/ceshi/reportManage.js +5 -5
- package/src/filiale/ceshi/sale.js +11 -11
- package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
- package/src/filiale/gaomi/config/tableConfig.js +47 -47
- package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
- package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/liaoyuan/sale.js +11 -11
- package/src/filiale/macheng/MeterQuery.vue +921 -921
- package/src/filiale/macheng/config/DefaultPrint.js +12 -12
- package/src/filiale/meihekou/UserGasEform.vue +267 -267
- package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
- package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
- package/src/filiale/qingtongxia/sale.js +13 -13
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
- package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
- package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
- package/src/filiale/shennongjia/config/tableConfig.js +47 -47
- package/src/filiale/shennongjia/sale.js +10 -10
- package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
- package/src/filiale/tongchuan/reportManage.js +5 -5
- package/src/main.js +2 -2
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/plugins/getAllInputtor.js +29 -29
- package/src/safeCheck.js +63 -63
- package/src/saleManage.js +4 -0
- package/src/stores/AppData.js +62 -62
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +602 -602
- package/src/stores/DrillSql.js +888 -888
- package/src/stores/GetParames.js +15 -15
- package/src/stores/MagGetSaleParams.js +156 -156
- package/src/stores/MagLoadParams.js +63 -63
- package/src/stores/Util.js +132 -132
- package/src/stores/shanxi1.js +26 -26
- package/src/stores/yulin.js +27 -27
- package/static/china.json +1 -1
- package/static/qh.json +2410 -2410
- package/static/res.json +58411 -58411
- package/static/shanxi1.json +1 -1
- package/static/wuhai.json +1610 -1610
- package/static/yulin.json +1 -1
- package/static//345/261/261/344/270/234/347/234/201.json +1 -1
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +35 -35
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
- package/test/unit/init.js +11 -11
- package/test/unit/karma.conf.js +45 -45
- package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
- package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
- package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
- package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
- package/webstorm.config.js +13 -13
|
@@ -1,438 +1,438 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row" v-show="!echarts">
|
|
3
|
-
<div id='app' class="basic-main">
|
|
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" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">客户编号</label>
|
|
11
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
12
|
-
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
13
|
-
condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
14
|
-
>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-2 form-group">
|
|
17
|
-
<label class="font_normal_body">客户名称</label>
|
|
18
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
19
|
-
v-model="model.f_username" placeholder='客户名称'
|
|
20
|
-
condition="u.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-2 form-group">
|
|
23
|
-
<label class="font_normal_body">客户地址</label>
|
|
24
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
25
|
-
v-model="model.f_address" placeholder='地址'
|
|
26
|
-
condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
27
|
-
>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-2 form-group">
|
|
30
|
-
<label class="font_normal_body">表  号</label>
|
|
31
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
32
|
-
v-model="model.f_meternumber" placeholder='表钢号'
|
|
33
|
-
condition="uf.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
34
|
-
>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="span" style="float:right;margin-top:10px">
|
|
37
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
39
|
-
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
40
|
-
:field="$parent.$parent.getfield"
|
|
41
|
-
sqlurl="rs/logic/exportfile" sql-name="webmeter_getNewHandChanceList" template-name='抄表分析'
|
|
42
|
-
:choose-col="true"></export-excel>
|
|
43
|
-
<button class="button_export button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
44
|
-
<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>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
-
<div class="col-sm-2 form-group">
|
|
49
|
-
<label class="font_normal_body">公  司</label>
|
|
50
|
-
<right-tree @re-res="$parent.$parent.getRes"
|
|
51
|
-
:initresid='$parent.$parent.orgid'></right-tree>
|
|
52
|
-
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
53
|
-
<!-- <res-select :initresid="$parent.$parent.orgid"-->
|
|
54
|
-
<!-- style="width:60%"-->
|
|
55
|
-
<!-- @res-select="$parent.$parent.getRes"-->
|
|
56
|
-
<!-- restype='organization'>-->
|
|
57
|
-
<!-- </res-select>-->
|
|
58
|
-
</div>
|
|
59
|
-
<!-- <res-select-group :initres="$parent.$parent.initres" :show-component="['company']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
60
|
-
<div class="col-sm-2 form-group">
|
|
61
|
-
<label class="font_normal_body">用户类型</label>
|
|
62
|
-
<v-select style="width:60%" id="f_user_type"
|
|
63
|
-
v-model="model.f_user_type"
|
|
64
|
-
placeholder='用户类型'
|
|
65
|
-
:value.sync="model.f_user_type"
|
|
66
|
-
@change="$parent.$parent.userTypeChange()"
|
|
67
|
-
:options='$parent.$parent.usertypes'
|
|
68
|
-
condition="uf.f_user_type = '{}'"
|
|
69
|
-
close-on-select>
|
|
70
|
-
</v-select>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="col-sm-2 form-group">
|
|
73
|
-
<label class="font_normal_body">用气性质</label>
|
|
74
|
-
<v-select style="width:60%" id="f_gasproperties"
|
|
75
|
-
v-model="model.f_gasproperties"
|
|
76
|
-
placeholder='用气性质'
|
|
77
|
-
:value.sync="model.f_gasproperties"
|
|
78
|
-
:options='$parent.$parent.gasproperties'
|
|
79
|
-
condition="uf.f_gasproperties = '{}'"
|
|
80
|
-
close-on-select>
|
|
81
|
-
</v-select>
|
|
82
|
-
</div>
|
|
83
|
-
<div class="col-sm-2 form-group">
|
|
84
|
-
<label class="font_normal_body">气表品牌</label>
|
|
85
|
-
<v-select
|
|
86
|
-
placeholder='气表品牌'
|
|
87
|
-
:value.sync="model.f_meter_brand"
|
|
88
|
-
v-model="model.f_meter_brand"
|
|
89
|
-
:options='$parent.$parent.WarningType'
|
|
90
|
-
@change="$parent.$parent.getMeterType"
|
|
91
|
-
close-on-select
|
|
92
|
-
condition="gb.f_meter_brand='{}'">
|
|
93
|
-
</v-select>
|
|
94
|
-
</div>
|
|
95
|
-
<div class="col-sm-2 form-group" >
|
|
96
|
-
<label class="font_normal_body">气表型号</label>
|
|
97
|
-
<v-select v-if="$parent.$parent.styles"
|
|
98
|
-
placeholder='气表型号'
|
|
99
|
-
:value.sync="model.f_meter_style"
|
|
100
|
-
v-model="model.f_meter_style"
|
|
101
|
-
:options='$parent.$parent.Warningstyle'
|
|
102
|
-
close-on-select
|
|
103
|
-
condition="gm.f_meter_style='{}'">
|
|
104
|
-
</v-select>
|
|
105
|
-
<v-select v-if="!$parent.$parent.styles"
|
|
106
|
-
placeholder='气表型号'
|
|
107
|
-
:value.sync="model.f_meter_style"
|
|
108
|
-
v-model="model.f_meter_style"
|
|
109
|
-
:options='$parent.$parent.Warningstyles'
|
|
110
|
-
close-on-select
|
|
111
|
-
condition="f_meter_style='{}'">
|
|
112
|
-
</v-select>
|
|
113
|
-
</div>
|
|
114
|
-
<div class="col-sm-2 form-group">
|
|
115
|
-
<label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
|
|
116
|
-
<datepicker style="width:60%" placeholder="起始时间"
|
|
117
|
-
:value.sync="model.startDate"
|
|
118
|
-
v-model="model.startDate"
|
|
119
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
120
|
-
></datepicker>
|
|
121
|
-
</div>
|
|
122
|
-
<div class="col-sm-2 form-group">
|
|
123
|
-
<label class="font_normal_body" style="word-break:keep-all;"> 至 </label>
|
|
124
|
-
<datepicker style="width:60%" placeholder="结束时间"
|
|
125
|
-
:value.sync="model.endDate"
|
|
126
|
-
v-model="model.endDate"
|
|
127
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
128
|
-
></datepicker>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="col-sm-2 form-group">
|
|
131
|
-
<label class="font_normal_body">壁 挂 炉</label>
|
|
132
|
-
<v-select id="f_meter_brand"
|
|
133
|
-
v-model="model.f_usetype"
|
|
134
|
-
placeholder='壁挂炉'
|
|
135
|
-
:value.sync="model.f_usetype"
|
|
136
|
-
:options='$parent.$parent.usetypes'
|
|
137
|
-
condition="" :search="false"
|
|
138
|
-
close-on-select style="width: 60%">
|
|
139
|
-
</v-select>
|
|
140
|
-
</div>
|
|
141
|
-
<div class="col-sm-2 form-group">
|
|
142
|
-
<label class="font_normal_body">房屋类型</label>
|
|
143
|
-
<v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
|
|
144
|
-
:options='$parent.$parent.houseTypes' placeholder='请选择'
|
|
145
|
-
close-on-select
|
|
146
|
-
condition=""></v-select>
|
|
147
|
-
</div>
|
|
148
|
-
<div class="col-sm-2 form-group">
|
|
149
|
-
<label class="font_normal_body">安装位置</label>
|
|
150
|
-
<v-select :value.sync="model.f_position" v-model="model.f_position"
|
|
151
|
-
:options='$parent.$parent.positions' placeholder='请选择'
|
|
152
|
-
condition=""
|
|
153
|
-
close-on-select></v-select>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</criteria>
|
|
158
|
-
<data-grid id="reportgas" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
159
|
-
<template partial='head'>
|
|
160
|
-
<tr>
|
|
161
|
-
<th style="text-align:center">序号</th>
|
|
162
|
-
<th style="text-align:center"><nobr>上报日期</nobr></th>
|
|
163
|
-
<th style="text-align:center"><nobr>建档数</nobr></th>
|
|
164
|
-
<th style="text-align:center" ><nobr>安装户数</nobr></th>
|
|
165
|
-
|
|
166
|
-
<th style="text-align:center" ><nobr>停用户数</nobr></th>
|
|
167
|
-
<th style="text-align:center" ><nobr>在用户数</nobr></th>
|
|
168
|
-
|
|
169
|
-
<th style="text-align:center" title="用户使用率=在用户数/正常户数"><nobr>用户使用率</nobr></th>
|
|
170
|
-
<th style="text-align:center"><nobr>抄表成功户数</nobr></th>
|
|
171
|
-
<th style="text-align:center"><nobr>总用气量</nobr></th>
|
|
172
|
-
<th style="text-align:center" title="日均用气量=总用气量/在用户数"><nobr>日均用气量</nobr></th>
|
|
173
|
-
<!--<th style="text-align:center"><nobr>指令成功户数</nobr></th>-->
|
|
174
|
-
<th style="text-align:center" title="抄表成功率=抄表成功户数/在用户数"><nobr>抄表成功率</nobr></th>
|
|
175
|
-
<!--<th style="text-align:center" title="指令成功率=指令成功户数/抄表成功户数"><nobr>指令成功率</nobr></th>-->
|
|
176
|
-
<!--<th style="text-align:center" title="综合成功率=指令成功户数/在用户数"><nobr>综合成功率</nobr></th>-->
|
|
177
|
-
</tr>
|
|
178
|
-
</template>
|
|
179
|
-
<template partial='body' partial='list' v-ref:grid>
|
|
180
|
-
<tr>
|
|
181
|
-
<td style="text-align:center">{{$index + 1}}</td>
|
|
182
|
-
<td style="text-align:center;width: 170px;"><nobr>{{row.f_insert_date}}</nobr></td>
|
|
183
|
-
<td style="text-align:center">{{row.cc}}</td>
|
|
184
|
-
<td style="text-align:center">{{row.anzhuang}}</td>
|
|
185
|
-
|
|
186
|
-
<th style="text-align:center">{{row.c0}}</th>
|
|
187
|
-
<td style="text-align:center"><nobr>{{row.c}}</nobr></td>
|
|
188
|
-
|
|
189
|
-
<td style="text-align:center"><nobr>{{row.user_bv}}%</nobr></td>
|
|
190
|
-
<!--<td style="text-align:center"><nobr>{{row.f_gas}}</nobr></td>-->
|
|
191
|
-
<td style="text-align:center">{{row.c1}}</td>
|
|
192
|
-
<td style="text-align:center">{{row.f_gas_all}}</td>
|
|
193
|
-
<td style="text-align:center">{{row.f_gas1}}</td>
|
|
194
|
-
<td style="text-align:center">{{row.f_bv1}}%</td>
|
|
195
|
-
<!--<td style="text-align:center">{{row.f_bv2}}%</td>-->
|
|
196
|
-
<!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_bv3}}%</nobr></td>-->
|
|
197
|
-
</tr>
|
|
198
|
-
</template>
|
|
199
|
-
<template partial='foot'></template>
|
|
200
|
-
</data-grid>
|
|
201
|
-
</criteria-paged>
|
|
202
|
-
</div>
|
|
203
|
-
<!-- <div style="height: 40px;width: 100%;" v-show="echarts">-->
|
|
204
|
-
<!-- <button class="button_search button_spacing" @click="showEcharts()">隐藏图表</button>-->
|
|
205
|
-
<!-- </div>-->
|
|
206
|
-
|
|
207
|
-
</div>
|
|
208
|
-
<!--图显示模板-->
|
|
209
|
-
<div class="flex-row" v-if="echarts" style="width: 100%;height: 98%;">
|
|
210
|
-
<user-gas-echarts-list :condition="condition" :startdate="startDate"
|
|
211
|
-
:enddate="endDate" :echarts="echarts"></user-gas-echarts-list>
|
|
212
|
-
</div>
|
|
213
|
-
</template>
|
|
214
|
-
<script>
|
|
215
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
216
|
-
import * as Util from '../../Util'
|
|
217
|
-
import plugins from '../../plugins/GetLoginInfoService'
|
|
218
|
-
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
219
|
-
|
|
220
|
-
export default {
|
|
221
|
-
title: '抄表分析',
|
|
222
|
-
props: ['data'],
|
|
223
|
-
data () {
|
|
224
|
-
return {
|
|
225
|
-
model: new PagedList('rs/sql/webmeter_getNewHandChanceList', 50, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
|
|
226
|
-
condition: '1=1',
|
|
227
|
-
startDate: '',
|
|
228
|
-
gasproperties:[{label: '全部', value: ''}],
|
|
229
|
-
endDate: '',
|
|
230
|
-
WarningType: [
|
|
231
|
-
{label: '全部', value: ''}
|
|
232
|
-
],
|
|
233
|
-
Warningstyles: [
|
|
234
|
-
{label: '全部', value: ''}
|
|
235
|
-
],
|
|
236
|
-
styles:false,
|
|
237
|
-
orgid:[this.$login.f.orgid],
|
|
238
|
-
getfield:{"f_insert_date":"上报日期","cc":"建档数","anzhuang":"安装户数",
|
|
239
|
-
"c0":"停用户数",
|
|
240
|
-
"c":"在用户数","user_bv":"用户使用率",
|
|
241
|
-
"c1":"抄表成功户数",
|
|
242
|
-
"f_gas_all":"总用气量","f_gas":"日均户均用气量(成功)",
|
|
243
|
-
"f_gas1":"日均户均用气量(在用)",
|
|
244
|
-
"f_bv1":"抄表成功率"
|
|
245
|
-
},
|
|
246
|
-
criteriaShow:false,
|
|
247
|
-
echarts: false,
|
|
248
|
-
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
249
|
-
searchshow: false,
|
|
250
|
-
initres: {
|
|
251
|
-
org:[this.$login.f.orgid],
|
|
252
|
-
dep:[],
|
|
253
|
-
user:[]
|
|
254
|
-
},
|
|
255
|
-
obj: {
|
|
256
|
-
userid: this.$login.f.id,
|
|
257
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
258
|
-
res: this.$login.f.f_fengongsi,
|
|
259
|
-
resids: this.$login.f.orgid
|
|
260
|
-
},
|
|
261
|
-
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
ready () {
|
|
265
|
-
this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
|
|
266
|
-
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
267
|
-
this.getMeterTypeAndBrand('f_meter_brand', '1=1')
|
|
268
|
-
this.$refs.paged.$refs.cri.search()
|
|
269
|
-
},
|
|
270
|
-
methods: {
|
|
271
|
-
getMeterType() {
|
|
272
|
-
this.Warningstyle = [{label: '全部', value: ''}]
|
|
273
|
-
this.styles = false
|
|
274
|
-
let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
|
|
275
|
-
this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
|
|
276
|
-
},
|
|
277
|
-
getMeterTypeAndBrand(groupname, condition) {
|
|
278
|
-
condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
|
|
279
|
-
let self = this
|
|
280
|
-
let load = new HttpResetClass()
|
|
281
|
-
load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
|
|
282
|
-
data: {
|
|
283
|
-
condition: condition,
|
|
284
|
-
groupname: groupname
|
|
285
|
-
}
|
|
286
|
-
}, {warnMsg: null, resolveMsg: null}).then((res) => {
|
|
287
|
-
let dr = {label: '', value: ''}
|
|
288
|
-
let i = 0
|
|
289
|
-
for (i = 0; i < res.data.length; i++) {
|
|
290
|
-
dr = {label: '', value: ''}
|
|
291
|
-
if (groupname == 'f_meter_brand') {
|
|
292
|
-
dr.label = res.data[i].f_meter_brand
|
|
293
|
-
dr.value = res.data[i].f_meter_brand
|
|
294
|
-
//气表品牌
|
|
295
|
-
self.WarningType.push(dr)
|
|
296
|
-
console.log('气表品牌~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
|
|
297
|
-
console.log(dr)
|
|
298
|
-
console.log( self.WarningType)
|
|
299
|
-
} else if (groupname == 'f_meter_style') {
|
|
300
|
-
dr.label = res.data[i].f_meter_style
|
|
301
|
-
dr.value = res.data[i].f_meter_style
|
|
302
|
-
//气表类型
|
|
303
|
-
self.Warningstyle.push(dr)
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
if (self.Warningstyle.length > 1) {
|
|
307
|
-
self.showMeterStyle()
|
|
308
|
-
}
|
|
309
|
-
})
|
|
310
|
-
|
|
311
|
-
},
|
|
312
|
-
showMeterStyle() {
|
|
313
|
-
this.styles = true
|
|
314
|
-
},
|
|
315
|
-
userTypeChange () {
|
|
316
|
-
this.gasproperties=[{label: '全部', value: ''}]
|
|
317
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
318
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
319
|
-
|
|
320
|
-
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
321
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
322
|
-
// this.gasproperties.push({label: '全部', value: ''})
|
|
323
|
-
}
|
|
324
|
-
else{
|
|
325
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
hidden(){
|
|
329
|
-
this.criteriaShow = !this.criteriaShow
|
|
330
|
-
},
|
|
331
|
-
// 查询开关
|
|
332
|
-
seachchange () {
|
|
333
|
-
this.searchshow = !this.searchshow
|
|
334
|
-
},
|
|
335
|
-
|
|
336
|
-
// 显示柱状图
|
|
337
|
-
showEcharts () {
|
|
338
|
-
this.echarts = !this.echarts
|
|
339
|
-
console.log(this.echarts)
|
|
340
|
-
},
|
|
341
|
-
close () {
|
|
342
|
-
this.show = false
|
|
343
|
-
},
|
|
344
|
-
// SaveAsFile(str) {
|
|
345
|
-
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
346
|
-
// if (res === 'confirm') {
|
|
347
|
-
// let style = '<style>' +
|
|
348
|
-
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
349
|
-
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
350
|
-
// console.log(strHtml);
|
|
351
|
-
// let LODOP = getLodop();
|
|
352
|
-
// LODOP.PRINT_INIT('');
|
|
353
|
-
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
354
|
-
// LODOP.SAVE_TO_FILE('抄表统计.xls')
|
|
355
|
-
// }
|
|
356
|
-
// })
|
|
357
|
-
// },
|
|
358
|
-
clearmsg () {
|
|
359
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
360
|
-
},
|
|
361
|
-
search (args) {
|
|
362
|
-
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
363
|
-
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
364
|
-
if (this.endDate == '' || this.startDate == '') {
|
|
365
|
-
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
366
|
-
}
|
|
367
|
-
if (this.orgCondtionStr){
|
|
368
|
-
this.condition = this.$refs.paged.$refs.cri.condition + `and uf.f_orgid in ${this.orgCondtionStr}`
|
|
369
|
-
}
|
|
370
|
-
else
|
|
371
|
-
this.condition = this.$refs.paged.$refs.cri.condition
|
|
372
|
-
args.condition = this.condition
|
|
373
|
-
this.model.search(args.condition, args.model)
|
|
374
|
-
},
|
|
375
|
-
// getRes (obj) {
|
|
376
|
-
// this.orgCondtionStr = plugins.convertToIn(obj)
|
|
377
|
-
// }
|
|
378
|
-
getRes (obj) {
|
|
379
|
-
this.orgCondtionStr = plugins.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(' + this.$login.f.orgid + ')'
|
|
380
|
-
}
|
|
381
|
-
// getRes(condition,obj) {
|
|
382
|
-
// this.orgCondtionStr = condition
|
|
383
|
-
// this.orgname = obj.orgnames[0]
|
|
384
|
-
// this.depname = obj.depnames[0]
|
|
385
|
-
// }
|
|
386
|
-
},
|
|
387
|
-
computed: {
|
|
388
|
-
houseTypes() {
|
|
389
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
390
|
-
},
|
|
391
|
-
positions() {
|
|
392
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
393
|
-
},
|
|
394
|
-
getCondition() {
|
|
395
|
-
var con=""
|
|
396
|
-
if (this.orgCondtionStr) {
|
|
397
|
-
con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
|
|
398
|
-
}
|
|
399
|
-
else{
|
|
400
|
-
con= `${this.$refs.paged.$refs.cri.condition} `
|
|
401
|
-
}
|
|
402
|
-
return {
|
|
403
|
-
condition: con ,
|
|
404
|
-
startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
|
|
405
|
-
endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
},
|
|
409
|
-
usertypes () {
|
|
410
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
411
|
-
},
|
|
412
|
-
// usertypes () {
|
|
413
|
-
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
414
|
-
// },
|
|
415
|
-
f_outlets () {
|
|
416
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
417
|
-
},
|
|
418
|
-
valveStatus () {
|
|
419
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
420
|
-
},
|
|
421
|
-
Getuserstyle () {
|
|
422
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
</script>
|
|
427
|
-
<style>
|
|
428
|
-
.mystyle{
|
|
429
|
-
margin-left:80px;
|
|
430
|
-
}
|
|
431
|
-
.datapanel {
|
|
432
|
-
color: #333;
|
|
433
|
-
background-color: white;
|
|
434
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
435
|
-
padding: 10px 10px 10px 10px;
|
|
436
|
-
border-radius:15px;
|
|
437
|
-
}
|
|
438
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row" v-show="!echarts">
|
|
3
|
+
<div id='app' class="basic-main">
|
|
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" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">客户编号</label>
|
|
11
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
12
|
+
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
13
|
+
condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
14
|
+
>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-2 form-group">
|
|
17
|
+
<label class="font_normal_body">客户名称</label>
|
|
18
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
19
|
+
v-model="model.f_username" placeholder='客户名称'
|
|
20
|
+
condition="u.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2 form-group">
|
|
23
|
+
<label class="font_normal_body">客户地址</label>
|
|
24
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
25
|
+
v-model="model.f_address" placeholder='地址'
|
|
26
|
+
condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
27
|
+
>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">表  号</label>
|
|
31
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
32
|
+
v-model="model.f_meternumber" placeholder='表钢号'
|
|
33
|
+
condition="uf.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
34
|
+
>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
37
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
39
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
40
|
+
:field="$parent.$parent.getfield"
|
|
41
|
+
sqlurl="rs/logic/exportfile" sql-name="webmeter_getNewHandChanceList" template-name='抄表分析'
|
|
42
|
+
:choose-col="true"></export-excel>
|
|
43
|
+
<button class="button_export button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
44
|
+
<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>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
+
<div class="col-sm-2 form-group">
|
|
49
|
+
<label class="font_normal_body">公  司</label>
|
|
50
|
+
<right-tree @re-res="$parent.$parent.getRes"
|
|
51
|
+
:initresid='$parent.$parent.orgid'></right-tree>
|
|
52
|
+
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
53
|
+
<!-- <res-select :initresid="$parent.$parent.orgid"-->
|
|
54
|
+
<!-- style="width:60%"-->
|
|
55
|
+
<!-- @res-select="$parent.$parent.getRes"-->
|
|
56
|
+
<!-- restype='organization'>-->
|
|
57
|
+
<!-- </res-select>-->
|
|
58
|
+
</div>
|
|
59
|
+
<!-- <res-select-group :initres="$parent.$parent.initres" :show-component="['company']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
60
|
+
<div class="col-sm-2 form-group">
|
|
61
|
+
<label class="font_normal_body">用户类型</label>
|
|
62
|
+
<v-select style="width:60%" id="f_user_type"
|
|
63
|
+
v-model="model.f_user_type"
|
|
64
|
+
placeholder='用户类型'
|
|
65
|
+
:value.sync="model.f_user_type"
|
|
66
|
+
@change="$parent.$parent.userTypeChange()"
|
|
67
|
+
:options='$parent.$parent.usertypes'
|
|
68
|
+
condition="uf.f_user_type = '{}'"
|
|
69
|
+
close-on-select>
|
|
70
|
+
</v-select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">用气性质</label>
|
|
74
|
+
<v-select style="width:60%" id="f_gasproperties"
|
|
75
|
+
v-model="model.f_gasproperties"
|
|
76
|
+
placeholder='用气性质'
|
|
77
|
+
:value.sync="model.f_gasproperties"
|
|
78
|
+
:options='$parent.$parent.gasproperties'
|
|
79
|
+
condition="uf.f_gasproperties = '{}'"
|
|
80
|
+
close-on-select>
|
|
81
|
+
</v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-2 form-group">
|
|
84
|
+
<label class="font_normal_body">气表品牌</label>
|
|
85
|
+
<v-select
|
|
86
|
+
placeholder='气表品牌'
|
|
87
|
+
:value.sync="model.f_meter_brand"
|
|
88
|
+
v-model="model.f_meter_brand"
|
|
89
|
+
:options='$parent.$parent.WarningType'
|
|
90
|
+
@change="$parent.$parent.getMeterType"
|
|
91
|
+
close-on-select
|
|
92
|
+
condition="gb.f_meter_brand='{}'">
|
|
93
|
+
</v-select>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="col-sm-2 form-group" >
|
|
96
|
+
<label class="font_normal_body">气表型号</label>
|
|
97
|
+
<v-select v-if="$parent.$parent.styles"
|
|
98
|
+
placeholder='气表型号'
|
|
99
|
+
:value.sync="model.f_meter_style"
|
|
100
|
+
v-model="model.f_meter_style"
|
|
101
|
+
:options='$parent.$parent.Warningstyle'
|
|
102
|
+
close-on-select
|
|
103
|
+
condition="gm.f_meter_style='{}'">
|
|
104
|
+
</v-select>
|
|
105
|
+
<v-select v-if="!$parent.$parent.styles"
|
|
106
|
+
placeholder='气表型号'
|
|
107
|
+
:value.sync="model.f_meter_style"
|
|
108
|
+
v-model="model.f_meter_style"
|
|
109
|
+
:options='$parent.$parent.Warningstyles'
|
|
110
|
+
close-on-select
|
|
111
|
+
condition="f_meter_style='{}'">
|
|
112
|
+
</v-select>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-2 form-group">
|
|
115
|
+
<label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
|
|
116
|
+
<datepicker style="width:60%" placeholder="起始时间"
|
|
117
|
+
:value.sync="model.startDate"
|
|
118
|
+
v-model="model.startDate"
|
|
119
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
120
|
+
></datepicker>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="col-sm-2 form-group">
|
|
123
|
+
<label class="font_normal_body" style="word-break:keep-all;"> 至 </label>
|
|
124
|
+
<datepicker style="width:60%" placeholder="结束时间"
|
|
125
|
+
:value.sync="model.endDate"
|
|
126
|
+
v-model="model.endDate"
|
|
127
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
128
|
+
></datepicker>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="col-sm-2 form-group">
|
|
131
|
+
<label class="font_normal_body">壁 挂 炉</label>
|
|
132
|
+
<v-select id="f_meter_brand"
|
|
133
|
+
v-model="model.f_usetype"
|
|
134
|
+
placeholder='壁挂炉'
|
|
135
|
+
:value.sync="model.f_usetype"
|
|
136
|
+
:options='$parent.$parent.usetypes'
|
|
137
|
+
condition="" :search="false"
|
|
138
|
+
close-on-select style="width: 60%">
|
|
139
|
+
</v-select>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="col-sm-2 form-group">
|
|
142
|
+
<label class="font_normal_body">房屋类型</label>
|
|
143
|
+
<v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
|
|
144
|
+
:options='$parent.$parent.houseTypes' placeholder='请选择'
|
|
145
|
+
close-on-select
|
|
146
|
+
condition=""></v-select>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="col-sm-2 form-group">
|
|
149
|
+
<label class="font_normal_body">安装位置</label>
|
|
150
|
+
<v-select :value.sync="model.f_position" v-model="model.f_position"
|
|
151
|
+
:options='$parent.$parent.positions' placeholder='请选择'
|
|
152
|
+
condition=""
|
|
153
|
+
close-on-select></v-select>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</criteria>
|
|
158
|
+
<data-grid id="reportgas" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
159
|
+
<template partial='head'>
|
|
160
|
+
<tr>
|
|
161
|
+
<th style="text-align:center">序号</th>
|
|
162
|
+
<th style="text-align:center"><nobr>上报日期</nobr></th>
|
|
163
|
+
<th style="text-align:center"><nobr>建档数</nobr></th>
|
|
164
|
+
<th style="text-align:center" ><nobr>安装户数</nobr></th>
|
|
165
|
+
|
|
166
|
+
<th style="text-align:center" ><nobr>停用户数</nobr></th>
|
|
167
|
+
<th style="text-align:center" ><nobr>在用户数</nobr></th>
|
|
168
|
+
|
|
169
|
+
<th style="text-align:center" title="用户使用率=在用户数/正常户数"><nobr>用户使用率</nobr></th>
|
|
170
|
+
<th style="text-align:center"><nobr>抄表成功户数</nobr></th>
|
|
171
|
+
<th style="text-align:center"><nobr>总用气量</nobr></th>
|
|
172
|
+
<th style="text-align:center" title="日均用气量=总用气量/在用户数"><nobr>日均用气量</nobr></th>
|
|
173
|
+
<!--<th style="text-align:center"><nobr>指令成功户数</nobr></th>-->
|
|
174
|
+
<th style="text-align:center" title="抄表成功率=抄表成功户数/在用户数"><nobr>抄表成功率</nobr></th>
|
|
175
|
+
<!--<th style="text-align:center" title="指令成功率=指令成功户数/抄表成功户数"><nobr>指令成功率</nobr></th>-->
|
|
176
|
+
<!--<th style="text-align:center" title="综合成功率=指令成功户数/在用户数"><nobr>综合成功率</nobr></th>-->
|
|
177
|
+
</tr>
|
|
178
|
+
</template>
|
|
179
|
+
<template partial='body' partial='list' v-ref:grid>
|
|
180
|
+
<tr>
|
|
181
|
+
<td style="text-align:center">{{$index + 1}}</td>
|
|
182
|
+
<td style="text-align:center;width: 170px;"><nobr>{{row.f_insert_date}}</nobr></td>
|
|
183
|
+
<td style="text-align:center">{{row.cc}}</td>
|
|
184
|
+
<td style="text-align:center">{{row.anzhuang}}</td>
|
|
185
|
+
|
|
186
|
+
<th style="text-align:center">{{row.c0}}</th>
|
|
187
|
+
<td style="text-align:center"><nobr>{{row.c}}</nobr></td>
|
|
188
|
+
|
|
189
|
+
<td style="text-align:center"><nobr>{{row.user_bv}}%</nobr></td>
|
|
190
|
+
<!--<td style="text-align:center"><nobr>{{row.f_gas}}</nobr></td>-->
|
|
191
|
+
<td style="text-align:center">{{row.c1}}</td>
|
|
192
|
+
<td style="text-align:center">{{row.f_gas_all}}</td>
|
|
193
|
+
<td style="text-align:center">{{row.f_gas1}}</td>
|
|
194
|
+
<td style="text-align:center">{{row.f_bv1}}%</td>
|
|
195
|
+
<!--<td style="text-align:center">{{row.f_bv2}}%</td>-->
|
|
196
|
+
<!--<td style="text-align:center;width: 170px;"><nobr>{{row.f_bv3}}%</nobr></td>-->
|
|
197
|
+
</tr>
|
|
198
|
+
</template>
|
|
199
|
+
<template partial='foot'></template>
|
|
200
|
+
</data-grid>
|
|
201
|
+
</criteria-paged>
|
|
202
|
+
</div>
|
|
203
|
+
<!-- <div style="height: 40px;width: 100%;" v-show="echarts">-->
|
|
204
|
+
<!-- <button class="button_search button_spacing" @click="showEcharts()">隐藏图表</button>-->
|
|
205
|
+
<!-- </div>-->
|
|
206
|
+
|
|
207
|
+
</div>
|
|
208
|
+
<!--图显示模板-->
|
|
209
|
+
<div class="flex-row" v-if="echarts" style="width: 100%;height: 98%;">
|
|
210
|
+
<user-gas-echarts-list :condition="condition" :startdate="startDate"
|
|
211
|
+
:enddate="endDate" :echarts="echarts"></user-gas-echarts-list>
|
|
212
|
+
</div>
|
|
213
|
+
</template>
|
|
214
|
+
<script>
|
|
215
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
216
|
+
import * as Util from '../../Util'
|
|
217
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
218
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
219
|
+
|
|
220
|
+
export default {
|
|
221
|
+
title: '抄表分析',
|
|
222
|
+
props: ['data'],
|
|
223
|
+
data () {
|
|
224
|
+
return {
|
|
225
|
+
model: new PagedList('rs/sql/webmeter_getNewHandChanceList', 50, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
|
|
226
|
+
condition: '1=1',
|
|
227
|
+
startDate: '',
|
|
228
|
+
gasproperties:[{label: '全部', value: ''}],
|
|
229
|
+
endDate: '',
|
|
230
|
+
WarningType: [
|
|
231
|
+
{label: '全部', value: ''}
|
|
232
|
+
],
|
|
233
|
+
Warningstyles: [
|
|
234
|
+
{label: '全部', value: ''}
|
|
235
|
+
],
|
|
236
|
+
styles:false,
|
|
237
|
+
orgid:[this.$login.f.orgid],
|
|
238
|
+
getfield:{"f_insert_date":"上报日期","cc":"建档数","anzhuang":"安装户数",
|
|
239
|
+
"c0":"停用户数",
|
|
240
|
+
"c":"在用户数","user_bv":"用户使用率",
|
|
241
|
+
"c1":"抄表成功户数",
|
|
242
|
+
"f_gas_all":"总用气量","f_gas":"日均户均用气量(成功)",
|
|
243
|
+
"f_gas1":"日均户均用气量(在用)",
|
|
244
|
+
"f_bv1":"抄表成功率"
|
|
245
|
+
},
|
|
246
|
+
criteriaShow:false,
|
|
247
|
+
echarts: false,
|
|
248
|
+
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
249
|
+
searchshow: false,
|
|
250
|
+
initres: {
|
|
251
|
+
org:[this.$login.f.orgid],
|
|
252
|
+
dep:[],
|
|
253
|
+
user:[]
|
|
254
|
+
},
|
|
255
|
+
obj: {
|
|
256
|
+
userid: this.$login.f.id,
|
|
257
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
258
|
+
res: this.$login.f.f_fengongsi,
|
|
259
|
+
resids: this.$login.f.orgid
|
|
260
|
+
},
|
|
261
|
+
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
ready () {
|
|
265
|
+
this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
|
|
266
|
+
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
267
|
+
this.getMeterTypeAndBrand('f_meter_brand', '1=1')
|
|
268
|
+
this.$refs.paged.$refs.cri.search()
|
|
269
|
+
},
|
|
270
|
+
methods: {
|
|
271
|
+
getMeterType() {
|
|
272
|
+
this.Warningstyle = [{label: '全部', value: ''}]
|
|
273
|
+
this.styles = false
|
|
274
|
+
let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
|
|
275
|
+
this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
|
|
276
|
+
},
|
|
277
|
+
getMeterTypeAndBrand(groupname, condition) {
|
|
278
|
+
condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
|
|
279
|
+
let self = this
|
|
280
|
+
let load = new HttpResetClass()
|
|
281
|
+
load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
|
|
282
|
+
data: {
|
|
283
|
+
condition: condition,
|
|
284
|
+
groupname: groupname
|
|
285
|
+
}
|
|
286
|
+
}, {warnMsg: null, resolveMsg: null}).then((res) => {
|
|
287
|
+
let dr = {label: '', value: ''}
|
|
288
|
+
let i = 0
|
|
289
|
+
for (i = 0; i < res.data.length; i++) {
|
|
290
|
+
dr = {label: '', value: ''}
|
|
291
|
+
if (groupname == 'f_meter_brand') {
|
|
292
|
+
dr.label = res.data[i].f_meter_brand
|
|
293
|
+
dr.value = res.data[i].f_meter_brand
|
|
294
|
+
//气表品牌
|
|
295
|
+
self.WarningType.push(dr)
|
|
296
|
+
console.log('气表品牌~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
|
|
297
|
+
console.log(dr)
|
|
298
|
+
console.log( self.WarningType)
|
|
299
|
+
} else if (groupname == 'f_meter_style') {
|
|
300
|
+
dr.label = res.data[i].f_meter_style
|
|
301
|
+
dr.value = res.data[i].f_meter_style
|
|
302
|
+
//气表类型
|
|
303
|
+
self.Warningstyle.push(dr)
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
if (self.Warningstyle.length > 1) {
|
|
307
|
+
self.showMeterStyle()
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
},
|
|
312
|
+
showMeterStyle() {
|
|
313
|
+
this.styles = true
|
|
314
|
+
},
|
|
315
|
+
userTypeChange () {
|
|
316
|
+
this.gasproperties=[{label: '全部', value: ''}]
|
|
317
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
318
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
319
|
+
|
|
320
|
+
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
321
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
322
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
323
|
+
}
|
|
324
|
+
else{
|
|
325
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
hidden(){
|
|
329
|
+
this.criteriaShow = !this.criteriaShow
|
|
330
|
+
},
|
|
331
|
+
// 查询开关
|
|
332
|
+
seachchange () {
|
|
333
|
+
this.searchshow = !this.searchshow
|
|
334
|
+
},
|
|
335
|
+
|
|
336
|
+
// 显示柱状图
|
|
337
|
+
showEcharts () {
|
|
338
|
+
this.echarts = !this.echarts
|
|
339
|
+
console.log(this.echarts)
|
|
340
|
+
},
|
|
341
|
+
close () {
|
|
342
|
+
this.show = false
|
|
343
|
+
},
|
|
344
|
+
// SaveAsFile(str) {
|
|
345
|
+
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
346
|
+
// if (res === 'confirm') {
|
|
347
|
+
// let style = '<style>' +
|
|
348
|
+
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
349
|
+
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
350
|
+
// console.log(strHtml);
|
|
351
|
+
// let LODOP = getLodop();
|
|
352
|
+
// LODOP.PRINT_INIT('');
|
|
353
|
+
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
354
|
+
// LODOP.SAVE_TO_FILE('抄表统计.xls')
|
|
355
|
+
// }
|
|
356
|
+
// })
|
|
357
|
+
// },
|
|
358
|
+
clearmsg () {
|
|
359
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
360
|
+
},
|
|
361
|
+
search (args) {
|
|
362
|
+
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
363
|
+
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
364
|
+
if (this.endDate == '' || this.startDate == '') {
|
|
365
|
+
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
366
|
+
}
|
|
367
|
+
if (this.orgCondtionStr){
|
|
368
|
+
this.condition = this.$refs.paged.$refs.cri.condition + `and uf.f_orgid in ${this.orgCondtionStr}`
|
|
369
|
+
}
|
|
370
|
+
else
|
|
371
|
+
this.condition = this.$refs.paged.$refs.cri.condition
|
|
372
|
+
args.condition = this.condition
|
|
373
|
+
this.model.search(args.condition, args.model)
|
|
374
|
+
},
|
|
375
|
+
// getRes (obj) {
|
|
376
|
+
// this.orgCondtionStr = plugins.convertToIn(obj)
|
|
377
|
+
// }
|
|
378
|
+
getRes (obj) {
|
|
379
|
+
this.orgCondtionStr = plugins.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(' + this.$login.f.orgid + ')'
|
|
380
|
+
}
|
|
381
|
+
// getRes(condition,obj) {
|
|
382
|
+
// this.orgCondtionStr = condition
|
|
383
|
+
// this.orgname = obj.orgnames[0]
|
|
384
|
+
// this.depname = obj.depnames[0]
|
|
385
|
+
// }
|
|
386
|
+
},
|
|
387
|
+
computed: {
|
|
388
|
+
houseTypes() {
|
|
389
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
390
|
+
},
|
|
391
|
+
positions() {
|
|
392
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
393
|
+
},
|
|
394
|
+
getCondition() {
|
|
395
|
+
var con=""
|
|
396
|
+
if (this.orgCondtionStr) {
|
|
397
|
+
con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
|
|
398
|
+
}
|
|
399
|
+
else{
|
|
400
|
+
con= `${this.$refs.paged.$refs.cri.condition} `
|
|
401
|
+
}
|
|
402
|
+
return {
|
|
403
|
+
condition: con ,
|
|
404
|
+
startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
|
|
405
|
+
endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
},
|
|
409
|
+
usertypes () {
|
|
410
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
411
|
+
},
|
|
412
|
+
// usertypes () {
|
|
413
|
+
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
414
|
+
// },
|
|
415
|
+
f_outlets () {
|
|
416
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
417
|
+
},
|
|
418
|
+
valveStatus () {
|
|
419
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
420
|
+
},
|
|
421
|
+
Getuserstyle () {
|
|
422
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
</script>
|
|
427
|
+
<style>
|
|
428
|
+
.mystyle{
|
|
429
|
+
margin-left:80px;
|
|
430
|
+
}
|
|
431
|
+
.datapanel {
|
|
432
|
+
color: #333;
|
|
433
|
+
background-color: white;
|
|
434
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
435
|
+
padding: 10px 10px 10px 10px;
|
|
436
|
+
border-radius:15px;
|
|
437
|
+
}
|
|
438
|
+
</style>
|