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.
Files changed (308) hide show
  1. package/.classpath +6 -6
  2. package/.eslintrc.js +16 -16
  3. package/.project +18 -18
  4. package/CHANGELOG.md +13 -13
  5. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  6. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  7. package/ManageClient.iml +12 -12
  8. package/build/dev-server.js +193 -193
  9. package/build/webpack.base.conf.js +80 -80
  10. package/build.gradle +13 -13
  11. package/config/index.js +38 -38
  12. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  13. package/gradlew +234 -234
  14. package/gradlew.bat +89 -89
  15. package/package.json +101 -101
  16. package/src/App.vue +28 -28
  17. package/src/ManageHome.js +269 -269
  18. package/src/Staff/StaffCompileList.vue +334 -334
  19. package/src/Staff/StaffList.vue +161 -161
  20. package/src/Util.js +383 -383
  21. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  22. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  23. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  24. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  25. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  26. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  27. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +1 -1
  28. package/src/components/ManageHome/Monitor/NoContact.vue +232 -232
  29. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  30. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  31. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  32. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  33. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +195 -195
  36. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +177 -177
  37. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +173 -173
  38. package/src/components/ManageHomeCS/Drill/DrillData.vue +792 -792
  39. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHomeCS/Home/CallCenter.vue +191 -191
  41. package/src/components/ManageHomeCS/Home/GasValue.vue +377 -377
  42. package/src/components/ManageHomeCS/Home/Home.vue +55 -55
  43. package/src/components/ManageHomeCS/Home/Monitor.vue +415 -415
  44. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  45. package/src/components/ManageHomeCS/Home/SafeCheck.vue +443 -443
  46. package/src/components/ManageHomeCS/Home/UserModule.vue +527 -527
  47. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  48. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  49. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +1 -1
  50. package/src/components/ManageHomeCS/ManageHome.vue +149 -149
  51. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  52. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
  53. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
  54. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
  55. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  56. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
  57. package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
  58. package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
  59. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  60. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  61. package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
  62. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  63. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  64. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
  65. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
  66. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
  67. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
  68. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
  69. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  70. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
  71. package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
  72. package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
  73. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  74. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
  75. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  76. package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
  77. package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
  78. package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
  79. package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
  80. package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
  81. package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
  82. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  83. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  84. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  85. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  86. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  87. package/src/components/MeterManage/HandQuery.vue +72 -72
  88. package/src/components/MeterManage/MeterList.vue +336 -336
  89. package/src/components/MeterManage/MeterMsg.vue +181 -181
  90. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  91. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  92. package/src/components/MeterManage/TransferQuery.vue +72 -72
  93. package/src/components/SellReport/BankManager.vue +146 -146
  94. package/src/components/SellReport/BonSummary.vue +182 -182
  95. package/src/components/SellReport/BusSummary.vue +238 -238
  96. package/src/components/SellReport/ChargeBill.vue +186 -186
  97. package/src/components/SellReport/CollectFee.vue +184 -184
  98. package/src/components/SellReport/Contrast.vue +188 -188
  99. package/src/components/SellReport/FenxiangSell.vue +183 -183
  100. package/src/components/SellReport/GasCollect.vue +174 -174
  101. package/src/components/SellReport/GasPrice.vue +183 -183
  102. package/src/components/SellReport/GaspriceHas.vue +141 -141
  103. package/src/components/SellReport/GetSummary.vue +186 -186
  104. package/src/components/SellReport/GetUserNum.vue +166 -166
  105. package/src/components/SellReport/HandCollect.vue +189 -189
  106. package/src/components/SellReport/HandplanBili.vue +73 -73
  107. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  108. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  109. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  110. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  111. package/src/components/SellReport/ManageBusSummary.vue +241 -241
  112. package/src/components/SellReport/ManageGasPrice.vue +183 -183
  113. package/src/components/SellReport/ManageHandInputtor.vue +241 -241
  114. package/src/components/SellReport/ManageMonthGas.vue +181 -181
  115. package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
  116. package/src/components/SellReport/ManageSellType.vue +183 -183
  117. package/src/components/SellReport/ManageUserCollect.vue +177 -177
  118. package/src/components/SellReport/MeterBill.vue +185 -185
  119. package/src/components/SellReport/MeterInput.vue +185 -185
  120. package/src/components/SellReport/MeterReader.vue +203 -203
  121. package/src/components/SellReport/OweAging.vue +174 -174
  122. package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
  123. package/src/components/SellReport/RefundQuery.vue +237 -237
  124. package/src/components/SellReport/ReportHistory.vue +80 -80
  125. package/src/components/SellReport/ReportItems.vue +39 -39
  126. package/src/components/SellReport/ReportPool.vue +40 -40
  127. package/src/components/SellReport/Selling.vue +188 -188
  128. package/src/components/SellReport/SiteManager.vue +151 -151
  129. package/src/components/SellReport/UsertypePie.vue +99 -99
  130. package/src/components/SellReport/VolumeStatistics.vue +226 -226
  131. package/src/components/SellReport/YuShou.vue +185 -185
  132. package/src/components/SellReport/getWebReport.vue +181 -181
  133. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  134. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  135. package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
  136. package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
  137. package/src/components/TelReport/TrafficAssess.vue +99 -99
  138. package/src/components/TelReport/TrafficBasic.vue +117 -117
  139. package/src/components/TelReport/ZhiHuanservice.vue +147 -147
  140. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  141. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  142. package/src/components/WebReport/BatteryLow.vue +148 -148
  143. package/src/components/WebReport/BussinessType.vue +140 -140
  144. package/src/components/WebReport/Communication.vue +131 -131
  145. package/src/components/WebReport/EchartsBox.vue +110 -110
  146. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  147. package/src/components/WebReport/GaspriceHas.vue +141 -141
  148. package/src/components/WebReport/HandplanPrint.vue +167 -167
  149. package/src/components/WebReport/NotUpload.vue +165 -165
  150. package/src/components/WebReport/OweQuery.vue +169 -169
  151. package/src/components/WebReport/Paymentpie.vue +160 -160
  152. package/src/components/WebReport/ReportWorklist.vue +220 -220
  153. package/src/components/WebReport/SellType.vue +89 -89
  154. package/src/components/WebReport/Telemanlist.vue +221 -221
  155. package/src/components/WebReport/UserGasAll.vue +214 -214
  156. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  157. package/src/components/WebReport/UsertypePie.vue +105 -105
  158. package/src/components/WebReport/ValueEcharts.vue +99 -99
  159. package/src/components/WebReport/ValueInfo.vue +194 -194
  160. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  161. package/src/components/sale/businessquery/BusinessManage.vue +109 -109
  162. package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
  163. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
  164. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  165. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  166. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  167. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  168. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  169. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  170. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  171. package/src/components/sale/businessquery/InspectListGas.vue +456 -456
  172. package/src/components/sale/businessquery/InspectListUser.vue +366 -366
  173. package/src/components/sale/businessquery/InspectManage.vue +37 -37
  174. package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
  175. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
  176. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  177. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  178. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  179. package/src/components/sale/businessquery/SellingHand.vue +340 -340
  180. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  181. package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
  182. package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
  183. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  184. package/src/components/sale/common/TabButton.vue +149 -149
  185. package/src/components/sale/common/Tabs.vue +67 -67
  186. package/src/components/sale/config/exportConfig.js +271 -271
  187. package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
  188. package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
  189. package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
  190. package/src/components/sale/filesquery/MeterQuery.vue +613 -613
  191. package/src/components/sale/filesquery/UserQuery.vue +556 -556
  192. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  193. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  194. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  195. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  196. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  197. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  198. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  199. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  200. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  201. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  202. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  203. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  204. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  205. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  206. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  207. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  208. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  209. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  210. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  211. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  212. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  213. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  214. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  215. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  216. package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
  217. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
  218. package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
  219. package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
  220. package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
  221. package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
  222. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
  223. package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
  224. package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
  225. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
  226. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
  227. package/src/components/sale/report/aode/DayReport.vue +50 -50
  228. package/src/components/sale/report/aode/DayReportList.vue +553 -553
  229. package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
  230. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
  231. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  232. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  233. package/src/components/sale/report/aode/YearByUserType.vue +351 -351
  234. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  235. package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
  236. package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
  237. package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
  238. package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
  239. package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
  240. package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
  241. package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
  242. package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
  243. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  244. package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
  245. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
  246. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
  247. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
  248. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
  249. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  250. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
  251. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
  252. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
  253. package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
  254. package/src/components/webmeter/ArreasuserQuery.vue +193 -193
  255. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  256. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  257. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
  258. package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
  259. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  260. package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
  261. package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
  262. package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
  263. package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
  264. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
  265. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  266. package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
  267. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
  268. package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
  269. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  270. package/src/components/webmeter/OperatorCount.vue +189 -189
  271. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  272. package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
  273. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  274. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  275. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  276. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  277. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  278. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  279. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  280. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
  281. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  282. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  283. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  284. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
  285. package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
  286. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  287. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
  288. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
  289. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  290. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  291. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
  292. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  293. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  294. package/src/components/webmeter/report/ReportList.vue +211 -211
  295. package/src/index.js +9 -9
  296. package/src/main.js +56 -56
  297. package/src/newmanage.js +288 -288
  298. package/src/plugins/GetLoginInfoService.js +505 -505
  299. package/src/plugins/LodopFuncs.js +124 -124
  300. package/src/reportManage.js +208 -208
  301. package/src/saleManage.js +263 -263
  302. package/src/stores/DataSql.js +585 -585
  303. package/src/stores/DrillECharts.js +601 -601
  304. package/src/stores/DrillSql.js +675 -675
  305. package/src/stores/MagGetSaleParams.js +138 -138
  306. package/src/stores/MagLoadParams.js +63 -63
  307. package/src/webmeterManage.js +99 -99
  308. package/yarn-error.log +7368 -7368
@@ -1,527 +1,527 @@
1
- <template>
2
- <div>
3
- <div class="f1">
4
- <div class="label">客户</div>
5
- <div class="f2">
6
- <table>
7
- <tr>
8
- <td style="width: 3%"></td>
9
- <td><span v-model="totaluser">{{totaluser}}</span><br/>现有总客户</td>
10
- <td class="td-1"></td>
11
- <td><span v-model="apply">{{apply}}</span><br/>开发客户数</td>
12
- <td class="td-1"></td>
13
- <td><span v-model="hiddenuser">{{hiddenuser}}</span><br/>潜在客户数</td>
14
- </tr>
15
- </table>
16
- </div>
17
- </div>
18
- <div id="userdata" class="f3"></div>
19
- </div>
20
- </template>
21
-
22
- <script>
23
- import * as DataSql from '../../../stores/DataSql'
24
- import co from 'co'
25
-
26
- export default {
27
- name: "user-module",
28
- props: {
29
- listenheight: String,
30
- f_filiale:String,
31
- },
32
- data() {
33
- return {
34
- xc: '',
35
- usernum: [], //用户数据
36
- usernumstring: [],
37
- totaluser: '', //总用户数
38
- hiddenuser: '', //潜在用户数
39
- unit: [], //用户数单位
40
- resdata: [], //用户数据
41
- resdatapie: [], //饼图数据
42
- resdataapply: 0, //报建用户数
43
- apply: '', //报建用户数
44
- timer:''
45
- }
46
- },
47
- beforeDestroy() {
48
- //清除定时器
49
- clearInterval(this.timer);
50
- },
51
- methods: {
52
- //绘图
53
- setBar() {
54
- this.xc = this.$echarts.init(document.getElementById('userdata'))
55
- var scale=this.$parent.$parent.$parent.scale*1.1
56
- DataSql.dataunitarray(this, 'usernum', 'usernumstring')
57
- var echartData = this.usernum
58
- var echartData1 = this.usernumstring
59
- var rich = {
60
- blue: {
61
- color: '#15dce2',
62
- fontSize: 12 * scale,
63
- align: 'center',
64
- padding: [15*scale, 0, 15*scale, 0]
65
- }
66
- }
67
- var total = 0; //用户总和
68
- var result = ''
69
- echartData.forEach(function (value) {
70
- total += value.value;
71
- });
72
- var index = total.toString().length
73
- if (index > 4) {
74
- var t = total.toString().substring(0, index - 4)
75
- var s = total.toString().substring(index - 4, index - 3)
76
- var l = total.toString().substring(index - 3, index - 2)
77
- if (l > 4) {
78
- s = eval(s + '+1')
79
- }
80
- if (s > 9) {
81
- s = 0
82
- t = eval(t + '+1')
83
- }
84
- result = t + '.' + s + '万'
85
- } else {
86
- result = total
87
- }
88
- this.xc.setOption({
89
- title: [
90
- {
91
- text: '总客户数',
92
- left: '45%',
93
- top: '31%',
94
- textStyle: {
95
- color: '#ffffff',
96
- fontSize: 10 * scale,
97
-
98
- }
99
- },
100
- {
101
- text: result,
102
- left: '45%',
103
- top: '38%',
104
- padding: [10 * scale, 10 * scale],
105
- textStyle: {
106
- color: '#00e2ea',
107
- fontSize: 10 * scale,
108
-
109
- }
110
- }],
111
- tooltip: {
112
- show: true,
113
- alwaysShowContent:true,
114
- backgroundColor:'rgba(2, 59, 63, 0.6)',
115
- // borderColor :'rgba(13, 109, 180)',
116
- borderWidth:0,
117
- hideDelay:100,
118
- padding:10*scale,
119
- textStyle:{
120
- fontSize:16*scale
121
- },
122
- triggerOn:'mousemove',
123
- padding:10*scale,
124
- textStyle:{
125
- fontSize:16*scale
126
- },
127
- formatter: function (params) {
128
- return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
129
- },
130
- enterable:true,
131
- position: function(point, params, dom, rect, size) {
132
- //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
133
- var x = point[0]; //
134
- var y = point[1];
135
- var viewWidth = size.viewSize[0];
136
- var viewHeight = size.viewSize[1];
137
- var boxWidth = size.contentSize[0];
138
- var boxHeight = size.contentSize[1];
139
- var posX = 0; //x坐标位置
140
- var posY = 0; //y坐标位置
141
- if (x < boxWidth) { //左边放不开
142
- posX = 5;
143
- } else { //左边放的下
144
- posX = x - boxWidth;
145
- }
146
-
147
- if (y < boxHeight) { //上边放不开
148
- posY = 5;
149
- } else { //上边放得下
150
- posY = y - boxHeight;
151
- }
152
- return [posX, posY];
153
- },
154
- extraCssText:'width: auto;height:auto;',
155
- },
156
- legend: {
157
- orient: 'horizontal',
158
- icon: 'circle',
159
- x: 'center',
160
- bottom: '6%',
161
- itemGap: 20,
162
- itemWidth: 20 * scale,
163
- itemHeight: 10 * scale,
164
- textStyle: {
165
- fontSize: 12 * scale,
166
- // padding: [0, 0, 0, 4 * scale],
167
- color: '#ffffff'
168
- },
169
- data: ['民用', '非民用', '民用锅炉']
170
- },
171
- series: [
172
- // {
173
- // name: 'Line 1',
174
- // type: 'pie',
175
- // animation: false,
176
- // clockWise: false,
177
- // radius: ['35%', '36%'],
178
- // center: ['50%', '49%'],
179
- // itemStyle: {
180
- // normal: {
181
- // label: {
182
- // show: false
183
- // },
184
- // labelLine: {
185
- // show: false
186
- // },
187
- // }
188
- // },
189
- // hoverAnimation: false,
190
- // tooltip: {
191
- // show: false
192
- // },
193
- // data: [{
194
- // value: 100,
195
- // name: '02',
196
- // itemStyle: {
197
- // normal: {
198
- // color: '#29b7ff',//未完成的圆环的颜色
199
- // label: {
200
- // show: false
201
- // },
202
- // labelLine: {
203
- // show: false
204
- // }
205
- // }
206
- // }
207
- // }]
208
- // },
209
- {
210
- name: '总客户数',
211
- type: 'pie',
212
- radius: ['40%', '60%'],
213
- center: ['50%', '42%'],
214
- minAngle: 15,//最小角度
215
- startAngle: 300, //起始角度
216
- hoverAnimation: false,
217
- color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
218
- label: {
219
- show:false
220
- // normal: {
221
- // borderWidth: 20 * scale,
222
- // borderRadius: 4 * scale,
223
- // formatter: function (params, ticket, callback) {
224
- // for (var i = 0; i < echartData1.length; i++) {
225
- // if (echartData1[i].name == params.name) {
226
- // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
227
- // }
228
- // }
229
- // },
230
- // padding: [0, -80 * scale],
231
- // rich: rich,
232
- // }
233
- },
234
- labelLine: {
235
- normal: {
236
- length: 25 * scale,
237
- length2: 90 * scale,
238
- }
239
- },
240
- data: echartData
241
- }
242
- // , {
243
- // name: 'Line 2',
244
- // type: 'pie',
245
- // animation: false,
246
- // clockWise: false,
247
- // radius: ['54%', '55%'],
248
- // center: ['50%', '49%'],
249
- // itemStyle: {
250
- // normal: {
251
- // label: {
252
- // show: false
253
- // },
254
- // labelLine: {
255
- // show: false
256
- // },
257
- // }
258
- // },
259
- // hoverAnimation: false,
260
- // tooltip: {
261
- // show: false
262
- // },
263
- // data: [{
264
- // value: 100,
265
- // name: '02',
266
- // itemStyle: {
267
- // normal: {
268
- // color: '#29b7ff',//未完成的圆环的颜色
269
- // label: {
270
- // show: false
271
- // },
272
- // labelLine: {
273
- // show: false
274
- // }
275
- // }
276
- // }
277
- // }
278
- // ]
279
- // }
280
- ]
281
- }, true)
282
-
283
- let idx = 0;
284
- var dataLen=echartData.length
285
- var oroptionmapjsonr_charts=this.xc
286
- this.timer=setInterval(()=>{
287
- // 取消之前选中的图形
288
- oroptionmapjsonr_charts.dispatchAction({
289
- type: 'pieUnSelect',
290
- seriesIndex: 0,
291
- dataIndex: idx,
292
- });
293
-
294
- idx = (idx+ 1) % dataLen;
295
- //console.log(app.currentIndex);
296
- // 选中当前图形
297
- oroptionmapjsonr_charts.dispatchAction({
298
- type: 'pieSelect',
299
- seriesIndex: 0,
300
- dataIndex: idx
301
- });
302
- oroptionmapjsonr_charts.dispatchAction({
303
- type: 'showTip',
304
- seriesIndex: 0,
305
- dataIndex: idx
306
- });
307
- }, 3000)
308
- },
309
- //请求后台数据
310
- searchdata() {
311
- let sqldata = DataSql.getData(this, 'user',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
312
- co(sqldata)
313
- let sqldatapie = DataSql.getData(this,'useri',{f_filiale:this.$parent.$parent.f_filiale}, 'resdatapie')
314
- co(sqldatapie)
315
- let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
316
- co(sqldataone)
317
- },
318
- },
319
- watch: {
320
- // 监听用户数据并进行绘图
321
- 'usernum': {
322
- deep: true,
323
- handler(val) {
324
- var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
325
- this.totaluser = DataSql.dataunit(value)
326
- this.setBar()
327
- this.$parent.loaddata++
328
- }
329
- },
330
- //监听浏览器大小变化
331
- 'listenheight': {
332
- deep: true,
333
- handler(val) {
334
- if (this.listenheight !== '') {
335
- // this.$parent.$parent.changeresize(this.xc)
336
- }
337
- },
338
- },
339
- 'resdata': {
340
- deep: true,
341
- handler(val) {
342
- this.usernum = []
343
- let result = {}
344
- result.name = '民用'
345
- result.value = this.resdata[0]['民用']
346
- this.usernum.push(result)
347
- let result1 = {}
348
- result1.name = '非民用'
349
- result1.value = this.resdata[0]['非民用']
350
- this.usernum.push(result1)
351
- let result2 = {}
352
- result2.name = '民用锅炉'
353
- result2.value = this.resdata[0]['民用锅炉']
354
- this.usernum.push(result2)
355
- }
356
- },
357
- 'resdatapie': {
358
- deep: true,
359
- handler(val) {
360
- var totalnum = 0
361
- if(this.resdatapie<1){
362
- this.hiddenuser=0
363
- return
364
- }
365
- for (var i = 1; i < 6; i++) {
366
- let item0 = {}
367
- totalnum = totalnum + this.resdatapie[i].totalnum
368
- }
369
- console.log(totalnum,'ceshi')
370
- this.hiddenuser = DataSql.dataunit(totalnum / 5)
371
- console.log(this.hiddenuser ,'ceshi')
372
- }
373
- },
374
- 'resdataapply': {
375
- deep: true,
376
- handler(val) {
377
-
378
- this.apply = DataSql.dataunit(this.resdataapply[0].totalnum)
379
- }
380
- },
381
- 'f_filiale'(){
382
- clearInterval(this.timer);
383
- this.searchdata()
384
- }
385
- },
386
-
387
- ready() {
388
- // 拼接sql,请求后台
389
- this.searchdata()
390
- }
391
- }
392
- </script>
393
-
394
- <style scoped>
395
-
396
- @media screen and (max-width: 1920px) {
397
- /*标题样式*/
398
- .label {
399
- font-size: 1.85rem;
400
- color: #fff;
401
- height: 8%;
402
- width: 100%;
403
- margin-left: 6%;
404
- }
405
-
406
- /*标题及用户数据表格样式*/
407
- .f1 {
408
- height: 31%;
409
- width: 100%;
410
- }
411
-
412
- /*用户数据表格样式*/
413
- .f2 {
414
- /*height: 72px;*/
415
- /*width: 450px;*/
416
- /*margin-left: 20px*/
417
- padding: 2% 1%;
418
- height: 92%;
419
- width: 100%;
420
- }
421
-
422
- /*echarts绘制区域样式*/
423
- .f3 {
424
- height: 68.3%;
425
- width: 100%;
426
- padding-top: 3%;
427
- }
428
-
429
- table {
430
- width: 100%;
431
- height: 100%;
432
- }
433
-
434
- td {
435
- /*height: 72px;*/
436
- /*width: 140px;*/
437
- height: 100%;
438
- width: 18%;
439
- font-size: 1.4rem;
440
- text-align: center;
441
- color: #ffffff;
442
- }
443
-
444
- /*td加载图片*/
445
- .td-1 {
446
- /*width: 40px;*/
447
- width: 1%;
448
- /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
449
- /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
450
- /*background-repeat: no-repeat;!**!*/
451
- /*background-size: 80% 40%;*/
452
- /*background-position: center;*/
453
- }
454
-
455
- span {
456
- font-size:2.2rem;
457
- font-weight: bolder;
458
- color: #69d8d2;
459
- }
460
- }
461
- @media screen and (max-width: 1366px) {
462
- /*标题样式*/
463
- .label {
464
- font-size: 1.85rem;
465
- color: #fff;
466
- height: 8%;
467
- width: 100%;
468
- margin-left: 6%;
469
- }
470
-
471
- /*标题及用户数据表格样式*/
472
- .f1 {
473
- height: 31%;
474
- width: 100%;
475
- }
476
-
477
- /*用户数据表格样式*/
478
- .f2 {
479
- /*height: 72px;*/
480
- /*width: 450px;*/
481
- /*margin-left: 20px*/
482
- padding: 2% 1%;
483
- height: 92%;
484
- width: 100%;
485
- }
486
-
487
- /*echarts绘制区域样式*/
488
- .f3 {
489
- height: 68.3%;
490
- width: 100%;
491
- padding-top: 3%;
492
- }
493
-
494
- table {
495
- width: 100%;
496
- height: 100%;
497
- }
498
-
499
- td {
500
- /*height: 72px;*/
501
- /*width: 140px;*/
502
- height: 100%;
503
- width: 18%;
504
- font-size: 1rem;
505
- text-align: center;
506
- color: #ffffff;
507
- }
508
-
509
- /*td加载图片*/
510
- .td-1 {
511
- /*width: 40px;*/
512
- width: 1%;
513
- /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
514
- /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
515
- /*background-repeat: no-repeat;!**!*/
516
- /*background-size: 80% 40%;*/
517
- /*background-position: center;*/
518
- }
519
-
520
- span {
521
- font-size:1.8rem;
522
- font-weight: bolder;
523
- color: #69d8d2;
524
- }
525
- }
526
-
527
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="f1">
4
+ <div class="label">客户</div>
5
+ <div class="f2">
6
+ <table>
7
+ <tr>
8
+ <td style="width: 3%"></td>
9
+ <td><span v-model="totaluser">{{totaluser}}</span><br/>现有总客户</td>
10
+ <td class="td-1"></td>
11
+ <td><span v-model="apply">{{apply}}</span><br/>开发客户数</td>
12
+ <td class="td-1"></td>
13
+ <td><span v-model="hiddenuser">{{hiddenuser}}</span><br/>潜在客户数</td>
14
+ </tr>
15
+ </table>
16
+ </div>
17
+ </div>
18
+ <div id="userdata" class="f3"></div>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ import * as DataSql from '../../../stores/DataSql'
24
+ import co from 'co'
25
+
26
+ export default {
27
+ name: "user-module",
28
+ props: {
29
+ listenheight: String,
30
+ f_filiale:String,
31
+ },
32
+ data() {
33
+ return {
34
+ xc: '',
35
+ usernum: [], //用户数据
36
+ usernumstring: [],
37
+ totaluser: '', //总用户数
38
+ hiddenuser: '', //潜在用户数
39
+ unit: [], //用户数单位
40
+ resdata: [], //用户数据
41
+ resdatapie: [], //饼图数据
42
+ resdataapply: 0, //报建用户数
43
+ apply: '', //报建用户数
44
+ timer:''
45
+ }
46
+ },
47
+ beforeDestroy() {
48
+ //清除定时器
49
+ clearInterval(this.timer);
50
+ },
51
+ methods: {
52
+ //绘图
53
+ setBar() {
54
+ this.xc = this.$echarts.init(document.getElementById('userdata'))
55
+ var scale=this.$parent.$parent.$parent.scale*1.1
56
+ DataSql.dataunitarray(this, 'usernum', 'usernumstring')
57
+ var echartData = this.usernum
58
+ var echartData1 = this.usernumstring
59
+ var rich = {
60
+ blue: {
61
+ color: '#15dce2',
62
+ fontSize: 12 * scale,
63
+ align: 'center',
64
+ padding: [15*scale, 0, 15*scale, 0]
65
+ }
66
+ }
67
+ var total = 0; //用户总和
68
+ var result = ''
69
+ echartData.forEach(function (value) {
70
+ total += value.value;
71
+ });
72
+ var index = total.toString().length
73
+ if (index > 4) {
74
+ var t = total.toString().substring(0, index - 4)
75
+ var s = total.toString().substring(index - 4, index - 3)
76
+ var l = total.toString().substring(index - 3, index - 2)
77
+ if (l > 4) {
78
+ s = eval(s + '+1')
79
+ }
80
+ if (s > 9) {
81
+ s = 0
82
+ t = eval(t + '+1')
83
+ }
84
+ result = t + '.' + s + '万'
85
+ } else {
86
+ result = total
87
+ }
88
+ this.xc.setOption({
89
+ title: [
90
+ {
91
+ text: '总客户数',
92
+ left: '45%',
93
+ top: '31%',
94
+ textStyle: {
95
+ color: '#ffffff',
96
+ fontSize: 10 * scale,
97
+
98
+ }
99
+ },
100
+ {
101
+ text: result,
102
+ left: '45%',
103
+ top: '38%',
104
+ padding: [10 * scale, 10 * scale],
105
+ textStyle: {
106
+ color: '#00e2ea',
107
+ fontSize: 10 * scale,
108
+
109
+ }
110
+ }],
111
+ tooltip: {
112
+ show: true,
113
+ alwaysShowContent:true,
114
+ backgroundColor:'rgba(2, 59, 63, 0.6)',
115
+ // borderColor :'rgba(13, 109, 180)',
116
+ borderWidth:0,
117
+ hideDelay:100,
118
+ padding:10*scale,
119
+ textStyle:{
120
+ fontSize:16*scale
121
+ },
122
+ triggerOn:'mousemove',
123
+ padding:10*scale,
124
+ textStyle:{
125
+ fontSize:16*scale
126
+ },
127
+ formatter: function (params) {
128
+ return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
129
+ },
130
+ enterable:true,
131
+ position: function(point, params, dom, rect, size) {
132
+ //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
133
+ var x = point[0]; //
134
+ var y = point[1];
135
+ var viewWidth = size.viewSize[0];
136
+ var viewHeight = size.viewSize[1];
137
+ var boxWidth = size.contentSize[0];
138
+ var boxHeight = size.contentSize[1];
139
+ var posX = 0; //x坐标位置
140
+ var posY = 0; //y坐标位置
141
+ if (x < boxWidth) { //左边放不开
142
+ posX = 5;
143
+ } else { //左边放的下
144
+ posX = x - boxWidth;
145
+ }
146
+
147
+ if (y < boxHeight) { //上边放不开
148
+ posY = 5;
149
+ } else { //上边放得下
150
+ posY = y - boxHeight;
151
+ }
152
+ return [posX, posY];
153
+ },
154
+ extraCssText:'width: auto;height:auto;',
155
+ },
156
+ legend: {
157
+ orient: 'horizontal',
158
+ icon: 'circle',
159
+ x: 'center',
160
+ bottom: '6%',
161
+ itemGap: 20,
162
+ itemWidth: 20 * scale,
163
+ itemHeight: 10 * scale,
164
+ textStyle: {
165
+ fontSize: 12 * scale,
166
+ // padding: [0, 0, 0, 4 * scale],
167
+ color: '#ffffff'
168
+ },
169
+ data: ['民用', '非民用', '民用锅炉']
170
+ },
171
+ series: [
172
+ // {
173
+ // name: 'Line 1',
174
+ // type: 'pie',
175
+ // animation: false,
176
+ // clockWise: false,
177
+ // radius: ['35%', '36%'],
178
+ // center: ['50%', '49%'],
179
+ // itemStyle: {
180
+ // normal: {
181
+ // label: {
182
+ // show: false
183
+ // },
184
+ // labelLine: {
185
+ // show: false
186
+ // },
187
+ // }
188
+ // },
189
+ // hoverAnimation: false,
190
+ // tooltip: {
191
+ // show: false
192
+ // },
193
+ // data: [{
194
+ // value: 100,
195
+ // name: '02',
196
+ // itemStyle: {
197
+ // normal: {
198
+ // color: '#29b7ff',//未完成的圆环的颜色
199
+ // label: {
200
+ // show: false
201
+ // },
202
+ // labelLine: {
203
+ // show: false
204
+ // }
205
+ // }
206
+ // }
207
+ // }]
208
+ // },
209
+ {
210
+ name: '总客户数',
211
+ type: 'pie',
212
+ radius: ['40%', '60%'],
213
+ center: ['50%', '42%'],
214
+ minAngle: 15,//最小角度
215
+ startAngle: 300, //起始角度
216
+ hoverAnimation: false,
217
+ color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
218
+ label: {
219
+ show:false
220
+ // normal: {
221
+ // borderWidth: 20 * scale,
222
+ // borderRadius: 4 * scale,
223
+ // formatter: function (params, ticket, callback) {
224
+ // for (var i = 0; i < echartData1.length; i++) {
225
+ // if (echartData1[i].name == params.name) {
226
+ // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
227
+ // }
228
+ // }
229
+ // },
230
+ // padding: [0, -80 * scale],
231
+ // rich: rich,
232
+ // }
233
+ },
234
+ labelLine: {
235
+ normal: {
236
+ length: 25 * scale,
237
+ length2: 90 * scale,
238
+ }
239
+ },
240
+ data: echartData
241
+ }
242
+ // , {
243
+ // name: 'Line 2',
244
+ // type: 'pie',
245
+ // animation: false,
246
+ // clockWise: false,
247
+ // radius: ['54%', '55%'],
248
+ // center: ['50%', '49%'],
249
+ // itemStyle: {
250
+ // normal: {
251
+ // label: {
252
+ // show: false
253
+ // },
254
+ // labelLine: {
255
+ // show: false
256
+ // },
257
+ // }
258
+ // },
259
+ // hoverAnimation: false,
260
+ // tooltip: {
261
+ // show: false
262
+ // },
263
+ // data: [{
264
+ // value: 100,
265
+ // name: '02',
266
+ // itemStyle: {
267
+ // normal: {
268
+ // color: '#29b7ff',//未完成的圆环的颜色
269
+ // label: {
270
+ // show: false
271
+ // },
272
+ // labelLine: {
273
+ // show: false
274
+ // }
275
+ // }
276
+ // }
277
+ // }
278
+ // ]
279
+ // }
280
+ ]
281
+ }, true)
282
+
283
+ let idx = 0;
284
+ var dataLen=echartData.length
285
+ var oroptionmapjsonr_charts=this.xc
286
+ this.timer=setInterval(()=>{
287
+ // 取消之前选中的图形
288
+ oroptionmapjsonr_charts.dispatchAction({
289
+ type: 'pieUnSelect',
290
+ seriesIndex: 0,
291
+ dataIndex: idx,
292
+ });
293
+
294
+ idx = (idx+ 1) % dataLen;
295
+ //console.log(app.currentIndex);
296
+ // 选中当前图形
297
+ oroptionmapjsonr_charts.dispatchAction({
298
+ type: 'pieSelect',
299
+ seriesIndex: 0,
300
+ dataIndex: idx
301
+ });
302
+ oroptionmapjsonr_charts.dispatchAction({
303
+ type: 'showTip',
304
+ seriesIndex: 0,
305
+ dataIndex: idx
306
+ });
307
+ }, 3000)
308
+ },
309
+ //请求后台数据
310
+ searchdata() {
311
+ let sqldata = DataSql.getData(this, 'user',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
312
+ co(sqldata)
313
+ let sqldatapie = DataSql.getData(this,'useri',{f_filiale:this.$parent.$parent.f_filiale}, 'resdatapie')
314
+ co(sqldatapie)
315
+ let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
316
+ co(sqldataone)
317
+ },
318
+ },
319
+ watch: {
320
+ // 监听用户数据并进行绘图
321
+ 'usernum': {
322
+ deep: true,
323
+ handler(val) {
324
+ var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
325
+ this.totaluser = DataSql.dataunit(value)
326
+ this.setBar()
327
+ this.$parent.loaddata++
328
+ }
329
+ },
330
+ //监听浏览器大小变化
331
+ 'listenheight': {
332
+ deep: true,
333
+ handler(val) {
334
+ if (this.listenheight !== '') {
335
+ // this.$parent.$parent.changeresize(this.xc)
336
+ }
337
+ },
338
+ },
339
+ 'resdata': {
340
+ deep: true,
341
+ handler(val) {
342
+ this.usernum = []
343
+ let result = {}
344
+ result.name = '民用'
345
+ result.value = this.resdata[0]['民用']
346
+ this.usernum.push(result)
347
+ let result1 = {}
348
+ result1.name = '非民用'
349
+ result1.value = this.resdata[0]['非民用']
350
+ this.usernum.push(result1)
351
+ let result2 = {}
352
+ result2.name = '民用锅炉'
353
+ result2.value = this.resdata[0]['民用锅炉']
354
+ this.usernum.push(result2)
355
+ }
356
+ },
357
+ 'resdatapie': {
358
+ deep: true,
359
+ handler(val) {
360
+ var totalnum = 0
361
+ if(this.resdatapie<1){
362
+ this.hiddenuser=0
363
+ return
364
+ }
365
+ for (var i = 1; i < 6; i++) {
366
+ let item0 = {}
367
+ totalnum = totalnum + this.resdatapie[i].totalnum
368
+ }
369
+ console.log(totalnum,'ceshi')
370
+ this.hiddenuser = DataSql.dataunit(totalnum / 5)
371
+ console.log(this.hiddenuser ,'ceshi')
372
+ }
373
+ },
374
+ 'resdataapply': {
375
+ deep: true,
376
+ handler(val) {
377
+
378
+ this.apply = DataSql.dataunit(this.resdataapply[0].totalnum)
379
+ }
380
+ },
381
+ 'f_filiale'(){
382
+ clearInterval(this.timer);
383
+ this.searchdata()
384
+ }
385
+ },
386
+
387
+ ready() {
388
+ // 拼接sql,请求后台
389
+ this.searchdata()
390
+ }
391
+ }
392
+ </script>
393
+
394
+ <style scoped>
395
+
396
+ @media screen and (max-width: 1920px) {
397
+ /*标题样式*/
398
+ .label {
399
+ font-size: 1.85rem;
400
+ color: #fff;
401
+ height: 8%;
402
+ width: 100%;
403
+ margin-left: 6%;
404
+ }
405
+
406
+ /*标题及用户数据表格样式*/
407
+ .f1 {
408
+ height: 31%;
409
+ width: 100%;
410
+ }
411
+
412
+ /*用户数据表格样式*/
413
+ .f2 {
414
+ /*height: 72px;*/
415
+ /*width: 450px;*/
416
+ /*margin-left: 20px*/
417
+ padding: 2% 1%;
418
+ height: 92%;
419
+ width: 100%;
420
+ }
421
+
422
+ /*echarts绘制区域样式*/
423
+ .f3 {
424
+ height: 68.3%;
425
+ width: 100%;
426
+ padding-top: 3%;
427
+ }
428
+
429
+ table {
430
+ width: 100%;
431
+ height: 100%;
432
+ }
433
+
434
+ td {
435
+ /*height: 72px;*/
436
+ /*width: 140px;*/
437
+ height: 100%;
438
+ width: 18%;
439
+ font-size: 1.4rem;
440
+ text-align: center;
441
+ color: #ffffff;
442
+ }
443
+
444
+ /*td加载图片*/
445
+ .td-1 {
446
+ /*width: 40px;*/
447
+ width: 1%;
448
+ /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
449
+ /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
450
+ /*background-repeat: no-repeat;!**!*/
451
+ /*background-size: 80% 40%;*/
452
+ /*background-position: center;*/
453
+ }
454
+
455
+ span {
456
+ font-size:2.2rem;
457
+ font-weight: bolder;
458
+ color: #69d8d2;
459
+ }
460
+ }
461
+ @media screen and (max-width: 1366px) {
462
+ /*标题样式*/
463
+ .label {
464
+ font-size: 1.85rem;
465
+ color: #fff;
466
+ height: 8%;
467
+ width: 100%;
468
+ margin-left: 6%;
469
+ }
470
+
471
+ /*标题及用户数据表格样式*/
472
+ .f1 {
473
+ height: 31%;
474
+ width: 100%;
475
+ }
476
+
477
+ /*用户数据表格样式*/
478
+ .f2 {
479
+ /*height: 72px;*/
480
+ /*width: 450px;*/
481
+ /*margin-left: 20px*/
482
+ padding: 2% 1%;
483
+ height: 92%;
484
+ width: 100%;
485
+ }
486
+
487
+ /*echarts绘制区域样式*/
488
+ .f3 {
489
+ height: 68.3%;
490
+ width: 100%;
491
+ padding-top: 3%;
492
+ }
493
+
494
+ table {
495
+ width: 100%;
496
+ height: 100%;
497
+ }
498
+
499
+ td {
500
+ /*height: 72px;*/
501
+ /*width: 140px;*/
502
+ height: 100%;
503
+ width: 18%;
504
+ font-size: 1rem;
505
+ text-align: center;
506
+ color: #ffffff;
507
+ }
508
+
509
+ /*td加载图片*/
510
+ .td-1 {
511
+ /*width: 40px;*/
512
+ width: 1%;
513
+ /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
514
+ /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
515
+ /*background-repeat: no-repeat;!**!*/
516
+ /*background-size: 80% 40%;*/
517
+ /*background-position: center;*/
518
+ }
519
+
520
+ span {
521
+ font-size:1.8rem;
522
+ font-weight: bolder;
523
+ color: #69d8d2;
524
+ }
525
+ }
526
+
527
+ </style>