manage-client 3.2.89-aode → 3.2.89-aodeToV4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +187 -187
  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 +187 -187
  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 +229 -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 -559
  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 +511 -459
  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 +7394 -7394
@@ -1,710 +1,710 @@
1
- <template lang="html">
2
- <div style="height: 40px;width: 100%;">
3
- <div style="display: inline-block;">
4
- <label class="control-label">组织机构</label>
5
- <right-tree :userid.sync='obj.userid'
6
- :source.sync='obj.source'
7
- @re-res="getRes"></right-tree>
8
- </div>
9
- <div style="display: inline-block;">
10
- <label class="control-label">用户类型</label>
11
- <v-select
12
- v-model="f_user_type"
13
- placeholder='用户类型'
14
- value-single="true"
15
- :value.sync="f_user_type"
16
- :options='Gasusertype'
17
- close-on-select>
18
- </v-select>
19
- </div>
20
- <div class="mystyle" style="display: inline-block;">
21
- <label class="control-label">失联分组项</label>
22
- <v-select v-model="groupname"
23
- placeholder='分组项'
24
- value-single="true"
25
- :value.sync="groupname"
26
- :options='getgroupname'
27
- close-on-select></v-select>
28
- </div>
29
- <label class="control-label"></label>
30
- <button class="btn btn-success" @click="searchdata()">查询</button>
31
- </div>
32
- <div id="LargeScreenAnalysisEcharts" style="width: 100%;height: 90%;">
33
- <div style=" height: 50%;width: 100%;">
34
- <div id="LargeScreenAnalysis1" class="divtype" style=" height: 100%;width: 49%;"></div>
35
- <div id="LargeScreenAnalysis2" class="divtype" style=" height: 100%;width: 49%;"></div>
36
- </div>
37
- <div style=" height: 50%;width: 100%;">
38
- <div id="LargeScreenAnalysis3" class="divtype" style=" height: 100%;width: 49%;"></div>
39
- <div id="LargeScreenAnalysis4" class="divtype" style=" height: 100%;width: 49%;"></div>
40
- </div>
41
- </div>
42
- </template>
43
-
44
- <script>
45
- import co from 'co'
46
- import echarts from 'echarts'
47
- import {HttpResetClass} from 'vue-client'
48
-
49
- let getData = function* (self) {
50
- let load = new HttpResetClass()
51
- let f_user_type=''
52
- if (self.f_user_type[0]=='') {
53
- f_user_type="like '%用%'"
54
- }else {
55
- f_user_type=self.f_user_type[0]
56
- }
57
- load.load('POST', 'rs/logic/LargeScreenAnalysis',
58
- {
59
- data: {
60
- f_filialeids: self.obj.resids,
61
- groupname: self.groupname[0],
62
- f_user_type: f_user_type
63
- }
64
- },
65
- {resolveMsg: null, rejectMsg: null}).then((res) => {
66
- console.log('开始进行图表重新选渲染')
67
- self.set(res.data)
68
- })
69
- }
70
- export default {
71
- title: '大屏分析',
72
- data() {
73
- return {
74
- Gasusertype: [],
75
- f_user_type: [""],
76
- groupname: ['f_user_type'],
77
- getgroupname: [
78
- {label: '用户类型', value: 'f_user_type'},
79
- {label: '用气性质', value: 'f_gasproperties'},
80
- {label: '分公司', value: 'f_filiale'}
81
- ],
82
- obj: {
83
- userid: this.$login.f.id,
84
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
85
- res: this.$login.f.f_fengongsi,
86
- resids: this.$login.f.f_orgids
87
- },
88
- xc1: '',
89
- xc2: '',
90
- xc3: '',
91
- xc4: ''
92
- }
93
- },
94
- ready() {
95
- this.getTypes()
96
- // this.searchdata()
97
- },
98
- methods: {
99
- getTypes() {
100
- let f_user_type = []
101
- let load = new HttpResetClass()
102
- let self = this
103
- load.load('POST', 'rs/sql/getTypes', {data: {}}, {warnMsg: null, resolveMsg: null}).then((res) => {
104
- let i = 0
105
- for (i = 0; i < res.data.length; i++) {
106
- f_user_type[i] = res.data[i].f_user_type
107
- }
108
- self.Gasusertype = self.uniq(f_user_type)
109
- })
110
- },
111
- uniq(array) {
112
- array.sort();
113
- let arraytype = [{label: '全部', value: ''}]
114
- let dr = {label: '', value: ''}
115
- if (array[0] == null) {
116
- dr = {label: '空值', value: 'is null'}
117
- } else {
118
- dr = {label: array[0], value: "='" + array[0] + "'"}
119
- }
120
- arraytype.push(dr)
121
- let temp = [array[0]];
122
- console.log(array[0] + "array[0]")
123
- for (var i = 1; i < array.length; i++) {
124
- if (array[i] !== temp[temp.length - 1]) {
125
- if (array[i] == null) {
126
- dr = {label: '空值', value: 'is null'}
127
- } else {
128
- dr = {label: array[i], value: "='" + array[i] + "'"}
129
- }
130
- arraytype.push(dr);
131
- temp.push(array[i]);
132
- }
133
- }
134
- return arraytype;
135
- },
136
- set(res) {
137
- //失联数据res:分组项,t:用户数
138
- let loseData = res.loseData
139
- //用气数据f_type:日期,f_oughtamount1:用气量(民用),f_oughtamount2:用气量(非民用)
140
- let gasData = res.gasData
141
- //指令数据 instructTime:日期,c:指令上报总表具数,c0:指令上报成功表具数,
142
- //f_bv2:指令成功率,f_bv1:表具指令成功率,f_bv0:综合指令成功率
143
- let instructData = res.instructData
144
- //抄表数据every_time:日期,f_bv1:抄表成功率,f_gas:日均户均用气量(成功),f_gas1:日均户均用气量(在用)
145
- let meterData = res.meterData
146
- this.xc1 = echarts.init(document.getElementById('LargeScreenAnalysis1'))
147
- this.xc1.setOption({
148
- title: {
149
- text: '用气分析图',
150
- left: 'center',
151
- y: '10',
152
- textStyle: {
153
- color: '#000',
154
- fontSize: 20
155
- }
156
- },
157
- color: ['#61a0a8', '#2f4554'],
158
- tooltip: {
159
- trigger: 'axis',
160
- extraCssText: 'width: auto;height: auto;'
161
- },
162
- grid: {
163
- top: '20%',
164
- },
165
- legend: {
166
- y: '50',
167
- data: ['用气量(民用)(m³)', '用气量(非民用)(m³)']
168
- },
169
- toolbox: {
170
- y: '50',
171
- show: true,
172
- right: '2%',
173
- feature: {
174
- mark: {show: true},
175
- dataView: {show: true, readOnly: false},
176
- magicType: {show: true, type: []},
177
- restore: {show: true},
178
- saveAsImage: {show: true}
179
- }
180
- },
181
- calculable: true,
182
- xAxis: [
183
- {
184
- name: '日期',
185
- nameTextStyle: {
186
- fontSize: 15
187
- },
188
- type: 'category',
189
- data: gasData.f_type
190
- }
191
- ],
192
- yAxis: [
193
- {
194
- type: 'value',
195
- name: '用气量(m³)',
196
- nameTextStyle: {
197
- fontSize: 15
198
- },
199
- axisLabel: {
200
- show: true,
201
- textStyle: {
202
- fontSize: 15,
203
- 'color': '#7d8000'
204
- }
205
- }
206
- }
207
- ],
208
- series: [
209
- {
210
- name: '用气量(民用)(m³)',
211
- type: 'bar',
212
- smooth: true,
213
- itemStyle: {normal: {areaStyle: {type: 'default'}}},
214
- data: gasData.f_oughtamount1,
215
- markPoint: {
216
- data: [
217
- {type: 'max', name: '最大值'},
218
- {type: 'min', name: '最小值'}
219
- ]
220
- },
221
- markLine: {
222
- data: [
223
- {type: 'average', name: '平均值'}
224
- ]
225
- }
226
- },
227
- {
228
- name: '用气量(非民用)(m³)',
229
- type: 'bar',
230
- smooth: true,
231
- itemStyle: {normal: {areaStyle: {type: 'default'}}},
232
- data: gasData.f_oughtamount2,
233
- markPoint: {
234
- data: [
235
- {type: 'max', name: '最大值'},
236
- {type: 'min', name: '最小值'}
237
- ]
238
- },
239
- markLine: {
240
- data: [
241
- {type: 'average', name: '平均值'}
242
- ]
243
- }
244
- }
245
- ]
246
- },true)
247
- this.xc2 = echarts.init(document.getElementById('LargeScreenAnalysis2'))
248
- this.xc2.setOption({
249
- title: {
250
- text: '表具失联分析',
251
- 'left': 'center',
252
- textStyle: {
253
- color: '#000',
254
- fontSize: 15
255
- }
256
- },
257
- tooltip: {
258
- trigger: 'axis',
259
- extraCssText: 'width: auto;height: auto;'
260
- },
261
- toolbox: {
262
- right:'2%',
263
- show: true,
264
- feature: {
265
- dataView: {show: true, readOnly: false},
266
- magicType: {show: true, type: []},
267
- restore: {show: true},
268
- saveAsImage: {show: true}
269
- }
270
- },
271
- calculable: true,
272
- xAxis: [
273
- {
274
- name: '分组项',
275
- nameTextStyle: {
276
- fontSize: 15
277
- },
278
- type: 'category',
279
- data: loseData.res,
280
- axisLabel: {
281
- show: true,
282
- textStyle: {
283
- fontSize: 15
284
- }
285
- }
286
- }
287
- ],
288
- yAxis: [
289
- {
290
- name: '用户数(户)',
291
- nameTextStyle: {
292
- fontSize: 15
293
- },
294
- type: 'value'
295
- }
296
- ],
297
- series: [
298
- {
299
- name: '表具数',
300
- type: 'bar',
301
- data: loseData.t,
302
- markPoint: {
303
- data: [
304
- {type: 'max', name: '最大值'},
305
- {type: 'min', name: '最小值'}
306
- ]
307
- },
308
- markLine: {
309
- data: [
310
- {type: 'average', name: '平均值'}
311
- ]
312
- }
313
- }
314
- ]
315
- },true)
316
- this.xc3 = echarts.init(document.getElementById('LargeScreenAnalysis3'))
317
- this.xc3.setOption({
318
- 'title': {
319
- 'text': '抄表率分析',
320
- 'left': 'center',
321
- 'y': '10',
322
- 'textStyle': {
323
- 'color': '#696969',
324
- fontSize: 20
325
- }
326
- },
327
- 'color': '#384757',
328
- 'tooltip': {
329
- 'trigger': 'axis',
330
- 'extraCssText': 'width: auto;height: auto;'
331
- },
332
- 'legend': {
333
- 'data': [
334
- {
335
- 'name': '日均户均用气量(成功)(m³)',
336
- 'icon': 'circle',
337
- 'textStyle': {
338
- 'color': '#7d8000',
339
- fontSize: 12
340
- }
341
- },
342
- {
343
- 'name': '日均户均用气量(在用)(m³)',
344
- 'icon': 'circle',
345
- 'textStyle': {
346
- 'color': '#7b5541',
347
- fontSize: 12
348
- }
349
- },
350
- {
351
- 'name': '抄表成功率%',
352
- 'icon': 'circle',
353
- 'textStyle': {
354
- 'color': '#ffaa00',
355
- fontSize: 12
356
- }
357
- }
358
- ],
359
- 'top': '10%',
360
- 'textStyle': {
361
- 'color': '#fff'
362
- }
363
- },
364
- 'xAxis': [
365
- {
366
- 'type': 'category',
367
- 'data': meterData.every_time,
368
- 'axisPointer': {
369
- 'type': 'shadow'
370
- },
371
- 'axisLabel': {
372
- 'show': true,
373
- 'textStyle': {
374
- 'color': '#7d838b',
375
- fontSize: 10
376
- }
377
- }
378
- }
379
- ],
380
- 'yAxis': [
381
- {
382
- 'type': 'value',
383
- 'name': '用气量(m³)',
384
- nameTextStyle: {
385
- fontSize: 10
386
- },
387
- 'show': true,
388
- 'axisLabel': {
389
- 'show': true,
390
- 'textStyle': {
391
- 'color': '#7d8000',
392
- fontSize: 10
393
- }
394
- }
395
- },
396
- {
397
- 'type': 'value',
398
- 'name': '完成率(%)',
399
- nameTextStyle: {
400
- fontSize: 10
401
- },
402
- 'show': true,
403
- 'axisLabel': {
404
- 'show': true,
405
- 'textStyle': {
406
- 'color': '#7d838b',
407
- fontSize: 10
408
- }
409
- }
410
- }
411
- ],
412
- 'grid': {
413
- 'top': '20%'
414
- },
415
- 'series': [
416
- {
417
- 'name': '日均户均用气量(成功)(m³)',
418
- nameTextStyle: {
419
- fontSize: 10
420
- },
421
- 'type': 'bar',
422
- 'data': meterData.f_gas,
423
- 'markPoint': {
424
- data: [
425
- {type: 'max', name: '最大值'},
426
- {type: 'min', name: '最小值'}
427
- ]
428
- },
429
- markLine: {
430
- data: [
431
- {type: 'average', name: '平均值'}
432
- ]
433
- },
434
- 'itemStyle': {
435
- 'normal': {
436
- 'color': '#7d8000'
437
- }
438
- },
439
- 'barWidth': 'auto',
440
- 'barGap': '0'
441
- },
442
- {
443
- 'name': '日均户均用气量(在用)(m³)',
444
- nameTextStyle: {
445
- fontSize: 10
446
- },
447
- 'type': 'bar',
448
- 'data': meterData.f_gas1,
449
- 'barWidth': 'auto',
450
- markPoint: {
451
- data: [
452
- {type: 'max', name: '最大值'},
453
- {type: 'min', name: '最小值'}
454
- ]
455
- },
456
- markLine: {
457
- data: [
458
- {type: 'average', name: '平均值'}
459
- ]
460
- },
461
- 'itemStyle': {
462
- 'normal': {
463
- 'color': '#7b5541'
464
- }
465
- },
466
- 'barGap': '0'
467
- },
468
- {
469
- 'name': '抄表成功率%',
470
- 'type': 'line',
471
- 'yAxisIndex': 1,
472
- 'data': meterData.f_bv1,
473
- 'itemStyle': {
474
- 'normal': {
475
- 'color': '#ffaa00',
476
- fontSize: 10
477
- }
478
- },
479
- 'smooth': true
480
- }
481
- ]
482
- },true)
483
- this.xc4 = echarts.init(document.getElementById('LargeScreenAnalysis4'))
484
- this.xc4.setOption({
485
- 'title': {
486
- 'text': '指令成功率分析',
487
- 'left': 'center',
488
- 'y': '10',
489
- 'textStyle': {
490
- 'color': '#696969',
491
- fontSize: 20
492
- }
493
- },
494
- 'color': '#384757',
495
- 'tooltip': {
496
- 'trigger': 'axis',
497
- 'extraCssText': 'width: auto;height: auto;'
498
- },
499
- 'legend': {
500
- 'data': [
501
- {
502
- 'name': '指令成功表具数',
503
- 'icon': 'circle',
504
- 'textStyle': {
505
- 'color': '#5b5',
506
- fontSize: 12
507
- }
508
- },
509
- {
510
- 'name': '总表具数',
511
- 'icon': 'circle',
512
- 'textStyle': {
513
- 'color': '#233564',
514
- fontSize: 12
515
- }
516
- },
517
- {
518
- 'name': '表具指令成功率%',
519
- 'icon': 'circle',
520
- 'textStyle': {
521
- 'color': '#ffaa00',
522
- fontSize: 12
523
- }
524
- },
525
- {
526
- 'name': '指令成功率%',
527
- 'icon': 'circle',
528
- 'textStyle': {
529
- 'color': '#ffaaff',
530
- fontSize: 12
531
- }
532
- },
533
- {
534
- 'name': '综合指令成功率%',
535
- 'icon': 'circle',
536
- 'textStyle': {
537
- 'color': '#ff0000',
538
- fontSize: 12
539
- }
540
- }
541
- ],
542
- 'top': '10%',
543
- 'textStyle': {
544
- 'color': '#fff'
545
- }
546
- },
547
- 'xAxis': [
548
- {
549
- 'type': 'category',
550
- 'data': instructData.instructTime,
551
- 'axisPointer': {
552
- 'type': 'shadow'
553
- },
554
- 'axisLabel': {
555
- 'show': true,
556
- 'textStyle': {
557
- 'color': '#7d838b',
558
- fontSize: 15
559
- }
560
- }
561
- }
562
- ],
563
- 'yAxis': [
564
- {
565
- 'type': 'value',
566
- 'name': '表具数',
567
- nameTextStyle: {
568
- fontSize: 10
569
- },
570
- 'show': true,
571
- 'axisLabel': {
572
- 'show': true,
573
- 'textStyle': {
574
- 'color': '#7d838b',
575
- fontSize: 10
576
- }
577
- }
578
- },
579
- {
580
- 'type': 'value',
581
- 'name': '成功率%',
582
- nameTextStyle: {
583
- fontSize: 15
584
- },
585
- 'show': true,
586
- 'axisLabel': {
587
- 'show': true,
588
- 'textStyle': {
589
- 'color': '#ffaa00',
590
- fontSize: 15
591
- }
592
- }
593
- }
594
- ],
595
- 'grid': {
596
- 'top': '20%'
597
- },
598
- 'series': [
599
- {
600
- 'name': '指令成功表具数',
601
- nameTextStyle: {
602
- fontSize: 15
603
- },
604
- 'type': 'bar',
605
- 'data': instructData.c0,
606
- 'markPoint': {
607
- data: [
608
- {type: 'max', name: '最大值'},
609
- {type: 'min', name: '最小值'}
610
- ]
611
- },
612
- markLine: {
613
- data: [
614
- {type: 'average', name: '平均值'}
615
- ]
616
- },
617
- 'barWidth': 'auto',
618
- 'itemStyle': {
619
- 'normal': {
620
- 'color': '#5b5'
621
- }
622
- },
623
- 'barGap': '0'
624
- },
625
- {
626
- 'name': '总表具数',
627
- nameTextStyle: {
628
- fontSize: 15
629
- },
630
- 'type': 'bar',
631
- 'data': instructData.c,
632
- 'markPoint': {
633
- data: [
634
- {type: 'max', name: '最大值'},
635
- {type: 'min', name: '最小值'}
636
- ]
637
- },
638
- markLine: {
639
- data: [
640
- {type: 'average', name: '平均值'}
641
- ]
642
- },
643
- 'barWidth': 'auto',
644
- 'itemStyle': {
645
- 'normal': {
646
- 'color': '#233564'
647
- }
648
- },
649
- 'barGap': '0'
650
- },
651
- {
652
- 'name': '表具指令成功率%',
653
- 'type': 'line',
654
- 'yAxisIndex': 1,
655
- 'data': instructData.f_bv1,
656
- 'itemStyle': {
657
- 'normal': {
658
- 'color': '#ffaa00',
659
- fontSize: 15
660
- }
661
- },
662
- 'smooth': true
663
- },
664
- {
665
- 'name': '指令成功率%',
666
- 'type': 'line',
667
- 'yAxisIndex': 1,
668
- 'data': instructData.f_bv2,
669
- 'itemStyle': {
670
- 'normal': {
671
- 'color': '#ffaaff',
672
- fontSize: 15
673
- }
674
- },
675
- 'smooth': true
676
- },
677
- {
678
- 'name': '综合指令成功率%',
679
- 'type': 'line',
680
- 'yAxisIndex': 1,
681
- 'data': instructData.f_bv0,
682
- 'itemStyle': {
683
- 'normal': {
684
- 'color': '#ff0000',
685
- fontSize: 15
686
- }
687
- },
688
- 'smooth': true
689
- }
690
- ]
691
- },true)
692
- },
693
- searchdata() {
694
- console.log("进入查询")
695
- let getGen = getData(this)
696
- co(getGen)
697
- }
698
- }
699
- }
700
- </script>
701
-
702
- <style>
703
- .mystyle {
704
- float: right;
705
- padding-right: 10%;
706
- }
707
- .divtype{
708
- display: inline-block;
709
- }
710
- </style>
1
+ <template lang="html">
2
+ <div style="height: 40px;width: 100%;">
3
+ <div style="display: inline-block;">
4
+ <label class="control-label">组织机构</label>
5
+ <right-tree :userid.sync='obj.userid'
6
+ :source.sync='obj.source'
7
+ @re-res="getRes"></right-tree>
8
+ </div>
9
+ <div style="display: inline-block;">
10
+ <label class="control-label">用户类型</label>
11
+ <v-select
12
+ v-model="f_user_type"
13
+ placeholder='用户类型'
14
+ value-single="true"
15
+ :value.sync="f_user_type"
16
+ :options='Gasusertype'
17
+ close-on-select>
18
+ </v-select>
19
+ </div>
20
+ <div class="mystyle" style="display: inline-block;">
21
+ <label class="control-label">失联分组项</label>
22
+ <v-select v-model="groupname"
23
+ placeholder='分组项'
24
+ value-single="true"
25
+ :value.sync="groupname"
26
+ :options='getgroupname'
27
+ close-on-select></v-select>
28
+ </div>
29
+ <label class="control-label"></label>
30
+ <button class="btn btn-success" @click="searchdata()">查询</button>
31
+ </div>
32
+ <div id="LargeScreenAnalysisEcharts" style="width: 100%;height: 90%;">
33
+ <div style=" height: 50%;width: 100%;">
34
+ <div id="LargeScreenAnalysis1" class="divtype" style=" height: 100%;width: 49%;"></div>
35
+ <div id="LargeScreenAnalysis2" class="divtype" style=" height: 100%;width: 49%;"></div>
36
+ </div>
37
+ <div style=" height: 50%;width: 100%;">
38
+ <div id="LargeScreenAnalysis3" class="divtype" style=" height: 100%;width: 49%;"></div>
39
+ <div id="LargeScreenAnalysis4" class="divtype" style=" height: 100%;width: 49%;"></div>
40
+ </div>
41
+ </div>
42
+ </template>
43
+
44
+ <script>
45
+ import co from 'co'
46
+ import echarts from 'echarts'
47
+ import {HttpResetClass} from 'vue-client'
48
+
49
+ let getData = function* (self) {
50
+ let load = new HttpResetClass()
51
+ let f_user_type=''
52
+ if (self.f_user_type[0]=='') {
53
+ f_user_type="like '%用%'"
54
+ }else {
55
+ f_user_type=self.f_user_type[0]
56
+ }
57
+ load.load('POST', 'api/af-revenue/logic/LargeScreenAnalysis',
58
+ {
59
+ data: {
60
+ f_filialeids: self.obj.resids,
61
+ groupname: self.groupname[0],
62
+ f_user_type: f_user_type
63
+ }
64
+ },
65
+ {resolveMsg: null, rejectMsg: null}).then((res) => {
66
+ console.log('开始进行图表重新选渲染')
67
+ self.set(res.data)
68
+ })
69
+ }
70
+ export default {
71
+ title: '大屏分析',
72
+ data() {
73
+ return {
74
+ Gasusertype: [],
75
+ f_user_type: [""],
76
+ groupname: ['f_user_type'],
77
+ getgroupname: [
78
+ {label: '用户类型', value: 'f_user_type'},
79
+ {label: '用气性质', value: 'f_gasproperties'},
80
+ {label: '分公司', value: 'f_filiale'}
81
+ ],
82
+ obj: {
83
+ userid: this.$login.f.id,
84
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
85
+ res: this.$login.f.f_fengongsi,
86
+ resids: this.$login.f.f_orgids
87
+ },
88
+ xc1: '',
89
+ xc2: '',
90
+ xc3: '',
91
+ xc4: ''
92
+ }
93
+ },
94
+ ready() {
95
+ this.getTypes()
96
+ // this.searchdata()
97
+ },
98
+ methods: {
99
+ getTypes() {
100
+ let f_user_type = []
101
+ let load = new HttpResetClass()
102
+ let self = this
103
+ load.load('POST', 'api/af-revenue/sql/getTypes', {data: {}}, {warnMsg: null, resolveMsg: null}).then((res) => {
104
+ let i = 0
105
+ for (i = 0; i < res.data.length; i++) {
106
+ f_user_type[i] = res.data[i].f_user_type
107
+ }
108
+ self.Gasusertype = self.uniq(f_user_type)
109
+ })
110
+ },
111
+ uniq(array) {
112
+ array.sort();
113
+ let arraytype = [{label: '全部', value: ''}]
114
+ let dr = {label: '', value: ''}
115
+ if (array[0] == null) {
116
+ dr = {label: '空值', value: 'is null'}
117
+ } else {
118
+ dr = {label: array[0], value: "='" + array[0] + "'"}
119
+ }
120
+ arraytype.push(dr)
121
+ let temp = [array[0]];
122
+ console.log(array[0] + "array[0]")
123
+ for (var i = 1; i < array.length; i++) {
124
+ if (array[i] !== temp[temp.length - 1]) {
125
+ if (array[i] == null) {
126
+ dr = {label: '空值', value: 'is null'}
127
+ } else {
128
+ dr = {label: array[i], value: "='" + array[i] + "'"}
129
+ }
130
+ arraytype.push(dr);
131
+ temp.push(array[i]);
132
+ }
133
+ }
134
+ return arraytype;
135
+ },
136
+ set(res) {
137
+ //失联数据res:分组项,t:用户数
138
+ let loseData = res.loseData
139
+ //用气数据f_type:日期,f_oughtamount1:用气量(民用),f_oughtamount2:用气量(非民用)
140
+ let gasData = res.gasData
141
+ //指令数据 instructTime:日期,c:指令上报总表具数,c0:指令上报成功表具数,
142
+ //f_bv2:指令成功率,f_bv1:表具指令成功率,f_bv0:综合指令成功率
143
+ let instructData = res.instructData
144
+ //抄表数据every_time:日期,f_bv1:抄表成功率,f_gas:日均户均用气量(成功),f_gas1:日均户均用气量(在用)
145
+ let meterData = res.meterData
146
+ this.xc1 = echarts.init(document.getElementById('LargeScreenAnalysis1'))
147
+ this.xc1.setOption({
148
+ title: {
149
+ text: '用气分析图',
150
+ left: 'center',
151
+ y: '10',
152
+ textStyle: {
153
+ color: '#000',
154
+ fontSize: 20
155
+ }
156
+ },
157
+ color: ['#61a0a8', '#2f4554'],
158
+ tooltip: {
159
+ trigger: 'axis',
160
+ extraCssText: 'width: auto;height: auto;'
161
+ },
162
+ grid: {
163
+ top: '20%',
164
+ },
165
+ legend: {
166
+ y: '50',
167
+ data: ['用气量(民用)(m³)', '用气量(非民用)(m³)']
168
+ },
169
+ toolbox: {
170
+ y: '50',
171
+ show: true,
172
+ right: '2%',
173
+ feature: {
174
+ mark: {show: true},
175
+ dataView: {show: true, readOnly: false},
176
+ magicType: {show: true, type: []},
177
+ restore: {show: true},
178
+ saveAsImage: {show: true}
179
+ }
180
+ },
181
+ calculable: true,
182
+ xAxis: [
183
+ {
184
+ name: '日期',
185
+ nameTextStyle: {
186
+ fontSize: 15
187
+ },
188
+ type: 'category',
189
+ data: gasData.f_type
190
+ }
191
+ ],
192
+ yAxis: [
193
+ {
194
+ type: 'value',
195
+ name: '用气量(m³)',
196
+ nameTextStyle: {
197
+ fontSize: 15
198
+ },
199
+ axisLabel: {
200
+ show: true,
201
+ textStyle: {
202
+ fontSize: 15,
203
+ 'color': '#7d8000'
204
+ }
205
+ }
206
+ }
207
+ ],
208
+ series: [
209
+ {
210
+ name: '用气量(民用)(m³)',
211
+ type: 'bar',
212
+ smooth: true,
213
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
214
+ data: gasData.f_oughtamount1,
215
+ markPoint: {
216
+ data: [
217
+ {type: 'max', name: '最大值'},
218
+ {type: 'min', name: '最小值'}
219
+ ]
220
+ },
221
+ markLine: {
222
+ data: [
223
+ {type: 'average', name: '平均值'}
224
+ ]
225
+ }
226
+ },
227
+ {
228
+ name: '用气量(非民用)(m³)',
229
+ type: 'bar',
230
+ smooth: true,
231
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
232
+ data: gasData.f_oughtamount2,
233
+ markPoint: {
234
+ data: [
235
+ {type: 'max', name: '最大值'},
236
+ {type: 'min', name: '最小值'}
237
+ ]
238
+ },
239
+ markLine: {
240
+ data: [
241
+ {type: 'average', name: '平均值'}
242
+ ]
243
+ }
244
+ }
245
+ ]
246
+ },true)
247
+ this.xc2 = echarts.init(document.getElementById('LargeScreenAnalysis2'))
248
+ this.xc2.setOption({
249
+ title: {
250
+ text: '表具失联分析',
251
+ 'left': 'center',
252
+ textStyle: {
253
+ color: '#000',
254
+ fontSize: 15
255
+ }
256
+ },
257
+ tooltip: {
258
+ trigger: 'axis',
259
+ extraCssText: 'width: auto;height: auto;'
260
+ },
261
+ toolbox: {
262
+ right:'2%',
263
+ show: true,
264
+ feature: {
265
+ dataView: {show: true, readOnly: false},
266
+ magicType: {show: true, type: []},
267
+ restore: {show: true},
268
+ saveAsImage: {show: true}
269
+ }
270
+ },
271
+ calculable: true,
272
+ xAxis: [
273
+ {
274
+ name: '分组项',
275
+ nameTextStyle: {
276
+ fontSize: 15
277
+ },
278
+ type: 'category',
279
+ data: loseData.res,
280
+ axisLabel: {
281
+ show: true,
282
+ textStyle: {
283
+ fontSize: 15
284
+ }
285
+ }
286
+ }
287
+ ],
288
+ yAxis: [
289
+ {
290
+ name: '用户数(户)',
291
+ nameTextStyle: {
292
+ fontSize: 15
293
+ },
294
+ type: 'value'
295
+ }
296
+ ],
297
+ series: [
298
+ {
299
+ name: '表具数',
300
+ type: 'bar',
301
+ data: loseData.t,
302
+ markPoint: {
303
+ data: [
304
+ {type: 'max', name: '最大值'},
305
+ {type: 'min', name: '最小值'}
306
+ ]
307
+ },
308
+ markLine: {
309
+ data: [
310
+ {type: 'average', name: '平均值'}
311
+ ]
312
+ }
313
+ }
314
+ ]
315
+ },true)
316
+ this.xc3 = echarts.init(document.getElementById('LargeScreenAnalysis3'))
317
+ this.xc3.setOption({
318
+ 'title': {
319
+ 'text': '抄表率分析',
320
+ 'left': 'center',
321
+ 'y': '10',
322
+ 'textStyle': {
323
+ 'color': '#696969',
324
+ fontSize: 20
325
+ }
326
+ },
327
+ 'color': '#384757',
328
+ 'tooltip': {
329
+ 'trigger': 'axis',
330
+ 'extraCssText': 'width: auto;height: auto;'
331
+ },
332
+ 'legend': {
333
+ 'data': [
334
+ {
335
+ 'name': '日均户均用气量(成功)(m³)',
336
+ 'icon': 'circle',
337
+ 'textStyle': {
338
+ 'color': '#7d8000',
339
+ fontSize: 12
340
+ }
341
+ },
342
+ {
343
+ 'name': '日均户均用气量(在用)(m³)',
344
+ 'icon': 'circle',
345
+ 'textStyle': {
346
+ 'color': '#7b5541',
347
+ fontSize: 12
348
+ }
349
+ },
350
+ {
351
+ 'name': '抄表成功率%',
352
+ 'icon': 'circle',
353
+ 'textStyle': {
354
+ 'color': '#ffaa00',
355
+ fontSize: 12
356
+ }
357
+ }
358
+ ],
359
+ 'top': '10%',
360
+ 'textStyle': {
361
+ 'color': '#fff'
362
+ }
363
+ },
364
+ 'xAxis': [
365
+ {
366
+ 'type': 'category',
367
+ 'data': meterData.every_time,
368
+ 'axisPointer': {
369
+ 'type': 'shadow'
370
+ },
371
+ 'axisLabel': {
372
+ 'show': true,
373
+ 'textStyle': {
374
+ 'color': '#7d838b',
375
+ fontSize: 10
376
+ }
377
+ }
378
+ }
379
+ ],
380
+ 'yAxis': [
381
+ {
382
+ 'type': 'value',
383
+ 'name': '用气量(m³)',
384
+ nameTextStyle: {
385
+ fontSize: 10
386
+ },
387
+ 'show': true,
388
+ 'axisLabel': {
389
+ 'show': true,
390
+ 'textStyle': {
391
+ 'color': '#7d8000',
392
+ fontSize: 10
393
+ }
394
+ }
395
+ },
396
+ {
397
+ 'type': 'value',
398
+ 'name': '完成率(%)',
399
+ nameTextStyle: {
400
+ fontSize: 10
401
+ },
402
+ 'show': true,
403
+ 'axisLabel': {
404
+ 'show': true,
405
+ 'textStyle': {
406
+ 'color': '#7d838b',
407
+ fontSize: 10
408
+ }
409
+ }
410
+ }
411
+ ],
412
+ 'grid': {
413
+ 'top': '20%'
414
+ },
415
+ 'series': [
416
+ {
417
+ 'name': '日均户均用气量(成功)(m³)',
418
+ nameTextStyle: {
419
+ fontSize: 10
420
+ },
421
+ 'type': 'bar',
422
+ 'data': meterData.f_gas,
423
+ 'markPoint': {
424
+ data: [
425
+ {type: 'max', name: '最大值'},
426
+ {type: 'min', name: '最小值'}
427
+ ]
428
+ },
429
+ markLine: {
430
+ data: [
431
+ {type: 'average', name: '平均值'}
432
+ ]
433
+ },
434
+ 'itemStyle': {
435
+ 'normal': {
436
+ 'color': '#7d8000'
437
+ }
438
+ },
439
+ 'barWidth': 'auto',
440
+ 'barGap': '0'
441
+ },
442
+ {
443
+ 'name': '日均户均用气量(在用)(m³)',
444
+ nameTextStyle: {
445
+ fontSize: 10
446
+ },
447
+ 'type': 'bar',
448
+ 'data': meterData.f_gas1,
449
+ 'barWidth': 'auto',
450
+ markPoint: {
451
+ data: [
452
+ {type: 'max', name: '最大值'},
453
+ {type: 'min', name: '最小值'}
454
+ ]
455
+ },
456
+ markLine: {
457
+ data: [
458
+ {type: 'average', name: '平均值'}
459
+ ]
460
+ },
461
+ 'itemStyle': {
462
+ 'normal': {
463
+ 'color': '#7b5541'
464
+ }
465
+ },
466
+ 'barGap': '0'
467
+ },
468
+ {
469
+ 'name': '抄表成功率%',
470
+ 'type': 'line',
471
+ 'yAxisIndex': 1,
472
+ 'data': meterData.f_bv1,
473
+ 'itemStyle': {
474
+ 'normal': {
475
+ 'color': '#ffaa00',
476
+ fontSize: 10
477
+ }
478
+ },
479
+ 'smooth': true
480
+ }
481
+ ]
482
+ },true)
483
+ this.xc4 = echarts.init(document.getElementById('LargeScreenAnalysis4'))
484
+ this.xc4.setOption({
485
+ 'title': {
486
+ 'text': '指令成功率分析',
487
+ 'left': 'center',
488
+ 'y': '10',
489
+ 'textStyle': {
490
+ 'color': '#696969',
491
+ fontSize: 20
492
+ }
493
+ },
494
+ 'color': '#384757',
495
+ 'tooltip': {
496
+ 'trigger': 'axis',
497
+ 'extraCssText': 'width: auto;height: auto;'
498
+ },
499
+ 'legend': {
500
+ 'data': [
501
+ {
502
+ 'name': '指令成功表具数',
503
+ 'icon': 'circle',
504
+ 'textStyle': {
505
+ 'color': '#5b5',
506
+ fontSize: 12
507
+ }
508
+ },
509
+ {
510
+ 'name': '总表具数',
511
+ 'icon': 'circle',
512
+ 'textStyle': {
513
+ 'color': '#233564',
514
+ fontSize: 12
515
+ }
516
+ },
517
+ {
518
+ 'name': '表具指令成功率%',
519
+ 'icon': 'circle',
520
+ 'textStyle': {
521
+ 'color': '#ffaa00',
522
+ fontSize: 12
523
+ }
524
+ },
525
+ {
526
+ 'name': '指令成功率%',
527
+ 'icon': 'circle',
528
+ 'textStyle': {
529
+ 'color': '#ffaaff',
530
+ fontSize: 12
531
+ }
532
+ },
533
+ {
534
+ 'name': '综合指令成功率%',
535
+ 'icon': 'circle',
536
+ 'textStyle': {
537
+ 'color': '#ff0000',
538
+ fontSize: 12
539
+ }
540
+ }
541
+ ],
542
+ 'top': '10%',
543
+ 'textStyle': {
544
+ 'color': '#fff'
545
+ }
546
+ },
547
+ 'xAxis': [
548
+ {
549
+ 'type': 'category',
550
+ 'data': instructData.instructTime,
551
+ 'axisPointer': {
552
+ 'type': 'shadow'
553
+ },
554
+ 'axisLabel': {
555
+ 'show': true,
556
+ 'textStyle': {
557
+ 'color': '#7d838b',
558
+ fontSize: 15
559
+ }
560
+ }
561
+ }
562
+ ],
563
+ 'yAxis': [
564
+ {
565
+ 'type': 'value',
566
+ 'name': '表具数',
567
+ nameTextStyle: {
568
+ fontSize: 10
569
+ },
570
+ 'show': true,
571
+ 'axisLabel': {
572
+ 'show': true,
573
+ 'textStyle': {
574
+ 'color': '#7d838b',
575
+ fontSize: 10
576
+ }
577
+ }
578
+ },
579
+ {
580
+ 'type': 'value',
581
+ 'name': '成功率%',
582
+ nameTextStyle: {
583
+ fontSize: 15
584
+ },
585
+ 'show': true,
586
+ 'axisLabel': {
587
+ 'show': true,
588
+ 'textStyle': {
589
+ 'color': '#ffaa00',
590
+ fontSize: 15
591
+ }
592
+ }
593
+ }
594
+ ],
595
+ 'grid': {
596
+ 'top': '20%'
597
+ },
598
+ 'series': [
599
+ {
600
+ 'name': '指令成功表具数',
601
+ nameTextStyle: {
602
+ fontSize: 15
603
+ },
604
+ 'type': 'bar',
605
+ 'data': instructData.c0,
606
+ 'markPoint': {
607
+ data: [
608
+ {type: 'max', name: '最大值'},
609
+ {type: 'min', name: '最小值'}
610
+ ]
611
+ },
612
+ markLine: {
613
+ data: [
614
+ {type: 'average', name: '平均值'}
615
+ ]
616
+ },
617
+ 'barWidth': 'auto',
618
+ 'itemStyle': {
619
+ 'normal': {
620
+ 'color': '#5b5'
621
+ }
622
+ },
623
+ 'barGap': '0'
624
+ },
625
+ {
626
+ 'name': '总表具数',
627
+ nameTextStyle: {
628
+ fontSize: 15
629
+ },
630
+ 'type': 'bar',
631
+ 'data': instructData.c,
632
+ 'markPoint': {
633
+ data: [
634
+ {type: 'max', name: '最大值'},
635
+ {type: 'min', name: '最小值'}
636
+ ]
637
+ },
638
+ markLine: {
639
+ data: [
640
+ {type: 'average', name: '平均值'}
641
+ ]
642
+ },
643
+ 'barWidth': 'auto',
644
+ 'itemStyle': {
645
+ 'normal': {
646
+ 'color': '#233564'
647
+ }
648
+ },
649
+ 'barGap': '0'
650
+ },
651
+ {
652
+ 'name': '表具指令成功率%',
653
+ 'type': 'line',
654
+ 'yAxisIndex': 1,
655
+ 'data': instructData.f_bv1,
656
+ 'itemStyle': {
657
+ 'normal': {
658
+ 'color': '#ffaa00',
659
+ fontSize: 15
660
+ }
661
+ },
662
+ 'smooth': true
663
+ },
664
+ {
665
+ 'name': '指令成功率%',
666
+ 'type': 'line',
667
+ 'yAxisIndex': 1,
668
+ 'data': instructData.f_bv2,
669
+ 'itemStyle': {
670
+ 'normal': {
671
+ 'color': '#ffaaff',
672
+ fontSize: 15
673
+ }
674
+ },
675
+ 'smooth': true
676
+ },
677
+ {
678
+ 'name': '综合指令成功率%',
679
+ 'type': 'line',
680
+ 'yAxisIndex': 1,
681
+ 'data': instructData.f_bv0,
682
+ 'itemStyle': {
683
+ 'normal': {
684
+ 'color': '#ff0000',
685
+ fontSize: 15
686
+ }
687
+ },
688
+ 'smooth': true
689
+ }
690
+ ]
691
+ },true)
692
+ },
693
+ searchdata() {
694
+ console.log("进入查询")
695
+ let getGen = getData(this)
696
+ co(getGen)
697
+ }
698
+ }
699
+ }
700
+ </script>
701
+
702
+ <style>
703
+ .mystyle {
704
+ float: right;
705
+ padding-right: 10%;
706
+ }
707
+ .divtype{
708
+ display: inline-block;
709
+ }
710
+ </style>