manage-client 3.2.86-aode → 3.2.86-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 +1 -1
- 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 +1 -1
- package/src/components/ManageHomeCS/ManageHome.vue +149 -149
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
- package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
- package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
- package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
- package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
- package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
- package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
- package/src/components/MeterManage/ChargeQuery.vue +79 -79
- package/src/components/MeterManage/FillCardQuery.vue +80 -80
- package/src/components/MeterManage/FillGasQuery.vue +80 -80
- package/src/components/MeterManage/HandQuery.vue +72 -72
- package/src/components/MeterManage/MeterList.vue +336 -336
- package/src/components/MeterManage/MeterMsg.vue +181 -181
- package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
- package/src/components/MeterManage/ReversalQuery.vue +77 -77
- package/src/components/MeterManage/TransferQuery.vue +72 -72
- package/src/components/SellReport/BankManager.vue +146 -146
- package/src/components/SellReport/BonSummary.vue +182 -182
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChargeBill.vue +186 -186
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GasPrice.vue +183 -183
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/GetSummary.vue +186 -186
- package/src/components/SellReport/GetUserNum.vue +166 -166
- package/src/components/SellReport/HandCollect.vue +189 -189
- package/src/components/SellReport/HandplanBili.vue +73 -73
- package/src/components/SellReport/JinChengBusSummary.vue +182 -182
- package/src/components/SellReport/JinChengHandGas.vue +182 -182
- package/src/components/SellReport/JinChengOperSummary.vue +182 -182
- package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
- package/src/components/SellReport/ManageBusSummary.vue +241 -241
- package/src/components/SellReport/ManageGasPrice.vue +183 -183
- package/src/components/SellReport/ManageHandInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +181 -181
- package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
- package/src/components/SellReport/ManageSellType.vue +183 -183
- package/src/components/SellReport/ManageUserCollect.vue +177 -177
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterInput.vue +185 -185
- package/src/components/SellReport/MeterReader.vue +203 -203
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
- package/src/components/SellReport/RefundQuery.vue +237 -237
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportItems.vue +39 -39
- package/src/components/SellReport/ReportPool.vue +40 -40
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +151 -151
- package/src/components/SellReport/UsertypePie.vue +99 -99
- package/src/components/SellReport/VolumeStatistics.vue +226 -226
- package/src/components/SellReport/YuShou.vue +185 -185
- package/src/components/SellReport/getWebReport.vue +181 -181
- package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
- package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
- package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
- package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
- package/src/components/TelReport/TrafficAssess.vue +99 -99
- package/src/components/TelReport/TrafficBasic.vue +117 -117
- package/src/components/TelReport/ZhiHuanservice.vue +147 -147
- package/src/components/WebReport/AbnormalInfo.vue +197 -197
- package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
- package/src/components/WebReport/BatteryLow.vue +148 -148
- package/src/components/WebReport/BussinessType.vue +140 -140
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/EchartsBox.vue +110 -110
- package/src/components/WebReport/ElectroMagnetic.vue +142 -142
- package/src/components/WebReport/GaspriceHas.vue +141 -141
- package/src/components/WebReport/HandplanPrint.vue +167 -167
- package/src/components/WebReport/NotUpload.vue +165 -165
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/WebReport/Paymentpie.vue +160 -160
- package/src/components/WebReport/ReportWorklist.vue +220 -220
- package/src/components/WebReport/SellType.vue +89 -89
- package/src/components/WebReport/Telemanlist.vue +221 -221
- package/src/components/WebReport/UserGasAll.vue +214 -214
- package/src/components/WebReport/UserGasEcharts.vue +107 -107
- package/src/components/WebReport/UsertypePie.vue +105 -105
- package/src/components/WebReport/ValueEcharts.vue +99 -99
- package/src/components/WebReport/ValueInfo.vue +194 -194
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/sale/businessquery/BusinessManage.vue +109 -109
- package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
- package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
- package/src/components/sale/businessquery/DeductionGas.vue +149 -149
- package/src/components/sale/businessquery/DisableQuery.vue +315 -315
- package/src/components/sale/businessquery/EnableQuery.vue +315 -315
- package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
- package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
- package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
- package/src/components/sale/businessquery/InspectListGas.vue +456 -456
- package/src/components/sale/businessquery/InspectListUser.vue +366 -366
- package/src/components/sale/businessquery/InspectManage.vue +37 -37
- package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
- package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
- package/src/components/sale/businessquery/QueryUserState.vue +313 -313
- package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
- package/src/components/sale/businessquery/SellingHand.vue +340 -340
- package/src/components/sale/businessquery/TransferQuery.vue +363 -363
- package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
- package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
- package/src/components/sale/common/TabButton.vue +149 -149
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/config/exportConfig.js +271 -271
- package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
- package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
- package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
- package/src/components/sale/filesquery/MeterQuery.vue +613 -613
- package/src/components/sale/filesquery/UserQuery.vue +556 -556
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
- package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
- package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
- package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
- package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
- package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
- package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
- package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
- package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
- package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
- package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
- package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
- package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
- package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
- package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
- package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
- package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
- package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
- package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
- package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
- package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
- package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
- package/src/components/sale/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportList.vue +553 -553
- package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
- package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
- package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
- package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
- package/src/components/sale/report/aode/YearByUserType.vue +351 -351
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
- package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
- package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
- package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
- package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
- package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
- package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
- package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
- package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
- package/src/components/webmeter/ArreasuserQuery.vue +193 -193
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
- package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
- package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
- package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
- package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
- package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
- package/src/components/webmeter/OperatorCount.vue +189 -189
- package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
- package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
- package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
- package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
- package/src/components/webmeter/report/ReportList.vue +211 -211
- package/src/index.js +9 -9
- package/src/main.js +56 -56
- package/src/newmanage.js +288 -288
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/reportManage.js +208 -208
- package/src/saleManage.js +263 -263
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +601 -601
- package/src/stores/DrillSql.js +675 -675
- package/src/stores/MagGetSaleParams.js +138 -138
- package/src/stores/MagLoadParams.js +63 -63
- package/src/webmeterManage.js +99 -99
- package/yarn-error.log +7368 -7368
|
@@ -1,340 +1,340 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<span class="title-1">固定资产投资完成情况</span>
|
|
4
|
-
<div class="text-1">
|
|
5
|
-
<div class="business-1" id="business" style="text-align: left"></div>
|
|
6
|
-
<div class="business-2">
|
|
7
|
-
<table id="tableId" ref="tableId">
|
|
8
|
-
<thead class="thead" style=" border: solid 1px #0093ff;">
|
|
9
|
-
<th>分公司</th>
|
|
10
|
-
<th>系统名称</th>
|
|
11
|
-
<th>投资费用(万/元)</th>
|
|
12
|
-
<th>在建/已建</th>
|
|
13
|
-
</thead>
|
|
14
|
-
<tbody class="scroll-content" :style="{top}" >
|
|
15
|
-
<tr v-for="item in dane"><td>{{item.fen}}</td><td>{{item.name}}</td><td style="color: #ffff2c">{{item.money}}</td><td>{{item.state}}</td></tr>
|
|
16
|
-
</tbody>
|
|
17
|
-
</table>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
<img class="img-bottom" src="../../../../static/NewManageHome/2.gif" />
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script>
|
|
26
|
-
import * as DataSql from '../../../stores/DataSql'
|
|
27
|
-
import co from 'co'
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
name: "TextBusiness",
|
|
31
|
-
props: {
|
|
32
|
-
listenheight: String,
|
|
33
|
-
},
|
|
34
|
-
data() {
|
|
35
|
-
return {
|
|
36
|
-
xc: '',
|
|
37
|
-
parentgasname: [{name:'汉投',value:1000},{name:'城燃',value:1000},{name:'安康',value:1000},{name:'商洛',value:1000}],
|
|
38
|
-
childrengasname: [
|
|
39
|
-
{name:'佛坪',parentname:'汉投',value:100},{name:'洋县',parentname:'汉投',value:800},
|
|
40
|
-
{name:'扶风',parentname:'城燃',value:600}, {name:'太白',parentname:'城燃',value:300},
|
|
41
|
-
{name:'紫阳',parentname:'安康',value:200},{name:'汉明',parentname:'安康',value:700},
|
|
42
|
-
{name:'商南',parentname:'商洛',value:600},{name:'洛南',parentname:'商洛',value:77}
|
|
43
|
-
],
|
|
44
|
-
resdata1: [],
|
|
45
|
-
resdata2: [],
|
|
46
|
-
moveDistance:'25',
|
|
47
|
-
viewHeight:'400px',
|
|
48
|
-
datass:[
|
|
49
|
-
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
50
|
-
{fen:'汉投1',name:'SCADA系统',money:101,state:'在建'},
|
|
51
|
-
{fen:'汉投2',name:'SCADA系统',money:101,state:'在建'},
|
|
52
|
-
{fen:'汉投3',name:'SCADA系统',money:101,state:'在建'},
|
|
53
|
-
{fen:'汉投4',name:'SCADA系统',money:101,state:'在建'},
|
|
54
|
-
{fen:'汉投5',name:'SCADA系统',money:101,state:'在建'},
|
|
55
|
-
{fen:'汉投6',name:'SCADA系统',money:101,state:'在建'},
|
|
56
|
-
{fen:'汉投7',name:'SCADA系统',money:101,state:'在建'},
|
|
57
|
-
{fen:'汉投8',name:'SCADA系统',money:101,state:'在建'},
|
|
58
|
-
{fen:'汉投9',name:'SCADA系统',money:101,state:'在建'},
|
|
59
|
-
{fen:'汉投1',name:'SCADA系统',money:101,state:'在建'},
|
|
60
|
-
{fen:'汉投2',name:'SCADA系统',money:101,state:'在建'},
|
|
61
|
-
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
62
|
-
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
63
|
-
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
64
|
-
|
|
65
|
-
],
|
|
66
|
-
dane:[],
|
|
67
|
-
timer:'',
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
computed: {
|
|
71
|
-
top() {
|
|
72
|
-
console.log('ssss')
|
|
73
|
-
return -this.activeIndex * this.moveDistance + "px"; //定义移动的单元高度
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
mounted() {
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
methods: {
|
|
80
|
-
setBar() {
|
|
81
|
-
this.xc = this.$echarts.init(document.getElementById('business'))
|
|
82
|
-
var scale=this.$parent.$parent.scale*0.8
|
|
83
|
-
let legendname = []
|
|
84
|
-
var parenttotal = 0
|
|
85
|
-
var childrentotal = 0
|
|
86
|
-
this.parentgasname.forEach(function (s) {
|
|
87
|
-
parenttotal = parenttotal + s.value
|
|
88
|
-
legendname.push(s.name)
|
|
89
|
-
})
|
|
90
|
-
this.childrengasname.forEach(function (s) {
|
|
91
|
-
childrentotal = childrentotal + s.value
|
|
92
|
-
legendname.push(s.name)
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
let echartsdata = this.childrengasname
|
|
96
|
-
var userdata = this.parentgasname
|
|
97
|
-
this.xc.setOption(
|
|
98
|
-
{
|
|
99
|
-
title: {
|
|
100
|
-
text: '',
|
|
101
|
-
subtext: '',
|
|
102
|
-
x: 'center'
|
|
103
|
-
},
|
|
104
|
-
tooltip: {
|
|
105
|
-
trigger: 'item',
|
|
106
|
-
show: true,
|
|
107
|
-
alwaysShowContent:true,
|
|
108
|
-
backgroundColor:'#01396d',
|
|
109
|
-
// borderColor :'rgba(13, 109, 180)',
|
|
110
|
-
borderWidth:0,
|
|
111
|
-
hideDelay:100,
|
|
112
|
-
padding:10*scale,
|
|
113
|
-
textStyle:{
|
|
114
|
-
fontSize:18*scale
|
|
115
|
-
},
|
|
116
|
-
formatter: function (params) {
|
|
117
|
-
if (params.name == legendname[0] || params.name == legendname[1] || params.name == legendname[2] || params.name == legendname[3]) {
|
|
118
|
-
var percentage = (params.value / parenttotal) * 100
|
|
119
|
-
return params.marker + " <span style=\"font-weight: normal\"> " + params.name + "</span> <span style=\"color:#64d8d4;font-weight: bolder\"> " + params.value + "</span>" +
|
|
120
|
-
" <span style=\"color:#e1e52a;font-weight: bolder\"> " + percentage.toString().substring(0, 5) + "%</span>"
|
|
121
|
-
} else {
|
|
122
|
-
var percentage = (params.value / childrentotal) * 100
|
|
123
|
-
return "<div style='text-align: center;height: 1px;font-weight: normal'>"+params.data.parentname + "</div><br/>" + "" + params.marker + " " + params.name + " <span style=\"color:#64d8d4;font-weight: bolder\"> "
|
|
124
|
-
+ params.value + "</span>" + " <span style=\"color:#e1e52a;font-weight: bolder\"> " + percentage.toString().substring(0, 5) + "%</span>"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
extraCssText: 'width: auto;height: auto;'
|
|
128
|
-
},
|
|
129
|
-
series: [
|
|
130
|
-
{
|
|
131
|
-
// name:'数量',
|
|
132
|
-
type: 'pie',
|
|
133
|
-
selectedMode: 'single',
|
|
134
|
-
color: ['#f7cb32', '#ef7c3d', '#3d7ce5','#f27c79'],
|
|
135
|
-
radius: [0, '35%'],
|
|
136
|
-
center: ['50%', '45%'],
|
|
137
|
-
label: {
|
|
138
|
-
normal: {
|
|
139
|
-
position: 'inner'
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
labelLine: {
|
|
143
|
-
normal: {
|
|
144
|
-
show: false
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
data: userdata
|
|
148
|
-
}, {
|
|
149
|
-
// name:'数量',
|
|
150
|
-
type: 'pie',
|
|
151
|
-
color: ['#e5e280', '#6e93e0', '#3bdda9', '#6fd9d0', '#c7e06e', '#e68d8d'],
|
|
152
|
-
label: {
|
|
153
|
-
show: false
|
|
154
|
-
},
|
|
155
|
-
radius: ['45%', '65%'],
|
|
156
|
-
center: ['50%', '45%'],
|
|
157
|
-
data: echartsdata
|
|
158
|
-
}
|
|
159
|
-
]
|
|
160
|
-
}, true)
|
|
161
|
-
let idx = 0;
|
|
162
|
-
var dataLen=echartsdata.length
|
|
163
|
-
var oroptionmapjsonr_charts=this.xc
|
|
164
|
-
var sidx=0
|
|
165
|
-
var series=oroptionmapjsonr_charts.getOption().series
|
|
166
|
-
var flag=false
|
|
167
|
-
this.timer= setInterval(()=>{
|
|
168
|
-
if(!flag){
|
|
169
|
-
oroptionmapjsonr_charts.dispatchAction({
|
|
170
|
-
type: 'pieUnSelect',
|
|
171
|
-
seriesIndex:0 ,
|
|
172
|
-
dataIndex: sidx,
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// 取消之前选中的图形
|
|
177
|
-
oroptionmapjsonr_charts.dispatchAction({
|
|
178
|
-
type: 'pieUnSelect',
|
|
179
|
-
seriesIndex:1 ,
|
|
180
|
-
dataIndex: idx,
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
idx = (idx+ 1) % dataLen;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
for(var i=0;i<4;i++){
|
|
189
|
-
if(series[1].data[idx].parentname==series[0].data[i].name){
|
|
190
|
-
sidx=i
|
|
191
|
-
flag=true
|
|
192
|
-
break
|
|
193
|
-
}
|
|
194
|
-
flag=false
|
|
195
|
-
}
|
|
196
|
-
oroptionmapjsonr_charts.dispatchAction({
|
|
197
|
-
type: 'pieSelect',
|
|
198
|
-
seriesIndex: 0,
|
|
199
|
-
dataIndex: sidx
|
|
200
|
-
});
|
|
201
|
-
//console.log(app.currentIndex);
|
|
202
|
-
// 选中当前图形
|
|
203
|
-
oroptionmapjsonr_charts.dispatchAction({
|
|
204
|
-
type: 'pieSelect',
|
|
205
|
-
seriesIndex: 1,
|
|
206
|
-
dataIndex: idx
|
|
207
|
-
});
|
|
208
|
-
oroptionmapjsonr_charts.dispatchAction({
|
|
209
|
-
type: 'showTip',
|
|
210
|
-
seriesIndex: 1,
|
|
211
|
-
dataIndex: idx
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
}, 3000)
|
|
215
|
-
},
|
|
216
|
-
searchdata(flag) {
|
|
217
|
-
let getGen = getData(this, flag)
|
|
218
|
-
co(getGen)
|
|
219
|
-
},
|
|
220
|
-
linesql(param) {
|
|
221
|
-
// 拼接sql,请求后台
|
|
222
|
-
if (param == '') {
|
|
223
|
-
let getGen = DataSql.getData(this, 'gasdistri',{item:param}, 'resdata1')
|
|
224
|
-
co(getGen)
|
|
225
|
-
} else {
|
|
226
|
-
let getGen = DataSql.getData(this,'gasdistri',{item:param}, 'resdata2')
|
|
227
|
-
co(getGen)
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
resize() {
|
|
231
|
-
var self=this
|
|
232
|
-
var index=-1
|
|
233
|
-
setInterval(()=>{
|
|
234
|
-
self.dane.splice(0,self.dane.length)
|
|
235
|
-
index=(index+1)%self.datass.length
|
|
236
|
-
var maxid=0
|
|
237
|
-
if(index>self.datass.length-9){
|
|
238
|
-
maxid=self.datass.length-1
|
|
239
|
-
}else {
|
|
240
|
-
maxid=index+8
|
|
241
|
-
}
|
|
242
|
-
var i=0
|
|
243
|
-
self.datass.forEach(function (s) {
|
|
244
|
-
if(i>=index&&i<=maxid){
|
|
245
|
-
self.dane.push(s)
|
|
246
|
-
}
|
|
247
|
-
i++
|
|
248
|
-
})
|
|
249
|
-
var s=this.dane.length
|
|
250
|
-
if(this.dane.length<9){
|
|
251
|
-
for(var i =0;i<9-s;i++){
|
|
252
|
-
this.dane.push( {fen:'',name:'',money:'',state:''},)
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}, 3000)
|
|
256
|
-
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
beforeDestroy() {
|
|
260
|
-
//清除定时器
|
|
261
|
-
clearInterval(this.timer);
|
|
262
|
-
},
|
|
263
|
-
watch: {
|
|
264
|
-
// 监听用户数据并进行绘图
|
|
265
|
-
'parentgasname': {
|
|
266
|
-
deep: true,
|
|
267
|
-
handler(val) {
|
|
268
|
-
if (this.childrengasname.length > 0 && this.parentgasname.length > 0) {
|
|
269
|
-
this.setBar()
|
|
270
|
-
this.$parent.loaddata++
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
// 监听用户数据并进行绘图
|
|
275
|
-
'childrengasname': {
|
|
276
|
-
deep: true,
|
|
277
|
-
handler(val) {
|
|
278
|
-
if (this.childrengasname.length > 0 && this.parentgasname.length > 0) {
|
|
279
|
-
this.setBar()
|
|
280
|
-
this.$parent.loaddata++
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
//监听浏览器大小变化
|
|
285
|
-
'listenheight': {
|
|
286
|
-
deep: true,
|
|
287
|
-
handler(val) {
|
|
288
|
-
if (this.listenheight !== '' && this.listenheight !== 0) {
|
|
289
|
-
// this.$parent.$parent.changeresize(this.xc)
|
|
290
|
-
this.listenheight = 0
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
immediate: true
|
|
294
|
-
},
|
|
295
|
-
'resdata1': {
|
|
296
|
-
deep: true,
|
|
297
|
-
handler(val) {
|
|
298
|
-
var self = this
|
|
299
|
-
this.resdata1.forEach(function (s) {
|
|
300
|
-
let item = {}
|
|
301
|
-
item.name = s.f_gasproperties
|
|
302
|
-
item.value = s.num
|
|
303
|
-
self.parentgasname.push(item)
|
|
304
|
-
})
|
|
305
|
-
},
|
|
306
|
-
},
|
|
307
|
-
'resdata2': {
|
|
308
|
-
deep: true,
|
|
309
|
-
handler(val) {
|
|
310
|
-
var self = this
|
|
311
|
-
this.resdata2.forEach(function (s) {
|
|
312
|
-
let item = {}
|
|
313
|
-
item.name = s.f_price_name
|
|
314
|
-
item.parentname = s.f_gasproperties
|
|
315
|
-
item.value = s.num
|
|
316
|
-
self.childrengasname.push(item)
|
|
317
|
-
})
|
|
318
|
-
},
|
|
319
|
-
immediate: true
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
ready() {
|
|
323
|
-
this.resize()
|
|
324
|
-
this.setBar()
|
|
325
|
-
// this.searchdata()
|
|
326
|
-
// this.set()
|
|
327
|
-
// this.linesql('')
|
|
328
|
-
// this.linesql('c.f_price_name,')
|
|
329
|
-
},
|
|
330
|
-
}
|
|
331
|
-
</script>
|
|
332
|
-
|
|
333
|
-
<style scoped>
|
|
334
|
-
|
|
335
|
-
.scroll-content {
|
|
336
|
-
position: relative;
|
|
337
|
-
transition: top 0.825s;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<span class="title-1">固定资产投资完成情况</span>
|
|
4
|
+
<div class="text-1">
|
|
5
|
+
<div class="business-1" id="business" style="text-align: left"></div>
|
|
6
|
+
<div class="business-2">
|
|
7
|
+
<table id="tableId" ref="tableId">
|
|
8
|
+
<thead class="thead" style=" border: solid 1px #0093ff;">
|
|
9
|
+
<th>分公司</th>
|
|
10
|
+
<th>系统名称</th>
|
|
11
|
+
<th>投资费用(万/元)</th>
|
|
12
|
+
<th>在建/已建</th>
|
|
13
|
+
</thead>
|
|
14
|
+
<tbody class="scroll-content" :style="{top}" >
|
|
15
|
+
<tr v-for="item in dane"><td>{{item.fen}}</td><td>{{item.name}}</td><td style="color: #ffff2c">{{item.money}}</td><td>{{item.state}}</td></tr>
|
|
16
|
+
</tbody>
|
|
17
|
+
</table>
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
<img class="img-bottom" src="../../../../static/NewManageHome/2.gif" />
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
import * as DataSql from '../../../stores/DataSql'
|
|
27
|
+
import co from 'co'
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
name: "TextBusiness",
|
|
31
|
+
props: {
|
|
32
|
+
listenheight: String,
|
|
33
|
+
},
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
xc: '',
|
|
37
|
+
parentgasname: [{name:'汉投',value:1000},{name:'城燃',value:1000},{name:'安康',value:1000},{name:'商洛',value:1000}],
|
|
38
|
+
childrengasname: [
|
|
39
|
+
{name:'佛坪',parentname:'汉投',value:100},{name:'洋县',parentname:'汉投',value:800},
|
|
40
|
+
{name:'扶风',parentname:'城燃',value:600}, {name:'太白',parentname:'城燃',value:300},
|
|
41
|
+
{name:'紫阳',parentname:'安康',value:200},{name:'汉明',parentname:'安康',value:700},
|
|
42
|
+
{name:'商南',parentname:'商洛',value:600},{name:'洛南',parentname:'商洛',value:77}
|
|
43
|
+
],
|
|
44
|
+
resdata1: [],
|
|
45
|
+
resdata2: [],
|
|
46
|
+
moveDistance:'25',
|
|
47
|
+
viewHeight:'400px',
|
|
48
|
+
datass:[
|
|
49
|
+
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
50
|
+
{fen:'汉投1',name:'SCADA系统',money:101,state:'在建'},
|
|
51
|
+
{fen:'汉投2',name:'SCADA系统',money:101,state:'在建'},
|
|
52
|
+
{fen:'汉投3',name:'SCADA系统',money:101,state:'在建'},
|
|
53
|
+
{fen:'汉投4',name:'SCADA系统',money:101,state:'在建'},
|
|
54
|
+
{fen:'汉投5',name:'SCADA系统',money:101,state:'在建'},
|
|
55
|
+
{fen:'汉投6',name:'SCADA系统',money:101,state:'在建'},
|
|
56
|
+
{fen:'汉投7',name:'SCADA系统',money:101,state:'在建'},
|
|
57
|
+
{fen:'汉投8',name:'SCADA系统',money:101,state:'在建'},
|
|
58
|
+
{fen:'汉投9',name:'SCADA系统',money:101,state:'在建'},
|
|
59
|
+
{fen:'汉投1',name:'SCADA系统',money:101,state:'在建'},
|
|
60
|
+
{fen:'汉投2',name:'SCADA系统',money:101,state:'在建'},
|
|
61
|
+
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
62
|
+
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
63
|
+
{fen:'汉投',name:'SCADA系统',money:101,state:'在建'},
|
|
64
|
+
|
|
65
|
+
],
|
|
66
|
+
dane:[],
|
|
67
|
+
timer:'',
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
computed: {
|
|
71
|
+
top() {
|
|
72
|
+
console.log('ssss')
|
|
73
|
+
return -this.activeIndex * this.moveDistance + "px"; //定义移动的单元高度
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
mounted() {
|
|
77
|
+
|
|
78
|
+
},
|
|
79
|
+
methods: {
|
|
80
|
+
setBar() {
|
|
81
|
+
this.xc = this.$echarts.init(document.getElementById('business'))
|
|
82
|
+
var scale=this.$parent.$parent.scale*0.8
|
|
83
|
+
let legendname = []
|
|
84
|
+
var parenttotal = 0
|
|
85
|
+
var childrentotal = 0
|
|
86
|
+
this.parentgasname.forEach(function (s) {
|
|
87
|
+
parenttotal = parenttotal + s.value
|
|
88
|
+
legendname.push(s.name)
|
|
89
|
+
})
|
|
90
|
+
this.childrengasname.forEach(function (s) {
|
|
91
|
+
childrentotal = childrentotal + s.value
|
|
92
|
+
legendname.push(s.name)
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
let echartsdata = this.childrengasname
|
|
96
|
+
var userdata = this.parentgasname
|
|
97
|
+
this.xc.setOption(
|
|
98
|
+
{
|
|
99
|
+
title: {
|
|
100
|
+
text: '',
|
|
101
|
+
subtext: '',
|
|
102
|
+
x: 'center'
|
|
103
|
+
},
|
|
104
|
+
tooltip: {
|
|
105
|
+
trigger: 'item',
|
|
106
|
+
show: true,
|
|
107
|
+
alwaysShowContent:true,
|
|
108
|
+
backgroundColor:'#01396d',
|
|
109
|
+
// borderColor :'rgba(13, 109, 180)',
|
|
110
|
+
borderWidth:0,
|
|
111
|
+
hideDelay:100,
|
|
112
|
+
padding:10*scale,
|
|
113
|
+
textStyle:{
|
|
114
|
+
fontSize:18*scale
|
|
115
|
+
},
|
|
116
|
+
formatter: function (params) {
|
|
117
|
+
if (params.name == legendname[0] || params.name == legendname[1] || params.name == legendname[2] || params.name == legendname[3]) {
|
|
118
|
+
var percentage = (params.value / parenttotal) * 100
|
|
119
|
+
return params.marker + " <span style=\"font-weight: normal\"> " + params.name + "</span> <span style=\"color:#64d8d4;font-weight: bolder\"> " + params.value + "</span>" +
|
|
120
|
+
" <span style=\"color:#e1e52a;font-weight: bolder\"> " + percentage.toString().substring(0, 5) + "%</span>"
|
|
121
|
+
} else {
|
|
122
|
+
var percentage = (params.value / childrentotal) * 100
|
|
123
|
+
return "<div style='text-align: center;height: 1px;font-weight: normal'>"+params.data.parentname + "</div><br/>" + "" + params.marker + " " + params.name + " <span style=\"color:#64d8d4;font-weight: bolder\"> "
|
|
124
|
+
+ params.value + "</span>" + " <span style=\"color:#e1e52a;font-weight: bolder\"> " + percentage.toString().substring(0, 5) + "%</span>"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
extraCssText: 'width: auto;height: auto;'
|
|
128
|
+
},
|
|
129
|
+
series: [
|
|
130
|
+
{
|
|
131
|
+
// name:'数量',
|
|
132
|
+
type: 'pie',
|
|
133
|
+
selectedMode: 'single',
|
|
134
|
+
color: ['#f7cb32', '#ef7c3d', '#3d7ce5','#f27c79'],
|
|
135
|
+
radius: [0, '35%'],
|
|
136
|
+
center: ['50%', '45%'],
|
|
137
|
+
label: {
|
|
138
|
+
normal: {
|
|
139
|
+
position: 'inner'
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
labelLine: {
|
|
143
|
+
normal: {
|
|
144
|
+
show: false
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
data: userdata
|
|
148
|
+
}, {
|
|
149
|
+
// name:'数量',
|
|
150
|
+
type: 'pie',
|
|
151
|
+
color: ['#e5e280', '#6e93e0', '#3bdda9', '#6fd9d0', '#c7e06e', '#e68d8d'],
|
|
152
|
+
label: {
|
|
153
|
+
show: false
|
|
154
|
+
},
|
|
155
|
+
radius: ['45%', '65%'],
|
|
156
|
+
center: ['50%', '45%'],
|
|
157
|
+
data: echartsdata
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}, true)
|
|
161
|
+
let idx = 0;
|
|
162
|
+
var dataLen=echartsdata.length
|
|
163
|
+
var oroptionmapjsonr_charts=this.xc
|
|
164
|
+
var sidx=0
|
|
165
|
+
var series=oroptionmapjsonr_charts.getOption().series
|
|
166
|
+
var flag=false
|
|
167
|
+
this.timer= setInterval(()=>{
|
|
168
|
+
if(!flag){
|
|
169
|
+
oroptionmapjsonr_charts.dispatchAction({
|
|
170
|
+
type: 'pieUnSelect',
|
|
171
|
+
seriesIndex:0 ,
|
|
172
|
+
dataIndex: sidx,
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// 取消之前选中的图形
|
|
177
|
+
oroptionmapjsonr_charts.dispatchAction({
|
|
178
|
+
type: 'pieUnSelect',
|
|
179
|
+
seriesIndex:1 ,
|
|
180
|
+
dataIndex: idx,
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
idx = (idx+ 1) % dataLen;
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
for(var i=0;i<4;i++){
|
|
189
|
+
if(series[1].data[idx].parentname==series[0].data[i].name){
|
|
190
|
+
sidx=i
|
|
191
|
+
flag=true
|
|
192
|
+
break
|
|
193
|
+
}
|
|
194
|
+
flag=false
|
|
195
|
+
}
|
|
196
|
+
oroptionmapjsonr_charts.dispatchAction({
|
|
197
|
+
type: 'pieSelect',
|
|
198
|
+
seriesIndex: 0,
|
|
199
|
+
dataIndex: sidx
|
|
200
|
+
});
|
|
201
|
+
//console.log(app.currentIndex);
|
|
202
|
+
// 选中当前图形
|
|
203
|
+
oroptionmapjsonr_charts.dispatchAction({
|
|
204
|
+
type: 'pieSelect',
|
|
205
|
+
seriesIndex: 1,
|
|
206
|
+
dataIndex: idx
|
|
207
|
+
});
|
|
208
|
+
oroptionmapjsonr_charts.dispatchAction({
|
|
209
|
+
type: 'showTip',
|
|
210
|
+
seriesIndex: 1,
|
|
211
|
+
dataIndex: idx
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
}, 3000)
|
|
215
|
+
},
|
|
216
|
+
searchdata(flag) {
|
|
217
|
+
let getGen = getData(this, flag)
|
|
218
|
+
co(getGen)
|
|
219
|
+
},
|
|
220
|
+
linesql(param) {
|
|
221
|
+
// 拼接sql,请求后台
|
|
222
|
+
if (param == '') {
|
|
223
|
+
let getGen = DataSql.getData(this, 'gasdistri',{item:param}, 'resdata1')
|
|
224
|
+
co(getGen)
|
|
225
|
+
} else {
|
|
226
|
+
let getGen = DataSql.getData(this,'gasdistri',{item:param}, 'resdata2')
|
|
227
|
+
co(getGen)
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
resize() {
|
|
231
|
+
var self=this
|
|
232
|
+
var index=-1
|
|
233
|
+
setInterval(()=>{
|
|
234
|
+
self.dane.splice(0,self.dane.length)
|
|
235
|
+
index=(index+1)%self.datass.length
|
|
236
|
+
var maxid=0
|
|
237
|
+
if(index>self.datass.length-9){
|
|
238
|
+
maxid=self.datass.length-1
|
|
239
|
+
}else {
|
|
240
|
+
maxid=index+8
|
|
241
|
+
}
|
|
242
|
+
var i=0
|
|
243
|
+
self.datass.forEach(function (s) {
|
|
244
|
+
if(i>=index&&i<=maxid){
|
|
245
|
+
self.dane.push(s)
|
|
246
|
+
}
|
|
247
|
+
i++
|
|
248
|
+
})
|
|
249
|
+
var s=this.dane.length
|
|
250
|
+
if(this.dane.length<9){
|
|
251
|
+
for(var i =0;i<9-s;i++){
|
|
252
|
+
this.dane.push( {fen:'',name:'',money:'',state:''},)
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}, 3000)
|
|
256
|
+
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
beforeDestroy() {
|
|
260
|
+
//清除定时器
|
|
261
|
+
clearInterval(this.timer);
|
|
262
|
+
},
|
|
263
|
+
watch: {
|
|
264
|
+
// 监听用户数据并进行绘图
|
|
265
|
+
'parentgasname': {
|
|
266
|
+
deep: true,
|
|
267
|
+
handler(val) {
|
|
268
|
+
if (this.childrengasname.length > 0 && this.parentgasname.length > 0) {
|
|
269
|
+
this.setBar()
|
|
270
|
+
this.$parent.loaddata++
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
// 监听用户数据并进行绘图
|
|
275
|
+
'childrengasname': {
|
|
276
|
+
deep: true,
|
|
277
|
+
handler(val) {
|
|
278
|
+
if (this.childrengasname.length > 0 && this.parentgasname.length > 0) {
|
|
279
|
+
this.setBar()
|
|
280
|
+
this.$parent.loaddata++
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
//监听浏览器大小变化
|
|
285
|
+
'listenheight': {
|
|
286
|
+
deep: true,
|
|
287
|
+
handler(val) {
|
|
288
|
+
if (this.listenheight !== '' && this.listenheight !== 0) {
|
|
289
|
+
// this.$parent.$parent.changeresize(this.xc)
|
|
290
|
+
this.listenheight = 0
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
immediate: true
|
|
294
|
+
},
|
|
295
|
+
'resdata1': {
|
|
296
|
+
deep: true,
|
|
297
|
+
handler(val) {
|
|
298
|
+
var self = this
|
|
299
|
+
this.resdata1.forEach(function (s) {
|
|
300
|
+
let item = {}
|
|
301
|
+
item.name = s.f_gasproperties
|
|
302
|
+
item.value = s.num
|
|
303
|
+
self.parentgasname.push(item)
|
|
304
|
+
})
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
'resdata2': {
|
|
308
|
+
deep: true,
|
|
309
|
+
handler(val) {
|
|
310
|
+
var self = this
|
|
311
|
+
this.resdata2.forEach(function (s) {
|
|
312
|
+
let item = {}
|
|
313
|
+
item.name = s.f_price_name
|
|
314
|
+
item.parentname = s.f_gasproperties
|
|
315
|
+
item.value = s.num
|
|
316
|
+
self.childrengasname.push(item)
|
|
317
|
+
})
|
|
318
|
+
},
|
|
319
|
+
immediate: true
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
ready() {
|
|
323
|
+
this.resize()
|
|
324
|
+
this.setBar()
|
|
325
|
+
// this.searchdata()
|
|
326
|
+
// this.set()
|
|
327
|
+
// this.linesql('')
|
|
328
|
+
// this.linesql('c.f_price_name,')
|
|
329
|
+
},
|
|
330
|
+
}
|
|
331
|
+
</script>
|
|
332
|
+
|
|
333
|
+
<style scoped>
|
|
334
|
+
|
|
335
|
+
.scroll-content {
|
|
336
|
+
position: relative;
|
|
337
|
+
transition: top 0.825s;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
</style>
|