manage-client 3.2.5 → 3.2.9

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 (467) 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/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +174 -174
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/AmountGas.vue +257 -257
  164. package/src/components/SellReport/BankManager.vue +146 -146
  165. package/src/components/SellReport/BonSummary.vue +244 -244
  166. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  167. package/src/components/SellReport/BusinessReport.vue +256 -256
  168. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  169. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  170. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  171. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  172. package/src/components/SellReport/ChOtherfee.vue +251 -251
  173. package/src/components/SellReport/ChSellReport.vue +251 -251
  174. package/src/components/SellReport/ChargeBill.vue +244 -244
  175. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  176. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  177. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  178. package/src/components/SellReport/CollectFee.vue +184 -184
  179. package/src/components/SellReport/Contrast.vue +188 -188
  180. package/src/components/SellReport/DayStairMoney.vue +256 -256
  181. package/src/components/SellReport/DeptHomePage.vue +299 -299
  182. package/src/components/SellReport/FenxiangSell.vue +183 -183
  183. package/src/components/SellReport/FxGasTable.vue +220 -220
  184. package/src/components/SellReport/GasCollect.vue +174 -174
  185. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  186. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  187. package/src/components/SellReport/GasSummary.vue +257 -257
  188. package/src/components/SellReport/Gasc.vue +257 -257
  189. package/src/components/SellReport/GaspriceHas.vue +141 -141
  190. package/src/components/SellReport/GetUserNum.vue +240 -240
  191. package/src/components/SellReport/HandCollect.vue +189 -189
  192. package/src/components/SellReport/HandplanBili.vue +241 -241
  193. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  194. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  195. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  196. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  197. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  198. package/src/components/SellReport/ManageBusTable.vue +207 -207
  199. package/src/components/SellReport/ManageGasFee.vue +247 -247
  200. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  201. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  202. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  203. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  204. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  205. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  206. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  207. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  208. package/src/components/SellReport/ManageReceivable.vue +254 -254
  209. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  210. package/src/components/SellReport/MeterBill.vue +185 -185
  211. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  212. package/src/components/SellReport/MeterInput.vue +250 -250
  213. package/src/components/SellReport/MeterPrice.vue +244 -244
  214. package/src/components/SellReport/MeterReader.vue +231 -231
  215. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  216. package/src/components/SellReport/NonResidentGas.vue +244 -244
  217. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  218. package/src/components/SellReport/OutletTable.vue +258 -258
  219. package/src/components/SellReport/OweAging.vue +174 -174
  220. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  221. package/src/components/SellReport/PaymentMethod.vue +274 -274
  222. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  223. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  224. package/src/components/SellReport/ReportHistory.vue +80 -80
  225. package/src/components/SellReport/ReportPool.vue +60 -60
  226. package/src/components/SellReport/SellDepReport.vue +266 -266
  227. package/src/components/SellReport/Selling.vue +188 -188
  228. package/src/components/SellReport/SiteManager.vue +147 -147
  229. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  230. package/src/components/SellReport/UserSellingGas.vue +251 -251
  231. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  232. package/src/components/SellReport/UsertypePie.vue +101 -101
  233. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  234. package/src/components/SellReport/XianYangDate.vue +227 -227
  235. package/src/components/SellReport/XianYangOperator.vue +228 -228
  236. package/src/components/SellReport/XyDateCharge.vue +227 -227
  237. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  238. package/src/components/SellReport/YuShouTable.vue +298 -298
  239. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  240. package/src/components/SellReport/chargeSchedule.vue +410 -410
  241. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  242. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  243. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  244. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  245. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  246. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  247. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  248. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  249. package/src/components/SellReport/userholds.vue +257 -257
  250. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  251. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  252. package/src/components/WebReport/BatteryLow.vue +148 -148
  253. package/src/components/WebReport/BusinessHall.vue +85 -85
  254. package/src/components/WebReport/BussinessType.vue +137 -137
  255. package/src/components/WebReport/Communication.vue +131 -131
  256. package/src/components/WebReport/CompanyUser.vue +79 -79
  257. package/src/components/WebReport/EchartsBox.vue +110 -110
  258. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  259. package/src/components/WebReport/GaspriceHas.vue +141 -141
  260. package/src/components/WebReport/HandplanPrint.vue +167 -167
  261. package/src/components/WebReport/NotUpload.vue +165 -165
  262. package/src/components/WebReport/OweQuery.vue +169 -169
  263. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  264. package/src/components/WebReport/Paymentpie.vue +157 -157
  265. package/src/components/WebReport/ReportWorklist.vue +220 -220
  266. package/src/components/WebReport/SellType.vue +89 -89
  267. package/src/components/WebReport/Telemanlist.vue +221 -221
  268. package/src/components/WebReport/UserGasAll.vue +214 -214
  269. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  270. package/src/components/WebReport/UsertypePie.vue +105 -105
  271. package/src/components/WebReport/ValueEcharts.vue +99 -99
  272. package/src/components/WebReport/ValueInfo.vue +194 -194
  273. package/src/components/qinhua/BarChartLine.vue +288 -288
  274. package/src/components/qinhua/ManageMain.vue +162 -162
  275. package/src/components/qinhua/Ring.vue +165 -165
  276. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  277. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  278. package/src/components/qinhua/Scada.vue +93 -93
  279. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  280. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  281. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  282. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  283. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  284. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  285. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  286. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  287. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  288. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  289. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  290. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  291. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  292. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  293. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  294. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  295. package/src/components/sale/common/PrintData.vue +171 -171
  296. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  297. package/src/components/sale/common/PrintTable.vue +228 -228
  298. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  299. package/src/components/sale/common/TabButton.vue +155 -155
  300. package/src/components/sale/common/Tabs.vue +67 -67
  301. package/src/components/sale/common/handplanUser.vue +112 -112
  302. package/src/components/sale/config/DefaultPrint.js +6 -6
  303. package/src/components/sale/config/tableConfig.js +48 -48
  304. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  305. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  306. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  307. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  308. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  309. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  310. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  311. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  312. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  313. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  314. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  315. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  316. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  317. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  318. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  319. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  320. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  321. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  322. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  323. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  324. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  325. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  326. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  327. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  328. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  329. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  330. package/src/components/sale/report/aode/DayReport.vue +50 -50
  331. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  332. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  333. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  334. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  335. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  336. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  337. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  338. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  339. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  340. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  341. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  342. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  343. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  344. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  345. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  346. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  347. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  348. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  349. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  350. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  351. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  352. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  353. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  354. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  355. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  356. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  357. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  358. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  359. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  360. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  361. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  362. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  363. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  364. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  365. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  366. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  367. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  368. package/src/components/webmeter/DrillData/UserGasAll.vue +6 -7
  369. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  370. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  371. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  372. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  373. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  374. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  375. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  376. package/src/components/webmeter/instruction/NewQueryInstruct.vue +10 -12
  377. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  378. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  379. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  380. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  381. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  382. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -0
  383. package/src/components/webmeter/report/ReportList.vue +14 -13
  384. package/src/components/yulin/GuanWang.vue +24 -24
  385. package/src/components/yulin/SingleBarLine.vue +352 -352
  386. package/src/components/yulin/Weather.vue +157 -157
  387. package/src/expandcss.less +26 -26
  388. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  389. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  390. package/src/filiale/WEINAN/config/tableConfig.js +2 -0
  391. package/src/filiale/aode/ArchivesManage.vue +38 -38
  392. package/src/filiale/aode/BusinessManage.vue +94 -94
  393. package/src/filiale/aode/DefaultPrint.js +6 -6
  394. package/src/filiale/aode/HandplanQuery.vue +632 -632
  395. package/src/filiale/aode/Tabs.vue +67 -67
  396. package/src/filiale/aode/UserQuery.vue +599 -599
  397. package/src/filiale/aode/sale.js +17 -17
  398. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  399. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  400. package/src/filiale/ceshi/CollectManage.vue +94 -94
  401. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  402. package/src/filiale/ceshi/TabButton.vue +149 -149
  403. package/src/filiale/ceshi/Tabs.vue +69 -69
  404. package/src/filiale/ceshi/reportManage.js +5 -5
  405. package/src/filiale/ceshi/sale.js +11 -11
  406. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  407. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  408. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  409. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  410. package/src/filiale/liaoyuan/sale.js +11 -11
  411. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  412. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  413. package/src/filiale/qingtongxia/sale.js +13 -13
  414. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  415. package/src/filiale/shaoguan/RecordInfoQuery.vue +87 -79
  416. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  417. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  418. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  419. package/src/filiale/shennongjia/sale.js +10 -10
  420. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  421. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  422. package/src/filiale/wuhai/sale.js +10 -0
  423. package/src/main.js +1 -1
  424. package/src/plugins/GetLoginInfoService.js +505 -505
  425. package/src/plugins/LodopFuncs.js +124 -124
  426. package/src/plugins/getAllInputtor.js +29 -29
  427. package/src/safeCheck.js +63 -63
  428. package/src/stores/AppData.js +62 -62
  429. package/src/stores/DataSql.js +585 -585
  430. package/src/stores/DrillECharts.js +602 -602
  431. package/src/stores/DrillSql.js +888 -888
  432. package/src/stores/GetParames.js +15 -15
  433. package/src/stores/MagGetSaleParams.js +156 -156
  434. package/src/stores/MagLoadParams.js +63 -63
  435. package/src/stores/Util.js +132 -132
  436. package/src/stores/shanxi1.js +26 -26
  437. package/src/stores/yulin.js +27 -27
  438. package/src/webmeterManage.js +105 -105
  439. package/static/china.json +1 -1
  440. package/static/qh.json +2410 -2410
  441. package/static/res.json +58411 -58411
  442. package/static/shanxi1.json +1 -1
  443. package/static/yulin.json +1 -1
  444. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  445. package/test/unit/.eslintrc +5 -5
  446. package/test/unit/TestUtil.js +35 -35
  447. package/test/unit/context.html +20 -20
  448. package/test/unit/index.js +13 -13
  449. package/test/unit/init.js +11 -11
  450. package/test/unit/karma.conf.js +45 -45
  451. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  452. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  453. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  454. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  455. package/webstorm.config.js +13 -13
  456. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  457. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  458. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  459. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  460. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  461. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  462. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  463. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  464. package/.gradle/7.1/gc.properties +0 -0
  465. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  466. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  467. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -1,511 +1,511 @@
1
- <template>
2
- <div>
3
- <div class="f1">
4
- <div class="label">客户</div>
5
- <div class="f2">
6
- <table>
7
- <tr>
8
- <td><span v-model="totaluser">{{totaluser}}</span><br/><font size="4">现有总客户</font></td>
9
- <td><span v-model="apply">{{apply}}</span><br/><font size="4">民用生活用气户数</font></td>
10
- <td><span v-model="boiler">{{boiler}}</span><br/><font size="4">民用壁挂锅炉户数</font></td>
11
- <td><span v-model="hiddenuser">{{hiddenuser}}</span><br/><font size="4">非民用户数</font></td>
12
- </tr>
13
- </table>
14
- </div>
15
- </div>
16
- <div id="userdata" class="f3"></div>
17
- </div>
18
- </template>
19
-
20
- <script>
21
- import * as DataSql from '../../../stores/DataSql'
22
- import co from 'co'
23
-
24
- export default {
25
- name: "user-module",
26
- props: {
27
- listenheight: String,
28
- f_filiale:String,
29
- },
30
- data() {
31
- return {
32
- xc: '',
33
- usernum: [], //用户数据
34
- usernumstring: [],
35
- totaluser: '', //总用户数
36
- hiddenuser: '', //潜在用户数
37
- boiler:'',//民用锅炉
38
- unit: [], //用户数单位
39
- resdata: [], //用户数据
40
- resdatapie: [], //饼图数据
41
- resdataapply: 0, //报建用户数
42
- apply: '', //报建用户数
43
- timer:''
44
- }
45
- },
46
- beforeDestroy() {
47
- //清除定时器
48
- clearInterval(this.timer);
49
- },
50
- methods: {
51
- //绘图
52
- setBar() {
53
- this.xc = this.$echarts.init(document.getElementById('userdata'))
54
- var scale=this.$parent.$parent.$parent.scale*1.1
55
- DataSql.dataunitarray(this, 'usernum', 'usernumstring')
56
- var echartData = this.usernum
57
- var echartData1 = this.usernumstring
58
- var rich = {
59
- blue: {
60
- color: '#15dce2',
61
- fontSize: 12 * scale,
62
- align: 'center',
63
- padding: [15*scale, 0, 15*scale, 0]
64
- }
65
- }
66
- var total = 0; //用户总和
67
- var result = ''
68
- echartData.forEach(function (value) {
69
- total += value.value;
70
- });
71
- var index = total.toString().length
72
- if (index > 4) {
73
- var t = total.toString().substring(0, index - 4)
74
- var s = total.toString().substring(index - 4, index - 3)
75
- var l = total.toString().substring(index - 3, index - 2)
76
- if (l > 4) {
77
- s = eval(s + '+1')
78
- }
79
- if (s > 9) {
80
- s = 0
81
- t = eval(t + '+1')
82
- }
83
- result = t + '.' + s + '万'
84
- } else {
85
- result = total
86
- }
87
- this.xc.setOption({
88
- title: [
89
- {
90
- text: '总客户数',
91
- left: '45%',
92
- top: '31%',
93
- textStyle: {
94
- color: '#ffffff',
95
- fontSize: 10 ,
96
-
97
- }
98
- },
99
- {
100
- text: result,
101
- left: '46%',
102
- top: '40%',
103
- textStyle: {
104
- color: '#00e2ea',
105
- fontSize: 10 ,
106
-
107
- }
108
- }],
109
- tooltip: {
110
- show: true,
111
- alwaysShowContent:true,
112
- backgroundColor:'rgba(2, 59, 63, 0.6)',
113
- // borderColor :'rgba(13, 109, 180)',
114
- borderWidth:0,
115
- hideDelay:100,
116
- padding:10*scale,
117
- textStyle:{
118
- fontSize:16*scale
119
- },
120
- triggerOn:'mousemove',
121
- padding:10*scale,
122
- textStyle:{
123
- fontSize:16*scale
124
- },
125
- formatter: function (params) {
126
- return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
127
- },
128
- enterable:true,
129
- position: function(point, params, dom, rect, size) {
130
- //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
131
- var x = point[0]; //
132
- var y = point[1];
133
- var viewWidth = size.viewSize[0];
134
- var viewHeight = size.viewSize[1];
135
- var boxWidth = size.contentSize[0];
136
- var boxHeight = size.contentSize[1];
137
- var posX = 0; //x坐标位置
138
- var posY = 0; //y坐标位置
139
- if (x < boxWidth) { //左边放不开
140
- posX = 5;
141
- } else { //左边放的下
142
- posX = x - boxWidth;
143
- }
144
-
145
- if (y < boxHeight) { //上边放不开
146
- posY = 5;
147
- } else { //上边放得下
148
- posY = y - boxHeight;
149
- }
150
- return [posX, posY];
151
- },
152
- extraCssText:'width: auto;height:auto;',
153
- },
154
- legend: {
155
- orient: 'horizontal',
156
- icon: 'circle',
157
- x: 'center',
158
- bottom: '6%',
159
- itemGap: 20,
160
- itemWidth: 20 ,
161
- itemHeight: 10 ,
162
- textStyle: {
163
- fontSize: 12 ,
164
- // padding: [0, 0, 0, 4 * scale],
165
- color: '#ffffff'
166
- },
167
- data: ['民用', '非民用', '民用锅炉']
168
- },
169
- series: [
170
- // {
171
- // name: 'Line 1',
172
- // type: 'pie',
173
- // animation: false,
174
- // clockWise: false,
175
- // radius: ['35%', '36%'],
176
- // center: ['50%', '49%'],
177
- // itemStyle: {
178
- // normal: {
179
- // label: {
180
- // show: false
181
- // },
182
- // labelLine: {
183
- // show: false
184
- // },
185
- // }
186
- // },
187
- // hoverAnimation: false,
188
- // tooltip: {
189
- // show: false
190
- // },
191
- // data: [{
192
- // value: 100,
193
- // name: '02',
194
- // itemStyle: {
195
- // normal: {
196
- // color: '#29b7ff',//未完成的圆环的颜色
197
- // label: {
198
- // show: false
199
- // },
200
- // labelLine: {
201
- // show: false
202
- // }
203
- // }
204
- // }
205
- // }]
206
- // },
207
- {
208
- name: '总客户数',
209
- type: 'pie',
210
- radius: ['40%', '60%'],
211
- center: ['50%', '42%'],
212
- minAngle: 15,//最小角度
213
- startAngle: 300, //起始角度
214
- hoverAnimation: false,
215
- color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
216
- label: {
217
- show:false
218
- // normal: {
219
- // borderWidth: 20 * scale,
220
- // borderRadius: 4 * scale,
221
- // formatter: function (params, ticket, callback) {
222
- // for (var i = 0; i < echartData1.length; i++) {
223
- // if (echartData1[i].name == params.name) {
224
- // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
225
- // }
226
- // }
227
- // },
228
- // padding: [0, -80 * scale],
229
- // rich: rich,
230
- // }
231
- },
232
- labelLine: {
233
- normal: {
234
- length: 25 * scale,
235
- length2: 90 * scale,
236
- }
237
- },
238
- data: echartData
239
- }
240
- // , {
241
- // name: 'Line 2',
242
- // type: 'pie',
243
- // animation: false,
244
- // clockWise: false,
245
- // radius: ['54%', '55%'],
246
- // center: ['50%', '49%'],
247
- // itemStyle: {
248
- // normal: {
249
- // label: {
250
- // show: false
251
- // },
252
- // labelLine: {
253
- // show: false
254
- // },
255
- // }
256
- // },
257
- // hoverAnimation: false,
258
- // tooltip: {
259
- // show: false
260
- // },
261
- // data: [{
262
- // value: 100,
263
- // name: '02',
264
- // itemStyle: {
265
- // normal: {
266
- // color: '#29b7ff',//未完成的圆环的颜色
267
- // label: {
268
- // show: false
269
- // },
270
- // labelLine: {
271
- // show: false
272
- // }
273
- // }
274
- // }
275
- // }
276
- // ]
277
- // }
278
- ]
279
- }, true)
280
-
281
- let idx = 0;
282
- var dataLen=echartData.length
283
- var oroptionmapjsonr_charts=this.xc
284
- this.timer=setInterval(()=>{
285
- // 取消之前选中的图形
286
- oroptionmapjsonr_charts.dispatchAction({
287
- type: 'pieUnSelect',
288
- seriesIndex: 0,
289
- dataIndex: idx,
290
- });
291
-
292
- idx = (idx+ 1) % dataLen;
293
- //console.log(app.currentIndex);
294
- // 选中当前图形
295
- oroptionmapjsonr_charts.dispatchAction({
296
- type: 'pieSelect',
297
- seriesIndex: 0,
298
- dataIndex: idx
299
- });
300
- oroptionmapjsonr_charts.dispatchAction({
301
- type: 'showTip',
302
- seriesIndex: 0,
303
- dataIndex: idx
304
- });
305
- }, 3000)
306
- },
307
- //请求后台数据
308
- searchdata() {
309
- let sqldata = DataSql.getData(this, 'user',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
310
- co(sqldata)
311
- // let sqldatapie = DataSql.getData(this,'useri',{f_filiale:this.$parent.$parent.f_filiale}, 'resdatapie')
312
- // co(sqldatapie)
313
- // let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
314
- // co(sqldataone)
315
- },
316
- },
317
- watch: {
318
- // 监听用户数据并进行绘图
319
- 'usernum': {
320
- deep: true,
321
- handler(val) {
322
- console.log('----------------------------------------------------------')
323
- console.log(this.usernum,'usernum')
324
- var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
325
- var value1 = this.usernum[0].value
326
- var value2 =this.usernum[1].value
327
- var value3 =this.usernum[2].value
328
- this.totaluser = DataSql.dataunit(value)
329
- this.apply = DataSql.dataunit(value1)
330
- this.hiddenuser = DataSql.dataunit(value2)
331
- this.boiler = DataSql.dataunit(value3)
332
- this.setBar()
333
- this.$parent.loaddata++
334
- }
335
- },
336
- //监听浏览器大小变化
337
- 'listenheight': {
338
- deep: true,
339
- handler(val) {
340
- if (this.listenheight !== '') {
341
- // this.$parent.$parent.changeresize(this.xc)
342
- }
343
- },
344
- },
345
- 'resdata': {
346
- deep: true,
347
- handler(val) {
348
- this.usernum = []
349
- let result = {}
350
- result.name = '民用'
351
- result.value = this.resdata[0]['民用']
352
- this.usernum.push(result)
353
- let result1 = {}
354
- result1.name = '非民用'
355
- result1.value = this.resdata[0]['非民用']
356
- this.usernum.push(result1)
357
- let result2 = {}
358
- result2.name = '民用锅炉'
359
- result2.value = this.resdata[0]['民用锅炉']
360
- this.usernum.push(result2)
361
- }
362
- },
363
-
364
-
365
- 'f_filiale'(){
366
- clearInterval(this.timer);
367
- this.searchdata()
368
- }
369
- },
370
-
371
- ready() {
372
- // 拼接sql,请求后台
373
- this.searchdata()
374
- }
375
- }
376
- </script>
377
-
378
- <style scoped>
379
-
380
- @media screen and (max-width: 1920px) {
381
- /*标题样式*/
382
- .label {
383
- font-size: 1.85rem;
384
- color: #fff;
385
- height: 8%;
386
- width: 100%;
387
- margin-left: 6%;
388
- }
389
-
390
- /*标题及用户数据表格样式*/
391
- .f1 {
392
- height: 31%;
393
- width: 100%;
394
- }
395
-
396
- /*用户数据表格样式*/
397
- .f2 {
398
- /*height: 72px;*/
399
- /*width: 450px;*/
400
- /*margin-left: 20px*/
401
- padding: 2% 1%;
402
- height: 92%;
403
- width: 100%;
404
- }
405
-
406
- /*echarts绘制区域样式*/
407
- .f3 {
408
- height: 68.3%;
409
- width: 100%;
410
- padding-top: 3%;
411
- }
412
-
413
- table {
414
- width: 100%;
415
- height: 100%;
416
- }
417
-
418
- td {
419
- /*height: 72px;*/
420
- /*width: 140px;*/
421
- height: 100%;
422
- width: 18%;
423
- font-size: 1.4rem;
424
- text-align: center;
425
- color: #ffffff;
426
- }
427
-
428
- /*td加载图片*/
429
- .td-1 {
430
- /*width: 40px;*/
431
- width: 1%;
432
- /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
433
- /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
434
- /*background-repeat: no-repeat;!**!*/
435
- /*background-size: 80% 40%;*/
436
- /*background-position: center;*/
437
- }
438
-
439
- span {
440
- font-size:2.2rem;
441
- font-weight: bolder;
442
- color: #69d8d2;
443
- }
444
- }
445
- @media screen and (max-width: 1366px) {
446
- /*标题样式*/
447
- .label {
448
- font-size: 1.85rem;
449
- color: #fff;
450
- height: 8%;
451
- width: 100%;
452
- margin-left: 6%;
453
- }
454
-
455
- /*标题及用户数据表格样式*/
456
- .f1 {
457
- height: 31%;
458
- width: 100%;
459
- }
460
-
461
- /*用户数据表格样式*/
462
- .f2 {
463
- /*height: 72px;*/
464
- /*width: 450px;*/
465
- /*margin-left: 20px*/
466
- padding: 2% 1%;
467
- height: 92%;
468
- width: 100%;
469
- }
470
-
471
- /*echarts绘制区域样式*/
472
- .f3 {
473
- height: 68.3%;
474
- width: 100%;
475
- padding-top: 3%;
476
- }
477
-
478
- table {
479
- width: 100%;
480
- height: 100%;
481
- }
482
-
483
- td {
484
- /*height: 72px;*/
485
- /*width: 140px;*/
486
- height: 100%;
487
- width: 18%;
488
- font-size: 1rem;
489
- text-align: center;
490
- color: #ffffff;
491
- }
492
-
493
- /*td加载图片*/
494
- .td-1 {
495
- /*width: 40px;*/
496
- width: 1%;
497
- /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
498
- /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
499
- /*background-repeat: no-repeat;!**!*/
500
- /*background-size: 80% 40%;*/
501
- /*background-position: center;*/
502
- }
503
-
504
- span {
505
- font-size:1.8rem;
506
- font-weight: bolder;
507
- color: #69d8d2;
508
- }
509
- }
510
-
511
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="f1">
4
+ <div class="label">客户</div>
5
+ <div class="f2">
6
+ <table>
7
+ <tr>
8
+ <td><span v-model="totaluser">{{totaluser}}</span><br/><font size="4">现有总客户</font></td>
9
+ <td><span v-model="apply">{{apply}}</span><br/><font size="4">民用生活用气户数</font></td>
10
+ <td><span v-model="boiler">{{boiler}}</span><br/><font size="4">民用壁挂锅炉户数</font></td>
11
+ <td><span v-model="hiddenuser">{{hiddenuser}}</span><br/><font size="4">非民用户数</font></td>
12
+ </tr>
13
+ </table>
14
+ </div>
15
+ </div>
16
+ <div id="userdata" class="f3"></div>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ import * as DataSql from '../../../stores/DataSql'
22
+ import co from 'co'
23
+
24
+ export default {
25
+ name: "user-module",
26
+ props: {
27
+ listenheight: String,
28
+ f_filiale:String,
29
+ },
30
+ data() {
31
+ return {
32
+ xc: '',
33
+ usernum: [], //用户数据
34
+ usernumstring: [],
35
+ totaluser: '', //总用户数
36
+ hiddenuser: '', //潜在用户数
37
+ boiler:'',//民用锅炉
38
+ unit: [], //用户数单位
39
+ resdata: [], //用户数据
40
+ resdatapie: [], //饼图数据
41
+ resdataapply: 0, //报建用户数
42
+ apply: '', //报建用户数
43
+ timer:''
44
+ }
45
+ },
46
+ beforeDestroy() {
47
+ //清除定时器
48
+ clearInterval(this.timer);
49
+ },
50
+ methods: {
51
+ //绘图
52
+ setBar() {
53
+ this.xc = this.$echarts.init(document.getElementById('userdata'))
54
+ var scale=this.$parent.$parent.$parent.scale*1.1
55
+ DataSql.dataunitarray(this, 'usernum', 'usernumstring')
56
+ var echartData = this.usernum
57
+ var echartData1 = this.usernumstring
58
+ var rich = {
59
+ blue: {
60
+ color: '#15dce2',
61
+ fontSize: 12 * scale,
62
+ align: 'center',
63
+ padding: [15*scale, 0, 15*scale, 0]
64
+ }
65
+ }
66
+ var total = 0; //用户总和
67
+ var result = ''
68
+ echartData.forEach(function (value) {
69
+ total += value.value;
70
+ });
71
+ var index = total.toString().length
72
+ if (index > 4) {
73
+ var t = total.toString().substring(0, index - 4)
74
+ var s = total.toString().substring(index - 4, index - 3)
75
+ var l = total.toString().substring(index - 3, index - 2)
76
+ if (l > 4) {
77
+ s = eval(s + '+1')
78
+ }
79
+ if (s > 9) {
80
+ s = 0
81
+ t = eval(t + '+1')
82
+ }
83
+ result = t + '.' + s + '万'
84
+ } else {
85
+ result = total
86
+ }
87
+ this.xc.setOption({
88
+ title: [
89
+ {
90
+ text: '总客户数',
91
+ left: '45%',
92
+ top: '31%',
93
+ textStyle: {
94
+ color: '#ffffff',
95
+ fontSize: 10 ,
96
+
97
+ }
98
+ },
99
+ {
100
+ text: result,
101
+ left: '46%',
102
+ top: '40%',
103
+ textStyle: {
104
+ color: '#00e2ea',
105
+ fontSize: 10 ,
106
+
107
+ }
108
+ }],
109
+ tooltip: {
110
+ show: true,
111
+ alwaysShowContent:true,
112
+ backgroundColor:'rgba(2, 59, 63, 0.6)',
113
+ // borderColor :'rgba(13, 109, 180)',
114
+ borderWidth:0,
115
+ hideDelay:100,
116
+ padding:10*scale,
117
+ textStyle:{
118
+ fontSize:16*scale
119
+ },
120
+ triggerOn:'mousemove',
121
+ padding:10*scale,
122
+ textStyle:{
123
+ fontSize:16*scale
124
+ },
125
+ formatter: function (params) {
126
+ return params.marker + " " + params.name + " <span style=\"color:#e1e52a;font-weight: bolder\">&nbsp;&nbsp;" + params.value + "</span>"
127
+ },
128
+ enterable:true,
129
+ position: function(point, params, dom, rect, size) {
130
+ //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
131
+ var x = point[0]; //
132
+ var y = point[1];
133
+ var viewWidth = size.viewSize[0];
134
+ var viewHeight = size.viewSize[1];
135
+ var boxWidth = size.contentSize[0];
136
+ var boxHeight = size.contentSize[1];
137
+ var posX = 0; //x坐标位置
138
+ var posY = 0; //y坐标位置
139
+ if (x < boxWidth) { //左边放不开
140
+ posX = 5;
141
+ } else { //左边放的下
142
+ posX = x - boxWidth;
143
+ }
144
+
145
+ if (y < boxHeight) { //上边放不开
146
+ posY = 5;
147
+ } else { //上边放得下
148
+ posY = y - boxHeight;
149
+ }
150
+ return [posX, posY];
151
+ },
152
+ extraCssText:'width: auto;height:auto;',
153
+ },
154
+ legend: {
155
+ orient: 'horizontal',
156
+ icon: 'circle',
157
+ x: 'center',
158
+ bottom: '6%',
159
+ itemGap: 20,
160
+ itemWidth: 20 ,
161
+ itemHeight: 10 ,
162
+ textStyle: {
163
+ fontSize: 12 ,
164
+ // padding: [0, 0, 0, 4 * scale],
165
+ color: '#ffffff'
166
+ },
167
+ data: ['民用', '非民用', '民用锅炉']
168
+ },
169
+ series: [
170
+ // {
171
+ // name: 'Line 1',
172
+ // type: 'pie',
173
+ // animation: false,
174
+ // clockWise: false,
175
+ // radius: ['35%', '36%'],
176
+ // center: ['50%', '49%'],
177
+ // itemStyle: {
178
+ // normal: {
179
+ // label: {
180
+ // show: false
181
+ // },
182
+ // labelLine: {
183
+ // show: false
184
+ // },
185
+ // }
186
+ // },
187
+ // hoverAnimation: false,
188
+ // tooltip: {
189
+ // show: false
190
+ // },
191
+ // data: [{
192
+ // value: 100,
193
+ // name: '02',
194
+ // itemStyle: {
195
+ // normal: {
196
+ // color: '#29b7ff',//未完成的圆环的颜色
197
+ // label: {
198
+ // show: false
199
+ // },
200
+ // labelLine: {
201
+ // show: false
202
+ // }
203
+ // }
204
+ // }
205
+ // }]
206
+ // },
207
+ {
208
+ name: '总客户数',
209
+ type: 'pie',
210
+ radius: ['40%', '60%'],
211
+ center: ['50%', '42%'],
212
+ minAngle: 15,//最小角度
213
+ startAngle: 300, //起始角度
214
+ hoverAnimation: false,
215
+ color: ['#6fd9d0', '#ede61f', '#6d9bdc'],
216
+ label: {
217
+ show:false
218
+ // normal: {
219
+ // borderWidth: 20 * scale,
220
+ // borderRadius: 4 * scale,
221
+ // formatter: function (params, ticket, callback) {
222
+ // for (var i = 0; i < echartData1.length; i++) {
223
+ // if (echartData1[i].name == params.name) {
224
+ // return '{blue|' + params.name + '}{blue|' + echartData1[i].value + '}\n';
225
+ // }
226
+ // }
227
+ // },
228
+ // padding: [0, -80 * scale],
229
+ // rich: rich,
230
+ // }
231
+ },
232
+ labelLine: {
233
+ normal: {
234
+ length: 25 * scale,
235
+ length2: 90 * scale,
236
+ }
237
+ },
238
+ data: echartData
239
+ }
240
+ // , {
241
+ // name: 'Line 2',
242
+ // type: 'pie',
243
+ // animation: false,
244
+ // clockWise: false,
245
+ // radius: ['54%', '55%'],
246
+ // center: ['50%', '49%'],
247
+ // itemStyle: {
248
+ // normal: {
249
+ // label: {
250
+ // show: false
251
+ // },
252
+ // labelLine: {
253
+ // show: false
254
+ // },
255
+ // }
256
+ // },
257
+ // hoverAnimation: false,
258
+ // tooltip: {
259
+ // show: false
260
+ // },
261
+ // data: [{
262
+ // value: 100,
263
+ // name: '02',
264
+ // itemStyle: {
265
+ // normal: {
266
+ // color: '#29b7ff',//未完成的圆环的颜色
267
+ // label: {
268
+ // show: false
269
+ // },
270
+ // labelLine: {
271
+ // show: false
272
+ // }
273
+ // }
274
+ // }
275
+ // }
276
+ // ]
277
+ // }
278
+ ]
279
+ }, true)
280
+
281
+ let idx = 0;
282
+ var dataLen=echartData.length
283
+ var oroptionmapjsonr_charts=this.xc
284
+ this.timer=setInterval(()=>{
285
+ // 取消之前选中的图形
286
+ oroptionmapjsonr_charts.dispatchAction({
287
+ type: 'pieUnSelect',
288
+ seriesIndex: 0,
289
+ dataIndex: idx,
290
+ });
291
+
292
+ idx = (idx+ 1) % dataLen;
293
+ //console.log(app.currentIndex);
294
+ // 选中当前图形
295
+ oroptionmapjsonr_charts.dispatchAction({
296
+ type: 'pieSelect',
297
+ seriesIndex: 0,
298
+ dataIndex: idx
299
+ });
300
+ oroptionmapjsonr_charts.dispatchAction({
301
+ type: 'showTip',
302
+ seriesIndex: 0,
303
+ dataIndex: idx
304
+ });
305
+ }, 3000)
306
+ },
307
+ //请求后台数据
308
+ searchdata() {
309
+ let sqldata = DataSql.getData(this, 'user',{f_filiale:this.$parent.$parent.f_filiale}, 'resdata')
310
+ co(sqldata)
311
+ // let sqldatapie = DataSql.getData(this,'useri',{f_filiale:this.$parent.$parent.f_filiale}, 'resdatapie')
312
+ // co(sqldatapie)
313
+ // let sqldataone = DataSql.getData(this,'userapply',{f_filiale:this.$parent.$parent.f_filiale}, 'resdataapply')
314
+ // co(sqldataone)
315
+ },
316
+ },
317
+ watch: {
318
+ // 监听用户数据并进行绘图
319
+ 'usernum': {
320
+ deep: true,
321
+ handler(val) {
322
+ console.log('----------------------------------------------------------')
323
+ console.log(this.usernum,'usernum')
324
+ var value = this.usernum[0].value + this.usernum[1].value + this.usernum[2].value
325
+ var value1 = this.usernum[0].value
326
+ var value2 =this.usernum[1].value
327
+ var value3 =this.usernum[2].value
328
+ this.totaluser = DataSql.dataunit(value)
329
+ this.apply = DataSql.dataunit(value1)
330
+ this.hiddenuser = DataSql.dataunit(value2)
331
+ this.boiler = DataSql.dataunit(value3)
332
+ this.setBar()
333
+ this.$parent.loaddata++
334
+ }
335
+ },
336
+ //监听浏览器大小变化
337
+ 'listenheight': {
338
+ deep: true,
339
+ handler(val) {
340
+ if (this.listenheight !== '') {
341
+ // this.$parent.$parent.changeresize(this.xc)
342
+ }
343
+ },
344
+ },
345
+ 'resdata': {
346
+ deep: true,
347
+ handler(val) {
348
+ this.usernum = []
349
+ let result = {}
350
+ result.name = '民用'
351
+ result.value = this.resdata[0]['民用']
352
+ this.usernum.push(result)
353
+ let result1 = {}
354
+ result1.name = '非民用'
355
+ result1.value = this.resdata[0]['非民用']
356
+ this.usernum.push(result1)
357
+ let result2 = {}
358
+ result2.name = '民用锅炉'
359
+ result2.value = this.resdata[0]['民用锅炉']
360
+ this.usernum.push(result2)
361
+ }
362
+ },
363
+
364
+
365
+ 'f_filiale'(){
366
+ clearInterval(this.timer);
367
+ this.searchdata()
368
+ }
369
+ },
370
+
371
+ ready() {
372
+ // 拼接sql,请求后台
373
+ this.searchdata()
374
+ }
375
+ }
376
+ </script>
377
+
378
+ <style scoped>
379
+
380
+ @media screen and (max-width: 1920px) {
381
+ /*标题样式*/
382
+ .label {
383
+ font-size: 1.85rem;
384
+ color: #fff;
385
+ height: 8%;
386
+ width: 100%;
387
+ margin-left: 6%;
388
+ }
389
+
390
+ /*标题及用户数据表格样式*/
391
+ .f1 {
392
+ height: 31%;
393
+ width: 100%;
394
+ }
395
+
396
+ /*用户数据表格样式*/
397
+ .f2 {
398
+ /*height: 72px;*/
399
+ /*width: 450px;*/
400
+ /*margin-left: 20px*/
401
+ padding: 2% 1%;
402
+ height: 92%;
403
+ width: 100%;
404
+ }
405
+
406
+ /*echarts绘制区域样式*/
407
+ .f3 {
408
+ height: 68.3%;
409
+ width: 100%;
410
+ padding-top: 3%;
411
+ }
412
+
413
+ table {
414
+ width: 100%;
415
+ height: 100%;
416
+ }
417
+
418
+ td {
419
+ /*height: 72px;*/
420
+ /*width: 140px;*/
421
+ height: 100%;
422
+ width: 18%;
423
+ font-size: 1.4rem;
424
+ text-align: center;
425
+ color: #ffffff;
426
+ }
427
+
428
+ /*td加载图片*/
429
+ .td-1 {
430
+ /*width: 40px;*/
431
+ width: 1%;
432
+ /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
433
+ /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
434
+ /*background-repeat: no-repeat;!**!*/
435
+ /*background-size: 80% 40%;*/
436
+ /*background-position: center;*/
437
+ }
438
+
439
+ span {
440
+ font-size:2.2rem;
441
+ font-weight: bolder;
442
+ color: #69d8d2;
443
+ }
444
+ }
445
+ @media screen and (max-width: 1366px) {
446
+ /*标题样式*/
447
+ .label {
448
+ font-size: 1.85rem;
449
+ color: #fff;
450
+ height: 8%;
451
+ width: 100%;
452
+ margin-left: 6%;
453
+ }
454
+
455
+ /*标题及用户数据表格样式*/
456
+ .f1 {
457
+ height: 31%;
458
+ width: 100%;
459
+ }
460
+
461
+ /*用户数据表格样式*/
462
+ .f2 {
463
+ /*height: 72px;*/
464
+ /*width: 450px;*/
465
+ /*margin-left: 20px*/
466
+ padding: 2% 1%;
467
+ height: 92%;
468
+ width: 100%;
469
+ }
470
+
471
+ /*echarts绘制区域样式*/
472
+ .f3 {
473
+ height: 68.3%;
474
+ width: 100%;
475
+ padding-top: 3%;
476
+ }
477
+
478
+ table {
479
+ width: 100%;
480
+ height: 100%;
481
+ }
482
+
483
+ td {
484
+ /*height: 72px;*/
485
+ /*width: 140px;*/
486
+ height: 100%;
487
+ width: 18%;
488
+ font-size: 1rem;
489
+ text-align: center;
490
+ color: #ffffff;
491
+ }
492
+
493
+ /*td加载图片*/
494
+ .td-1 {
495
+ /*width: 40px;*/
496
+ width: 1%;
497
+ /*<img src="../../../static/ManageHomePic/椭圆4.png">*/
498
+ /*background-image: url("../../../../static/ManageHomePic/椭圆4.png");*/
499
+ /*background-repeat: no-repeat;!**!*/
500
+ /*background-size: 80% 40%;*/
501
+ /*background-position: center;*/
502
+ }
503
+
504
+ span {
505
+ font-size:1.8rem;
506
+ font-weight: bolder;
507
+ color: #69d8d2;
508
+ }
509
+ }
510
+
511
+ </style>