manage-client 3.2.89-aode → 3.2.89-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 +229 -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 -559
- 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 +511 -459
- 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,214 +1,214 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id='app' class="flex" >
|
|
3
|
-
<criteria-paged :model="model" :pager='true' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-inline auto " partial >
|
|
6
|
-
<p class="bg-info text-center" style="padding: 8px;">用户用气量报表</p>
|
|
7
|
-
<div class="flex-row auto" style="justify-content: space-between">
|
|
8
|
-
<div class="form-group" >
|
|
9
|
-
<div class="form-group">
|
|
10
|
-
<input type="text" class="form-control" v-model="model.f_username" placeholder='客户名称'
|
|
11
|
-
condition="f_user_name = '{}'" v-next-el='userid' v-el:username
|
|
12
|
-
:size="model.f_user_name ? model.f_user_name.length * 2 : 8">
|
|
13
|
-
</div>
|
|
14
|
-
<div class="form-group">
|
|
15
|
-
<v-select id="f_user_type"
|
|
16
|
-
v-model="model.f_usertype"
|
|
17
|
-
placeholder='用户类型'
|
|
18
|
-
:value.sync="model.f_user_type"
|
|
19
|
-
:options='$parent.$parent.usertypes'
|
|
20
|
-
condition="f_user_type = '{}'"
|
|
21
|
-
close-on-select >
|
|
22
|
-
</v-select>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="form-group">
|
|
25
|
-
<datepicker id="startDate" placeholder="用气开始日期"
|
|
26
|
-
v-model="model.startDate"
|
|
27
|
-
:value.sync="model.startDate"
|
|
28
|
-
:disabled-days-of-Week="[]"
|
|
29
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
30
|
-
condition= "f_operate_date >= '{}'"
|
|
31
|
-
:show-reset-button="reset">
|
|
32
|
-
</datepicker>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="form-group">
|
|
35
|
-
<datepicker id="endDate" placeholder="用气结束日期"
|
|
36
|
-
v-model="model.endDate"
|
|
37
|
-
:value.sync="model.endDate"
|
|
38
|
-
:disabled-days-of-Week="[]"
|
|
39
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
40
|
-
condition= "f_operate_date <= '{}'"
|
|
41
|
-
:show-reset-button="reset">
|
|
42
|
-
</datepicker>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="form-group">
|
|
45
|
-
<input type="text" class="form-control" v-model="model.f_area" placeholder='区域'
|
|
46
|
-
condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
47
|
-
:size="model.f_area ? model.f_area.length * 2 : 3">
|
|
48
|
-
</div>
|
|
49
|
-
<div class="form-group">
|
|
50
|
-
<input type="text" class="form-control" v-model="model.f_districtname"
|
|
51
|
-
condition="f_address like '%{}%'" placeholder='小区'
|
|
52
|
-
:size="model.f_residential_area ? model.f_districtname.length * 2 : 4">
|
|
53
|
-
</div>
|
|
54
|
-
<div class="form-group">
|
|
55
|
-
<v-select v-model="model.f_gasmeterstyle"
|
|
56
|
-
placeholder="气表类型"
|
|
57
|
-
:value.sync="model.f_gasmeterstyle"
|
|
58
|
-
:options='$parent.$parent.valveStatus'
|
|
59
|
-
condition="f_meter_type = '{}'"
|
|
60
|
-
close-on-select >
|
|
61
|
-
</v-select>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="form-group">
|
|
64
|
-
<v-select :value.sync="model.yytdepa" v-model='model.yytdepa'
|
|
65
|
-
:options='$parent.$parent.f_outlets' placeholder='营业网点'
|
|
66
|
-
close-on-select
|
|
67
|
-
condition="f_filiale = '{}'"></v-select>
|
|
68
|
-
</div>
|
|
69
|
-
<button class="btn btn-success" @click="$parent.$parent.getdata()">查询</button>
|
|
70
|
-
<button class="btn btn-success" @click="$parent.$parent.confirmReport()">保存报表</button>
|
|
71
|
-
</div>
|
|
72
|
-
<span></span>
|
|
73
|
-
<div class="form-group">
|
|
74
|
-
<button class="btn btn-default" v-if="!$parent.$parent.echarts" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
75
|
-
<button class="btn btn-default" v-if="$parent.$parent.echarts" @click="$parent.$parent.showEcharts()">隐藏图表</button>
|
|
76
|
-
<print-table :model='$parent.model'
|
|
77
|
-
:top='40' :left='60' :right='40' :bottom='60'
|
|
78
|
-
:thead='"<th>序号</th>\n"+
|
|
79
|
-
"<th>档案编号</th>" +
|
|
80
|
-
" <th>档案标识</th>"+
|
|
81
|
-
"<th>客户名称</th>"+
|
|
82
|
-
"<th>表号</th"+
|
|
83
|
-
"<th>表具类型</th>"+
|
|
84
|
-
"<th>用户类型</th>"+
|
|
85
|
-
"<th>区域</th>"+
|
|
86
|
-
"<th>小区</th>"+
|
|
87
|
-
"<th>地址</th>"+
|
|
88
|
-
"<th>用气气量</th>"+
|
|
89
|
-
"<th>用气金额</th>"
|
|
90
|
-
+"<th>用气价格</th>"
|
|
91
|
-
+"<th>时间</th>"
|
|
92
|
-
+"<th>所属机构</th>"'
|
|
93
|
-
: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"]'>
|
|
94
|
-
</print-table>
|
|
95
|
-
<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"
|
|
96
|
-
:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'用户类型',f_save_money:'剩余金额',
|
|
97
|
-
f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"
|
|
98
|
-
sqlurl="
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</criteria>
|
|
103
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
|
104
|
-
<template partial='head'>
|
|
105
|
-
<tr>
|
|
106
|
-
<th style="text-align:center"><nobr>序号</nobr></th>
|
|
107
|
-
<th style="text-align:center"><nobr>档案编号</nobr></th>
|
|
108
|
-
<th style="text-align:center"><nobr>档案标识</nobr></th>
|
|
109
|
-
<th style="text-align:center"><nobr>客户名称</nobr></th>
|
|
110
|
-
<th style="text-align:center"><nobr>表号</nobr></th>
|
|
111
|
-
<th style="text-align:center"><nobr>表具类型</nobr></th>
|
|
112
|
-
<th style="text-align:center"><nobr>用户类型</nobr></th>
|
|
113
|
-
<th style="text-align:center"><nobr>区域</nobr></th>
|
|
114
|
-
<th style="text-align:center"><nobr>小区</nobr></th>
|
|
115
|
-
<th style="text-align:center"><nobr>地址</nobr></th>
|
|
116
|
-
<th style="text-align:center"><nobr>用气气量</nobr></th>
|
|
117
|
-
<th style="text-align:center"><nobr>用气金额</nobr></th>
|
|
118
|
-
<th style="text-align:center"><nobr>用气价格</nobr></th>
|
|
119
|
-
<th style="text-align:center"><nobr>时间</nobr></th>
|
|
120
|
-
<th style="text-align:center"><nobr>所属机构</nobr></th>
|
|
121
|
-
</tr>
|
|
122
|
-
</template>
|
|
123
|
-
<template partial='body'>
|
|
124
|
-
<td style="text-align:center">{{$index+1}}</td>
|
|
125
|
-
<td style="text-align:center">{{row.f_userinfoid}}</td>
|
|
126
|
-
<td style="text-align:center">{{row.f_huhao}}</td>
|
|
127
|
-
<td style="text-align:center">{{row.f_username}}</td>
|
|
128
|
-
<td style="text-align:center">{{row.f_meternumber}}</td>
|
|
129
|
-
<td style="text-align:center">{{row.f_gasmeterstyle}}</td>
|
|
130
|
-
<td style="text-align:center">{{row.f_usertype}}</td>
|
|
131
|
-
<td style="text-align:center">{{row.f_area}}</td>
|
|
132
|
-
<td style="text-align:center">{{row.f_districtname}}</td>
|
|
133
|
-
<td style="text-align:center">{{row.f_address}}</td>
|
|
134
|
-
<td style="text-align:center">{{row.f_pregas}}</td>
|
|
135
|
-
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
136
|
-
<td style="text-align:center">{{row.f_gasprice}}</td>
|
|
137
|
-
<td style="text-align:center">{{row.f_deliverydate}}</td>
|
|
138
|
-
<td style="text-align:center">{{row.f_sgnetwork}}</td>
|
|
139
|
-
</template>
|
|
140
|
-
</data-grid>
|
|
141
|
-
</criteria-paged>
|
|
142
|
-
<div class="span" v-show="echarts">
|
|
143
|
-
<user-gas-echarts :condition="condition"></user-gas-echarts>
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
</div>
|
|
147
|
-
</template>
|
|
148
|
-
|
|
149
|
-
<script>
|
|
150
|
-
import ValueEcharts from './ValueEcharts'
|
|
151
|
-
import { PagedList } from 'vue-client'
|
|
152
|
-
import UserGasEcharts from "./UserGasEcharts";
|
|
153
|
-
import AppData from "../../stores/AppData"
|
|
154
|
-
|
|
155
|
-
export default {
|
|
156
|
-
title: '用户用气量报表',
|
|
157
|
-
props: ['data'],
|
|
158
|
-
components: {UserGasEcharts, ValueEcharts},
|
|
159
|
-
data () {
|
|
160
|
-
return {
|
|
161
|
-
model: new PagedList('
|
|
162
|
-
reportStr: null,
|
|
163
|
-
show: false,
|
|
164
|
-
outlets: [],
|
|
165
|
-
operator: [],
|
|
166
|
-
filename: '',
|
|
167
|
-
echarts: true,
|
|
168
|
-
condition: '1=1'
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
ready () {
|
|
172
|
-
this.getdata()
|
|
173
|
-
},
|
|
174
|
-
methods: {
|
|
175
|
-
getdata () {
|
|
176
|
-
this.$refs.paged.$refs.cri.search()
|
|
177
|
-
this.condition = this.$refs.paged.$refs.cri.condition
|
|
178
|
-
},
|
|
179
|
-
showEcharts () {
|
|
180
|
-
this.echarts = !this.echarts
|
|
181
|
-
},
|
|
182
|
-
close () {
|
|
183
|
-
this.show = false
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
watch: {
|
|
188
|
-
'data' (val) {
|
|
189
|
-
if (val.f_files_path) {
|
|
190
|
-
this.getFileContent(val.f_files_path)
|
|
191
|
-
} else {
|
|
192
|
-
this.reportStr = null
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
computed: {
|
|
197
|
-
// usertypes () {
|
|
198
|
-
// return this.$appdate.getParams("用户类型")
|
|
199
|
-
// },
|
|
200
|
-
usertypes () {
|
|
201
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
202
|
-
},
|
|
203
|
-
// usertypes () {
|
|
204
|
-
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
205
|
-
// },
|
|
206
|
-
f_outlets () {
|
|
207
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
208
|
-
},
|
|
209
|
-
valveStatus () {
|
|
210
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id='app' class="flex" >
|
|
3
|
+
<criteria-paged :model="model" :pager='true' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-inline auto " partial >
|
|
6
|
+
<p class="bg-info text-center" style="padding: 8px;">用户用气量报表</p>
|
|
7
|
+
<div class="flex-row auto" style="justify-content: space-between">
|
|
8
|
+
<div class="form-group" >
|
|
9
|
+
<div class="form-group">
|
|
10
|
+
<input type="text" class="form-control" v-model="model.f_username" placeholder='客户名称'
|
|
11
|
+
condition="f_user_name = '{}'" v-next-el='userid' v-el:username
|
|
12
|
+
:size="model.f_user_name ? model.f_user_name.length * 2 : 8">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group">
|
|
15
|
+
<v-select id="f_user_type"
|
|
16
|
+
v-model="model.f_usertype"
|
|
17
|
+
placeholder='用户类型'
|
|
18
|
+
:value.sync="model.f_user_type"
|
|
19
|
+
:options='$parent.$parent.usertypes'
|
|
20
|
+
condition="f_user_type = '{}'"
|
|
21
|
+
close-on-select >
|
|
22
|
+
</v-select>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="form-group">
|
|
25
|
+
<datepicker id="startDate" placeholder="用气开始日期"
|
|
26
|
+
v-model="model.startDate"
|
|
27
|
+
:value.sync="model.startDate"
|
|
28
|
+
:disabled-days-of-Week="[]"
|
|
29
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
30
|
+
condition= "f_operate_date >= '{}'"
|
|
31
|
+
:show-reset-button="reset">
|
|
32
|
+
</datepicker>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="form-group">
|
|
35
|
+
<datepicker id="endDate" placeholder="用气结束日期"
|
|
36
|
+
v-model="model.endDate"
|
|
37
|
+
:value.sync="model.endDate"
|
|
38
|
+
:disabled-days-of-Week="[]"
|
|
39
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
40
|
+
condition= "f_operate_date <= '{}'"
|
|
41
|
+
:show-reset-button="reset">
|
|
42
|
+
</datepicker>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="form-group">
|
|
45
|
+
<input type="text" class="form-control" v-model="model.f_area" placeholder='区域'
|
|
46
|
+
condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
47
|
+
:size="model.f_area ? model.f_area.length * 2 : 3">
|
|
48
|
+
</div>
|
|
49
|
+
<div class="form-group">
|
|
50
|
+
<input type="text" class="form-control" v-model="model.f_districtname"
|
|
51
|
+
condition="f_address like '%{}%'" placeholder='小区'
|
|
52
|
+
:size="model.f_residential_area ? model.f_districtname.length * 2 : 4">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group">
|
|
55
|
+
<v-select v-model="model.f_gasmeterstyle"
|
|
56
|
+
placeholder="气表类型"
|
|
57
|
+
:value.sync="model.f_gasmeterstyle"
|
|
58
|
+
:options='$parent.$parent.valveStatus'
|
|
59
|
+
condition="f_meter_type = '{}'"
|
|
60
|
+
close-on-select >
|
|
61
|
+
</v-select>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group">
|
|
64
|
+
<v-select :value.sync="model.yytdepa" v-model='model.yytdepa'
|
|
65
|
+
:options='$parent.$parent.f_outlets' placeholder='营业网点'
|
|
66
|
+
close-on-select
|
|
67
|
+
condition="f_filiale = '{}'"></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<button class="btn btn-success" @click="$parent.$parent.getdata()">查询</button>
|
|
70
|
+
<button class="btn btn-success" @click="$parent.$parent.confirmReport()">保存报表</button>
|
|
71
|
+
</div>
|
|
72
|
+
<span></span>
|
|
73
|
+
<div class="form-group">
|
|
74
|
+
<button class="btn btn-default" v-if="!$parent.$parent.echarts" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
75
|
+
<button class="btn btn-default" v-if="$parent.$parent.echarts" @click="$parent.$parent.showEcharts()">隐藏图表</button>
|
|
76
|
+
<print-table :model='$parent.model'
|
|
77
|
+
:top='40' :left='60' :right='40' :bottom='60'
|
|
78
|
+
:thead='"<th>序号</th>\n"+
|
|
79
|
+
"<th>档案编号</th>" +
|
|
80
|
+
" <th>档案标识</th>"+
|
|
81
|
+
"<th>客户名称</th>"+
|
|
82
|
+
"<th>表号</th"+
|
|
83
|
+
"<th>表具类型</th>"+
|
|
84
|
+
"<th>用户类型</th>"+
|
|
85
|
+
"<th>区域</th>"+
|
|
86
|
+
"<th>小区</th>"+
|
|
87
|
+
"<th>地址</th>"+
|
|
88
|
+
"<th>用气气量</th>"+
|
|
89
|
+
"<th>用气金额</th>"
|
|
90
|
+
+"<th>用气价格</th>"
|
|
91
|
+
+"<th>时间</th>"
|
|
92
|
+
+"<th>所属机构</th>"'
|
|
93
|
+
: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"]'>
|
|
94
|
+
</print-table>
|
|
95
|
+
<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"
|
|
96
|
+
:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'用户类型',f_save_money:'剩余金额',
|
|
97
|
+
f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"
|
|
98
|
+
sqlurl="api/af-revenue/sql/getUserGas"></export-excel>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</criteria>
|
|
103
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
|
104
|
+
<template partial='head'>
|
|
105
|
+
<tr>
|
|
106
|
+
<th style="text-align:center"><nobr>序号</nobr></th>
|
|
107
|
+
<th style="text-align:center"><nobr>档案编号</nobr></th>
|
|
108
|
+
<th style="text-align:center"><nobr>档案标识</nobr></th>
|
|
109
|
+
<th style="text-align:center"><nobr>客户名称</nobr></th>
|
|
110
|
+
<th style="text-align:center"><nobr>表号</nobr></th>
|
|
111
|
+
<th style="text-align:center"><nobr>表具类型</nobr></th>
|
|
112
|
+
<th style="text-align:center"><nobr>用户类型</nobr></th>
|
|
113
|
+
<th style="text-align:center"><nobr>区域</nobr></th>
|
|
114
|
+
<th style="text-align:center"><nobr>小区</nobr></th>
|
|
115
|
+
<th style="text-align:center"><nobr>地址</nobr></th>
|
|
116
|
+
<th style="text-align:center"><nobr>用气气量</nobr></th>
|
|
117
|
+
<th style="text-align:center"><nobr>用气金额</nobr></th>
|
|
118
|
+
<th style="text-align:center"><nobr>用气价格</nobr></th>
|
|
119
|
+
<th style="text-align:center"><nobr>时间</nobr></th>
|
|
120
|
+
<th style="text-align:center"><nobr>所属机构</nobr></th>
|
|
121
|
+
</tr>
|
|
122
|
+
</template>
|
|
123
|
+
<template partial='body'>
|
|
124
|
+
<td style="text-align:center">{{$index+1}}</td>
|
|
125
|
+
<td style="text-align:center">{{row.f_userinfoid}}</td>
|
|
126
|
+
<td style="text-align:center">{{row.f_huhao}}</td>
|
|
127
|
+
<td style="text-align:center">{{row.f_username}}</td>
|
|
128
|
+
<td style="text-align:center">{{row.f_meternumber}}</td>
|
|
129
|
+
<td style="text-align:center">{{row.f_gasmeterstyle}}</td>
|
|
130
|
+
<td style="text-align:center">{{row.f_usertype}}</td>
|
|
131
|
+
<td style="text-align:center">{{row.f_area}}</td>
|
|
132
|
+
<td style="text-align:center">{{row.f_districtname}}</td>
|
|
133
|
+
<td style="text-align:center">{{row.f_address}}</td>
|
|
134
|
+
<td style="text-align:center">{{row.f_pregas}}</td>
|
|
135
|
+
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
136
|
+
<td style="text-align:center">{{row.f_gasprice}}</td>
|
|
137
|
+
<td style="text-align:center">{{row.f_deliverydate}}</td>
|
|
138
|
+
<td style="text-align:center">{{row.f_sgnetwork}}</td>
|
|
139
|
+
</template>
|
|
140
|
+
</data-grid>
|
|
141
|
+
</criteria-paged>
|
|
142
|
+
<div class="span" v-show="echarts">
|
|
143
|
+
<user-gas-echarts :condition="condition"></user-gas-echarts>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
</div>
|
|
147
|
+
</template>
|
|
148
|
+
|
|
149
|
+
<script>
|
|
150
|
+
import ValueEcharts from './ValueEcharts'
|
|
151
|
+
import { PagedList } from 'vue-client'
|
|
152
|
+
import UserGasEcharts from "./UserGasEcharts";
|
|
153
|
+
import AppData from "../../stores/AppData"
|
|
154
|
+
|
|
155
|
+
export default {
|
|
156
|
+
title: '用户用气量报表',
|
|
157
|
+
props: ['data'],
|
|
158
|
+
components: {UserGasEcharts, ValueEcharts},
|
|
159
|
+
data () {
|
|
160
|
+
return {
|
|
161
|
+
model: new PagedList('api/af-revenue/sql/getUserGas', 20),
|
|
162
|
+
reportStr: null,
|
|
163
|
+
show: false,
|
|
164
|
+
outlets: [],
|
|
165
|
+
operator: [],
|
|
166
|
+
filename: '',
|
|
167
|
+
echarts: true,
|
|
168
|
+
condition: '1=1'
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
ready () {
|
|
172
|
+
this.getdata()
|
|
173
|
+
},
|
|
174
|
+
methods: {
|
|
175
|
+
getdata () {
|
|
176
|
+
this.$refs.paged.$refs.cri.search()
|
|
177
|
+
this.condition = this.$refs.paged.$refs.cri.condition
|
|
178
|
+
},
|
|
179
|
+
showEcharts () {
|
|
180
|
+
this.echarts = !this.echarts
|
|
181
|
+
},
|
|
182
|
+
close () {
|
|
183
|
+
this.show = false
|
|
184
|
+
},
|
|
185
|
+
|
|
186
|
+
},
|
|
187
|
+
watch: {
|
|
188
|
+
'data' (val) {
|
|
189
|
+
if (val.f_files_path) {
|
|
190
|
+
this.getFileContent(val.f_files_path)
|
|
191
|
+
} else {
|
|
192
|
+
this.reportStr = null
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
computed: {
|
|
197
|
+
// usertypes () {
|
|
198
|
+
// return this.$appdate.getParams("用户类型")
|
|
199
|
+
// },
|
|
200
|
+
usertypes () {
|
|
201
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
202
|
+
},
|
|
203
|
+
// usertypes () {
|
|
204
|
+
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
205
|
+
// },
|
|
206
|
+
f_outlets () {
|
|
207
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
208
|
+
},
|
|
209
|
+
valveStatus () {
|
|
210
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
</script>
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
<template lang="html">
|
|
2
|
-
<div id="charts">
|
|
3
|
-
<div id="info" :style="{width:'100%',height:'100%'}"></div>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import * as Util from '../../Util'
|
|
9
|
-
import co from 'co'
|
|
10
|
-
import echarts from 'echarts'
|
|
11
|
-
import { HttpResetClass } from 'vue-client'
|
|
12
|
-
|
|
13
|
-
let getData = function * (self,condition) {
|
|
14
|
-
let load = new HttpResetClass()
|
|
15
|
-
load.load('POST','
|
|
16
|
-
{data:{condition:condition}},
|
|
17
|
-
{resolveMsg: null, rejectMsg: null})
|
|
18
|
-
.then((res) => {
|
|
19
|
-
let arrparams = []
|
|
20
|
-
let gasdata = []
|
|
21
|
-
for (var i = 0; i < res.data.length; i++) {
|
|
22
|
-
arrparams[i] = res.data[i].f_usertype
|
|
23
|
-
gasdata[i] = res.data[i].f_pregas
|
|
24
|
-
}
|
|
25
|
-
self.set(arrparams,gasdata)
|
|
26
|
-
})
|
|
27
|
-
}
|
|
28
|
-
export default {
|
|
29
|
-
props: {
|
|
30
|
-
startdate: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: Util.toStandardDateString()
|
|
33
|
-
},
|
|
34
|
-
enddate: {
|
|
35
|
-
type: String,
|
|
36
|
-
default: Util.toStandardDateString()
|
|
37
|
-
},
|
|
38
|
-
condition: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: '1=1'
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
data () {
|
|
44
|
-
title: '业务类型'
|
|
45
|
-
return {
|
|
46
|
-
xc: ''
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
set (arrparams,gasdata) {
|
|
51
|
-
this.xc = echarts.init(document.getElementById('info'))
|
|
52
|
-
this.xc.setOption({
|
|
53
|
-
title: {
|
|
54
|
-
text: '用户用气量报表',
|
|
55
|
-
subtext: '数据截止',
|
|
56
|
-
x: 'center'
|
|
57
|
-
},
|
|
58
|
-
color: ['#3398DB'],
|
|
59
|
-
tooltip : {
|
|
60
|
-
trigger: 'axis',
|
|
61
|
-
axisPointer : { // 坐标轴指示器,坐标轴触发有效
|
|
62
|
-
type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
grid: {
|
|
66
|
-
left: '3%',
|
|
67
|
-
right: '4%',
|
|
68
|
-
bottom: '3%',
|
|
69
|
-
containLabel: true
|
|
70
|
-
},
|
|
71
|
-
xAxis : [
|
|
72
|
-
{
|
|
73
|
-
type : 'category',
|
|
74
|
-
data : arrparams,
|
|
75
|
-
axisTick: {
|
|
76
|
-
alignWithLabel: true
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
yAxis : [
|
|
81
|
-
{
|
|
82
|
-
type : 'value'
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
series : [
|
|
86
|
-
{
|
|
87
|
-
name:'直接访问',
|
|
88
|
-
type:'bar',
|
|
89
|
-
barWidth: '30%',
|
|
90
|
-
data:gasdata
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
})
|
|
94
|
-
},
|
|
95
|
-
searchdata (condition) {
|
|
96
|
-
let getGen =getData(this,condition)
|
|
97
|
-
co(getGen)
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
watch: {
|
|
101
|
-
'condition' (val) {
|
|
102
|
-
console.log('ddddddd', val)
|
|
103
|
-
this.searchdata(val)
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
</script>
|
|
1
|
+
<template lang="html">
|
|
2
|
+
<div id="charts">
|
|
3
|
+
<div id="info" :style="{width:'100%',height:'100%'}"></div>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import * as Util from '../../Util'
|
|
9
|
+
import co from 'co'
|
|
10
|
+
import echarts from 'echarts'
|
|
11
|
+
import { HttpResetClass } from 'vue-client'
|
|
12
|
+
|
|
13
|
+
let getData = function * (self,condition) {
|
|
14
|
+
let load = new HttpResetClass()
|
|
15
|
+
load.load('POST','api/af-revenue/sql/getUserGasCount',
|
|
16
|
+
{data:{condition:condition}},
|
|
17
|
+
{resolveMsg: null, rejectMsg: null})
|
|
18
|
+
.then((res) => {
|
|
19
|
+
let arrparams = []
|
|
20
|
+
let gasdata = []
|
|
21
|
+
for (var i = 0; i < res.data.length; i++) {
|
|
22
|
+
arrparams[i] = res.data[i].f_usertype
|
|
23
|
+
gasdata[i] = res.data[i].f_pregas
|
|
24
|
+
}
|
|
25
|
+
self.set(arrparams,gasdata)
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
export default {
|
|
29
|
+
props: {
|
|
30
|
+
startdate: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: Util.toStandardDateString()
|
|
33
|
+
},
|
|
34
|
+
enddate: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: Util.toStandardDateString()
|
|
37
|
+
},
|
|
38
|
+
condition: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: '1=1'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
data () {
|
|
44
|
+
title: '业务类型'
|
|
45
|
+
return {
|
|
46
|
+
xc: ''
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
set (arrparams,gasdata) {
|
|
51
|
+
this.xc = echarts.init(document.getElementById('info'))
|
|
52
|
+
this.xc.setOption({
|
|
53
|
+
title: {
|
|
54
|
+
text: '用户用气量报表',
|
|
55
|
+
subtext: '数据截止',
|
|
56
|
+
x: 'center'
|
|
57
|
+
},
|
|
58
|
+
color: ['#3398DB'],
|
|
59
|
+
tooltip : {
|
|
60
|
+
trigger: 'axis',
|
|
61
|
+
axisPointer : { // 坐标轴指示器,坐标轴触发有效
|
|
62
|
+
type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
grid: {
|
|
66
|
+
left: '3%',
|
|
67
|
+
right: '4%',
|
|
68
|
+
bottom: '3%',
|
|
69
|
+
containLabel: true
|
|
70
|
+
},
|
|
71
|
+
xAxis : [
|
|
72
|
+
{
|
|
73
|
+
type : 'category',
|
|
74
|
+
data : arrparams,
|
|
75
|
+
axisTick: {
|
|
76
|
+
alignWithLabel: true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
yAxis : [
|
|
81
|
+
{
|
|
82
|
+
type : 'value'
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
series : [
|
|
86
|
+
{
|
|
87
|
+
name:'直接访问',
|
|
88
|
+
type:'bar',
|
|
89
|
+
barWidth: '30%',
|
|
90
|
+
data:gasdata
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
})
|
|
94
|
+
},
|
|
95
|
+
searchdata (condition) {
|
|
96
|
+
let getGen =getData(this,condition)
|
|
97
|
+
co(getGen)
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
watch: {
|
|
101
|
+
'condition' (val) {
|
|
102
|
+
console.log('ddddddd', val)
|
|
103
|
+
this.searchdata(val)
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|