manage-client 3.2.49 → 3.2.53

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 (412) 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 +178 -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/BankManager.vue +146 -146
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/CollectFee.vue +184 -184
  170. package/src/components/SellReport/Contrast.vue +188 -188
  171. package/src/components/SellReport/DayStairMoney.vue +256 -256
  172. package/src/components/SellReport/FenxiangSell.vue +183 -183
  173. package/src/components/SellReport/FxGasTable.vue +220 -220
  174. package/src/components/SellReport/GasCollect.vue +174 -174
  175. package/src/components/SellReport/GaspriceHas.vue +141 -141
  176. package/src/components/SellReport/HandCollect.vue +189 -189
  177. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  178. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  179. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  181. package/src/components/SellReport/ManageBusTable.vue +207 -207
  182. package/src/components/SellReport/ManageGasFee.vue +247 -247
  183. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  184. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  185. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  186. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  187. package/src/components/SellReport/ManageReceivable.vue +254 -254
  188. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  189. package/src/components/SellReport/MeterBill.vue +185 -185
  190. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  191. package/src/components/SellReport/MeterInput.vue +250 -250
  192. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  193. package/src/components/SellReport/OweAging.vue +174 -174
  194. package/src/components/SellReport/ReportHistory.vue +80 -80
  195. package/src/components/SellReport/ReportPool.vue +60 -60
  196. package/src/components/SellReport/Selling.vue +188 -188
  197. package/src/components/SellReport/SiteManager.vue +147 -147
  198. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  199. package/src/components/SellReport/UsertypePie.vue +101 -101
  200. package/src/components/SellReport/XianYangDate.vue +227 -227
  201. package/src/components/SellReport/XianYangOperator.vue +228 -228
  202. package/src/components/SellReport/XyDateCharge.vue +227 -227
  203. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  204. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  205. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  206. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  207. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  208. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  209. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  210. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  211. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  212. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  213. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  214. package/src/components/WebReport/BatteryLow.vue +148 -148
  215. package/src/components/WebReport/BusinessHall.vue +85 -85
  216. package/src/components/WebReport/BussinessType.vue +137 -137
  217. package/src/components/WebReport/Communication.vue +131 -131
  218. package/src/components/WebReport/CompanyUser.vue +79 -79
  219. package/src/components/WebReport/EchartsBox.vue +110 -110
  220. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  221. package/src/components/WebReport/GaspriceHas.vue +141 -141
  222. package/src/components/WebReport/HandplanPrint.vue +167 -167
  223. package/src/components/WebReport/NotUpload.vue +165 -165
  224. package/src/components/WebReport/OweQuery.vue +169 -169
  225. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  226. package/src/components/WebReport/Paymentpie.vue +157 -157
  227. package/src/components/WebReport/ReportWorklist.vue +220 -220
  228. package/src/components/WebReport/SellType.vue +89 -89
  229. package/src/components/WebReport/Telemanlist.vue +221 -221
  230. package/src/components/WebReport/UserGasAll.vue +214 -214
  231. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  232. package/src/components/WebReport/UsertypePie.vue +105 -105
  233. package/src/components/WebReport/ValueEcharts.vue +99 -99
  234. package/src/components/WebReport/ValueInfo.vue +194 -194
  235. package/src/components/qinhua/BarChartLine.vue +288 -288
  236. package/src/components/qinhua/ManageMain.vue +162 -162
  237. package/src/components/qinhua/Ring.vue +165 -165
  238. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  239. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  240. package/src/components/qinhua/Scada.vue +93 -93
  241. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  242. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  243. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  244. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  245. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  246. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  247. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  248. package/src/components/sale/businessquery/ChangeMeterQuery.vue +645 -644
  249. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  250. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  251. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  252. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  253. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  254. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  255. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  256. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  257. package/src/components/sale/businessquery/gasPriceQuery.vue +340 -372
  258. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  259. package/src/components/sale/common/PrintData.vue +171 -171
  260. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  261. package/src/components/sale/common/PrintTable.vue +228 -228
  262. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  263. package/src/components/sale/common/TabButton.vue +155 -155
  264. package/src/components/sale/common/Tabs.vue +67 -67
  265. package/src/components/sale/common/handplanUser.vue +112 -112
  266. package/src/components/sale/config/DefaultPrint.js +6 -6
  267. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  268. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  269. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  270. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  271. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  272. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  273. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  274. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  275. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  276. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  277. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  278. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  279. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  280. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  281. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  282. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  283. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  284. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  285. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  286. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  287. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  288. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  289. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  290. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  291. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  292. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  293. package/src/components/sale/report/aode/DayReport.vue +50 -50
  294. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  295. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  296. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  297. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  298. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  299. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  300. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  301. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  302. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  303. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  304. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  305. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  306. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  307. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  308. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  309. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  310. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  311. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  312. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  313. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  314. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  315. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  316. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  317. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  318. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  319. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  320. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  321. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  322. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  323. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  324. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  325. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  326. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  327. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  328. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  329. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  330. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  331. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  332. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  333. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  334. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  335. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  336. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  337. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  338. package/src/components/webmeter/instruction/NewQueryInstruct.vue +440 -443
  339. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  340. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  341. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  342. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  343. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  344. package/src/components/yulin/GuanWang.vue +24 -24
  345. package/src/components/yulin/SingleBarLine.vue +352 -352
  346. package/src/components/yulin/Weather.vue +157 -157
  347. package/src/expandcss.less +26 -26
  348. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  349. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  350. package/src/filiale/aode/ArchivesManage.vue +38 -38
  351. package/src/filiale/aode/BusinessManage.vue +94 -94
  352. package/src/filiale/aode/DefaultPrint.js +6 -6
  353. package/src/filiale/aode/HandplanQuery.vue +632 -632
  354. package/src/filiale/aode/Tabs.vue +67 -67
  355. package/src/filiale/aode/UserQuery.vue +599 -599
  356. package/src/filiale/aode/sale.js +17 -17
  357. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  358. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  359. package/src/filiale/ceshi/CollectManage.vue +94 -94
  360. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  361. package/src/filiale/ceshi/TabButton.vue +149 -149
  362. package/src/filiale/ceshi/Tabs.vue +69 -69
  363. package/src/filiale/ceshi/reportManage.js +5 -5
  364. package/src/filiale/ceshi/sale.js +11 -11
  365. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  366. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  367. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  368. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  369. package/src/filiale/liaoyuan/sale.js +11 -11
  370. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  371. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  372. package/src/filiale/qingtongxia/sale.js +13 -13
  373. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  374. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  375. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  376. package/src/filiale/shaoguan/config/exportConfig.js +11 -0
  377. package/src/filiale/shaoguan/errorHandplanQuery.vue +385 -366
  378. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  379. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  380. package/src/filiale/shennongjia/sale.js +10 -10
  381. package/src/main.js +66 -66
  382. package/src/plugins/GetLoginInfoService.js +505 -505
  383. package/src/plugins/LodopFuncs.js +124 -124
  384. package/src/plugins/getAllInputtor.js +29 -29
  385. package/src/safeCheck.js +63 -63
  386. package/src/stores/AppData.js +62 -62
  387. package/src/stores/DataSql.js +585 -585
  388. package/src/stores/DrillECharts.js +602 -602
  389. package/src/stores/DrillSql.js +888 -888
  390. package/src/stores/GetParames.js +15 -15
  391. package/src/stores/MagGetSaleParams.js +156 -156
  392. package/src/stores/MagLoadParams.js +63 -63
  393. package/src/stores/Util.js +132 -132
  394. package/src/stores/shanxi1.js +26 -26
  395. package/src/stores/yulin.js +27 -27
  396. package/static/china.json +1 -1
  397. package/static/qh.json +2410 -2410
  398. package/static/res.json +58411 -58411
  399. package/static/shanxi1.json +1 -1
  400. package/static/yulin.json +1 -1
  401. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  402. package/test/unit/.eslintrc +5 -5
  403. package/test/unit/TestUtil.js +35 -35
  404. package/test/unit/context.html +20 -20
  405. package/test/unit/index.js +13 -13
  406. package/test/unit/init.js +11 -11
  407. package/test/unit/karma.conf.js +45 -45
  408. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  409. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  410. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  411. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  412. package/webstorm.config.js +13 -13
@@ -1,425 +1,425 @@
1
-
2
- <template>
3
- <div style="width: 100%;height: 100%">
4
- <!--<div style="height: 40px;"><span v-for="i in list" @click="selmap(i)">{{i}}———></span></div>-->
5
- <div :id="idname" style="text-align: left"></div>
6
- </div>
7
-
8
- </template>
9
-
10
- <script>
11
-
12
- import '../../../stores/yulin.js';
13
-
14
-
15
- export default {
16
- name: 'echart-map',
17
- title:'echart-map',
18
- props: {
19
- mode: {
20
- type:String,
21
- default:'0'
22
- },
23
- idname: {
24
- type:String,
25
- default:'ssss'
26
- },
27
- index:Number,
28
- },
29
- data() {
30
- return {
31
- mapdata:[
32
- {name:'榆林',value:require('../../../../static/yulin.json')}
33
- ],
34
- list:[],
35
- xc:'',
36
- timer:'',
37
- }
38
- },
39
- mounted() {
40
- this.drawChinaMap();
41
- },
42
- methods: {
43
- drawChinaMap(mapjson) {
44
- var oroptionmapjsonr_charts =this.$echarts.init(document.getElementById(this.idname));
45
- var scale=this.$parent.$parent.$parent.scale
46
- console.log(scale,'asdasdasd')
47
- this.xc=oroptionmapjsonr_charts
48
- var geoCoordMap = {};
49
- this.$echarts.registerMap(mapjson.name, mapjson.value);
50
- oroptionmapjsonr_charts.showLoading();
51
- var mapFeatures = this.$echarts.getMap(mapjson.name).geoJson.features;
52
- oroptionmapjsonr_charts.hideLoading();
53
- mapFeatures.forEach(function(v) {
54
- // 地区名称
55
- var name = v.properties.name;
56
- // 地区经纬度
57
- geoCoordMap[name] = v.properties.cp;
58
-
59
- });
60
- var convertData = function(data) {
61
- var res = [];
62
- for (var i = 0; i < data.length; i++) {
63
- var geoCoord = geoCoordMap[data[i].name];
64
- if (geoCoord) {
65
- res.push({
66
- name: data[i].name,
67
- value: geoCoord.concat(data[i].value),
68
- });
69
- }
70
- }
71
- return res;
72
- };
73
- var colormode=''
74
- if(this.mode=='0'){colormode="#e7c83c"}
75
- if(this.mode=='1'){colormode="#66f2de"}
76
- var data = [
77
- {name:"榆林市",value:80,sellgas:'80'}
78
- ];
79
- var col=['#2a4096']
80
- let colors=[]
81
- for(var i =0;i<data.length;i++){
82
- var jo={
83
- name: data[i].name,
84
- itemStyle: {
85
- areaColor: col[i] ,
86
- // color: '#02363f'
87
- color: col[i]
88
- }
89
- }
90
- colors.push(jo)
91
- }
92
- var option= {
93
- title : {
94
- text: '',
95
- subtext: '',
96
- x:'center'
97
- },
98
- tooltip: {
99
- show: true,
100
- alwaysShowContent:false,
101
- backgroundColor:'rgba(23, 46, 128, 0.7)',
102
- borderColor :'rgba(13, 109, 180, 0.7)',
103
- borderWidth:1,
104
- padding:10*scale,
105
- hideDelay:100*scale,
106
- triggerOn:'mousemove',
107
- enterable:true,
108
- textStyle:{
109
- fontSize:18*scale
110
- },
111
- position: function(point, params, dom, rect, size) {
112
- //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
113
- var x = point[0]; //
114
- var y = point[1];
115
- var viewWidth = size.viewSize[0];
116
- var viewHeight = size.viewSize[1];
117
- var boxWidth = size.contentSize[0];
118
- var boxHeight = size.contentSize[1];
119
- var posX = 0; //x坐标位置
120
- var posY = 0; //y坐标位置
121
-
122
- if (x < boxWidth) { //左边放不开
123
- posX = 5;
124
- } else { //左边放的下
125
- posX = x - boxWidth;
126
- }
127
-
128
- if (y < boxHeight) { //上边放不开
129
- posY = 5;
130
- } else { //上边放得下
131
- posY = y - boxHeight;
132
- }
133
-
134
- return [posX-10, posY-10];
135
-
136
- },
137
- extraCssText:'width: auto;height:auto;',
138
- formatter:function(params, ticket, callback){
139
- return '<div style=\'text-align: center;height: 1px;margin-bottom: 5px;font-weight: normal!important;\'>'+data[params.dataIndex].name+'</div><br/><span style="font-weight: normal">'
140
- +'年售气量 &nbsp;&nbsp;<span style="color:#e1e52a;font-weight: bolder">'+data[params.dataIndex].sellgas+'w</span><br/>'+'购&nbsp;气&nbsp;&nbsp;量 &nbsp;&nbsp;<span style="color:#e1e52a;font-weight: bolder">100w</span>'+'</span>';
141
- }
142
- },
143
- dataRange:{
144
- min: 0,
145
- max: 2500,
146
- left: 'left',
147
- top: 'bottom',
148
- text: ['高', '低'],
149
- calculable: true,
150
- show:false,
151
- inRange: {
152
- color: [
153
- // "#1DE9B6", "#F46E36", "#04B9FF", "#5DBD32", "#FFC809", "#FB95D5", "#BDA29A", "#6E7074", "#546570", "#C4CCD3"
154
- // "#ff002d"
155
- // "#ffc188",
156
- // "#479fd2",
157
- // "#fba853",
158
- // "#48c7c0",
159
- // "#fa8737",
160
- // "#4bbdd6",
161
- // "#ff6f5b",
162
- // "#F4D5B1",
163
- // "#ADE1E3",
164
- // "#F4B387",
165
- // "#F0F3F4"
166
- ]
167
- },
168
- },
169
-
170
- series : [
171
- {
172
- type: 'map',
173
- map: '榆林',
174
- geoIndex: 0,
175
- aspectScale: 0.75, //长宽比
176
- showLegendSymbol: false, // 存在legend时显示
177
- roam: true,
178
- animation: true,
179
- data: data
180
- },
181
- { //涟漪点设置
182
- //文字和标志
183
- // name: 'light',
184
- type: 'effectScatter',
185
- coordinateSystem: 'geo',
186
- data: convertData(data.sort(function(a, b) {
187
- return b.value - a.value;
188
- }).slice(0, 10)),
189
- symbolSize: function(val) {
190
- return val[2]/8 ;
191
- },
192
- emphasis: { //高亮区域样式
193
- label: {
194
- show: true
195
- },
196
- itemStyle: {
197
- color:'#e8f218',
198
- shadowBlur: 10*scale,
199
- shadowColor: '#4b5cf2'
200
- },
201
- },
202
- showEffectOn: 'render',
203
- rippleEffect: {
204
- brushType: 'stroke'
205
- },
206
- hoverAnimation: true,
207
- label: {
208
- normal: {
209
- formatter: '{b}',
210
- position: 'top',
211
- fontSize:10*scale,
212
- color:'#ffffff',
213
- show: true
214
- },
215
- },
216
- itemStyle: {
217
- normal: {
218
- show:true,
219
- color:'#66f2de',
220
- shadowBlur: 10*scale,
221
- shadowColor: '#66f2de'
222
- }
223
- },
224
-
225
- zlevel: 1
226
- },
227
- ]
228
- }
229
- if(this.mode=='0'){option.geo={ //地图设置
230
- show: true,
231
- map: mapjson.name,
232
- label: {
233
- show: false
234
- },
235
- selectedMode: 'single',
236
- roam: false,
237
-
238
- emphasis: { //高亮区域样式
239
- label: {
240
- show: false
241
- },
242
- itemStyle: {
243
- areaColor: '#ffff2c'
244
- },
245
- },
246
- itemStyle: {
247
- normal: {
248
- borderColor: '#666666',
249
- borderWidth: 1,
250
- areaColor: {
251
- type: 'radial',
252
- x: 0.5,
253
- y: 0.5,
254
- r: 0.8,
255
- colorStops: [{
256
- offset: 0,
257
- offset: 0,
258
- color: '#02363f' // 0% 处的颜色
259
- }, {
260
- offset: 1,
261
- color: '#02363f'
262
- }],
263
- globalCoord: false // 缺省为 false
264
- },
265
- shadowBlur: 0
266
- },
267
- },
268
- regions: colors
269
- } }
270
- if(this.mode=='1'){option.geo={ //地图设置
271
- show: true,
272
- map: mapjson.name,
273
- label: {
274
- show: false
275
- },
276
- selectedMode: 'single',
277
- roam: false,
278
-
279
- emphasis: { //高亮区域样式
280
- label: {
281
- show: false
282
- },
283
- itemStyle: {
284
- areaColor: '#62fff7'
285
- },
286
- },
287
- // itemStyle: {
288
- // normal: {
289
- // borderWidth:0
290
- // }
291
- // },
292
- itemStyle: {
293
- normal: {
294
- borderColor: '#21e3dc',
295
- borderWidth: 1,
296
- areaColor: {
297
- type: 'radial',
298
- x: 0.5,
299
- y: 0.5,
300
- r: 0.8,
301
- colorStops: [{
302
- offset: 0,
303
- offset: 0,
304
- color: '#02363f' // 0% 处的颜色
305
- }, {
306
- offset: 1,
307
- color: '#02363f'
308
- }],
309
- globalCoord: false // 缺省为 false
310
- },
311
- // shadowColor: '#21e3dc',
312
- // // shadowColor: 'rgba(255, 255, 255, 1)',
313
- // shadowOffsetX: -1,
314
- // shadowOffsetY: 1,
315
- shadowBlur: 0
316
- },
317
- // emphasis: {
318
- // areaColor: '#389BB7',
319
- // borderWidth: 0
320
- // }
321
- },
322
- // regions: colors
323
- }}
324
-
325
- // console.log(this.$shanxi,'测试')
326
- oroptionmapjsonr_charts.setOption(option)
327
- // oroptionmapjsonr_charts.on("click", this.eConsole)
328
- var app = {
329
- currentIndex: 0,
330
- };
331
-
332
- var self=this
333
- this.timer= setInterval(function () {
334
- var dataLen = option.series[0].data.length;
335
- // 取消之前高亮的图形
336
- oroptionmapjsonr_charts.dispatchAction({
337
- type: 'downplay',
338
- seriesIndex: 1,
339
- dataIndex: app.currentIndex
340
- });
341
-
342
- self.$parent.indexflag=false
343
- self.$parent.index0=app.currentIndex
344
- app.currentIndex = (app.currentIndex + 1) % dataLen;
345
- self.$parent.index=app.currentIndex
346
- //console.log(app.currentIndex);
347
- // 高亮当前图形
348
- oroptionmapjsonr_charts.dispatchAction({
349
- type: 'highlight',
350
- seriesIndex: 1,
351
- dataIndex: app.currentIndex,
352
- });
353
- // 显示 tooltip
354
- oroptionmapjsonr_charts.dispatchAction({
355
- type: 'showTip',
356
- seriesIndex: 1,
357
- dataIndex: app.currentIndex
358
- });
359
- }, 3000);
360
- var highindex=0
361
- oroptionmapjsonr_charts.on("mouseover", function (param) {
362
- self.$parent.indexflag=true
363
- oroptionmapjsonr_charts.dispatchAction({
364
- type: 'downplay',
365
- seriesIndex: 0,
366
- dataIndex: app.currentIndex
367
- });
368
- self.$parent.index=param.dataIndex
369
- // 高亮当前图形
370
- oroptionmapjsonr_charts.dispatchAction({
371
- type: 'highlight',
372
- seriesIndex: 0,
373
- dataIndex: param.dataIndex,
374
- });
375
- // 显示 tooltip
376
- oroptionmapjsonr_charts.dispatchAction({
377
- type: 'showTip',
378
- seriesIndex: 1,
379
- dataIndex:param.dataIndex
380
- });
381
- highindex=param.dataIndex
382
- })
383
-
384
- oroptionmapjsonr_charts.on("mouseout", function () {
385
- oroptionmapjsonr_charts.dispatchAction({
386
- type: 'downplay',
387
- seriesIndex: 0,
388
- dataIndex: highindex
389
- });
390
- })
391
- },
392
- eConsole(data){
393
- this.selmapdata(data.name)
394
- },
395
- selmapdata(name){
396
- for(var i=0;i<this.mapdata.length;i++){
397
- if(name==this.mapdata[i].name){
398
- this.drawChinaMap(this.mapdata[i])
399
- this.list.push(this.mapdata[i].name)
400
- break
401
- }
402
- }
403
- },
404
- selmap(name){
405
- for(var i=0;i<this.list.length;i++){
406
- if(i==this.list.length-1){
407
- break
408
- }
409
- if(name==this.list[i]){
410
- this.list.splice(0,i)
411
- this.selmapdata(name)
412
- }
413
- }
414
- }
415
- },
416
- beforeDestroy() {
417
- //清除定时器
418
- clearInterval(this.timer);
419
- },
420
- ready(){
421
- this.list.push(this.mapdata[0].name)
422
- this.drawChinaMap(this.mapdata[0]);
423
- }
424
- };
425
- </script>
1
+
2
+ <template>
3
+ <div style="width: 100%;height: 100%">
4
+ <!--<div style="height: 40px;"><span v-for="i in list" @click="selmap(i)">{{i}}———></span></div>-->
5
+ <div :id="idname" style="text-align: left"></div>
6
+ </div>
7
+
8
+ </template>
9
+
10
+ <script>
11
+
12
+ import '../../../stores/yulin.js';
13
+
14
+
15
+ export default {
16
+ name: 'echart-map',
17
+ title:'echart-map',
18
+ props: {
19
+ mode: {
20
+ type:String,
21
+ default:'0'
22
+ },
23
+ idname: {
24
+ type:String,
25
+ default:'ssss'
26
+ },
27
+ index:Number,
28
+ },
29
+ data() {
30
+ return {
31
+ mapdata:[
32
+ {name:'榆林',value:require('../../../../static/yulin.json')}
33
+ ],
34
+ list:[],
35
+ xc:'',
36
+ timer:'',
37
+ }
38
+ },
39
+ mounted() {
40
+ this.drawChinaMap();
41
+ },
42
+ methods: {
43
+ drawChinaMap(mapjson) {
44
+ var oroptionmapjsonr_charts =this.$echarts.init(document.getElementById(this.idname));
45
+ var scale=this.$parent.$parent.$parent.scale
46
+ console.log(scale,'asdasdasd')
47
+ this.xc=oroptionmapjsonr_charts
48
+ var geoCoordMap = {};
49
+ this.$echarts.registerMap(mapjson.name, mapjson.value);
50
+ oroptionmapjsonr_charts.showLoading();
51
+ var mapFeatures = this.$echarts.getMap(mapjson.name).geoJson.features;
52
+ oroptionmapjsonr_charts.hideLoading();
53
+ mapFeatures.forEach(function(v) {
54
+ // 地区名称
55
+ var name = v.properties.name;
56
+ // 地区经纬度
57
+ geoCoordMap[name] = v.properties.cp;
58
+
59
+ });
60
+ var convertData = function(data) {
61
+ var res = [];
62
+ for (var i = 0; i < data.length; i++) {
63
+ var geoCoord = geoCoordMap[data[i].name];
64
+ if (geoCoord) {
65
+ res.push({
66
+ name: data[i].name,
67
+ value: geoCoord.concat(data[i].value),
68
+ });
69
+ }
70
+ }
71
+ return res;
72
+ };
73
+ var colormode=''
74
+ if(this.mode=='0'){colormode="#e7c83c"}
75
+ if(this.mode=='1'){colormode="#66f2de"}
76
+ var data = [
77
+ {name:"榆林市",value:80,sellgas:'80'}
78
+ ];
79
+ var col=['#2a4096']
80
+ let colors=[]
81
+ for(var i =0;i<data.length;i++){
82
+ var jo={
83
+ name: data[i].name,
84
+ itemStyle: {
85
+ areaColor: col[i] ,
86
+ // color: '#02363f'
87
+ color: col[i]
88
+ }
89
+ }
90
+ colors.push(jo)
91
+ }
92
+ var option= {
93
+ title : {
94
+ text: '',
95
+ subtext: '',
96
+ x:'center'
97
+ },
98
+ tooltip: {
99
+ show: true,
100
+ alwaysShowContent:false,
101
+ backgroundColor:'rgba(23, 46, 128, 0.7)',
102
+ borderColor :'rgba(13, 109, 180, 0.7)',
103
+ borderWidth:1,
104
+ padding:10*scale,
105
+ hideDelay:100*scale,
106
+ triggerOn:'mousemove',
107
+ enterable:true,
108
+ textStyle:{
109
+ fontSize:18*scale
110
+ },
111
+ position: function(point, params, dom, rect, size) {
112
+ //其中point为当前鼠标的位置,size中有两个属性:viewSize和contentSize,分别为外层div和tooltip提示框的大小
113
+ var x = point[0]; //
114
+ var y = point[1];
115
+ var viewWidth = size.viewSize[0];
116
+ var viewHeight = size.viewSize[1];
117
+ var boxWidth = size.contentSize[0];
118
+ var boxHeight = size.contentSize[1];
119
+ var posX = 0; //x坐标位置
120
+ var posY = 0; //y坐标位置
121
+
122
+ if (x < boxWidth) { //左边放不开
123
+ posX = 5;
124
+ } else { //左边放的下
125
+ posX = x - boxWidth;
126
+ }
127
+
128
+ if (y < boxHeight) { //上边放不开
129
+ posY = 5;
130
+ } else { //上边放得下
131
+ posY = y - boxHeight;
132
+ }
133
+
134
+ return [posX-10, posY-10];
135
+
136
+ },
137
+ extraCssText:'width: auto;height:auto;',
138
+ formatter:function(params, ticket, callback){
139
+ return '<div style=\'text-align: center;height: 1px;margin-bottom: 5px;font-weight: normal!important;\'>'+data[params.dataIndex].name+'</div><br/><span style="font-weight: normal">'
140
+ +'年售气量 &nbsp;&nbsp;<span style="color:#e1e52a;font-weight: bolder">'+data[params.dataIndex].sellgas+'w</span><br/>'+'购&nbsp;气&nbsp;&nbsp;量 &nbsp;&nbsp;<span style="color:#e1e52a;font-weight: bolder">100w</span>'+'</span>';
141
+ }
142
+ },
143
+ dataRange:{
144
+ min: 0,
145
+ max: 2500,
146
+ left: 'left',
147
+ top: 'bottom',
148
+ text: ['高', '低'],
149
+ calculable: true,
150
+ show:false,
151
+ inRange: {
152
+ color: [
153
+ // "#1DE9B6", "#F46E36", "#04B9FF", "#5DBD32", "#FFC809", "#FB95D5", "#BDA29A", "#6E7074", "#546570", "#C4CCD3"
154
+ // "#ff002d"
155
+ // "#ffc188",
156
+ // "#479fd2",
157
+ // "#fba853",
158
+ // "#48c7c0",
159
+ // "#fa8737",
160
+ // "#4bbdd6",
161
+ // "#ff6f5b",
162
+ // "#F4D5B1",
163
+ // "#ADE1E3",
164
+ // "#F4B387",
165
+ // "#F0F3F4"
166
+ ]
167
+ },
168
+ },
169
+
170
+ series : [
171
+ {
172
+ type: 'map',
173
+ map: '榆林',
174
+ geoIndex: 0,
175
+ aspectScale: 0.75, //长宽比
176
+ showLegendSymbol: false, // 存在legend时显示
177
+ roam: true,
178
+ animation: true,
179
+ data: data
180
+ },
181
+ { //涟漪点设置
182
+ //文字和标志
183
+ // name: 'light',
184
+ type: 'effectScatter',
185
+ coordinateSystem: 'geo',
186
+ data: convertData(data.sort(function(a, b) {
187
+ return b.value - a.value;
188
+ }).slice(0, 10)),
189
+ symbolSize: function(val) {
190
+ return val[2]/8 ;
191
+ },
192
+ emphasis: { //高亮区域样式
193
+ label: {
194
+ show: true
195
+ },
196
+ itemStyle: {
197
+ color:'#e8f218',
198
+ shadowBlur: 10*scale,
199
+ shadowColor: '#4b5cf2'
200
+ },
201
+ },
202
+ showEffectOn: 'render',
203
+ rippleEffect: {
204
+ brushType: 'stroke'
205
+ },
206
+ hoverAnimation: true,
207
+ label: {
208
+ normal: {
209
+ formatter: '{b}',
210
+ position: 'top',
211
+ fontSize:10*scale,
212
+ color:'#ffffff',
213
+ show: true
214
+ },
215
+ },
216
+ itemStyle: {
217
+ normal: {
218
+ show:true,
219
+ color:'#66f2de',
220
+ shadowBlur: 10*scale,
221
+ shadowColor: '#66f2de'
222
+ }
223
+ },
224
+
225
+ zlevel: 1
226
+ },
227
+ ]
228
+ }
229
+ if(this.mode=='0'){option.geo={ //地图设置
230
+ show: true,
231
+ map: mapjson.name,
232
+ label: {
233
+ show: false
234
+ },
235
+ selectedMode: 'single',
236
+ roam: false,
237
+
238
+ emphasis: { //高亮区域样式
239
+ label: {
240
+ show: false
241
+ },
242
+ itemStyle: {
243
+ areaColor: '#ffff2c'
244
+ },
245
+ },
246
+ itemStyle: {
247
+ normal: {
248
+ borderColor: '#666666',
249
+ borderWidth: 1,
250
+ areaColor: {
251
+ type: 'radial',
252
+ x: 0.5,
253
+ y: 0.5,
254
+ r: 0.8,
255
+ colorStops: [{
256
+ offset: 0,
257
+ offset: 0,
258
+ color: '#02363f' // 0% 处的颜色
259
+ }, {
260
+ offset: 1,
261
+ color: '#02363f'
262
+ }],
263
+ globalCoord: false // 缺省为 false
264
+ },
265
+ shadowBlur: 0
266
+ },
267
+ },
268
+ regions: colors
269
+ } }
270
+ if(this.mode=='1'){option.geo={ //地图设置
271
+ show: true,
272
+ map: mapjson.name,
273
+ label: {
274
+ show: false
275
+ },
276
+ selectedMode: 'single',
277
+ roam: false,
278
+
279
+ emphasis: { //高亮区域样式
280
+ label: {
281
+ show: false
282
+ },
283
+ itemStyle: {
284
+ areaColor: '#62fff7'
285
+ },
286
+ },
287
+ // itemStyle: {
288
+ // normal: {
289
+ // borderWidth:0
290
+ // }
291
+ // },
292
+ itemStyle: {
293
+ normal: {
294
+ borderColor: '#21e3dc',
295
+ borderWidth: 1,
296
+ areaColor: {
297
+ type: 'radial',
298
+ x: 0.5,
299
+ y: 0.5,
300
+ r: 0.8,
301
+ colorStops: [{
302
+ offset: 0,
303
+ offset: 0,
304
+ color: '#02363f' // 0% 处的颜色
305
+ }, {
306
+ offset: 1,
307
+ color: '#02363f'
308
+ }],
309
+ globalCoord: false // 缺省为 false
310
+ },
311
+ // shadowColor: '#21e3dc',
312
+ // // shadowColor: 'rgba(255, 255, 255, 1)',
313
+ // shadowOffsetX: -1,
314
+ // shadowOffsetY: 1,
315
+ shadowBlur: 0
316
+ },
317
+ // emphasis: {
318
+ // areaColor: '#389BB7',
319
+ // borderWidth: 0
320
+ // }
321
+ },
322
+ // regions: colors
323
+ }}
324
+
325
+ // console.log(this.$shanxi,'测试')
326
+ oroptionmapjsonr_charts.setOption(option)
327
+ // oroptionmapjsonr_charts.on("click", this.eConsole)
328
+ var app = {
329
+ currentIndex: 0,
330
+ };
331
+
332
+ var self=this
333
+ this.timer= setInterval(function () {
334
+ var dataLen = option.series[0].data.length;
335
+ // 取消之前高亮的图形
336
+ oroptionmapjsonr_charts.dispatchAction({
337
+ type: 'downplay',
338
+ seriesIndex: 1,
339
+ dataIndex: app.currentIndex
340
+ });
341
+
342
+ self.$parent.indexflag=false
343
+ self.$parent.index0=app.currentIndex
344
+ app.currentIndex = (app.currentIndex + 1) % dataLen;
345
+ self.$parent.index=app.currentIndex
346
+ //console.log(app.currentIndex);
347
+ // 高亮当前图形
348
+ oroptionmapjsonr_charts.dispatchAction({
349
+ type: 'highlight',
350
+ seriesIndex: 1,
351
+ dataIndex: app.currentIndex,
352
+ });
353
+ // 显示 tooltip
354
+ oroptionmapjsonr_charts.dispatchAction({
355
+ type: 'showTip',
356
+ seriesIndex: 1,
357
+ dataIndex: app.currentIndex
358
+ });
359
+ }, 3000);
360
+ var highindex=0
361
+ oroptionmapjsonr_charts.on("mouseover", function (param) {
362
+ self.$parent.indexflag=true
363
+ oroptionmapjsonr_charts.dispatchAction({
364
+ type: 'downplay',
365
+ seriesIndex: 0,
366
+ dataIndex: app.currentIndex
367
+ });
368
+ self.$parent.index=param.dataIndex
369
+ // 高亮当前图形
370
+ oroptionmapjsonr_charts.dispatchAction({
371
+ type: 'highlight',
372
+ seriesIndex: 0,
373
+ dataIndex: param.dataIndex,
374
+ });
375
+ // 显示 tooltip
376
+ oroptionmapjsonr_charts.dispatchAction({
377
+ type: 'showTip',
378
+ seriesIndex: 1,
379
+ dataIndex:param.dataIndex
380
+ });
381
+ highindex=param.dataIndex
382
+ })
383
+
384
+ oroptionmapjsonr_charts.on("mouseout", function () {
385
+ oroptionmapjsonr_charts.dispatchAction({
386
+ type: 'downplay',
387
+ seriesIndex: 0,
388
+ dataIndex: highindex
389
+ });
390
+ })
391
+ },
392
+ eConsole(data){
393
+ this.selmapdata(data.name)
394
+ },
395
+ selmapdata(name){
396
+ for(var i=0;i<this.mapdata.length;i++){
397
+ if(name==this.mapdata[i].name){
398
+ this.drawChinaMap(this.mapdata[i])
399
+ this.list.push(this.mapdata[i].name)
400
+ break
401
+ }
402
+ }
403
+ },
404
+ selmap(name){
405
+ for(var i=0;i<this.list.length;i++){
406
+ if(i==this.list.length-1){
407
+ break
408
+ }
409
+ if(name==this.list[i]){
410
+ this.list.splice(0,i)
411
+ this.selmapdata(name)
412
+ }
413
+ }
414
+ }
415
+ },
416
+ beforeDestroy() {
417
+ //清除定时器
418
+ clearInterval(this.timer);
419
+ },
420
+ ready(){
421
+ this.list.push(this.mapdata[0].name)
422
+ this.drawChinaMap(this.mapdata[0]);
423
+ }
424
+ };
425
+ </script>