manage-client 3.2.37 → 3.2.41
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/5.4.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.4.1/gc.properties +0 -0
- 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 +194 -174
- 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/.idea/misc.xml +9 -0
- package/src/.idea/modules.xml +8 -0
- package/src/.idea/src.iml +9 -0
- package/src/.idea/vcs.xml +6 -0
- package/src/.idea/workspace.xml +93 -0
- 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/BarChart.vue +247 -247
- 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/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/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/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/ManageBusTable.vue +207 -207
- package/src/components/SellReport/ManageGasFee.vue +247 -247
- package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
- 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/OweAging.vue +174 -174
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportPool.vue +60 -60
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +147 -147
- 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/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/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/TransactionSummary.vue +373 -373
- package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
- package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
- package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
- package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1254
- package/src/components/sale/businessquery/DisableQuery.vue +451 -451
- package/src/components/sale/businessquery/EnableQuery.vue +408 -408
- package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
- package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
- package/src/components/sale/businessquery/InspectListUser.vue +1 -1
- package/src/components/sale/businessquery/InspectManage.vue +47 -47
- package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
- package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
- package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
- package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
- package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
- package/src/components/sale/businessquery/TongjiManage.vue +74 -74
- package/src/components/sale/businessquery/TransferQuery.vue +418 -418
- package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
- package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
- package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
- 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/filesquery/DeviceQuery.vue +534 -534
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
- 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/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 +239 -239
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- 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/NewMeterException.vue +449 -449
- 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/InspectListUser.vue +492 -492
- package/src/filiale/WEINAN/config/tableConfig.js +20 -20
- 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/jingwei/RecordInfoQuery.vue +1142 -1142
- 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/pingxiang/sale.js +9 -9
- package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
- package/src/filiale/rongcheng/UserQuery.vue +827 -827
- package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
- package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
- package/src/filiale/shaoguan/TransferQuery.vue +403 -403
- package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
- package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
- package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
- package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
- package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
- 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/ChargeQuery.vue +17 -4
- package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
- package/src/filiale/tongchuan/config/exportConfig.js +1 -1
- package/src/filiale/zhongsheng/ChargeQuery.vue +1254 -0
- package/src/filiale/zhongsheng/config/exportConfig.js +899 -0
- package/src/filiale/zhongsheng/sale.js +10 -0
- package/src/main.js +1 -1
- 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/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/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,247 +1,247 @@
|
|
|
1
|
-
|
|
2
|
-
<template>
|
|
3
|
-
<div>
|
|
4
|
-
<div class="text-1" :id="canvas">
|
|
5
|
-
<div :id="charts"></div>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
</template>
|
|
9
|
-
|
|
10
|
-
<script>
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
name: "barChart",
|
|
14
|
-
|
|
15
|
-
/*
|
|
16
|
-
折线图
|
|
17
|
-
1.必须要传的参数:xdata,sdata,legendData
|
|
18
|
-
|
|
19
|
-
2.规范值
|
|
20
|
-
传入参数 例
|
|
21
|
-
xdata:[1,2,3,4]
|
|
22
|
-
sdata:[
|
|
23
|
-
[2,4,6,8],
|
|
24
|
-
[1,3,5,7]
|
|
25
|
-
]
|
|
26
|
-
legendData:['第一个','第二个']
|
|
27
|
-
legendData的长度等于sdata的长度
|
|
28
|
-
sdata的每一个数组的长度要和 xdata的长度相等
|
|
29
|
-
|
|
30
|
-
3.参数含义
|
|
31
|
-
xdata : x轴数据
|
|
32
|
-
sdata : 展示的数据
|
|
33
|
-
legend : 展示那些显示那些不显示
|
|
34
|
-
title : 标题
|
|
35
|
-
yname : y轴名称
|
|
36
|
-
xname : y轴名称
|
|
37
|
-
settime : tooltip 轮播的时间 默认 1500
|
|
38
|
-
showtooltip : 是否展示 提示框 默认展示
|
|
39
|
-
smooth : 曲线 平滑线 默认曲线
|
|
40
|
-
showtitle : 标题是否展示
|
|
41
|
-
showyname: y轴名称是否显示
|
|
42
|
-
*/
|
|
43
|
-
props: [
|
|
44
|
-
'xdata',
|
|
45
|
-
'sdata',
|
|
46
|
-
'legend',
|
|
47
|
-
'title',
|
|
48
|
-
'yname',
|
|
49
|
-
'settime',
|
|
50
|
-
'showtooltip',
|
|
51
|
-
'smooth',
|
|
52
|
-
'showtitle',
|
|
53
|
-
'showyname',
|
|
54
|
-
'showxname',
|
|
55
|
-
'xname'
|
|
56
|
-
],
|
|
57
|
-
data() {
|
|
58
|
-
return {
|
|
59
|
-
canvas: 'canvas_'+new Date().getTime()+'_'+Math.random()*10,
|
|
60
|
-
charts: 'charts_'+new Date().getTime()+'_'+Math.random()*10,
|
|
61
|
-
xc: '',
|
|
62
|
-
timer: '',
|
|
63
|
-
time:1500, // 轮播提示的时间 默认 1500
|
|
64
|
-
showtTip:true, // 轮播提示框 默认展示
|
|
65
|
-
csmooth:false, // 线的类型 true 为平滑线 反之曲线
|
|
66
|
-
cshowtitle:true, //标题 默认展示
|
|
67
|
-
cshowyname:true , //y轴名称 默认展示
|
|
68
|
-
cshowxname:true , //x轴名称 默认展示
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
beforeDestroy() {
|
|
72
|
-
//清除定时器
|
|
73
|
-
clearInterval(this.timer);
|
|
74
|
-
},
|
|
75
|
-
methods: {
|
|
76
|
-
setBar() {
|
|
77
|
-
console.log('进入画图~~~~~~~~~~~~~~~~~~~')
|
|
78
|
-
const width=document.getElementById(this.canvas).offsetWidth
|
|
79
|
-
let fontSize=0
|
|
80
|
-
if(width<600){
|
|
81
|
-
fontSize=14
|
|
82
|
-
}else if(width<1200) {
|
|
83
|
-
fontSize=18
|
|
84
|
-
}else{
|
|
85
|
-
fontSize=22
|
|
86
|
-
}
|
|
87
|
-
console.log('字体大小')
|
|
88
|
-
console.log(width)
|
|
89
|
-
console.log(fontSize)
|
|
90
|
-
this.xc = this.$echarts.init(document.getElementById(this.charts))
|
|
91
|
-
if(this.settime!==undefined){
|
|
92
|
-
this.time=this.settime
|
|
93
|
-
}
|
|
94
|
-
if(this.showtooltip!==undefined){ // 判断提示框
|
|
95
|
-
this.showtTip=this.showtooltip
|
|
96
|
-
}
|
|
97
|
-
if(this.csmooth!==undefined){ // 判断平滑线 折线
|
|
98
|
-
this.csmooth=this.smooth
|
|
99
|
-
}
|
|
100
|
-
if(this.showtitle!==undefined){ // 判断标题
|
|
101
|
-
this.cshowtitle=this.showtitle
|
|
102
|
-
}
|
|
103
|
-
if(this.showyname!==undefined){ // 判断是否展示y轴名称
|
|
104
|
-
this.cshowyname=this.showyname
|
|
105
|
-
}
|
|
106
|
-
if(this.showxname!==undefined){ // 判断是否展示x轴名称
|
|
107
|
-
this.cshowxname=this.showxname
|
|
108
|
-
}
|
|
109
|
-
if(this.cyname!==undefined){ // 判断平滑线 折线
|
|
110
|
-
this.cyname=this.yname
|
|
111
|
-
}
|
|
112
|
-
var serieData = []
|
|
113
|
-
var legend = this.legend
|
|
114
|
-
for (let i = 0; i < legend.length; i++) {
|
|
115
|
-
var series= {
|
|
116
|
-
name: legend[i],
|
|
117
|
-
type: 'bar',
|
|
118
|
-
barWidth: '25%',
|
|
119
|
-
data: this.sdata[i]
|
|
120
|
-
}
|
|
121
|
-
serieData.push(series)
|
|
122
|
-
}
|
|
123
|
-
this.xc.setOption({
|
|
124
|
-
title: {
|
|
125
|
-
text: this.title,
|
|
126
|
-
left:'center',
|
|
127
|
-
textStyle:{
|
|
128
|
-
fontSize:fontSize
|
|
129
|
-
},
|
|
130
|
-
show:this.cshowtitle
|
|
131
|
-
},
|
|
132
|
-
tooltip: {
|
|
133
|
-
show:this.showtTip,
|
|
134
|
-
alwaysShowContent: true,
|
|
135
|
-
backgroundColor: 'rgba(2, 59, 63, 0.45)',
|
|
136
|
-
// borderColor :'rgba(13, 109, 180)',
|
|
137
|
-
borderWidth: 0,
|
|
138
|
-
hideDelay: 100,
|
|
139
|
-
textStyle: {
|
|
140
|
-
fontSize: fontSize
|
|
141
|
-
},
|
|
142
|
-
confine: false,
|
|
143
|
-
formatter: function (params) {
|
|
144
|
-
var result = ''
|
|
145
|
-
params.forEach(function (item) {
|
|
146
|
-
result += item.marker + " " + item.seriesName + " <sapn style='color:#e1e52a;font-weight: bolder'>" + item.value + "</sapn></br>";
|
|
147
|
-
});
|
|
148
|
-
return "<div style='text-align: center;height: 1px;font-weight: normal'>" + params[0].axisValue + '</div><br/>' + result
|
|
149
|
-
},
|
|
150
|
-
trigger: 'axis',
|
|
151
|
-
axisPointer: {type: 'line', lineStyle: {width: 0}},
|
|
152
|
-
extraCssText: 'width: auto;height: auto;'
|
|
153
|
-
},
|
|
154
|
-
legend: {
|
|
155
|
-
// padding:[50,40,0,200], // 上右下左
|
|
156
|
-
data: this.legend,
|
|
157
|
-
textStyle:{
|
|
158
|
-
fontSize:fontSize
|
|
159
|
-
},
|
|
160
|
-
left:'20%',
|
|
161
|
-
top:'10%'
|
|
162
|
-
},
|
|
163
|
-
grid: {
|
|
164
|
-
left: '6%',
|
|
165
|
-
right: '15%',
|
|
166
|
-
bottom: '4%',
|
|
167
|
-
top:'20%',
|
|
168
|
-
containLabel: true
|
|
169
|
-
},
|
|
170
|
-
xAxis: [
|
|
171
|
-
{
|
|
172
|
-
name:this.cshowxname===true?this.xname:'',
|
|
173
|
-
type: 'category',
|
|
174
|
-
boundaryGap: true,
|
|
175
|
-
|
|
176
|
-
axisTick:{
|
|
177
|
-
show:false
|
|
178
|
-
},
|
|
179
|
-
axisLabel:{
|
|
180
|
-
fontSize:fontSize
|
|
181
|
-
},
|
|
182
|
-
nameTextStyle:{
|
|
183
|
-
fontSize:fontSize,
|
|
184
|
-
padding:[0,100,15,-12], // 上右下左
|
|
185
|
-
},
|
|
186
|
-
data:this.xdata
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
],
|
|
190
|
-
yAxis: [
|
|
191
|
-
{
|
|
192
|
-
|
|
193
|
-
name:this.cshowyname===true?this.yname:'',
|
|
194
|
-
type: 'value',
|
|
195
|
-
nameTextStyle:{
|
|
196
|
-
fontSize:fontSize,
|
|
197
|
-
padding:[0,0,15,60], // 上右下左
|
|
198
|
-
},
|
|
199
|
-
axisLabel:{
|
|
200
|
-
fontSize:fontSize,
|
|
201
|
-
formatter: function (params) {
|
|
202
|
-
if (params > 9999) {
|
|
203
|
-
return params / 10000 + "万"
|
|
204
|
-
}
|
|
205
|
-
else
|
|
206
|
-
return params
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
axisTick:{
|
|
210
|
-
show:false
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
series: serieData
|
|
216
|
-
})
|
|
217
|
-
// let idx = -1;
|
|
218
|
-
// var dataLen = this.sdata[0].length
|
|
219
|
-
// this.timer = setInterval(() => {
|
|
220
|
-
// idx = (idx + 1) % dataLen;
|
|
221
|
-
// this.xc.dispatchAction({
|
|
222
|
-
// type: 'showTip',
|
|
223
|
-
// seriesIndex: 1,
|
|
224
|
-
// dataIndex: idx
|
|
225
|
-
// });
|
|
226
|
-
//
|
|
227
|
-
// }, this.time)
|
|
228
|
-
},
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
watch: {
|
|
232
|
-
'sdata' () {
|
|
233
|
-
// 清除定时器
|
|
234
|
-
clearInterval(this.timer)
|
|
235
|
-
this.setBar()
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
ready () {
|
|
239
|
-
this.setBar()
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
</script>
|
|
244
|
-
|
|
245
|
-
<style scoped>
|
|
246
|
-
|
|
247
|
-
</style>
|
|
1
|
+
|
|
2
|
+
<template>
|
|
3
|
+
<div>
|
|
4
|
+
<div class="text-1" :id="canvas">
|
|
5
|
+
<div :id="charts"></div>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script>
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: "barChart",
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
折线图
|
|
17
|
+
1.必须要传的参数:xdata,sdata,legendData
|
|
18
|
+
|
|
19
|
+
2.规范值
|
|
20
|
+
传入参数 例
|
|
21
|
+
xdata:[1,2,3,4]
|
|
22
|
+
sdata:[
|
|
23
|
+
[2,4,6,8],
|
|
24
|
+
[1,3,5,7]
|
|
25
|
+
]
|
|
26
|
+
legendData:['第一个','第二个']
|
|
27
|
+
legendData的长度等于sdata的长度
|
|
28
|
+
sdata的每一个数组的长度要和 xdata的长度相等
|
|
29
|
+
|
|
30
|
+
3.参数含义
|
|
31
|
+
xdata : x轴数据
|
|
32
|
+
sdata : 展示的数据
|
|
33
|
+
legend : 展示那些显示那些不显示
|
|
34
|
+
title : 标题
|
|
35
|
+
yname : y轴名称
|
|
36
|
+
xname : y轴名称
|
|
37
|
+
settime : tooltip 轮播的时间 默认 1500
|
|
38
|
+
showtooltip : 是否展示 提示框 默认展示
|
|
39
|
+
smooth : 曲线 平滑线 默认曲线
|
|
40
|
+
showtitle : 标题是否展示
|
|
41
|
+
showyname: y轴名称是否显示
|
|
42
|
+
*/
|
|
43
|
+
props: [
|
|
44
|
+
'xdata',
|
|
45
|
+
'sdata',
|
|
46
|
+
'legend',
|
|
47
|
+
'title',
|
|
48
|
+
'yname',
|
|
49
|
+
'settime',
|
|
50
|
+
'showtooltip',
|
|
51
|
+
'smooth',
|
|
52
|
+
'showtitle',
|
|
53
|
+
'showyname',
|
|
54
|
+
'showxname',
|
|
55
|
+
'xname'
|
|
56
|
+
],
|
|
57
|
+
data() {
|
|
58
|
+
return {
|
|
59
|
+
canvas: 'canvas_'+new Date().getTime()+'_'+Math.random()*10,
|
|
60
|
+
charts: 'charts_'+new Date().getTime()+'_'+Math.random()*10,
|
|
61
|
+
xc: '',
|
|
62
|
+
timer: '',
|
|
63
|
+
time:1500, // 轮播提示的时间 默认 1500
|
|
64
|
+
showtTip:true, // 轮播提示框 默认展示
|
|
65
|
+
csmooth:false, // 线的类型 true 为平滑线 反之曲线
|
|
66
|
+
cshowtitle:true, //标题 默认展示
|
|
67
|
+
cshowyname:true , //y轴名称 默认展示
|
|
68
|
+
cshowxname:true , //x轴名称 默认展示
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
beforeDestroy() {
|
|
72
|
+
//清除定时器
|
|
73
|
+
clearInterval(this.timer);
|
|
74
|
+
},
|
|
75
|
+
methods: {
|
|
76
|
+
setBar() {
|
|
77
|
+
console.log('进入画图~~~~~~~~~~~~~~~~~~~')
|
|
78
|
+
const width=document.getElementById(this.canvas).offsetWidth
|
|
79
|
+
let fontSize=0
|
|
80
|
+
if(width<600){
|
|
81
|
+
fontSize=14
|
|
82
|
+
}else if(width<1200) {
|
|
83
|
+
fontSize=18
|
|
84
|
+
}else{
|
|
85
|
+
fontSize=22
|
|
86
|
+
}
|
|
87
|
+
console.log('字体大小')
|
|
88
|
+
console.log(width)
|
|
89
|
+
console.log(fontSize)
|
|
90
|
+
this.xc = this.$echarts.init(document.getElementById(this.charts))
|
|
91
|
+
if(this.settime!==undefined){
|
|
92
|
+
this.time=this.settime
|
|
93
|
+
}
|
|
94
|
+
if(this.showtooltip!==undefined){ // 判断提示框
|
|
95
|
+
this.showtTip=this.showtooltip
|
|
96
|
+
}
|
|
97
|
+
if(this.csmooth!==undefined){ // 判断平滑线 折线
|
|
98
|
+
this.csmooth=this.smooth
|
|
99
|
+
}
|
|
100
|
+
if(this.showtitle!==undefined){ // 判断标题
|
|
101
|
+
this.cshowtitle=this.showtitle
|
|
102
|
+
}
|
|
103
|
+
if(this.showyname!==undefined){ // 判断是否展示y轴名称
|
|
104
|
+
this.cshowyname=this.showyname
|
|
105
|
+
}
|
|
106
|
+
if(this.showxname!==undefined){ // 判断是否展示x轴名称
|
|
107
|
+
this.cshowxname=this.showxname
|
|
108
|
+
}
|
|
109
|
+
if(this.cyname!==undefined){ // 判断平滑线 折线
|
|
110
|
+
this.cyname=this.yname
|
|
111
|
+
}
|
|
112
|
+
var serieData = []
|
|
113
|
+
var legend = this.legend
|
|
114
|
+
for (let i = 0; i < legend.length; i++) {
|
|
115
|
+
var series= {
|
|
116
|
+
name: legend[i],
|
|
117
|
+
type: 'bar',
|
|
118
|
+
barWidth: '25%',
|
|
119
|
+
data: this.sdata[i]
|
|
120
|
+
}
|
|
121
|
+
serieData.push(series)
|
|
122
|
+
}
|
|
123
|
+
this.xc.setOption({
|
|
124
|
+
title: {
|
|
125
|
+
text: this.title,
|
|
126
|
+
left:'center',
|
|
127
|
+
textStyle:{
|
|
128
|
+
fontSize:fontSize
|
|
129
|
+
},
|
|
130
|
+
show:this.cshowtitle
|
|
131
|
+
},
|
|
132
|
+
tooltip: {
|
|
133
|
+
show:this.showtTip,
|
|
134
|
+
alwaysShowContent: true,
|
|
135
|
+
backgroundColor: 'rgba(2, 59, 63, 0.45)',
|
|
136
|
+
// borderColor :'rgba(13, 109, 180)',
|
|
137
|
+
borderWidth: 0,
|
|
138
|
+
hideDelay: 100,
|
|
139
|
+
textStyle: {
|
|
140
|
+
fontSize: fontSize
|
|
141
|
+
},
|
|
142
|
+
confine: false,
|
|
143
|
+
formatter: function (params) {
|
|
144
|
+
var result = ''
|
|
145
|
+
params.forEach(function (item) {
|
|
146
|
+
result += item.marker + " " + item.seriesName + " <sapn style='color:#e1e52a;font-weight: bolder'>" + item.value + "</sapn></br>";
|
|
147
|
+
});
|
|
148
|
+
return "<div style='text-align: center;height: 1px;font-weight: normal'>" + params[0].axisValue + '</div><br/>' + result
|
|
149
|
+
},
|
|
150
|
+
trigger: 'axis',
|
|
151
|
+
axisPointer: {type: 'line', lineStyle: {width: 0}},
|
|
152
|
+
extraCssText: 'width: auto;height: auto;'
|
|
153
|
+
},
|
|
154
|
+
legend: {
|
|
155
|
+
// padding:[50,40,0,200], // 上右下左
|
|
156
|
+
data: this.legend,
|
|
157
|
+
textStyle:{
|
|
158
|
+
fontSize:fontSize
|
|
159
|
+
},
|
|
160
|
+
left:'20%',
|
|
161
|
+
top:'10%'
|
|
162
|
+
},
|
|
163
|
+
grid: {
|
|
164
|
+
left: '6%',
|
|
165
|
+
right: '15%',
|
|
166
|
+
bottom: '4%',
|
|
167
|
+
top:'20%',
|
|
168
|
+
containLabel: true
|
|
169
|
+
},
|
|
170
|
+
xAxis: [
|
|
171
|
+
{
|
|
172
|
+
name:this.cshowxname===true?this.xname:'',
|
|
173
|
+
type: 'category',
|
|
174
|
+
boundaryGap: true,
|
|
175
|
+
|
|
176
|
+
axisTick:{
|
|
177
|
+
show:false
|
|
178
|
+
},
|
|
179
|
+
axisLabel:{
|
|
180
|
+
fontSize:fontSize
|
|
181
|
+
},
|
|
182
|
+
nameTextStyle:{
|
|
183
|
+
fontSize:fontSize,
|
|
184
|
+
padding:[0,100,15,-12], // 上右下左
|
|
185
|
+
},
|
|
186
|
+
data:this.xdata
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
],
|
|
190
|
+
yAxis: [
|
|
191
|
+
{
|
|
192
|
+
|
|
193
|
+
name:this.cshowyname===true?this.yname:'',
|
|
194
|
+
type: 'value',
|
|
195
|
+
nameTextStyle:{
|
|
196
|
+
fontSize:fontSize,
|
|
197
|
+
padding:[0,0,15,60], // 上右下左
|
|
198
|
+
},
|
|
199
|
+
axisLabel:{
|
|
200
|
+
fontSize:fontSize,
|
|
201
|
+
formatter: function (params) {
|
|
202
|
+
if (params > 9999) {
|
|
203
|
+
return params / 10000 + "万"
|
|
204
|
+
}
|
|
205
|
+
else
|
|
206
|
+
return params
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
axisTick:{
|
|
210
|
+
show:false
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
series: serieData
|
|
216
|
+
})
|
|
217
|
+
// let idx = -1;
|
|
218
|
+
// var dataLen = this.sdata[0].length
|
|
219
|
+
// this.timer = setInterval(() => {
|
|
220
|
+
// idx = (idx + 1) % dataLen;
|
|
221
|
+
// this.xc.dispatchAction({
|
|
222
|
+
// type: 'showTip',
|
|
223
|
+
// seriesIndex: 1,
|
|
224
|
+
// dataIndex: idx
|
|
225
|
+
// });
|
|
226
|
+
//
|
|
227
|
+
// }, this.time)
|
|
228
|
+
},
|
|
229
|
+
|
|
230
|
+
},
|
|
231
|
+
watch: {
|
|
232
|
+
'sdata' () {
|
|
233
|
+
// 清除定时器
|
|
234
|
+
clearInterval(this.timer)
|
|
235
|
+
this.setBar()
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
ready () {
|
|
239
|
+
this.setBar()
|
|
240
|
+
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
</script>
|
|
244
|
+
|
|
245
|
+
<style scoped>
|
|
246
|
+
|
|
247
|
+
</style>
|