manage-client 3.2.37 → 3.2.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/5.4.1/gc.properties +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  9. package/.project +18 -18
  10. package/CHANGELOG.md +15 -15
  11. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  12. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  13. package/ManageClient.iml +13 -13
  14. package/README.md +38 -38
  15. package/build/dev-server.js +194 -174
  16. package/build/webpack.base.conf.js +82 -82
  17. package/build.gradle +13 -13
  18. package/config/dev.env.js +6 -6
  19. package/config/index.js +40 -40
  20. package/config/prod.env.js +3 -3
  21. package/config/test.env.js +6 -6
  22. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  23. package/gradlew.bat +100 -100
  24. package/index.html +28 -28
  25. package/package.json +1 -1
  26. package/release.bat +5 -5
  27. package/src/.idea/misc.xml +9 -0
  28. package/src/.idea/modules.xml +8 -0
  29. package/src/.idea/src.iml +9 -0
  30. package/src/.idea/vcs.xml +6 -0
  31. package/src/.idea/workspace.xml +93 -0
  32. package/src/ManageHome.js +269 -269
  33. package/src/Staff/StaffCompileList.vue +334 -334
  34. package/src/Staff/StaffList.vue +161 -161
  35. package/src/Staff/StaffListManage.vue +49 -49
  36. package/src/Util.js +367 -367
  37. package/src/components/BasisEcharts/BarChart.vue +247 -247
  38. package/src/components/BasisEcharts/LineChart.vue +243 -243
  39. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  40. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  41. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  42. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  43. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  44. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  45. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  46. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  47. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  48. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  49. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  50. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  51. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  52. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  53. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  54. package/src/components/ManageHome/Home/Home.vue +138 -138
  55. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  56. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  57. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  58. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  59. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  60. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  61. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  62. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  63. package/src/components/ManageHome/ManageHome.vue +292 -292
  64. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  65. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  66. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  67. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  68. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  69. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  70. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  71. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  72. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  73. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  74. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  75. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  76. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  77. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  78. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  79. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  80. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  81. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  82. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  83. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  84. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  85. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  86. package/src/components/ManageHome/User/UseHome.vue +155 -155
  87. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  88. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  89. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  90. package/src/components/ManageHome/loading.vue +23 -23
  91. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  92. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  93. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  94. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  95. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  96. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  97. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  98. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  99. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  100. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  101. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  102. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  103. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  104. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  105. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  106. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  107. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  108. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  109. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  110. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  111. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  112. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  113. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  114. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  115. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  116. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  117. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  118. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  119. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  120. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  121. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  122. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  123. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  124. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  125. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  126. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  127. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  128. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  129. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  130. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  131. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  132. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  133. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  134. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  135. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  136. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  137. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  138. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  139. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  140. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  141. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  142. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  143. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  144. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  145. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  146. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  147. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  148. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  149. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  150. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  151. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  152. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  153. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  154. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  155. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  156. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  157. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  158. package/src/components/ManageHomeCS/loading.vue +39 -39
  159. package/src/components/ManageHomeCS/test.vue +88 -88
  160. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  161. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  162. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  163. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  164. package/src/components/MeterManage/HandQuery.vue +72 -72
  165. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  166. package/src/components/MeterManage/MeterList.vue +336 -336
  167. package/src/components/MeterManage/MeterMsg.vue +181 -181
  168. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  169. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  170. package/src/components/MeterManage/TransferQuery.vue +72 -72
  171. package/src/components/SellReport/BankManager.vue +146 -146
  172. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  173. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  174. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  175. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  176. package/src/components/SellReport/ChOtherfee.vue +251 -251
  177. package/src/components/SellReport/CollectFee.vue +184 -184
  178. package/src/components/SellReport/Contrast.vue +188 -188
  179. package/src/components/SellReport/DayStairMoney.vue +256 -256
  180. package/src/components/SellReport/FenxiangSell.vue +183 -183
  181. package/src/components/SellReport/FxGasTable.vue +220 -220
  182. package/src/components/SellReport/GasCollect.vue +174 -174
  183. package/src/components/SellReport/GaspriceHas.vue +141 -141
  184. package/src/components/SellReport/HandCollect.vue +189 -189
  185. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  186. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  187. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  188. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  189. package/src/components/SellReport/ManageBusTable.vue +207 -207
  190. package/src/components/SellReport/ManageGasFee.vue +247 -247
  191. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  192. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  193. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  194. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  195. package/src/components/SellReport/ManageReceivable.vue +254 -254
  196. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  197. package/src/components/SellReport/MeterBill.vue +185 -185
  198. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  199. package/src/components/SellReport/MeterInput.vue +250 -250
  200. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  201. package/src/components/SellReport/OweAging.vue +174 -174
  202. package/src/components/SellReport/ReportHistory.vue +80 -80
  203. package/src/components/SellReport/ReportPool.vue +60 -60
  204. package/src/components/SellReport/Selling.vue +188 -188
  205. package/src/components/SellReport/SiteManager.vue +147 -147
  206. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  207. package/src/components/SellReport/UsertypePie.vue +101 -101
  208. package/src/components/SellReport/XianYangDate.vue +227 -227
  209. package/src/components/SellReport/XianYangOperator.vue +228 -228
  210. package/src/components/SellReport/XyDateCharge.vue +227 -227
  211. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  212. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  213. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  214. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  215. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  216. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  217. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  218. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  219. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  220. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  221. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  222. package/src/components/WebReport/BatteryLow.vue +148 -148
  223. package/src/components/WebReport/BusinessHall.vue +85 -85
  224. package/src/components/WebReport/BussinessType.vue +137 -137
  225. package/src/components/WebReport/Communication.vue +131 -131
  226. package/src/components/WebReport/CompanyUser.vue +79 -79
  227. package/src/components/WebReport/EchartsBox.vue +110 -110
  228. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  229. package/src/components/WebReport/GaspriceHas.vue +141 -141
  230. package/src/components/WebReport/HandplanPrint.vue +167 -167
  231. package/src/components/WebReport/NotUpload.vue +165 -165
  232. package/src/components/WebReport/OweQuery.vue +169 -169
  233. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  234. package/src/components/WebReport/Paymentpie.vue +157 -157
  235. package/src/components/WebReport/ReportWorklist.vue +220 -220
  236. package/src/components/WebReport/SellType.vue +89 -89
  237. package/src/components/WebReport/Telemanlist.vue +221 -221
  238. package/src/components/WebReport/UserGasAll.vue +214 -214
  239. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  240. package/src/components/WebReport/UsertypePie.vue +105 -105
  241. package/src/components/WebReport/ValueEcharts.vue +99 -99
  242. package/src/components/WebReport/ValueInfo.vue +194 -194
  243. package/src/components/qinhua/BarChartLine.vue +288 -288
  244. package/src/components/qinhua/ManageMain.vue +162 -162
  245. package/src/components/qinhua/Ring.vue +165 -165
  246. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  247. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  248. package/src/components/qinhua/Scada.vue +93 -93
  249. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  250. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  251. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  252. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  253. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  254. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  255. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  256. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  257. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  258. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  259. package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1254
  260. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  261. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  262. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  263. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  264. package/src/components/sale/businessquery/InspectListUser.vue +1 -1
  265. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  266. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  267. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  268. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  269. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  270. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  271. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  272. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  273. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  274. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  275. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  276. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  277. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  278. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  279. package/src/components/sale/common/PrintData.vue +171 -171
  280. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  281. package/src/components/sale/common/PrintTable.vue +228 -228
  282. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  283. package/src/components/sale/common/TabButton.vue +155 -155
  284. package/src/components/sale/common/Tabs.vue +67 -67
  285. package/src/components/sale/common/handplanUser.vue +112 -112
  286. package/src/components/sale/config/DefaultPrint.js +6 -6
  287. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  288. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  289. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  290. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  291. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  292. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  293. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  294. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  295. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  296. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  297. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  298. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  299. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  300. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  301. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  302. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  303. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  304. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  305. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  306. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  307. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  308. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  309. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  310. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  311. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  312. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  313. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  314. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  315. package/src/components/sale/report/aode/DayReport.vue +50 -50
  316. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  317. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  318. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  319. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  320. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  321. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  322. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  323. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  324. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  325. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  326. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  327. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  328. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  329. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  330. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  331. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  332. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  333. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  334. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  335. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  336. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  337. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  338. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  339. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  340. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  341. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  342. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  343. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  344. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  345. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  346. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  347. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  348. package/src/components/statistical/DendrogramManage.vue +239 -239
  349. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  350. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  351. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  352. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  353. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  354. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  355. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  356. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  357. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  358. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  359. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  360. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  361. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  362. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  363. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  364. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  365. package/src/components/yulin/GuanWang.vue +24 -24
  366. package/src/components/yulin/SingleBarLine.vue +352 -352
  367. package/src/components/yulin/Weather.vue +157 -157
  368. package/src/expandcss.less +26 -26
  369. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  370. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  371. package/src/filiale/aode/ArchivesManage.vue +38 -38
  372. package/src/filiale/aode/BusinessManage.vue +94 -94
  373. package/src/filiale/aode/DefaultPrint.js +6 -6
  374. package/src/filiale/aode/HandplanQuery.vue +632 -632
  375. package/src/filiale/aode/Tabs.vue +67 -67
  376. package/src/filiale/aode/UserQuery.vue +599 -599
  377. package/src/filiale/aode/sale.js +17 -17
  378. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  379. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  380. package/src/filiale/ceshi/CollectManage.vue +94 -94
  381. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  382. package/src/filiale/ceshi/TabButton.vue +149 -149
  383. package/src/filiale/ceshi/Tabs.vue +69 -69
  384. package/src/filiale/ceshi/reportManage.js +5 -5
  385. package/src/filiale/ceshi/sale.js +11 -11
  386. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  387. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  388. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  389. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  390. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  391. package/src/filiale/liaoyuan/sale.js +11 -11
  392. package/src/filiale/macheng/MeterQuery.vue +921 -921
  393. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  394. package/src/filiale/pingxiang/sale.js +9 -9
  395. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  396. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  397. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  398. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  399. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  400. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  401. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  402. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  403. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  404. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  405. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  406. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  407. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  408. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  409. package/src/filiale/shennongjia/sale.js +10 -10
  410. package/src/filiale/tongchuan/ChargeQuery.vue +17 -4
  411. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  412. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  413. package/src/filiale/zhongsheng/ChargeQuery.vue +1254 -0
  414. package/src/filiale/zhongsheng/config/exportConfig.js +899 -0
  415. package/src/filiale/zhongsheng/sale.js +10 -0
  416. package/src/main.js +1 -1
  417. package/src/plugins/GetLoginInfoService.js +505 -505
  418. package/src/plugins/LodopFuncs.js +124 -124
  419. package/src/plugins/getAllInputtor.js +29 -29
  420. package/src/safeCheck.js +63 -63
  421. package/src/stores/AppData.js +62 -62
  422. package/src/stores/DataSql.js +585 -585
  423. package/src/stores/DrillECharts.js +602 -602
  424. package/src/stores/DrillSql.js +888 -888
  425. package/src/stores/GetParames.js +15 -15
  426. package/src/stores/MagGetSaleParams.js +156 -156
  427. package/src/stores/MagLoadParams.js +63 -63
  428. package/src/stores/Util.js +132 -132
  429. package/src/stores/shanxi1.js +26 -26
  430. package/src/stores/yulin.js +27 -27
  431. package/static/china.json +1 -1
  432. package/static/qh.json +2410 -2410
  433. package/static/res.json +58411 -58411
  434. package/static/shanxi1.json +1 -1
  435. package/static/yulin.json +1 -1
  436. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  437. package/test/unit/.eslintrc +5 -5
  438. package/test/unit/TestUtil.js +35 -35
  439. package/test/unit/context.html +20 -20
  440. package/test/unit/index.js +13 -13
  441. package/test/unit/init.js +11 -11
  442. package/test/unit/karma.conf.js +45 -45
  443. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  444. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  445. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  446. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  447. package/webstorm.config.js +13 -13
@@ -1,600 +1,600 @@
1
- <template>
2
- <div>
3
- <div class="label t1" @click="drillclick">{{title}}</div>
4
- <div style="height: 48%;width: 100%;padding: 2%;">
5
- <div id="usernum" class="d0"></div>
6
- <!--<div class="d1">-->
7
- <!--&lt;!&ndash;<div class="flex" style="height: 30%; text-align: center; padding-top: 5%;" v-for="item in model">&ndash;&gt;-->
8
- <!--&lt;!&ndash;<span class="f24">{{item.num}}</span>&ndash;&gt;-->
9
- <!--&lt;!&ndash;<span class="f12">{{item.name}}</span>&ndash;&gt;-->
10
- <!--&lt;!&ndash;</div>&ndash;&gt;-->
11
- <!--</div>-->
12
- </div>
13
- <div style="height: 51%; width: 100%;padding: 2%;">
14
- <div id="userdatatwo"></div>
15
- </div>
16
- </div>
17
- </template>
18
-
19
- <script>
20
- import co from 'co'
21
- import * as DataSql from '../../../stores/DataSql'
22
- import * as Util from '../../../Util'
23
-
24
- export default {
25
- name: "user-number",
26
- props: {
27
- increaseuser: Number,
28
- listenheight: String,
29
- f_filiale: String,
30
- },
31
- data() {
32
- return {
33
- title: '用户数量',
34
- usernum: [],
35
- increaseuser: 0,
36
- totaluser: [
37
- {name: '现有总用户', value: 0},
38
- {name: '开发用户数', value: 0},
39
- {name: '潜在用户数', value: 0},
40
- ],
41
- totaluserstring: [
42
- {name: '现有总用户', value: 0},
43
- {name: '开发用户数', value: 0},
44
- {name: '潜在用户数', value: 0},
45
- ],
46
- barscale: [],
47
- usernumstring: [],
48
- usertag0: false,
49
- usertag5: false,
50
- resdata: [],
51
- resdataapply: [],
52
- timer:''
53
- }
54
- },
55
- beforeDestroy() {
56
- //清除定时器
57
- clearInterval(this.timer);
58
- },
59
- methods: {
60
- //绘制echarts图
61
- setBar(id) {
62
- this.xc = this.$echarts.init(document.getElementById(id))
63
- this.BarScale()
64
- DataSql.dataunitarray(this, 'totaluser', 'totaluserstring')
65
- var echartsData = this.totaluserstring
66
- var scale=this.$parent.$parent.$parent.scale
67
- var warnImg = "../../../../static/ManageHomePic/椭圆4.png"
68
- var grade = ['图片', '图片', '图片']
69
- let cost = []
70
- var l = this.barscale.length
71
- for (var i = 0; i < l; i++) {
72
- cost[l - 1 - i] = this.barscale[i]
73
- }
74
- var data = {
75
- grade: grade,
76
- visits: this.totaluser,
77
- totalCost: [1, 1, 1],
78
- cost: cost,
79
- }
80
- var rich = {
81
- yellow: {
82
- align: 'center',
83
- color: '#f3c832',
84
- padding: [6, 0,0,0],
85
- fontSize: 16 * scale
86
- },
87
- white: {
88
- align: 'center',
89
- color: '#fff',
90
- fontSize: 12 * scale
91
- },
92
- }
93
- this.xc.setOption({
94
- title: {
95
- text: '',
96
- x: 'left',
97
- y: 'top',
98
- textStyle: {
99
- color: '#fff',
100
- fontSize: 18*scale
101
- }
102
- },
103
- grid: {left: '16%', top: "12%", bottom: "5%", right: "30%", containLabel: true},
104
- xAxis: {
105
- show: false,
106
- },
107
- yAxis: {
108
- type: 'category',
109
- axisLabel: {
110
- formatter: function (value) {
111
- //判断是否要显示预警
112
- return '{warnValue|}'
113
- },
114
- rich: {
115
- //这里的rich,下面有解释
116
- warnValue: {
117
- //这里的warnValue对应上面的标签名
118
- height: 20*scale,
119
- align: 'center',
120
- backgroundColor: {
121
- image: warnImg //这个warnImg是上面定义的图片var warnImg = "img/warn.png";
122
- }
123
- }
124
- },
125
- margin: 10,
126
- show: true,
127
- color: '#15dce2',
128
- fontSize: 12*scale
129
- },
130
- axisTick: {
131
- show: false,
132
- },
133
- axisLine: {
134
- show: false,
135
- },
136
- data: data.grade
137
- },
138
- series: [{
139
- type: 'bar',
140
- barGap: '-100%',
141
- label: {
142
- normal: {
143
- show: true,
144
- position: 'right',
145
- // lineHeight:25,
146
- formatter: function (param) {
147
-
148
- var l = data.visits.length
149
- return '{yellow|' + echartsData[l - 1 - param.dataIndex]['value'] + '}\n{white|' + echartsData[l - 1 - param.dataIndex]['name'] + '}';
150
- },
151
- rich: rich,
152
- }
153
- },
154
- barWidth: '25%',
155
- itemStyle: {
156
- normal: {
157
- borderColor: 'rgba(1,207,242,0.05)',
158
- borderWidth: 2,
159
- barBorderRadius: 15*scale,
160
- color: '#003d4c',
161
- },
162
- },
163
- z: 1,
164
- data: data.totalCost,
165
- }, {
166
- type: 'bar',
167
- barGap: '-99%',
168
- barWidth: '25%',
169
- itemStyle: {
170
- normal: {
171
- barBorderRadius: 12*scale,
172
- color: {
173
- type: 'linear',
174
- x: 0,
175
- x1: 1,
176
- colorStops: [{
177
- offset: 0,
178
- color: '#6fd9d0'
179
- }, {
180
- offset: 1,
181
- color: '#6fd9d0'
182
- }]
183
- }
184
- },
185
- },
186
- max: 1,
187
- labelLine: {
188
- show: true,
189
- },
190
- z: 2,
191
- data: data.cost,
192
- }]
193
- }, true)
194
- },
195
- //绘制用户类型分布饼图
196
- setUserType() {
197
- this.xc = this.$echarts.init(document.getElementById('userdatatwo'))
198
- var scale = 1
199
- DataSql.dataunitarray(this, 'usernum', 'usernumstring')
200
- var echartData = this.usernum
201
- var echartData1 = this.usernumstring
202
- var legendname = []
203
- this.usernum.forEach(function (s) {
204
- legendname.push(s.name)
205
- })
206
- var rich = {
207
- blue: {
208
- color: '#15dce2',
209
- fontSize: 12 * scale,
210
- align: 'center',
211
- padding: [10, 0]
212
- }
213
- }
214
- var scale = 1
215
- var total = 0; //用户总和
216
- var result = ''
217
- echartData.forEach(function (value) {
218
- total += value.value;
219
- });
220
- var index = total.toString().length
221
- if (index > 4) {
222
- var t = total.toString().substring(0, index - 4)
223
- var s = total.toString().substring(index - 4, index - 3)
224
- var l = total.toString().substring(index - 3, index - 2)
225
- if (l > 4) {
226
- s = eval(s + '+1')
227
- }
228
- if (s > 9) {
229
- s = 0
230
- t = eval(t + '+1')
231
- }
232
- result = t + '.' + s + '万'
233
- } else {
234
- result = total
235
- }
236
- this.xc.setOption({
237
- title: [
238
- {
239
- text: '总用户数',
240
- x: 45*scale+'%',
241
- y: '24%',
242
- textStyle: {
243
- color: '#ffffff',
244
- fontSize: 10 * scale,
245
- }
246
- },
247
- {
248
- text: result,
249
- x: 43*scale+'%',
250
- y: '28%',
251
- padding: [15*scale, 20*scale],
252
- textStyle: {
253
- color: '#00e2ea',
254
- fontSize: 10 * scale,
255
-
256
- }
257
- }],
258
- tooltip: {
259
- show: true,
260
- alwaysShowContent:true,
261
- backgroundColor:'rgba(2, 59, 63, 0.45)',
262
- // borderColor :'rgba(13, 109, 180)',
263
- borderWidth:0,
264
- hideDelay:100,
265
- triggerOn:'mousemove',
266
- padding:10*scale,
267
- textStyle:{
268
- fontSize:16*scale
269
- },
270
- formatter: function (params) {
271
- return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
272
- },
273
- enterable:true,
274
- position: function(point, params, dom, rect, size) {
275
- //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
276
- var x = point[0]; //
277
- var y = point[1];
278
- var viewWidth = size.viewSize[0];
279
- var viewHeight = size.viewSize[1];
280
- var boxWidth = size.contentSize[0];
281
- var boxHeight = size.contentSize[1];
282
- var posX = 0; //x坐标位置
283
- var posY = 0; //y坐标位置
284
- if (x < boxWidth) { //左边放不开
285
- posX = 5;
286
- } else { //左边放的下
287
- posX = x - boxWidth;
288
- }
289
-
290
- if (y < boxHeight) { //上边放不开
291
- posY = 5;
292
- } else { //上边放得下
293
- posY = y - boxHeight;
294
- }
295
- return [posX, posY];
296
- },
297
- extraCssText:'width: auto;height:auto;',
298
- },
299
- legend: {
300
- orient: 'horizontal',
301
- icon: 'circle',
302
- x: 'center',
303
- y: '80%',
304
- itemGap: 20,
305
- itemWidth: 20 * scale,
306
- itemHeight: 10 * scale,
307
- textStyle: {
308
- fontSize: 12 * scale,
309
- // padding: [0, 0, 0, 4],
310
- color: '#ffffff'
311
- },
312
- data: legendname
313
- },
314
- series: [
315
- // {
316
- // name: 'Line 1',
317
- // type: 'pie',
318
- // animation: false,
319
- // clockWise: false,
320
- // radius: ['25%', '26%'],
321
- // center: ['50%', '30%'],
322
- // itemStyle: {
323
- // normal: {
324
- // label: {
325
- // show: false
326
- // },
327
- // labelLine: {
328
- // show: false
329
- // },
330
- // }
331
- // },
332
- // hoverAnimation: false,
333
- // tooltip: {
334
- // trigger: 'axis'
335
- // },
336
- // data: [{
337
- // value: 100,
338
- // name: '02',
339
- // itemStyle: {
340
- // normal: {
341
- // color: '#29b7ff',//未完成的圆环的颜色
342
- // label: {
343
- // show: false
344
- // },
345
- // labelLine: {
346
- // show: false
347
- // }
348
- // }
349
- // }
350
- // }]
351
- // },
352
- {
353
- name: '总用户数',
354
- type: 'pie',
355
- radius: ['40%', '60%'],
356
- center: ['50%', '34%'],
357
- hoverAnimation: false,
358
- color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
359
- minAngle: 15,//最小角度
360
- startAngle: 60, //起始角度
361
- label: {
362
- show:false
363
- // normal: {
364
- // borderWidth: 20 * scale,
365
- // borderRadius: 4,
366
- // formatter: function (params, ticket, callback) {
367
- // for (var i = 0; i < echartData1.length; i++) {
368
- // if (echartData1[i].name == params.name) {
369
- // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
370
- // }
371
- // }
372
- // },
373
- // padding: [0, -102 * scale],
374
- // rich: rich,
375
- // }
376
- },
377
-
378
- labelLine: {
379
- show:false
380
- // normal: {
381
- // length: 15 * scale,
382
- // length2: 100 * scale,
383
- // lineStyle: {
384
- // formatter: function (params, ticket, callback) {
385
- // var total = 0; //用户总数量
386
- // var percent = 0; //用户占比
387
- // echartData.forEach(function (value, index, array) {
388
- // total += value.value;
389
- // });
390
- // percent = ((params.value / total) * 100).toFixed(1);
391
- // return '{white| ' + params.name + '}\n{hr|}\n{yellow| ' + params.value + '}\n{blue| ' + percent + '%}';
392
- // },
393
- // }
394
- // }
395
- },
396
- data: echartData
397
- }
398
- // , {
399
- // name: 'Line 2',
400
- // type: 'pie',
401
- // animation: false,
402
- // clockWise: false,
403
- // radius: ['44%', '45%'],
404
- // center: ['50%', '30%'],
405
- // itemStyle: {
406
- // normal: {label: {show: false}, labelLine: {show: false},}
407
- // },
408
- // hoverAnimation: false,
409
- // tooltip: {
410
- // show: false
411
- // },
412
- // data: [{
413
- // value: 100,
414
- // name: '02',
415
- // itemStyle: {
416
- // normal: {color: '#29b7ff', label: {show: false}, labelLine: {show: false}}
417
- // }
418
- // }]
419
- // }
420
- ]
421
- }, true)
422
- let idx = 0;
423
- var dataLen=echartData.length
424
- var oroptionmapjsonr_charts=this.xc
425
- this.timer=setInterval(()=>{
426
- // 取消之前选中的图形
427
- oroptionmapjsonr_charts.dispatchAction({
428
- type: 'pieUnSelect',
429
- seriesIndex: 0,
430
- dataIndex: idx,
431
- });
432
-
433
- idx = (idx+ 1) % dataLen;
434
- //console.log(app.currentIndex);
435
- // 选中当前图形
436
- oroptionmapjsonr_charts.dispatchAction({
437
- type: 'pieSelect',
438
- seriesIndex: 0,
439
- dataIndex: idx
440
- });
441
- oroptionmapjsonr_charts.dispatchAction({
442
- type: 'showTip',
443
- seriesIndex: 0,
444
- dataIndex: idx
445
- });
446
- }, 3000)
447
- },
448
- //请求后台数据
449
- searchdata() {
450
- var self = this
451
- let sqldata = DataSql.getData(this, 'usernum',{f_filiale:this.$parent.$parent.f_filiale}, "resdata")
452
- co(sqldata)
453
- let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
454
- co(sqldataone)
455
- },
456
- // 用户数据比例化
457
- BarScale() {
458
- var s = this.totaluser[0]
459
- for (var i = 1; i < this.totaluser.length; i++) {
460
- if (s.value < this.totaluser[i].value) {
461
- s = this.totaluser[i]
462
- }
463
- }
464
- var l = s.value * 1.3
465
- this.barscale = []
466
- for (var i = 0; i < this.totaluser.length; i++) {
467
- if (l == 0) {
468
- this.barscale.push(0)
469
- }
470
- this.barscale.push(this.totaluser[i].value / l)
471
- }
472
- },
473
- // 三级页面点击入口
474
- drillclick() {
475
- var initdatatr = {
476
- startDate: eval(Util.toStandardDateString().toString().substring(0, 4) + '-4') + '-01-01 00:00:00',
477
- endDate: Util.toStandardDateString() + ' 00:00:00',
478
- param: '',
479
- param1: '',
480
- listparam: '',
481
- }
482
- this.$emit('drill', 'usernum', 'usernumbers', this.title, initdatatr)
483
- this.$emit('drilldata', this.totaluser)
484
- },
485
- },
486
- watch: {
487
- 'resdata': {
488
- deep: true,
489
- handler(val) {
490
- this.usernum = []
491
- let result = {}
492
- result.name = '民用'
493
- result.value = this.resdata[0]['民用']
494
- this.usernum.push(result)
495
- let result1 = {}
496
- result1.name = '非民用'
497
- result1.value = this.resdata[0]['非民用']
498
- this.usernum.push(result1)
499
- let result2 = {}
500
- result2.name = '民用锅炉'
501
- result2.value = this.resdata[0]['民用锅炉']
502
- this.usernum.push(result2)
503
- }
504
- },
505
- // 监听用户数据并进行绘图
506
- 'usernum': {
507
- deep: true,
508
- handler(val) {
509
- var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
510
- this.totaluser[0].value = value
511
- this.setUserType()
512
- this.$parent.loaddata++
513
- }
514
- },
515
- //监听用户增长模块的数据,更新计算潜在用户数
516
- // 'increaseuser': {
517
- // deep: true,
518
- // handler(val) {
519
- // console.log(this.increaseuser, '潜在用户数据')
520
- // this.totaluser[2].value = this.increaseuser
521
- // },
522
- // immediate: true
523
- // },
524
- // 监听用户数据并进行绘图
525
- 'totaluser': {
526
- deep: true,
527
- handler(val) {
528
- if (this.totaluser[0].value > 0 && this.totaluser[1].value > 0 && this.totaluser[2].value > 0) {
529
- this.setBar('usernum')
530
- }
531
- this.$parent.loaddata++
532
- },
533
- },
534
- //监听浏览器大小变化
535
- 'listenheight': {
536
- deep: true,
537
- handler(val) {
538
- if (this.listenheight !== '') {
539
- // this.$parent.$parent.changeresize(this.xc)
540
- }
541
- },
542
- },
543
- 'resdataapply': {
544
- deep: true,
545
- handler(val) {
546
- if (this.resdataapply[0].totalnum > 0) {
547
- this.totaluser[1].value = this.resdataapply[0].f_applycount?this.resdataapply[0].f_applycount:0
548
- this.totaluser[2].value = this.resdataapply[0].f_installnum?this.resdataapply[0].f_installnum:0
549
- }
550
-
551
- console.log(this.resdataapply, '报建数据')
552
-
553
- }
554
- },
555
- 'f_filiale'(){
556
- this.searchdata()
557
- }
558
- },
559
- ready() {
560
- this.searchdata()
561
- }
562
- }
563
- </script>
564
-
565
- <style scoped>
566
- .label {
567
- margin-left: 1%;
568
- font-size: 1.85rem;
569
- color: #fff;
570
- width: 100%;
571
- height: 9%;
572
- }
573
-
574
- .d1 {
575
- margin-top: 10%;
576
- width: 30%;
577
- height: 80%;
578
- float: right;
579
- }
580
-
581
- .d0 {
582
- padding-left: 9%;
583
- width: 100%;
584
- height: 100%;
585
- float: left;
586
- }
587
-
588
- .f24 {
589
- font-size: 0.85em;
590
- color: #f3c832;
591
- }
592
-
593
- .f12 {
594
- font-size: 0.85em;
595
- color: #ffffff;
596
- }
597
- .t1{
598
- color: #4bf2ff;
599
- }
600
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="label t1" @click="drillclick">{{title}}</div>
4
+ <div style="height: 48%;width: 100%;padding: 2%;">
5
+ <div id="usernum" class="d0"></div>
6
+ <!--<div class="d1">-->
7
+ <!--&lt;!&ndash;<div class="flex" style="height: 30%; text-align: center; padding-top: 5%;" v-for="item in model">&ndash;&gt;-->
8
+ <!--&lt;!&ndash;<span class="f24">{{item.num}}</span>&ndash;&gt;-->
9
+ <!--&lt;!&ndash;<span class="f12">{{item.name}}</span>&ndash;&gt;-->
10
+ <!--&lt;!&ndash;</div>&ndash;&gt;-->
11
+ <!--</div>-->
12
+ </div>
13
+ <div style="height: 51%; width: 100%;padding: 2%;">
14
+ <div id="userdatatwo"></div>
15
+ </div>
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ import co from 'co'
21
+ import * as DataSql from '../../../stores/DataSql'
22
+ import * as Util from '../../../Util'
23
+
24
+ export default {
25
+ name: "user-number",
26
+ props: {
27
+ increaseuser: Number,
28
+ listenheight: String,
29
+ f_filiale: String,
30
+ },
31
+ data() {
32
+ return {
33
+ title: '用户数量',
34
+ usernum: [],
35
+ increaseuser: 0,
36
+ totaluser: [
37
+ {name: '现有总用户', value: 0},
38
+ {name: '开发用户数', value: 0},
39
+ {name: '潜在用户数', value: 0},
40
+ ],
41
+ totaluserstring: [
42
+ {name: '现有总用户', value: 0},
43
+ {name: '开发用户数', value: 0},
44
+ {name: '潜在用户数', value: 0},
45
+ ],
46
+ barscale: [],
47
+ usernumstring: [],
48
+ usertag0: false,
49
+ usertag5: false,
50
+ resdata: [],
51
+ resdataapply: [],
52
+ timer:''
53
+ }
54
+ },
55
+ beforeDestroy() {
56
+ //清除定时器
57
+ clearInterval(this.timer);
58
+ },
59
+ methods: {
60
+ //绘制echarts图
61
+ setBar(id) {
62
+ this.xc = this.$echarts.init(document.getElementById(id))
63
+ this.BarScale()
64
+ DataSql.dataunitarray(this, 'totaluser', 'totaluserstring')
65
+ var echartsData = this.totaluserstring
66
+ var scale=this.$parent.$parent.$parent.scale
67
+ var warnImg = "../../../../static/ManageHomePic/椭圆4.png"
68
+ var grade = ['图片', '图片', '图片']
69
+ let cost = []
70
+ var l = this.barscale.length
71
+ for (var i = 0; i < l; i++) {
72
+ cost[l - 1 - i] = this.barscale[i]
73
+ }
74
+ var data = {
75
+ grade: grade,
76
+ visits: this.totaluser,
77
+ totalCost: [1, 1, 1],
78
+ cost: cost,
79
+ }
80
+ var rich = {
81
+ yellow: {
82
+ align: 'center',
83
+ color: '#f3c832',
84
+ padding: [6, 0,0,0],
85
+ fontSize: 16 * scale
86
+ },
87
+ white: {
88
+ align: 'center',
89
+ color: '#fff',
90
+ fontSize: 12 * scale
91
+ },
92
+ }
93
+ this.xc.setOption({
94
+ title: {
95
+ text: '',
96
+ x: 'left',
97
+ y: 'top',
98
+ textStyle: {
99
+ color: '#fff',
100
+ fontSize: 18*scale
101
+ }
102
+ },
103
+ grid: {left: '16%', top: "12%", bottom: "5%", right: "30%", containLabel: true},
104
+ xAxis: {
105
+ show: false,
106
+ },
107
+ yAxis: {
108
+ type: 'category',
109
+ axisLabel: {
110
+ formatter: function (value) {
111
+ //判断是否要显示预警
112
+ return '{warnValue|}'
113
+ },
114
+ rich: {
115
+ //这里的rich,下面有解释
116
+ warnValue: {
117
+ //这里的warnValue对应上面的标签名
118
+ height: 20*scale,
119
+ align: 'center',
120
+ backgroundColor: {
121
+ image: warnImg //这个warnImg是上面定义的图片var warnImg = "img/warn.png";
122
+ }
123
+ }
124
+ },
125
+ margin: 10,
126
+ show: true,
127
+ color: '#15dce2',
128
+ fontSize: 12*scale
129
+ },
130
+ axisTick: {
131
+ show: false,
132
+ },
133
+ axisLine: {
134
+ show: false,
135
+ },
136
+ data: data.grade
137
+ },
138
+ series: [{
139
+ type: 'bar',
140
+ barGap: '-100%',
141
+ label: {
142
+ normal: {
143
+ show: true,
144
+ position: 'right',
145
+ // lineHeight:25,
146
+ formatter: function (param) {
147
+
148
+ var l = data.visits.length
149
+ return '{yellow|' + echartsData[l - 1 - param.dataIndex]['value'] + '}\n{white|' + echartsData[l - 1 - param.dataIndex]['name'] + '}';
150
+ },
151
+ rich: rich,
152
+ }
153
+ },
154
+ barWidth: '25%',
155
+ itemStyle: {
156
+ normal: {
157
+ borderColor: 'rgba(1,207,242,0.05)',
158
+ borderWidth: 2,
159
+ barBorderRadius: 15*scale,
160
+ color: '#003d4c',
161
+ },
162
+ },
163
+ z: 1,
164
+ data: data.totalCost,
165
+ }, {
166
+ type: 'bar',
167
+ barGap: '-99%',
168
+ barWidth: '25%',
169
+ itemStyle: {
170
+ normal: {
171
+ barBorderRadius: 12*scale,
172
+ color: {
173
+ type: 'linear',
174
+ x: 0,
175
+ x1: 1,
176
+ colorStops: [{
177
+ offset: 0,
178
+ color: '#6fd9d0'
179
+ }, {
180
+ offset: 1,
181
+ color: '#6fd9d0'
182
+ }]
183
+ }
184
+ },
185
+ },
186
+ max: 1,
187
+ labelLine: {
188
+ show: true,
189
+ },
190
+ z: 2,
191
+ data: data.cost,
192
+ }]
193
+ }, true)
194
+ },
195
+ //绘制用户类型分布饼图
196
+ setUserType() {
197
+ this.xc = this.$echarts.init(document.getElementById('userdatatwo'))
198
+ var scale = 1
199
+ DataSql.dataunitarray(this, 'usernum', 'usernumstring')
200
+ var echartData = this.usernum
201
+ var echartData1 = this.usernumstring
202
+ var legendname = []
203
+ this.usernum.forEach(function (s) {
204
+ legendname.push(s.name)
205
+ })
206
+ var rich = {
207
+ blue: {
208
+ color: '#15dce2',
209
+ fontSize: 12 * scale,
210
+ align: 'center',
211
+ padding: [10, 0]
212
+ }
213
+ }
214
+ var scale = 1
215
+ var total = 0; //用户总和
216
+ var result = ''
217
+ echartData.forEach(function (value) {
218
+ total += value.value;
219
+ });
220
+ var index = total.toString().length
221
+ if (index > 4) {
222
+ var t = total.toString().substring(0, index - 4)
223
+ var s = total.toString().substring(index - 4, index - 3)
224
+ var l = total.toString().substring(index - 3, index - 2)
225
+ if (l > 4) {
226
+ s = eval(s + '+1')
227
+ }
228
+ if (s > 9) {
229
+ s = 0
230
+ t = eval(t + '+1')
231
+ }
232
+ result = t + '.' + s + '万'
233
+ } else {
234
+ result = total
235
+ }
236
+ this.xc.setOption({
237
+ title: [
238
+ {
239
+ text: '总用户数',
240
+ x: 45*scale+'%',
241
+ y: '24%',
242
+ textStyle: {
243
+ color: '#ffffff',
244
+ fontSize: 10 * scale,
245
+ }
246
+ },
247
+ {
248
+ text: result,
249
+ x: 43*scale+'%',
250
+ y: '28%',
251
+ padding: [15*scale, 20*scale],
252
+ textStyle: {
253
+ color: '#00e2ea',
254
+ fontSize: 10 * scale,
255
+
256
+ }
257
+ }],
258
+ tooltip: {
259
+ show: true,
260
+ alwaysShowContent:true,
261
+ backgroundColor:'rgba(2, 59, 63, 0.45)',
262
+ // borderColor :'rgba(13, 109, 180)',
263
+ borderWidth:0,
264
+ hideDelay:100,
265
+ triggerOn:'mousemove',
266
+ padding:10*scale,
267
+ textStyle:{
268
+ fontSize:16*scale
269
+ },
270
+ formatter: function (params) {
271
+ return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
272
+ },
273
+ enterable:true,
274
+ position: function(point, params, dom, rect, size) {
275
+ //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
276
+ var x = point[0]; //
277
+ var y = point[1];
278
+ var viewWidth = size.viewSize[0];
279
+ var viewHeight = size.viewSize[1];
280
+ var boxWidth = size.contentSize[0];
281
+ var boxHeight = size.contentSize[1];
282
+ var posX = 0; //x坐标位置
283
+ var posY = 0; //y坐标位置
284
+ if (x < boxWidth) { //左边放不开
285
+ posX = 5;
286
+ } else { //左边放的下
287
+ posX = x - boxWidth;
288
+ }
289
+
290
+ if (y < boxHeight) { //上边放不开
291
+ posY = 5;
292
+ } else { //上边放得下
293
+ posY = y - boxHeight;
294
+ }
295
+ return [posX, posY];
296
+ },
297
+ extraCssText:'width: auto;height:auto;',
298
+ },
299
+ legend: {
300
+ orient: 'horizontal',
301
+ icon: 'circle',
302
+ x: 'center',
303
+ y: '80%',
304
+ itemGap: 20,
305
+ itemWidth: 20 * scale,
306
+ itemHeight: 10 * scale,
307
+ textStyle: {
308
+ fontSize: 12 * scale,
309
+ // padding: [0, 0, 0, 4],
310
+ color: '#ffffff'
311
+ },
312
+ data: legendname
313
+ },
314
+ series: [
315
+ // {
316
+ // name: 'Line 1',
317
+ // type: 'pie',
318
+ // animation: false,
319
+ // clockWise: false,
320
+ // radius: ['25%', '26%'],
321
+ // center: ['50%', '30%'],
322
+ // itemStyle: {
323
+ // normal: {
324
+ // label: {
325
+ // show: false
326
+ // },
327
+ // labelLine: {
328
+ // show: false
329
+ // },
330
+ // }
331
+ // },
332
+ // hoverAnimation: false,
333
+ // tooltip: {
334
+ // trigger: 'axis'
335
+ // },
336
+ // data: [{
337
+ // value: 100,
338
+ // name: '02',
339
+ // itemStyle: {
340
+ // normal: {
341
+ // color: '#29b7ff',//未完成的圆环的颜色
342
+ // label: {
343
+ // show: false
344
+ // },
345
+ // labelLine: {
346
+ // show: false
347
+ // }
348
+ // }
349
+ // }
350
+ // }]
351
+ // },
352
+ {
353
+ name: '总用户数',
354
+ type: 'pie',
355
+ radius: ['40%', '60%'],
356
+ center: ['50%', '34%'],
357
+ hoverAnimation: false,
358
+ color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
359
+ minAngle: 15,//最小角度
360
+ startAngle: 60, //起始角度
361
+ label: {
362
+ show:false
363
+ // normal: {
364
+ // borderWidth: 20 * scale,
365
+ // borderRadius: 4,
366
+ // formatter: function (params, ticket, callback) {
367
+ // for (var i = 0; i < echartData1.length; i++) {
368
+ // if (echartData1[i].name == params.name) {
369
+ // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
370
+ // }
371
+ // }
372
+ // },
373
+ // padding: [0, -102 * scale],
374
+ // rich: rich,
375
+ // }
376
+ },
377
+
378
+ labelLine: {
379
+ show:false
380
+ // normal: {
381
+ // length: 15 * scale,
382
+ // length2: 100 * scale,
383
+ // lineStyle: {
384
+ // formatter: function (params, ticket, callback) {
385
+ // var total = 0; //用户总数量
386
+ // var percent = 0; //用户占比
387
+ // echartData.forEach(function (value, index, array) {
388
+ // total += value.value;
389
+ // });
390
+ // percent = ((params.value / total) * 100).toFixed(1);
391
+ // return '{white| ' + params.name + '}\n{hr|}\n{yellow| ' + params.value + '}\n{blue| ' + percent + '%}';
392
+ // },
393
+ // }
394
+ // }
395
+ },
396
+ data: echartData
397
+ }
398
+ // , {
399
+ // name: 'Line 2',
400
+ // type: 'pie',
401
+ // animation: false,
402
+ // clockWise: false,
403
+ // radius: ['44%', '45%'],
404
+ // center: ['50%', '30%'],
405
+ // itemStyle: {
406
+ // normal: {label: {show: false}, labelLine: {show: false},}
407
+ // },
408
+ // hoverAnimation: false,
409
+ // tooltip: {
410
+ // show: false
411
+ // },
412
+ // data: [{
413
+ // value: 100,
414
+ // name: '02',
415
+ // itemStyle: {
416
+ // normal: {color: '#29b7ff', label: {show: false}, labelLine: {show: false}}
417
+ // }
418
+ // }]
419
+ // }
420
+ ]
421
+ }, true)
422
+ let idx = 0;
423
+ var dataLen=echartData.length
424
+ var oroptionmapjsonr_charts=this.xc
425
+ this.timer=setInterval(()=>{
426
+ // 取消之前选中的图形
427
+ oroptionmapjsonr_charts.dispatchAction({
428
+ type: 'pieUnSelect',
429
+ seriesIndex: 0,
430
+ dataIndex: idx,
431
+ });
432
+
433
+ idx = (idx+ 1) % dataLen;
434
+ //console.log(app.currentIndex);
435
+ // 选中当前图形
436
+ oroptionmapjsonr_charts.dispatchAction({
437
+ type: 'pieSelect',
438
+ seriesIndex: 0,
439
+ dataIndex: idx
440
+ });
441
+ oroptionmapjsonr_charts.dispatchAction({
442
+ type: 'showTip',
443
+ seriesIndex: 0,
444
+ dataIndex: idx
445
+ });
446
+ }, 3000)
447
+ },
448
+ //请求后台数据
449
+ searchdata() {
450
+ var self = this
451
+ let sqldata = DataSql.getData(this, 'usernum',{f_filiale:this.$parent.$parent.f_filiale}, "resdata")
452
+ co(sqldata)
453
+ let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
454
+ co(sqldataone)
455
+ },
456
+ // 用户数据比例化
457
+ BarScale() {
458
+ var s = this.totaluser[0]
459
+ for (var i = 1; i < this.totaluser.length; i++) {
460
+ if (s.value < this.totaluser[i].value) {
461
+ s = this.totaluser[i]
462
+ }
463
+ }
464
+ var l = s.value * 1.3
465
+ this.barscale = []
466
+ for (var i = 0; i < this.totaluser.length; i++) {
467
+ if (l == 0) {
468
+ this.barscale.push(0)
469
+ }
470
+ this.barscale.push(this.totaluser[i].value / l)
471
+ }
472
+ },
473
+ // 三级页面点击入口
474
+ drillclick() {
475
+ var initdatatr = {
476
+ startDate: eval(Util.toStandardDateString().toString().substring(0, 4) + '-4') + '-01-01 00:00:00',
477
+ endDate: Util.toStandardDateString() + ' 00:00:00',
478
+ param: '',
479
+ param1: '',
480
+ listparam: '',
481
+ }
482
+ this.$emit('drill', 'usernum', 'usernumbers', this.title, initdatatr)
483
+ this.$emit('drilldata', this.totaluser)
484
+ },
485
+ },
486
+ watch: {
487
+ 'resdata': {
488
+ deep: true,
489
+ handler(val) {
490
+ this.usernum = []
491
+ let result = {}
492
+ result.name = '民用'
493
+ result.value = this.resdata[0]['民用']
494
+ this.usernum.push(result)
495
+ let result1 = {}
496
+ result1.name = '非民用'
497
+ result1.value = this.resdata[0]['非民用']
498
+ this.usernum.push(result1)
499
+ let result2 = {}
500
+ result2.name = '民用锅炉'
501
+ result2.value = this.resdata[0]['民用锅炉']
502
+ this.usernum.push(result2)
503
+ }
504
+ },
505
+ // 监听用户数据并进行绘图
506
+ 'usernum': {
507
+ deep: true,
508
+ handler(val) {
509
+ var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
510
+ this.totaluser[0].value = value
511
+ this.setUserType()
512
+ this.$parent.loaddata++
513
+ }
514
+ },
515
+ //监听用户增长模块的数据,更新计算潜在用户数
516
+ // 'increaseuser': {
517
+ // deep: true,
518
+ // handler(val) {
519
+ // console.log(this.increaseuser, '潜在用户数据')
520
+ // this.totaluser[2].value = this.increaseuser
521
+ // },
522
+ // immediate: true
523
+ // },
524
+ // 监听用户数据并进行绘图
525
+ 'totaluser': {
526
+ deep: true,
527
+ handler(val) {
528
+ if (this.totaluser[0].value > 0 && this.totaluser[1].value > 0 && this.totaluser[2].value > 0) {
529
+ this.setBar('usernum')
530
+ }
531
+ this.$parent.loaddata++
532
+ },
533
+ },
534
+ //监听浏览器大小变化
535
+ 'listenheight': {
536
+ deep: true,
537
+ handler(val) {
538
+ if (this.listenheight !== '') {
539
+ // this.$parent.$parent.changeresize(this.xc)
540
+ }
541
+ },
542
+ },
543
+ 'resdataapply': {
544
+ deep: true,
545
+ handler(val) {
546
+ if (this.resdataapply[0].totalnum > 0) {
547
+ this.totaluser[1].value = this.resdataapply[0].f_applycount?this.resdataapply[0].f_applycount:0
548
+ this.totaluser[2].value = this.resdataapply[0].f_installnum?this.resdataapply[0].f_installnum:0
549
+ }
550
+
551
+ console.log(this.resdataapply, '报建数据')
552
+
553
+ }
554
+ },
555
+ 'f_filiale'(){
556
+ this.searchdata()
557
+ }
558
+ },
559
+ ready() {
560
+ this.searchdata()
561
+ }
562
+ }
563
+ </script>
564
+
565
+ <style scoped>
566
+ .label {
567
+ margin-left: 1%;
568
+ font-size: 1.85rem;
569
+ color: #fff;
570
+ width: 100%;
571
+ height: 9%;
572
+ }
573
+
574
+ .d1 {
575
+ margin-top: 10%;
576
+ width: 30%;
577
+ height: 80%;
578
+ float: right;
579
+ }
580
+
581
+ .d0 {
582
+ padding-left: 9%;
583
+ width: 100%;
584
+ height: 100%;
585
+ float: left;
586
+ }
587
+
588
+ .f24 {
589
+ font-size: 0.85em;
590
+ color: #f3c832;
591
+ }
592
+
593
+ .f12 {
594
+ font-size: 0.85em;
595
+ color: #ffffff;
596
+ }
597
+ .t1{
598
+ color: #4bf2ff;
599
+ }
600
+ </style>