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,932 +1,932 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="frame">
|
|
3
|
-
<div class="top">
|
|
4
|
-
<img src="../../image/组6.png"/>
|
|
5
|
-
<span>{{date}}</span>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="main">
|
|
8
|
-
<div class="row" style="height: auto;color: #9effff;">
|
|
9
|
-
<div class="col-sm-3" style="width: 22%;padding: 0 0 0 20px;z-index: 99999999;">
|
|
10
|
-
<label for="startDate">开始日期:</label>
|
|
11
|
-
<datepicker id="startDate" placeholder="开始日期" class="childrendatestyle"
|
|
12
|
-
v-model="model.startDate"
|
|
13
|
-
:value.sync="model.startDate"
|
|
14
|
-
:disabled-days-of-Week="[]"
|
|
15
|
-
:format="'yyyy-MM'"
|
|
16
|
-
:show-reset-button="reset">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-3" style="width: 22%">
|
|
20
|
-
<label for="endDate">结束日期:</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期" class="childrendatestyle"
|
|
22
|
-
v-model="model.endDate"
|
|
23
|
-
:value.sync="model.endDate"
|
|
24
|
-
:disabled-days-of-Week="[]"
|
|
25
|
-
:format="'yyyy-MM'"
|
|
26
|
-
:show-reset-button="reset">
|
|
27
|
-
</datepicker>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-3" style="width: 22%">
|
|
30
|
-
<label class="control-label">组织机构</label>
|
|
31
|
-
<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"
|
|
32
|
-
class="childrenorgstyle"></right-tree>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="main-1">
|
|
36
|
-
<div class="bar-1" id="hidden1"></div>
|
|
37
|
-
<div class="bar-2" id="hidden2"></div>
|
|
38
|
-
<div class="bar-3">
|
|
39
|
-
<label style="text-align: center"><p style="color: #c3325f">{{hiddenclick}}</p>解决方案</label>
|
|
40
|
-
<div style="height: 77%;overflow-y: auto;color: white;text-align: center">
|
|
41
|
-
<p @click="amplification" style="text-align: center">
|
|
42
|
-
1.****************************<br/>
|
|
43
|
-
1.****************************<br/>
|
|
44
|
-
1.****************************<br/>
|
|
45
|
-
1.****************************<br/>
|
|
46
|
-
1.****************************<br/>
|
|
47
|
-
1.****************************<br/>
|
|
48
|
-
1.****************************<br/>
|
|
49
|
-
1.****************************<br/>
|
|
50
|
-
1.****************************<br/>
|
|
51
|
-
1.****************************<br/>
|
|
52
|
-
1.****************************<br/>
|
|
53
|
-
1.****************************<br/>
|
|
54
|
-
1.****************************<br/>
|
|
55
|
-
1.****************************<br/>
|
|
56
|
-
</p>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<div class="main-2">
|
|
62
|
-
<div class="bar-4" id="hidden3"></div>
|
|
63
|
-
<div class="bar-5">
|
|
64
|
-
<criteria-paged :model="model1" v-ref:paged style="overflow-x: auto; overflow-y: auto;"
|
|
65
|
-
id="childrencriteriastyle">
|
|
66
|
-
<data-grid :model="model" partial='list' v-ref:grid :classname="'table'" id="childrendatagridstyle"
|
|
67
|
-
:customize="false">
|
|
68
|
-
<template partial='head'>
|
|
69
|
-
<!--<th>-->
|
|
70
|
-
|
|
71
|
-
<!--<h4 align="center">详情表</h4>-->
|
|
72
|
-
<!--</th>-->
|
|
73
|
-
<th class="thstyle" @click="$parent.$parent.$parent.exportss" style="color: #c3325f">用户编号</th>
|
|
74
|
-
<th class="thstyle">用户名称</th>
|
|
75
|
-
<th class="thstyle">小区</th>
|
|
76
|
-
<th class="thstyle">用户地址</th>
|
|
77
|
-
<th class="thstyle">隐患类型</th>
|
|
78
|
-
</template>
|
|
79
|
-
<template partial='body'>
|
|
80
|
-
<tr class="tr-1">
|
|
81
|
-
<td class="td-1" style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
82
|
-
<td class="td-1" style="text-align: center;">{{row.f_user_name}}</td>
|
|
83
|
-
<td class="td-1" style="text-align: center;">{{row.f_residential_area}}</td>
|
|
84
|
-
<td class="td-1" style="text-align: center;">{{row.f_address}}</td>
|
|
85
|
-
<td class="td-1" style="text-align: center;">{{row.f_item_name}}</td>
|
|
86
|
-
</tr>
|
|
87
|
-
</template>
|
|
88
|
-
<!-- <template partial='foot'></template>-->
|
|
89
|
-
</data-grid>
|
|
90
|
-
</criteria-paged>
|
|
91
|
-
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
<modal :show.sync="show" v-ref:modal backdrop="false">
|
|
96
|
-
<header slot="modal-header" class="modal-header text-center">
|
|
97
|
-
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
98
|
-
<h4 class="modal-title"><p style="color: #c3325f">{{hiddenclick}}</p>{{opera}}</h4>
|
|
99
|
-
|
|
100
|
-
</header>
|
|
101
|
-
<article slot="modal-body">
|
|
102
|
-
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;text-align: center" v-if="!exportshow">
|
|
103
|
-
1.****************************<br/>
|
|
104
|
-
1.****************************<br/>
|
|
105
|
-
1.****************************<br/>
|
|
106
|
-
1.****************************<br/>
|
|
107
|
-
1.****************************<br/>
|
|
108
|
-
1.****************************<br/>
|
|
109
|
-
1.****************************<br/>
|
|
110
|
-
1.****************************<br/>
|
|
111
|
-
1.****************************<br/>
|
|
112
|
-
1.****************************<br/>
|
|
113
|
-
1.****************************<br/>
|
|
114
|
-
1.****************************<br/>
|
|
115
|
-
1.****************************<br/>
|
|
116
|
-
1.****************************<br/>
|
|
117
|
-
</div>
|
|
118
|
-
<div style="margin-top: 10px;height: 400px;width: 400px" v-if="exportshow">
|
|
119
|
-
<export-excel :data="condition"
|
|
120
|
-
:field="filename"
|
|
121
|
-
sqlurl="
|
|
122
|
-
:choose-col="true"></export-excel>
|
|
123
|
-
</div>
|
|
124
|
-
</article>
|
|
125
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
126
|
-
</footer>
|
|
127
|
-
</modal>
|
|
128
|
-
</div>
|
|
129
|
-
</template>
|
|
130
|
-
|
|
131
|
-
<script>
|
|
132
|
-
import * as Util from '../../../stores/Util'
|
|
133
|
-
import * as DataSql from '../../../stores/DataSql'
|
|
134
|
-
import {PagedList} from "vue-client";
|
|
135
|
-
|
|
136
|
-
export default {
|
|
137
|
-
name: "TelephoneAnaly",
|
|
138
|
-
title: "大屏分析",
|
|
139
|
-
data() {
|
|
140
|
-
return {
|
|
141
|
-
date: '',
|
|
142
|
-
timer: '',
|
|
143
|
-
model: { //时间参数
|
|
144
|
-
startDate: Util.toStandardDateString().substring(0, 7),
|
|
145
|
-
endDate: Util.toStandardDateString().substring(0, 7),
|
|
146
|
-
},
|
|
147
|
-
userid: this.$login.f.id,
|
|
148
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
149
|
-
selldata: [],
|
|
150
|
-
xc: '',
|
|
151
|
-
xc1: '',
|
|
152
|
-
xc2: '',
|
|
153
|
-
hiddenclick: '',
|
|
154
|
-
areaclick: '',
|
|
155
|
-
hiddendata: [],
|
|
156
|
-
hiddendata2: [],
|
|
157
|
-
model1: new PagedList(),
|
|
158
|
-
filialeNameStr: '',
|
|
159
|
-
filialeCodeStr: '',
|
|
160
|
-
show: false,
|
|
161
|
-
opera: '',
|
|
162
|
-
condition: {},
|
|
163
|
-
filename: {
|
|
164
|
-
f_userinfo_code: '用户编号',
|
|
165
|
-
f_user_name: '用户名称',
|
|
166
|
-
f_residential_area: '小区',
|
|
167
|
-
f_address: '用户地址',
|
|
168
|
-
f_item_name: '隐患类型',
|
|
169
|
-
},
|
|
170
|
-
templatename: '',
|
|
171
|
-
exportshow: false,
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
methods: {
|
|
175
|
-
setBar() {
|
|
176
|
-
this.xc = this.$echarts.init(document.getElementById('hidden1'))
|
|
177
|
-
|
|
178
|
-
var scale = 1
|
|
179
|
-
|
|
180
|
-
var lname = []
|
|
181
|
-
var maxdata = 0
|
|
182
|
-
var kdata = []
|
|
183
|
-
this.selldata.forEach(function (s) {
|
|
184
|
-
if (s.value > maxdata) {
|
|
185
|
-
maxdata = s.value
|
|
186
|
-
}
|
|
187
|
-
lname.push(s.name)
|
|
188
|
-
})
|
|
189
|
-
this.selldata.forEach(function () {
|
|
190
|
-
kdata.push(maxdata)
|
|
191
|
-
})
|
|
192
|
-
var maxindex = this.selldata.length - 1
|
|
193
|
-
var option1 = {
|
|
194
|
-
tooltip: {
|
|
195
|
-
trigger: 'axis',
|
|
196
|
-
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
197
|
-
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
198
|
-
},
|
|
199
|
-
formatter: function (params, ticket, callback) {
|
|
200
|
-
return params[0].marker + ' <span style="font-weight: normal">' + params[0].name + '</span> <span style="color:#e1e52a;font-weight: bolder">' + params[0].value + '</span>';
|
|
201
|
-
},
|
|
202
|
-
textStyle: {
|
|
203
|
-
fontSize: 16 * scale
|
|
204
|
-
},
|
|
205
|
-
show: true,
|
|
206
|
-
alwaysShowContent: true,
|
|
207
|
-
backgroundColor: '#01396d',
|
|
208
|
-
// borderColor :'rgba(13, 109, 180)',
|
|
209
|
-
borderWidth: 0,
|
|
210
|
-
hideDelay: 100,
|
|
211
|
-
triggerOn: 'mousemove',
|
|
212
|
-
padding: 10 * scale,
|
|
213
|
-
enterable: true,
|
|
214
|
-
position: function (point, params, dom, rect, size) {
|
|
215
|
-
//其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
|
|
216
|
-
var x = point[0]; //
|
|
217
|
-
var y = point[1];
|
|
218
|
-
var viewWidth = size.viewSize[0];
|
|
219
|
-
var viewHeight = size.viewSize[1];
|
|
220
|
-
var boxWidth = size.contentSize[0];
|
|
221
|
-
var boxHeight = size.contentSize[1];
|
|
222
|
-
var posX = 0; //x坐标位置
|
|
223
|
-
var posY = 0; //y坐标位置
|
|
224
|
-
if (x < boxWidth) { //左边放不开
|
|
225
|
-
posX = 5;
|
|
226
|
-
} else { //左边放的下
|
|
227
|
-
posX = x - boxWidth;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
if (y < boxHeight) { //上边放不开
|
|
231
|
-
posY = 5;
|
|
232
|
-
} else { //上边放得下
|
|
233
|
-
posY = y - boxHeight;
|
|
234
|
-
}
|
|
235
|
-
posX = posX - 20
|
|
236
|
-
return [posX, posY];
|
|
237
|
-
},
|
|
238
|
-
extraCssText: 'width: auto;height:auto;',
|
|
239
|
-
},
|
|
240
|
-
grid: {
|
|
241
|
-
left: '3%',
|
|
242
|
-
top: '4%',
|
|
243
|
-
bottom: '1%',
|
|
244
|
-
containLabel: true
|
|
245
|
-
},
|
|
246
|
-
xAxis: {
|
|
247
|
-
type: 'value',
|
|
248
|
-
scale: true,
|
|
249
|
-
position: 'bottom',
|
|
250
|
-
min: 0,
|
|
251
|
-
nameGap: 30,
|
|
252
|
-
splitLine: {
|
|
253
|
-
show: false
|
|
254
|
-
},
|
|
255
|
-
axisLine: {
|
|
256
|
-
show: true,
|
|
257
|
-
lineStyle: {
|
|
258
|
-
color: '#08738e'
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
axisTick: {
|
|
262
|
-
show: false
|
|
263
|
-
},
|
|
264
|
-
axisLabel: {
|
|
265
|
-
margin: 8,
|
|
266
|
-
textStyle: {
|
|
267
|
-
color: '#95bad7'
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
yAxis: {
|
|
272
|
-
type: 'category',
|
|
273
|
-
// name: 'TOP 20',
|
|
274
|
-
axisLine: {
|
|
275
|
-
show: true,
|
|
276
|
-
lineStyle: {
|
|
277
|
-
color: '#08738e'
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
axisTick: {
|
|
281
|
-
show: false,
|
|
282
|
-
lineStyle: {
|
|
283
|
-
color: '#ddd'
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
axisLabel: {
|
|
287
|
-
interval: 0,
|
|
288
|
-
textStyle: {
|
|
289
|
-
color: '#15dce2'
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
data: lname
|
|
293
|
-
},
|
|
294
|
-
dataZoom: [{
|
|
295
|
-
type: "inside",
|
|
296
|
-
startValue: maxindex - 5,
|
|
297
|
-
endValue: maxindex,
|
|
298
|
-
zoomLock: true,
|
|
299
|
-
throttle: 10,
|
|
300
|
-
orient: 'vertical',
|
|
301
|
-
}],
|
|
302
|
-
series: [
|
|
303
|
-
{
|
|
304
|
-
name: '',
|
|
305
|
-
type: 'bar',
|
|
306
|
-
barWidth: '30%',
|
|
307
|
-
itemStyle: {
|
|
308
|
-
barBorderRadius: [0, 16, 16, 0],
|
|
309
|
-
color: '#6fd9d0',
|
|
310
|
-
},
|
|
311
|
-
emphasis: {
|
|
312
|
-
itemStyle: {
|
|
313
|
-
color: '#ffff2c'
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
zlevel: 2,
|
|
317
|
-
data: this.selldata
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
type: 'bar',
|
|
321
|
-
barGap: '-100%',
|
|
322
|
-
barWidth: '30%',
|
|
323
|
-
itemStyle: {
|
|
324
|
-
normal: {
|
|
325
|
-
barBorderRadius: [0, 16, 16, 0],
|
|
326
|
-
color: '#2a374e'
|
|
327
|
-
},
|
|
328
|
-
},
|
|
329
|
-
labelLine: {
|
|
330
|
-
show: true,
|
|
331
|
-
},
|
|
332
|
-
zlevel: 0,
|
|
333
|
-
data: kdata
|
|
334
|
-
}
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
this.xc.setOption(option1)
|
|
339
|
-
var self = this
|
|
340
|
-
this.xc.on('click', function (params) {
|
|
341
|
-
console.log(params)
|
|
342
|
-
self.hiddenclick = params.name
|
|
343
|
-
|
|
344
|
-
})
|
|
345
|
-
},
|
|
346
|
-
setBar1() {
|
|
347
|
-
this.xc1 = this.$echarts.init(document.getElementById('hidden2'))
|
|
348
|
-
var scale = 1
|
|
349
|
-
var xAxisData = [];
|
|
350
|
-
var legendData = [this.hiddenclick];
|
|
351
|
-
var serieData = [];
|
|
352
|
-
var metaDate = []
|
|
353
|
-
|
|
354
|
-
this.hiddendata.forEach(function (s) {
|
|
355
|
-
|
|
356
|
-
xAxisData.push(s.name.substring(2, 7))
|
|
357
|
-
metaDate.push(s.value)
|
|
358
|
-
})
|
|
359
|
-
|
|
360
|
-
var yname = ' 月份'
|
|
361
|
-
for (var v = 0; v < legendData.length; v++) {
|
|
362
|
-
var serie = {
|
|
363
|
-
name: legendData[v],
|
|
364
|
-
type: 'line',
|
|
365
|
-
symbol: "circle",
|
|
366
|
-
symbolSize: 5 * scale,
|
|
367
|
-
color: '#a39241',
|
|
368
|
-
lineStyle: {
|
|
369
|
-
width: 1,
|
|
370
|
-
color: '#a39241'
|
|
371
|
-
},
|
|
372
|
-
label: {
|
|
373
|
-
show: true,
|
|
374
|
-
position: 'top',
|
|
375
|
-
textStyle: { //数值样式
|
|
376
|
-
color: '#fefefe',
|
|
377
|
-
fontSize: 14 * scale
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
areaStyle: {
|
|
381
|
-
color: {
|
|
382
|
-
type: 'linear',
|
|
383
|
-
x: 0,
|
|
384
|
-
y: 0,
|
|
385
|
-
x2: 0,
|
|
386
|
-
y2: 1,
|
|
387
|
-
colorStops: [{
|
|
388
|
-
offset: 1,
|
|
389
|
-
color: '#031a2b' // 0% 处的颜色
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
offset: 0.5,
|
|
393
|
-
color: '#273531' // 50% 处的颜色
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
offset: 0,
|
|
397
|
-
color: '#444c3e' // 100% 处的颜色
|
|
398
|
-
}],
|
|
399
|
-
globalCoord: false // 缺省为 false
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
|
|
403
|
-
data: metaDate
|
|
404
|
-
}
|
|
405
|
-
serieData.push(serie)
|
|
406
|
-
}
|
|
407
|
-
var colors = ["#036BC8", "#4A95FF", "#5EBEFC", "#2EF7F3", "#FFFFFF"]
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
this.xc1.setOption({
|
|
411
|
-
title: {text: '', textAlign: 'left', textStyle: {color: "#fff", fontSize: "16*scale", fontWeight: "normal"}},
|
|
412
|
-
|
|
413
|
-
color: colors,
|
|
414
|
-
grid: {left: '2%', top: "15%", bottom: "1%", right: "8%", containLabel: true},
|
|
415
|
-
tooltip: {
|
|
416
|
-
formatter: function (params) {
|
|
417
|
-
if (params.data == '') {
|
|
418
|
-
return ''
|
|
419
|
-
}
|
|
420
|
-
var result = ''
|
|
421
|
-
params.forEach(function (item) {
|
|
422
|
-
result += item.seriesName + " : " + item.value + "</br>";
|
|
423
|
-
});
|
|
424
|
-
return params[0].axisValue + '月<br/>' + result
|
|
425
|
-
},
|
|
426
|
-
axisPointer: {type: 'line', lineStyle: {width: 0}},
|
|
427
|
-
trigger: 'axis',
|
|
428
|
-
extraCssText: 'width: auto;height: auto;'
|
|
429
|
-
},
|
|
430
|
-
xAxis: [
|
|
431
|
-
{
|
|
432
|
-
name: yname,
|
|
433
|
-
type: 'category',
|
|
434
|
-
nameTextStyle: {
|
|
435
|
-
fontSize: 12 * scale,
|
|
436
|
-
color: '#15dce2',
|
|
437
|
-
padding: [40 * scale, 0, 0, -40 * scale],
|
|
438
|
-
},
|
|
439
|
-
boundaryGap: true,
|
|
440
|
-
axisLine: {show: true, lineStyle: {color: '#04669e', width: 1}},
|
|
441
|
-
axisLabel: {interval: 0, textStyle: {color: '#ffffff', fontSize: 14 * scale}},
|
|
442
|
-
axisTick: {show: false},
|
|
443
|
-
data: xAxisData,
|
|
444
|
-
},
|
|
445
|
-
],
|
|
446
|
-
yAxis: [
|
|
447
|
-
{
|
|
448
|
-
name: '隐患数量',
|
|
449
|
-
nameTextStyle: {
|
|
450
|
-
fontSize: 12 * scale,
|
|
451
|
-
padding: [-12 * scale, 35 * scale, 0, 0],
|
|
452
|
-
},
|
|
453
|
-
axisTick: {show: false},
|
|
454
|
-
splitLine: {show: true, lineStyle: {type: 'dashed', color: '#004371'}},
|
|
455
|
-
axisLabel: {textStyle: {color: '#15dce2', fontSize: 12 * scale}},
|
|
456
|
-
axisLine: {show: false, lineStyle: {color: '#15dce2', fontSize: 12 * scale}},
|
|
457
|
-
},
|
|
458
|
-
],
|
|
459
|
-
series: serieData
|
|
460
|
-
})
|
|
461
|
-
},
|
|
462
|
-
setBar2() {
|
|
463
|
-
this.xc2 = this.$echarts.init(document.getElementById('hidden3'))
|
|
464
|
-
var scale = 0.8
|
|
465
|
-
let echartData = this.hiddendata2
|
|
466
|
-
|
|
467
|
-
let legendname = []
|
|
468
|
-
echartData.forEach(function (s) {
|
|
469
|
-
legendname.push(s.name)
|
|
470
|
-
})
|
|
471
|
-
var rich = {
|
|
472
|
-
white: {
|
|
473
|
-
color: "#fff",
|
|
474
|
-
align: 'center',
|
|
475
|
-
fontSize: 14 * scale,
|
|
476
|
-
|
|
477
|
-
padding: [8 * scale, 8 * scale]
|
|
478
|
-
},
|
|
479
|
-
blue: {
|
|
480
|
-
color: '#e1e52a',
|
|
481
|
-
fontSize: 16 * scale,
|
|
482
|
-
align: 'center',
|
|
483
|
-
padding: [8 * scale, 8 * scale]
|
|
484
|
-
},
|
|
485
|
-
hr: {
|
|
486
|
-
borderColor: '#64d8d4',
|
|
487
|
-
width: '100%',
|
|
488
|
-
borderWidth: 0.5,
|
|
489
|
-
height: 0,
|
|
490
|
-
},
|
|
491
|
-
}
|
|
492
|
-
var total = 0; //用户总和
|
|
493
|
-
echartData.forEach(function (value) {
|
|
494
|
-
total += value.value;
|
|
495
|
-
});
|
|
496
|
-
this.xc2.setOption({
|
|
497
|
-
title: [],
|
|
498
|
-
legend: {
|
|
499
|
-
show: false
|
|
500
|
-
},
|
|
501
|
-
grid: {
|
|
502
|
-
left: '10%',
|
|
503
|
-
right: '10%',
|
|
504
|
-
top: '0',
|
|
505
|
-
bottom: '0'
|
|
506
|
-
},
|
|
507
|
-
|
|
508
|
-
series: [
|
|
509
|
-
{
|
|
510
|
-
name: 'Line 1',
|
|
511
|
-
type: 'pie',
|
|
512
|
-
animation: false,
|
|
513
|
-
clockWise: false,
|
|
514
|
-
radius: ['21%', '22%'],
|
|
515
|
-
center: ['50%', '50%'],
|
|
516
|
-
itemStyle: {
|
|
517
|
-
normal: {
|
|
518
|
-
label: {
|
|
519
|
-
show: false
|
|
520
|
-
},
|
|
521
|
-
labelLine: {
|
|
522
|
-
show: false
|
|
523
|
-
},
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
hoverAnimation: false,
|
|
527
|
-
tooltip: {
|
|
528
|
-
show: false
|
|
529
|
-
},
|
|
530
|
-
data: [{
|
|
531
|
-
value: 100,
|
|
532
|
-
name: '02',
|
|
533
|
-
itemStyle: {
|
|
534
|
-
normal: {
|
|
535
|
-
color: '#29b7ff',//未完成的圆环的颜色
|
|
536
|
-
label: {
|
|
537
|
-
show: false
|
|
538
|
-
},
|
|
539
|
-
labelLine: {
|
|
540
|
-
show: false
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}]
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
name: '总用户数',
|
|
548
|
-
type: 'pie',
|
|
549
|
-
radius: ['26%', '40%'],
|
|
550
|
-
center: ['50%', '50%'],
|
|
551
|
-
minAngle: 15,//最小角度
|
|
552
|
-
startAngle: 300, //起始角度
|
|
553
|
-
hoverAnimation: false,
|
|
554
|
-
color: ['#6fd9d0', '#ede61f', '#e5e280', '#6e93e0', '#c7e06e', '#e68d8d'],
|
|
555
|
-
label: {
|
|
556
|
-
normal: {
|
|
557
|
-
borderWidth: 1,
|
|
558
|
-
borderRadius: 4,
|
|
559
|
-
backgroundColor: '#004b5c',
|
|
560
|
-
borderColor: '#64d8d4',
|
|
561
|
-
formatter: function (params, ticket, callback) {
|
|
562
|
-
var total = 0; //用户总数量
|
|
563
|
-
var percent = 0;
|
|
564
|
-
echartData.forEach(function (value, index, array) {
|
|
565
|
-
total += value.value;
|
|
566
|
-
});
|
|
567
|
-
percent = ((params.value / total) * 100).toFixed(1);
|
|
568
|
-
return '{white|' + params.name + '}\n{hr|}\n{blue| ' + params.value + '}{blue| ' + percent + '%}';
|
|
569
|
-
},
|
|
570
|
-
rich: rich,
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
labelLine: {
|
|
574
|
-
normal: {
|
|
575
|
-
length: 10,
|
|
576
|
-
length2: 12,
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
data: echartData
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
name: 'Line 2',
|
|
583
|
-
type: 'pie',
|
|
584
|
-
animation: false,
|
|
585
|
-
clockWise: false,
|
|
586
|
-
radius: ['44%', '45%'],
|
|
587
|
-
center: ['50%', '50%'],
|
|
588
|
-
itemStyle: {
|
|
589
|
-
normal: {
|
|
590
|
-
label: {
|
|
591
|
-
show: false
|
|
592
|
-
},
|
|
593
|
-
labelLine: {
|
|
594
|
-
show: false
|
|
595
|
-
},
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
hoverAnimation: false,
|
|
599
|
-
tooltip: {
|
|
600
|
-
show: false
|
|
601
|
-
},
|
|
602
|
-
data: [{
|
|
603
|
-
value: 100,
|
|
604
|
-
name: '02',
|
|
605
|
-
itemStyle: {
|
|
606
|
-
normal: {
|
|
607
|
-
color: '#29b7ff',//未完成的圆环的颜色
|
|
608
|
-
label: {
|
|
609
|
-
show: false
|
|
610
|
-
},
|
|
611
|
-
labelLine: {
|
|
612
|
-
show: false
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
]
|
|
618
|
-
}
|
|
619
|
-
]
|
|
620
|
-
}, true)
|
|
621
|
-
|
|
622
|
-
var self = this
|
|
623
|
-
this.xc2.on('click', function (params) {
|
|
624
|
-
console.log(params)
|
|
625
|
-
self.areaclick = params.name
|
|
626
|
-
|
|
627
|
-
})
|
|
628
|
-
},
|
|
629
|
-
amplification() {
|
|
630
|
-
this.show = true
|
|
631
|
-
this.opera = '解决方案'
|
|
632
|
-
this.exportshow = false
|
|
633
|
-
},
|
|
634
|
-
exportss() {
|
|
635
|
-
this.show = true
|
|
636
|
-
this.opera = '导出'
|
|
637
|
-
this.exportshow = true
|
|
638
|
-
this.templatename = this.hiddenclick + '隐患用户导出'
|
|
639
|
-
},
|
|
640
|
-
close() {
|
|
641
|
-
this.show = false
|
|
642
|
-
},
|
|
643
|
-
// 获取组织结构
|
|
644
|
-
getRes(obj) {
|
|
645
|
-
this.filialeNameStr = obj.res
|
|
646
|
-
this.filialeCodeStr = obj.resids
|
|
647
|
-
},
|
|
648
|
-
refdate() {
|
|
649
|
-
var self = this
|
|
650
|
-
setInterval(function () {
|
|
651
|
-
var ss = Util.toStandardTimeString()
|
|
652
|
-
self.date = ss.toString().replace('-/g', '/')
|
|
653
|
-
}, 1000)
|
|
654
|
-
},
|
|
655
|
-
init() {
|
|
656
|
-
var condition = {
|
|
657
|
-
startDate: this.model.startDate,
|
|
658
|
-
endDate: this.model.endDate,
|
|
659
|
-
f_filialeids: ''
|
|
660
|
-
}
|
|
661
|
-
DataSql.getData1(this, 'getHidden', condition, 'selldata')
|
|
662
|
-
},
|
|
663
|
-
getHidden() {
|
|
664
|
-
var condition = {
|
|
665
|
-
startDate: this.model.startDate,
|
|
666
|
-
endDate: this.model.endDate,
|
|
667
|
-
f_filialeids: '',
|
|
668
|
-
itemname: this.hiddenclick
|
|
669
|
-
}
|
|
670
|
-
DataSql.getData1(this, 'getHidden1', condition, 'hiddendata')
|
|
671
|
-
DataSql.getData1(this, 'getHidden2', condition, 'hiddendata2')
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
watch: {
|
|
675
|
-
'model': {
|
|
676
|
-
deep: true,
|
|
677
|
-
handler() {
|
|
678
|
-
console.log('ces')
|
|
679
|
-
this.init()
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
'selldata'() {
|
|
683
|
-
if (this.selldata.length == 0) {
|
|
684
|
-
this.$showMessage('数据为空')
|
|
685
|
-
return
|
|
686
|
-
}
|
|
687
|
-
console.log(this.selldata, '测试')
|
|
688
|
-
this.setBar()
|
|
689
|
-
this.hiddenclick = this.selldata[this.selldata.length - 1].name
|
|
690
|
-
},
|
|
691
|
-
'hiddenclick'() {
|
|
692
|
-
this.getHidden()
|
|
693
|
-
},
|
|
694
|
-
'areaclick'() {
|
|
695
|
-
var condition = {
|
|
696
|
-
startDate: "\"" + this.model.startDate + "\"",
|
|
697
|
-
endDate: "\"" + this.model.endDate + "\"",
|
|
698
|
-
f_filialeids: "\"\"",
|
|
699
|
-
itemname: "\"" + this.hiddenclick + "\""
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
condition.condition = "\" and 1=1 \""
|
|
703
|
-
if (this.areaclick != '') {
|
|
704
|
-
condition.condition = "\" and b.f_residential_area =\'" + this.areaclick + " \'\""
|
|
705
|
-
}
|
|
706
|
-
this.condition = condition
|
|
707
|
-
this.model1 = new PagedList('/
|
|
708
|
-
this.model1.search()
|
|
709
|
-
},
|
|
710
|
-
'hiddendata'() {
|
|
711
|
-
console.log(this.hiddendata, '测试')
|
|
712
|
-
this.setBar1()
|
|
713
|
-
},
|
|
714
|
-
'hiddendata2'() {
|
|
715
|
-
console.log(this.hiddendata2, '测试')
|
|
716
|
-
this.setBar2()
|
|
717
|
-
|
|
718
|
-
var condition = {
|
|
719
|
-
startDate: "\"" + this.model.startDate + "\"",
|
|
720
|
-
endDate: "\"" + this.model.endDate + "\"",
|
|
721
|
-
f_filialeids: "\"\"",
|
|
722
|
-
itemname: "\"" + this.hiddenclick + "\""
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
condition.condition = "\" and 1=1 \""
|
|
726
|
-
|
|
727
|
-
this.condition = condition
|
|
728
|
-
this.model1 = new PagedList('/
|
|
729
|
-
this.model1.search()
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
ready() {
|
|
733
|
-
this.refdate()
|
|
734
|
-
this.model.startDate = '2001-01'
|
|
735
|
-
this.init()
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
}
|
|
739
|
-
</script>
|
|
740
|
-
|
|
741
|
-
<style>
|
|
742
|
-
#childrendatagridstyle table tr:hover {
|
|
743
|
-
background-color: #013e48;
|
|
744
|
-
color: #ffffff;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
#childrendatagridstyle table tr:hover {
|
|
748
|
-
background-color: #013e48;
|
|
749
|
-
color: #ffffff;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
#childrendatagridstyle table .customizestyle {
|
|
753
|
-
background-color: #013e48 !important;
|
|
754
|
-
color: #ffffff !important;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
#childrencriteriastyle nav ul {
|
|
758
|
-
background-color: #013e48 !important;
|
|
759
|
-
color: #02fbe6 !important;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
#childrencriteriastyle nav ul li {
|
|
763
|
-
color: #02fbe6 !important;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
#childrencriteriastyle nav ul input {
|
|
767
|
-
margin: 0% 1%;
|
|
768
|
-
background-color: #0fa397 !important;
|
|
769
|
-
color: #ffffff !important;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
#childrencriteriastyle nav ul a {
|
|
773
|
-
border: #02fbe6 1px solid;
|
|
774
|
-
border-radius: 4px;
|
|
775
|
-
color: #02fbe6 !important;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
#childrencriteriastyle nav ul a:visited {
|
|
779
|
-
background-color: #0fa397 !important;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
#childrencriteriastyle nav ul a:hover {
|
|
783
|
-
border: 1px solid #65d2bc;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
.childrendatestyle input {
|
|
787
|
-
background-color: rgba(1, 207, 242, 0.01);
|
|
788
|
-
border: solid 1px #6fd9d0;
|
|
789
|
-
color: white;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.childrendatestyle .datepicker-popup {
|
|
793
|
-
background-color: #023740 !important;
|
|
794
|
-
border: solid 1px #6fd9d0;
|
|
795
|
-
color: white !important;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
.childrendatestyle .datepicker-monthRange span:hover,
|
|
799
|
-
.datepicker-ctrl p:hover,
|
|
800
|
-
.datepicker-ctrl i:hover,
|
|
801
|
-
.datepicker-dateRange span:hover,
|
|
802
|
-
.datepicker-dateRange-item-hover {
|
|
803
|
-
background-color: #00f3ff !important;
|
|
804
|
-
/*border: solid 1px #6fd9d0;*/
|
|
805
|
-
color: white !important;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.childrenselectstyle button {
|
|
809
|
-
background-color: #013e48 !important;
|
|
810
|
-
border: solid 1px #6fd9d0 !important;
|
|
811
|
-
color: white !important;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
.childrenselectstyle ul {
|
|
815
|
-
background-color: #013e48 !important;
|
|
816
|
-
border: solid 1px #6fd9d0 !important;
|
|
817
|
-
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
.childrenselectstyle div {
|
|
821
|
-
background-color: #013e48 !important;
|
|
822
|
-
color: white !important;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.childrenselectstyle li a {
|
|
826
|
-
color: white !important;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
.childrenselectstyle li a:hover {
|
|
830
|
-
background-color: #05525f;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.childrenorgstyle > button {
|
|
834
|
-
background-color: #013e48 !important;
|
|
835
|
-
color: #fff !important;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
/*.childrenorgstyle #vc-chooser .list-group {*/
|
|
839
|
-
/* background-color: #6fd9d0 !important;*/
|
|
840
|
-
/* color: #fff !important;*/
|
|
841
|
-
/*}*/
|
|
842
|
-
|
|
843
|
-
/*.childrenorgstyle #vc-chooser button {*/
|
|
844
|
-
/* border: solid 1px #6fd9d0;*/
|
|
845
|
-
/* background-color: rgba(1, 207, 242, 0.01) !important;*/
|
|
846
|
-
/* color: #fff !important;*/
|
|
847
|
-
/*}*/
|
|
848
|
-
</style>
|
|
849
|
-
<style scoped>
|
|
850
|
-
.div-1 {
|
|
851
|
-
height: 85%;
|
|
852
|
-
width: 100%;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
.title-2 {
|
|
856
|
-
margin-top: 3%;
|
|
857
|
-
padding: 0% 2%;
|
|
858
|
-
font-size: 1.4em;
|
|
859
|
-
color: #fff;
|
|
860
|
-
height: 10%;
|
|
861
|
-
width: 100%;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
.title-21 {
|
|
865
|
-
margin-top: -6%;
|
|
866
|
-
height: 8%;
|
|
867
|
-
width: auto;
|
|
868
|
-
float: right;
|
|
869
|
-
margin-right: 10%;
|
|
870
|
-
font-size: 0.8em;
|
|
871
|
-
color: #333333;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
.title-22 {
|
|
875
|
-
margin-top: -3%;
|
|
876
|
-
padding: 0% 1%;
|
|
877
|
-
height: 10%;
|
|
878
|
-
float: right;
|
|
879
|
-
font-size: 0.65em;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
.title-23 {
|
|
883
|
-
margin-top: -1.6%;
|
|
884
|
-
padding: 0% 1%;
|
|
885
|
-
height: 9%;
|
|
886
|
-
float: right;
|
|
887
|
-
font-size: 0.65em;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
.thstyle {
|
|
891
|
-
background-color: #05525f;
|
|
892
|
-
|
|
893
|
-
color: #06ecd8;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
.td-1 {
|
|
897
|
-
border: solid 1px #6fd9d0;
|
|
898
|
-
color: #ffffff;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
.tr-1:hover {
|
|
902
|
-
background-color: #013e48;
|
|
903
|
-
color: #ffffff;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
.div-2 {
|
|
907
|
-
margin-top: -3%;
|
|
908
|
-
color: #40cfc3;
|
|
909
|
-
font-size: 0.65em;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
.div-3 {
|
|
913
|
-
margin-top: -1.4%;
|
|
914
|
-
color: #40cfc3;
|
|
915
|
-
font-size: 0.65em;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
img {
|
|
919
|
-
width: 20px;
|
|
920
|
-
margin-right: 3px;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
.title-2 span {
|
|
924
|
-
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
.execlshow {
|
|
928
|
-
margin-top: -1%;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
/*.criteria-paged .pager */
|
|
932
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="frame">
|
|
3
|
+
<div class="top">
|
|
4
|
+
<img src="../../image/组6.png"/>
|
|
5
|
+
<span>{{date}}</span>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="main">
|
|
8
|
+
<div class="row" style="height: auto;color: #9effff;">
|
|
9
|
+
<div class="col-sm-3" style="width: 22%;padding: 0 0 0 20px;z-index: 99999999;">
|
|
10
|
+
<label for="startDate">开始日期:</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" class="childrendatestyle"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:disabled-days-of-Week="[]"
|
|
15
|
+
:format="'yyyy-MM'"
|
|
16
|
+
:show-reset-button="reset">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-3" style="width: 22%">
|
|
20
|
+
<label for="endDate">结束日期:</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" class="childrendatestyle"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:disabled-days-of-Week="[]"
|
|
25
|
+
:format="'yyyy-MM'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-3" style="width: 22%">
|
|
30
|
+
<label class="control-label">组织机构</label>
|
|
31
|
+
<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"
|
|
32
|
+
class="childrenorgstyle"></right-tree>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="main-1">
|
|
36
|
+
<div class="bar-1" id="hidden1"></div>
|
|
37
|
+
<div class="bar-2" id="hidden2"></div>
|
|
38
|
+
<div class="bar-3">
|
|
39
|
+
<label style="text-align: center"><p style="color: #c3325f">{{hiddenclick}}</p>解决方案</label>
|
|
40
|
+
<div style="height: 77%;overflow-y: auto;color: white;text-align: center">
|
|
41
|
+
<p @click="amplification" style="text-align: center">
|
|
42
|
+
1.****************************<br/>
|
|
43
|
+
1.****************************<br/>
|
|
44
|
+
1.****************************<br/>
|
|
45
|
+
1.****************************<br/>
|
|
46
|
+
1.****************************<br/>
|
|
47
|
+
1.****************************<br/>
|
|
48
|
+
1.****************************<br/>
|
|
49
|
+
1.****************************<br/>
|
|
50
|
+
1.****************************<br/>
|
|
51
|
+
1.****************************<br/>
|
|
52
|
+
1.****************************<br/>
|
|
53
|
+
1.****************************<br/>
|
|
54
|
+
1.****************************<br/>
|
|
55
|
+
1.****************************<br/>
|
|
56
|
+
</p>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div class="main-2">
|
|
62
|
+
<div class="bar-4" id="hidden3"></div>
|
|
63
|
+
<div class="bar-5">
|
|
64
|
+
<criteria-paged :model="model1" v-ref:paged style="overflow-x: auto; overflow-y: auto;"
|
|
65
|
+
id="childrencriteriastyle">
|
|
66
|
+
<data-grid :model="model" partial='list' v-ref:grid :classname="'table'" id="childrendatagridstyle"
|
|
67
|
+
:customize="false">
|
|
68
|
+
<template partial='head'>
|
|
69
|
+
<!--<th>-->
|
|
70
|
+
|
|
71
|
+
<!--<h4 align="center">详情表</h4>-->
|
|
72
|
+
<!--</th>-->
|
|
73
|
+
<th class="thstyle" @click="$parent.$parent.$parent.exportss" style="color: #c3325f">用户编号</th>
|
|
74
|
+
<th class="thstyle">用户名称</th>
|
|
75
|
+
<th class="thstyle">小区</th>
|
|
76
|
+
<th class="thstyle">用户地址</th>
|
|
77
|
+
<th class="thstyle">隐患类型</th>
|
|
78
|
+
</template>
|
|
79
|
+
<template partial='body'>
|
|
80
|
+
<tr class="tr-1">
|
|
81
|
+
<td class="td-1" style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
82
|
+
<td class="td-1" style="text-align: center;">{{row.f_user_name}}</td>
|
|
83
|
+
<td class="td-1" style="text-align: center;">{{row.f_residential_area}}</td>
|
|
84
|
+
<td class="td-1" style="text-align: center;">{{row.f_address}}</td>
|
|
85
|
+
<td class="td-1" style="text-align: center;">{{row.f_item_name}}</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</template>
|
|
88
|
+
<!-- <template partial='foot'></template>-->
|
|
89
|
+
</data-grid>
|
|
90
|
+
</criteria-paged>
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<modal :show.sync="show" v-ref:modal backdrop="false">
|
|
96
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
97
|
+
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
98
|
+
<h4 class="modal-title"><p style="color: #c3325f">{{hiddenclick}}</p>{{opera}}</h4>
|
|
99
|
+
|
|
100
|
+
</header>
|
|
101
|
+
<article slot="modal-body">
|
|
102
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;text-align: center" v-if="!exportshow">
|
|
103
|
+
1.****************************<br/>
|
|
104
|
+
1.****************************<br/>
|
|
105
|
+
1.****************************<br/>
|
|
106
|
+
1.****************************<br/>
|
|
107
|
+
1.****************************<br/>
|
|
108
|
+
1.****************************<br/>
|
|
109
|
+
1.****************************<br/>
|
|
110
|
+
1.****************************<br/>
|
|
111
|
+
1.****************************<br/>
|
|
112
|
+
1.****************************<br/>
|
|
113
|
+
1.****************************<br/>
|
|
114
|
+
1.****************************<br/>
|
|
115
|
+
1.****************************<br/>
|
|
116
|
+
1.****************************<br/>
|
|
117
|
+
</div>
|
|
118
|
+
<div style="margin-top: 10px;height: 400px;width: 400px" v-if="exportshow">
|
|
119
|
+
<export-excel :data="condition"
|
|
120
|
+
:field="filename"
|
|
121
|
+
sqlurl="api/revenue/logic/exportfile" sql-name="getHidden3" :template-name='templatename'
|
|
122
|
+
:choose-col="true"></export-excel>
|
|
123
|
+
</div>
|
|
124
|
+
</article>
|
|
125
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
126
|
+
</footer>
|
|
127
|
+
</modal>
|
|
128
|
+
</div>
|
|
129
|
+
</template>
|
|
130
|
+
|
|
131
|
+
<script>
|
|
132
|
+
import * as Util from '../../../stores/Util'
|
|
133
|
+
import * as DataSql from '../../../stores/DataSql'
|
|
134
|
+
import {PagedList} from "vue-client";
|
|
135
|
+
|
|
136
|
+
export default {
|
|
137
|
+
name: "TelephoneAnaly",
|
|
138
|
+
title: "大屏分析",
|
|
139
|
+
data() {
|
|
140
|
+
return {
|
|
141
|
+
date: '',
|
|
142
|
+
timer: '',
|
|
143
|
+
model: { //时间参数
|
|
144
|
+
startDate: Util.toStandardDateString().substring(0, 7),
|
|
145
|
+
endDate: Util.toStandardDateString().substring(0, 7),
|
|
146
|
+
},
|
|
147
|
+
userid: this.$login.f.id,
|
|
148
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
149
|
+
selldata: [],
|
|
150
|
+
xc: '',
|
|
151
|
+
xc1: '',
|
|
152
|
+
xc2: '',
|
|
153
|
+
hiddenclick: '',
|
|
154
|
+
areaclick: '',
|
|
155
|
+
hiddendata: [],
|
|
156
|
+
hiddendata2: [],
|
|
157
|
+
model1: new PagedList(),
|
|
158
|
+
filialeNameStr: '',
|
|
159
|
+
filialeCodeStr: '',
|
|
160
|
+
show: false,
|
|
161
|
+
opera: '',
|
|
162
|
+
condition: {},
|
|
163
|
+
filename: {
|
|
164
|
+
f_userinfo_code: '用户编号',
|
|
165
|
+
f_user_name: '用户名称',
|
|
166
|
+
f_residential_area: '小区',
|
|
167
|
+
f_address: '用户地址',
|
|
168
|
+
f_item_name: '隐患类型',
|
|
169
|
+
},
|
|
170
|
+
templatename: '',
|
|
171
|
+
exportshow: false,
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
methods: {
|
|
175
|
+
setBar() {
|
|
176
|
+
this.xc = this.$echarts.init(document.getElementById('hidden1'))
|
|
177
|
+
|
|
178
|
+
var scale = 1
|
|
179
|
+
|
|
180
|
+
var lname = []
|
|
181
|
+
var maxdata = 0
|
|
182
|
+
var kdata = []
|
|
183
|
+
this.selldata.forEach(function (s) {
|
|
184
|
+
if (s.value > maxdata) {
|
|
185
|
+
maxdata = s.value
|
|
186
|
+
}
|
|
187
|
+
lname.push(s.name)
|
|
188
|
+
})
|
|
189
|
+
this.selldata.forEach(function () {
|
|
190
|
+
kdata.push(maxdata)
|
|
191
|
+
})
|
|
192
|
+
var maxindex = this.selldata.length - 1
|
|
193
|
+
var option1 = {
|
|
194
|
+
tooltip: {
|
|
195
|
+
trigger: 'axis',
|
|
196
|
+
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
197
|
+
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
198
|
+
},
|
|
199
|
+
formatter: function (params, ticket, callback) {
|
|
200
|
+
return params[0].marker + ' <span style="font-weight: normal">' + params[0].name + '</span> <span style="color:#e1e52a;font-weight: bolder">' + params[0].value + '</span>';
|
|
201
|
+
},
|
|
202
|
+
textStyle: {
|
|
203
|
+
fontSize: 16 * scale
|
|
204
|
+
},
|
|
205
|
+
show: true,
|
|
206
|
+
alwaysShowContent: true,
|
|
207
|
+
backgroundColor: '#01396d',
|
|
208
|
+
// borderColor :'rgba(13, 109, 180)',
|
|
209
|
+
borderWidth: 0,
|
|
210
|
+
hideDelay: 100,
|
|
211
|
+
triggerOn: 'mousemove',
|
|
212
|
+
padding: 10 * scale,
|
|
213
|
+
enterable: true,
|
|
214
|
+
position: function (point, params, dom, rect, size) {
|
|
215
|
+
//其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
|
|
216
|
+
var x = point[0]; //
|
|
217
|
+
var y = point[1];
|
|
218
|
+
var viewWidth = size.viewSize[0];
|
|
219
|
+
var viewHeight = size.viewSize[1];
|
|
220
|
+
var boxWidth = size.contentSize[0];
|
|
221
|
+
var boxHeight = size.contentSize[1];
|
|
222
|
+
var posX = 0; //x坐标位置
|
|
223
|
+
var posY = 0; //y坐标位置
|
|
224
|
+
if (x < boxWidth) { //左边放不开
|
|
225
|
+
posX = 5;
|
|
226
|
+
} else { //左边放的下
|
|
227
|
+
posX = x - boxWidth;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (y < boxHeight) { //上边放不开
|
|
231
|
+
posY = 5;
|
|
232
|
+
} else { //上边放得下
|
|
233
|
+
posY = y - boxHeight;
|
|
234
|
+
}
|
|
235
|
+
posX = posX - 20
|
|
236
|
+
return [posX, posY];
|
|
237
|
+
},
|
|
238
|
+
extraCssText: 'width: auto;height:auto;',
|
|
239
|
+
},
|
|
240
|
+
grid: {
|
|
241
|
+
left: '3%',
|
|
242
|
+
top: '4%',
|
|
243
|
+
bottom: '1%',
|
|
244
|
+
containLabel: true
|
|
245
|
+
},
|
|
246
|
+
xAxis: {
|
|
247
|
+
type: 'value',
|
|
248
|
+
scale: true,
|
|
249
|
+
position: 'bottom',
|
|
250
|
+
min: 0,
|
|
251
|
+
nameGap: 30,
|
|
252
|
+
splitLine: {
|
|
253
|
+
show: false
|
|
254
|
+
},
|
|
255
|
+
axisLine: {
|
|
256
|
+
show: true,
|
|
257
|
+
lineStyle: {
|
|
258
|
+
color: '#08738e'
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
axisTick: {
|
|
262
|
+
show: false
|
|
263
|
+
},
|
|
264
|
+
axisLabel: {
|
|
265
|
+
margin: 8,
|
|
266
|
+
textStyle: {
|
|
267
|
+
color: '#95bad7'
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
yAxis: {
|
|
272
|
+
type: 'category',
|
|
273
|
+
// name: 'TOP 20',
|
|
274
|
+
axisLine: {
|
|
275
|
+
show: true,
|
|
276
|
+
lineStyle: {
|
|
277
|
+
color: '#08738e'
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
axisTick: {
|
|
281
|
+
show: false,
|
|
282
|
+
lineStyle: {
|
|
283
|
+
color: '#ddd'
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
axisLabel: {
|
|
287
|
+
interval: 0,
|
|
288
|
+
textStyle: {
|
|
289
|
+
color: '#15dce2'
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
data: lname
|
|
293
|
+
},
|
|
294
|
+
dataZoom: [{
|
|
295
|
+
type: "inside",
|
|
296
|
+
startValue: maxindex - 5,
|
|
297
|
+
endValue: maxindex,
|
|
298
|
+
zoomLock: true,
|
|
299
|
+
throttle: 10,
|
|
300
|
+
orient: 'vertical',
|
|
301
|
+
}],
|
|
302
|
+
series: [
|
|
303
|
+
{
|
|
304
|
+
name: '',
|
|
305
|
+
type: 'bar',
|
|
306
|
+
barWidth: '30%',
|
|
307
|
+
itemStyle: {
|
|
308
|
+
barBorderRadius: [0, 16, 16, 0],
|
|
309
|
+
color: '#6fd9d0',
|
|
310
|
+
},
|
|
311
|
+
emphasis: {
|
|
312
|
+
itemStyle: {
|
|
313
|
+
color: '#ffff2c'
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
zlevel: 2,
|
|
317
|
+
data: this.selldata
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
type: 'bar',
|
|
321
|
+
barGap: '-100%',
|
|
322
|
+
barWidth: '30%',
|
|
323
|
+
itemStyle: {
|
|
324
|
+
normal: {
|
|
325
|
+
barBorderRadius: [0, 16, 16, 0],
|
|
326
|
+
color: '#2a374e'
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
labelLine: {
|
|
330
|
+
show: true,
|
|
331
|
+
},
|
|
332
|
+
zlevel: 0,
|
|
333
|
+
data: kdata
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
this.xc.setOption(option1)
|
|
339
|
+
var self = this
|
|
340
|
+
this.xc.on('click', function (params) {
|
|
341
|
+
console.log(params)
|
|
342
|
+
self.hiddenclick = params.name
|
|
343
|
+
|
|
344
|
+
})
|
|
345
|
+
},
|
|
346
|
+
setBar1() {
|
|
347
|
+
this.xc1 = this.$echarts.init(document.getElementById('hidden2'))
|
|
348
|
+
var scale = 1
|
|
349
|
+
var xAxisData = [];
|
|
350
|
+
var legendData = [this.hiddenclick];
|
|
351
|
+
var serieData = [];
|
|
352
|
+
var metaDate = []
|
|
353
|
+
|
|
354
|
+
this.hiddendata.forEach(function (s) {
|
|
355
|
+
|
|
356
|
+
xAxisData.push(s.name.substring(2, 7))
|
|
357
|
+
metaDate.push(s.value)
|
|
358
|
+
})
|
|
359
|
+
|
|
360
|
+
var yname = ' 月份'
|
|
361
|
+
for (var v = 0; v < legendData.length; v++) {
|
|
362
|
+
var serie = {
|
|
363
|
+
name: legendData[v],
|
|
364
|
+
type: 'line',
|
|
365
|
+
symbol: "circle",
|
|
366
|
+
symbolSize: 5 * scale,
|
|
367
|
+
color: '#a39241',
|
|
368
|
+
lineStyle: {
|
|
369
|
+
width: 1,
|
|
370
|
+
color: '#a39241'
|
|
371
|
+
},
|
|
372
|
+
label: {
|
|
373
|
+
show: true,
|
|
374
|
+
position: 'top',
|
|
375
|
+
textStyle: { //数值样式
|
|
376
|
+
color: '#fefefe',
|
|
377
|
+
fontSize: 14 * scale
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
areaStyle: {
|
|
381
|
+
color: {
|
|
382
|
+
type: 'linear',
|
|
383
|
+
x: 0,
|
|
384
|
+
y: 0,
|
|
385
|
+
x2: 0,
|
|
386
|
+
y2: 1,
|
|
387
|
+
colorStops: [{
|
|
388
|
+
offset: 1,
|
|
389
|
+
color: '#031a2b' // 0% 处的颜色
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
offset: 0.5,
|
|
393
|
+
color: '#273531' // 50% 处的颜色
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
offset: 0,
|
|
397
|
+
color: '#444c3e' // 100% 处的颜色
|
|
398
|
+
}],
|
|
399
|
+
globalCoord: false // 缺省为 false
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
|
|
403
|
+
data: metaDate
|
|
404
|
+
}
|
|
405
|
+
serieData.push(serie)
|
|
406
|
+
}
|
|
407
|
+
var colors = ["#036BC8", "#4A95FF", "#5EBEFC", "#2EF7F3", "#FFFFFF"]
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
this.xc1.setOption({
|
|
411
|
+
title: {text: '', textAlign: 'left', textStyle: {color: "#fff", fontSize: "16*scale", fontWeight: "normal"}},
|
|
412
|
+
|
|
413
|
+
color: colors,
|
|
414
|
+
grid: {left: '2%', top: "15%", bottom: "1%", right: "8%", containLabel: true},
|
|
415
|
+
tooltip: {
|
|
416
|
+
formatter: function (params) {
|
|
417
|
+
if (params.data == '') {
|
|
418
|
+
return ''
|
|
419
|
+
}
|
|
420
|
+
var result = ''
|
|
421
|
+
params.forEach(function (item) {
|
|
422
|
+
result += item.seriesName + " : " + item.value + "</br>";
|
|
423
|
+
});
|
|
424
|
+
return params[0].axisValue + '月<br/>' + result
|
|
425
|
+
},
|
|
426
|
+
axisPointer: {type: 'line', lineStyle: {width: 0}},
|
|
427
|
+
trigger: 'axis',
|
|
428
|
+
extraCssText: 'width: auto;height: auto;'
|
|
429
|
+
},
|
|
430
|
+
xAxis: [
|
|
431
|
+
{
|
|
432
|
+
name: yname,
|
|
433
|
+
type: 'category',
|
|
434
|
+
nameTextStyle: {
|
|
435
|
+
fontSize: 12 * scale,
|
|
436
|
+
color: '#15dce2',
|
|
437
|
+
padding: [40 * scale, 0, 0, -40 * scale],
|
|
438
|
+
},
|
|
439
|
+
boundaryGap: true,
|
|
440
|
+
axisLine: {show: true, lineStyle: {color: '#04669e', width: 1}},
|
|
441
|
+
axisLabel: {interval: 0, textStyle: {color: '#ffffff', fontSize: 14 * scale}},
|
|
442
|
+
axisTick: {show: false},
|
|
443
|
+
data: xAxisData,
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
yAxis: [
|
|
447
|
+
{
|
|
448
|
+
name: '隐患数量',
|
|
449
|
+
nameTextStyle: {
|
|
450
|
+
fontSize: 12 * scale,
|
|
451
|
+
padding: [-12 * scale, 35 * scale, 0, 0],
|
|
452
|
+
},
|
|
453
|
+
axisTick: {show: false},
|
|
454
|
+
splitLine: {show: true, lineStyle: {type: 'dashed', color: '#004371'}},
|
|
455
|
+
axisLabel: {textStyle: {color: '#15dce2', fontSize: 12 * scale}},
|
|
456
|
+
axisLine: {show: false, lineStyle: {color: '#15dce2', fontSize: 12 * scale}},
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
series: serieData
|
|
460
|
+
})
|
|
461
|
+
},
|
|
462
|
+
setBar2() {
|
|
463
|
+
this.xc2 = this.$echarts.init(document.getElementById('hidden3'))
|
|
464
|
+
var scale = 0.8
|
|
465
|
+
let echartData = this.hiddendata2
|
|
466
|
+
|
|
467
|
+
let legendname = []
|
|
468
|
+
echartData.forEach(function (s) {
|
|
469
|
+
legendname.push(s.name)
|
|
470
|
+
})
|
|
471
|
+
var rich = {
|
|
472
|
+
white: {
|
|
473
|
+
color: "#fff",
|
|
474
|
+
align: 'center',
|
|
475
|
+
fontSize: 14 * scale,
|
|
476
|
+
|
|
477
|
+
padding: [8 * scale, 8 * scale]
|
|
478
|
+
},
|
|
479
|
+
blue: {
|
|
480
|
+
color: '#e1e52a',
|
|
481
|
+
fontSize: 16 * scale,
|
|
482
|
+
align: 'center',
|
|
483
|
+
padding: [8 * scale, 8 * scale]
|
|
484
|
+
},
|
|
485
|
+
hr: {
|
|
486
|
+
borderColor: '#64d8d4',
|
|
487
|
+
width: '100%',
|
|
488
|
+
borderWidth: 0.5,
|
|
489
|
+
height: 0,
|
|
490
|
+
},
|
|
491
|
+
}
|
|
492
|
+
var total = 0; //用户总和
|
|
493
|
+
echartData.forEach(function (value) {
|
|
494
|
+
total += value.value;
|
|
495
|
+
});
|
|
496
|
+
this.xc2.setOption({
|
|
497
|
+
title: [],
|
|
498
|
+
legend: {
|
|
499
|
+
show: false
|
|
500
|
+
},
|
|
501
|
+
grid: {
|
|
502
|
+
left: '10%',
|
|
503
|
+
right: '10%',
|
|
504
|
+
top: '0',
|
|
505
|
+
bottom: '0'
|
|
506
|
+
},
|
|
507
|
+
|
|
508
|
+
series: [
|
|
509
|
+
{
|
|
510
|
+
name: 'Line 1',
|
|
511
|
+
type: 'pie',
|
|
512
|
+
animation: false,
|
|
513
|
+
clockWise: false,
|
|
514
|
+
radius: ['21%', '22%'],
|
|
515
|
+
center: ['50%', '50%'],
|
|
516
|
+
itemStyle: {
|
|
517
|
+
normal: {
|
|
518
|
+
label: {
|
|
519
|
+
show: false
|
|
520
|
+
},
|
|
521
|
+
labelLine: {
|
|
522
|
+
show: false
|
|
523
|
+
},
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
hoverAnimation: false,
|
|
527
|
+
tooltip: {
|
|
528
|
+
show: false
|
|
529
|
+
},
|
|
530
|
+
data: [{
|
|
531
|
+
value: 100,
|
|
532
|
+
name: '02',
|
|
533
|
+
itemStyle: {
|
|
534
|
+
normal: {
|
|
535
|
+
color: '#29b7ff',//未完成的圆环的颜色
|
|
536
|
+
label: {
|
|
537
|
+
show: false
|
|
538
|
+
},
|
|
539
|
+
labelLine: {
|
|
540
|
+
show: false
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: '总用户数',
|
|
548
|
+
type: 'pie',
|
|
549
|
+
radius: ['26%', '40%'],
|
|
550
|
+
center: ['50%', '50%'],
|
|
551
|
+
minAngle: 15,//最小角度
|
|
552
|
+
startAngle: 300, //起始角度
|
|
553
|
+
hoverAnimation: false,
|
|
554
|
+
color: ['#6fd9d0', '#ede61f', '#e5e280', '#6e93e0', '#c7e06e', '#e68d8d'],
|
|
555
|
+
label: {
|
|
556
|
+
normal: {
|
|
557
|
+
borderWidth: 1,
|
|
558
|
+
borderRadius: 4,
|
|
559
|
+
backgroundColor: '#004b5c',
|
|
560
|
+
borderColor: '#64d8d4',
|
|
561
|
+
formatter: function (params, ticket, callback) {
|
|
562
|
+
var total = 0; //用户总数量
|
|
563
|
+
var percent = 0;
|
|
564
|
+
echartData.forEach(function (value, index, array) {
|
|
565
|
+
total += value.value;
|
|
566
|
+
});
|
|
567
|
+
percent = ((params.value / total) * 100).toFixed(1);
|
|
568
|
+
return '{white|' + params.name + '}\n{hr|}\n{blue| ' + params.value + '}{blue| ' + percent + '%}';
|
|
569
|
+
},
|
|
570
|
+
rich: rich,
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
labelLine: {
|
|
574
|
+
normal: {
|
|
575
|
+
length: 10,
|
|
576
|
+
length2: 12,
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
data: echartData
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: 'Line 2',
|
|
583
|
+
type: 'pie',
|
|
584
|
+
animation: false,
|
|
585
|
+
clockWise: false,
|
|
586
|
+
radius: ['44%', '45%'],
|
|
587
|
+
center: ['50%', '50%'],
|
|
588
|
+
itemStyle: {
|
|
589
|
+
normal: {
|
|
590
|
+
label: {
|
|
591
|
+
show: false
|
|
592
|
+
},
|
|
593
|
+
labelLine: {
|
|
594
|
+
show: false
|
|
595
|
+
},
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
hoverAnimation: false,
|
|
599
|
+
tooltip: {
|
|
600
|
+
show: false
|
|
601
|
+
},
|
|
602
|
+
data: [{
|
|
603
|
+
value: 100,
|
|
604
|
+
name: '02',
|
|
605
|
+
itemStyle: {
|
|
606
|
+
normal: {
|
|
607
|
+
color: '#29b7ff',//未完成的圆环的颜色
|
|
608
|
+
label: {
|
|
609
|
+
show: false
|
|
610
|
+
},
|
|
611
|
+
labelLine: {
|
|
612
|
+
show: false
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
}, true)
|
|
621
|
+
|
|
622
|
+
var self = this
|
|
623
|
+
this.xc2.on('click', function (params) {
|
|
624
|
+
console.log(params)
|
|
625
|
+
self.areaclick = params.name
|
|
626
|
+
|
|
627
|
+
})
|
|
628
|
+
},
|
|
629
|
+
amplification() {
|
|
630
|
+
this.show = true
|
|
631
|
+
this.opera = '解决方案'
|
|
632
|
+
this.exportshow = false
|
|
633
|
+
},
|
|
634
|
+
exportss() {
|
|
635
|
+
this.show = true
|
|
636
|
+
this.opera = '导出'
|
|
637
|
+
this.exportshow = true
|
|
638
|
+
this.templatename = this.hiddenclick + '隐患用户导出'
|
|
639
|
+
},
|
|
640
|
+
close() {
|
|
641
|
+
this.show = false
|
|
642
|
+
},
|
|
643
|
+
// 获取组织结构
|
|
644
|
+
getRes(obj) {
|
|
645
|
+
this.filialeNameStr = obj.res
|
|
646
|
+
this.filialeCodeStr = obj.resids
|
|
647
|
+
},
|
|
648
|
+
refdate() {
|
|
649
|
+
var self = this
|
|
650
|
+
setInterval(function () {
|
|
651
|
+
var ss = Util.toStandardTimeString()
|
|
652
|
+
self.date = ss.toString().replace('-/g', '/')
|
|
653
|
+
}, 1000)
|
|
654
|
+
},
|
|
655
|
+
init() {
|
|
656
|
+
var condition = {
|
|
657
|
+
startDate: this.model.startDate,
|
|
658
|
+
endDate: this.model.endDate,
|
|
659
|
+
f_filialeids: ''
|
|
660
|
+
}
|
|
661
|
+
DataSql.getData1(this, 'getHidden', condition, 'selldata')
|
|
662
|
+
},
|
|
663
|
+
getHidden() {
|
|
664
|
+
var condition = {
|
|
665
|
+
startDate: this.model.startDate,
|
|
666
|
+
endDate: this.model.endDate,
|
|
667
|
+
f_filialeids: '',
|
|
668
|
+
itemname: this.hiddenclick
|
|
669
|
+
}
|
|
670
|
+
DataSql.getData1(this, 'getHidden1', condition, 'hiddendata')
|
|
671
|
+
DataSql.getData1(this, 'getHidden2', condition, 'hiddendata2')
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
watch: {
|
|
675
|
+
'model': {
|
|
676
|
+
deep: true,
|
|
677
|
+
handler() {
|
|
678
|
+
console.log('ces')
|
|
679
|
+
this.init()
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
'selldata'() {
|
|
683
|
+
if (this.selldata.length == 0) {
|
|
684
|
+
this.$showMessage('数据为空')
|
|
685
|
+
return
|
|
686
|
+
}
|
|
687
|
+
console.log(this.selldata, '测试')
|
|
688
|
+
this.setBar()
|
|
689
|
+
this.hiddenclick = this.selldata[this.selldata.length - 1].name
|
|
690
|
+
},
|
|
691
|
+
'hiddenclick'() {
|
|
692
|
+
this.getHidden()
|
|
693
|
+
},
|
|
694
|
+
'areaclick'() {
|
|
695
|
+
var condition = {
|
|
696
|
+
startDate: "\"" + this.model.startDate + "\"",
|
|
697
|
+
endDate: "\"" + this.model.endDate + "\"",
|
|
698
|
+
f_filialeids: "\"\"",
|
|
699
|
+
itemname: "\"" + this.hiddenclick + "\""
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
condition.condition = "\" and 1=1 \""
|
|
703
|
+
if (this.areaclick != '') {
|
|
704
|
+
condition.condition = "\" and b.f_residential_area =\'" + this.areaclick + " \'\""
|
|
705
|
+
}
|
|
706
|
+
this.condition = condition
|
|
707
|
+
this.model1 = new PagedList('/api/revenue/sql/getHidden3', 10, condition)
|
|
708
|
+
this.model1.search()
|
|
709
|
+
},
|
|
710
|
+
'hiddendata'() {
|
|
711
|
+
console.log(this.hiddendata, '测试')
|
|
712
|
+
this.setBar1()
|
|
713
|
+
},
|
|
714
|
+
'hiddendata2'() {
|
|
715
|
+
console.log(this.hiddendata2, '测试')
|
|
716
|
+
this.setBar2()
|
|
717
|
+
|
|
718
|
+
var condition = {
|
|
719
|
+
startDate: "\"" + this.model.startDate + "\"",
|
|
720
|
+
endDate: "\"" + this.model.endDate + "\"",
|
|
721
|
+
f_filialeids: "\"\"",
|
|
722
|
+
itemname: "\"" + this.hiddenclick + "\""
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
condition.condition = "\" and 1=1 \""
|
|
726
|
+
|
|
727
|
+
this.condition = condition
|
|
728
|
+
this.model1 = new PagedList('/api/revenue/sql/getHidden3', 10, condition)
|
|
729
|
+
this.model1.search()
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
ready() {
|
|
733
|
+
this.refdate()
|
|
734
|
+
this.model.startDate = '2001-01'
|
|
735
|
+
this.init()
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
}
|
|
739
|
+
</script>
|
|
740
|
+
|
|
741
|
+
<style>
|
|
742
|
+
#childrendatagridstyle table tr:hover {
|
|
743
|
+
background-color: #013e48;
|
|
744
|
+
color: #ffffff;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
#childrendatagridstyle table tr:hover {
|
|
748
|
+
background-color: #013e48;
|
|
749
|
+
color: #ffffff;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
#childrendatagridstyle table .customizestyle {
|
|
753
|
+
background-color: #013e48 !important;
|
|
754
|
+
color: #ffffff !important;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
#childrencriteriastyle nav ul {
|
|
758
|
+
background-color: #013e48 !important;
|
|
759
|
+
color: #02fbe6 !important;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
#childrencriteriastyle nav ul li {
|
|
763
|
+
color: #02fbe6 !important;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
#childrencriteriastyle nav ul input {
|
|
767
|
+
margin: 0% 1%;
|
|
768
|
+
background-color: #0fa397 !important;
|
|
769
|
+
color: #ffffff !important;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
#childrencriteriastyle nav ul a {
|
|
773
|
+
border: #02fbe6 1px solid;
|
|
774
|
+
border-radius: 4px;
|
|
775
|
+
color: #02fbe6 !important;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
#childrencriteriastyle nav ul a:visited {
|
|
779
|
+
background-color: #0fa397 !important;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
#childrencriteriastyle nav ul a:hover {
|
|
783
|
+
border: 1px solid #65d2bc;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.childrendatestyle input {
|
|
787
|
+
background-color: rgba(1, 207, 242, 0.01);
|
|
788
|
+
border: solid 1px #6fd9d0;
|
|
789
|
+
color: white;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.childrendatestyle .datepicker-popup {
|
|
793
|
+
background-color: #023740 !important;
|
|
794
|
+
border: solid 1px #6fd9d0;
|
|
795
|
+
color: white !important;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.childrendatestyle .datepicker-monthRange span:hover,
|
|
799
|
+
.datepicker-ctrl p:hover,
|
|
800
|
+
.datepicker-ctrl i:hover,
|
|
801
|
+
.datepicker-dateRange span:hover,
|
|
802
|
+
.datepicker-dateRange-item-hover {
|
|
803
|
+
background-color: #00f3ff !important;
|
|
804
|
+
/*border: solid 1px #6fd9d0;*/
|
|
805
|
+
color: white !important;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.childrenselectstyle button {
|
|
809
|
+
background-color: #013e48 !important;
|
|
810
|
+
border: solid 1px #6fd9d0 !important;
|
|
811
|
+
color: white !important;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.childrenselectstyle ul {
|
|
815
|
+
background-color: #013e48 !important;
|
|
816
|
+
border: solid 1px #6fd9d0 !important;
|
|
817
|
+
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.childrenselectstyle div {
|
|
821
|
+
background-color: #013e48 !important;
|
|
822
|
+
color: white !important;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.childrenselectstyle li a {
|
|
826
|
+
color: white !important;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.childrenselectstyle li a:hover {
|
|
830
|
+
background-color: #05525f;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.childrenorgstyle > button {
|
|
834
|
+
background-color: #013e48 !important;
|
|
835
|
+
color: #fff !important;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/*.childrenorgstyle #vc-chooser .list-group {*/
|
|
839
|
+
/* background-color: #6fd9d0 !important;*/
|
|
840
|
+
/* color: #fff !important;*/
|
|
841
|
+
/*}*/
|
|
842
|
+
|
|
843
|
+
/*.childrenorgstyle #vc-chooser button {*/
|
|
844
|
+
/* border: solid 1px #6fd9d0;*/
|
|
845
|
+
/* background-color: rgba(1, 207, 242, 0.01) !important;*/
|
|
846
|
+
/* color: #fff !important;*/
|
|
847
|
+
/*}*/
|
|
848
|
+
</style>
|
|
849
|
+
<style scoped>
|
|
850
|
+
.div-1 {
|
|
851
|
+
height: 85%;
|
|
852
|
+
width: 100%;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.title-2 {
|
|
856
|
+
margin-top: 3%;
|
|
857
|
+
padding: 0% 2%;
|
|
858
|
+
font-size: 1.4em;
|
|
859
|
+
color: #fff;
|
|
860
|
+
height: 10%;
|
|
861
|
+
width: 100%;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.title-21 {
|
|
865
|
+
margin-top: -6%;
|
|
866
|
+
height: 8%;
|
|
867
|
+
width: auto;
|
|
868
|
+
float: right;
|
|
869
|
+
margin-right: 10%;
|
|
870
|
+
font-size: 0.8em;
|
|
871
|
+
color: #333333;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.title-22 {
|
|
875
|
+
margin-top: -3%;
|
|
876
|
+
padding: 0% 1%;
|
|
877
|
+
height: 10%;
|
|
878
|
+
float: right;
|
|
879
|
+
font-size: 0.65em;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.title-23 {
|
|
883
|
+
margin-top: -1.6%;
|
|
884
|
+
padding: 0% 1%;
|
|
885
|
+
height: 9%;
|
|
886
|
+
float: right;
|
|
887
|
+
font-size: 0.65em;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.thstyle {
|
|
891
|
+
background-color: #05525f;
|
|
892
|
+
|
|
893
|
+
color: #06ecd8;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.td-1 {
|
|
897
|
+
border: solid 1px #6fd9d0;
|
|
898
|
+
color: #ffffff;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.tr-1:hover {
|
|
902
|
+
background-color: #013e48;
|
|
903
|
+
color: #ffffff;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.div-2 {
|
|
907
|
+
margin-top: -3%;
|
|
908
|
+
color: #40cfc3;
|
|
909
|
+
font-size: 0.65em;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.div-3 {
|
|
913
|
+
margin-top: -1.4%;
|
|
914
|
+
color: #40cfc3;
|
|
915
|
+
font-size: 0.65em;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
img {
|
|
919
|
+
width: 20px;
|
|
920
|
+
margin-right: 3px;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.title-2 span {
|
|
924
|
+
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.execlshow {
|
|
928
|
+
margin-top: -1%;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/*.criteria-paged .pager */
|
|
932
|
+
</style>
|