manage-client 3.2.49 → 3.2.50

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 (409) 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 +175 -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/BusinessManage.vue +171 -171
  249. package/src/components/sale/businessquery/ChangeMeterQuery.vue +645 -644
  250. package/src/components/sale/businessquery/FillCardQuery.vue +497 -497
  251. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  252. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  253. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  254. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  255. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  256. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  257. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  258. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  259. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  260. package/src/components/sale/common/PrintData.vue +171 -171
  261. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  262. package/src/components/sale/common/PrintTable.vue +228 -228
  263. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  264. package/src/components/sale/common/TabButton.vue +155 -155
  265. package/src/components/sale/common/Tabs.vue +67 -67
  266. package/src/components/sale/common/handplanUser.vue +112 -112
  267. package/src/components/sale/config/DefaultPrint.js +6 -6
  268. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  269. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  270. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  271. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  272. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  273. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  274. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  275. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  276. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  277. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  278. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  279. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  280. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  281. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  282. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  283. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  284. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  285. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  286. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  287. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  288. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  289. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  290. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  291. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  292. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  293. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  294. package/src/components/sale/report/aode/DayReport.vue +50 -50
  295. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  296. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  297. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  298. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  299. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  300. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  301. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  302. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  303. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  304. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  305. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  306. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  307. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  308. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  309. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  310. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  311. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  312. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  313. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  314. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  315. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  316. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  317. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  318. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  319. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  320. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  321. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  322. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  323. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  324. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  325. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  326. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  327. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  328. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  329. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  330. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  331. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  332. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  333. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  334. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  335. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  336. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  337. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  338. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  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/shennongjia/config/DefaultPrint.js +6 -6
  377. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  378. package/src/filiale/shennongjia/sale.js +10 -10
  379. package/src/plugins/GetLoginInfoService.js +505 -505
  380. package/src/plugins/LodopFuncs.js +124 -124
  381. package/src/plugins/getAllInputtor.js +29 -29
  382. package/src/safeCheck.js +63 -63
  383. package/src/stores/AppData.js +62 -62
  384. package/src/stores/DataSql.js +585 -585
  385. package/src/stores/DrillECharts.js +602 -602
  386. package/src/stores/DrillSql.js +888 -888
  387. package/src/stores/GetParames.js +15 -15
  388. package/src/stores/MagGetSaleParams.js +156 -156
  389. package/src/stores/MagLoadParams.js +63 -63
  390. package/src/stores/Util.js +132 -132
  391. package/src/stores/shanxi1.js +26 -26
  392. package/src/stores/yulin.js +27 -27
  393. package/static/china.json +1 -1
  394. package/static/qh.json +2410 -2410
  395. package/static/res.json +58411 -58411
  396. package/static/shanxi1.json +1 -1
  397. package/static/yulin.json +1 -1
  398. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  399. package/test/unit/.eslintrc +5 -5
  400. package/test/unit/TestUtil.js +35 -35
  401. package/test/unit/context.html +20 -20
  402. package/test/unit/index.js +13 -13
  403. package/test/unit/init.js +11 -11
  404. package/test/unit/karma.conf.js +45 -45
  405. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  406. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  407. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  408. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  409. package/webstorm.config.js +13 -13
@@ -1,309 +1,309 @@
1
- <template>
2
- <div>
3
- <div class="label">销售额往年同比分析</div>
4
- <div id="saleproportion" class="d1"></div>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- import * as Util from '../../../stores/Util'
10
- import * as DataSql from '../../../stores/DataSql'
11
- import co from 'co'
12
-
13
- export default {
14
- name: "sale-proportion",
15
- props: {
16
- listenheight: String,
17
- },
18
- data() {
19
- return {
20
- xc: '',
21
- newyeardata: [],
22
- oldyeardata: [],
23
- year: '',
24
- usertag3: false,
25
- resdata: [],
26
- resdataold: []
27
- }
28
- },
29
- methods: {
30
- setBar() {
31
- this.xc = this.$echarts.init(document.getElementById('saleproportion'))
32
- var scale = 0.8
33
- var xAxisData = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '', ''];
34
-
35
- var legendData = ["" + eval(this.year + '-0'), "" + eval(this.year + '-1')];
36
- var serieData = [];
37
- var metaDate = [];
38
- let data0 = []
39
- let data1 = []
40
- // for(var i=this.newyeardata.length-1;i>-1;i--){
41
- // data0.push(this.newyeardata[i].value)
42
- // data1.push(this.oldyeardata[i].value)
43
- // }
44
- for (var i = 0; i < 12; i++) {
45
- var l = false
46
- for (var j = 0; j < this.newyeardata.length; j++) {
47
- if (xAxisData[i] == this.newyeardata[j].name) {
48
- l = true
49
- data0.push(this.newyeardata[j].value)
50
- break
51
- }
52
- }
53
- if (!l) {
54
- data0.push(0)
55
- }
56
- }
57
- for (var i = 0; i < 12; i++) {
58
- var l = false
59
- for (var j = 0; j < this.oldyeardata.length; j++) {
60
- if (xAxisData[i] == this.oldyeardata[j].name) {
61
- l = true
62
- data1.push(this.oldyeardata[j].value)
63
- break
64
- }
65
- }
66
- if (!l) {
67
- data1.push(0)
68
- }
69
- }
70
- // data0.push(this.newyeardata)
71
- // data1.push(this.oldyeardata)
72
-
73
- metaDate.push(data0)
74
- metaDate.push(data1)
75
- for (var v = 0; v < legendData.length; v++) {
76
- var serie = {
77
- name: legendData[v],
78
- type: 'line',
79
- symbol: "circle",
80
- symbolSize: 5 * scale,
81
- itemStyle: {
82
- normal: {
83
- lineStyle: {
84
- width: 1,
85
- shadowBlur: 10 * scale,
86
- shadowOffsetY: 15 * scale,
87
- }
88
- }
89
- },
90
- data: metaDate[v]
91
- }
92
- serieData.push(serie)
93
- }
94
- var colors = ["#f7cb32", "#6fd9d0"];
95
- var xname = ' 月份\n(' + eval(this.year + '-1') + '-' + eval(this.year + '-0') + ')'
96
- this.xc.setOption({
97
- title: {
98
- text: '',
99
- textAlign: 'left',
100
- textStyle: {color: "#FFFFFF", fontSize: 12 * scale, fontWeight: "normal"}
101
- },
102
- legend: {
103
- itemGap: 0,
104
- width: '90%',
105
- show: true,
106
- left: "right",
107
- data: legendData,
108
- y: 'top',
109
- // padding: [0, 25*scale, 0, 0],
110
- itemWidth: 14 * scale,
111
- itemHeight: 6 * scale,
112
- textStyle: {width: '20%', color: "#15dce2", fontSize: 12 * scale},
113
- formatter: function (params) {
114
- return params + "年"
115
- }
116
- },
117
- color: colors,
118
- grid: {left: '5%', top: "18%", bottom: "5%", right: "5%", width: '88%', height: '64%', containLabel: true},
119
- tooltip: {
120
- formatter: function (params) {
121
- if (params[0].axisValue == '') {
122
- return ''
123
- }
124
- var result = ''
125
- params.forEach(function (item) {
126
- var s = item.value
127
- var sary = s.toString().split('.')
128
- var l = 3
129
- for (var i = sary[0].toString().length - 1; i > -1; i--) {
130
- if (sary[0].toString().length - i == l) {
131
- if (i == 0) {
132
- continue
133
- }
134
- sary[0] = sary[0].slice(0, i) + ',' + sary[0].slice(i, sary[0].toString().length)
135
- l = l + 4
136
- }
137
- }
138
- var valueresult = ''
139
- if (sary.length > 1) {
140
- valueresult = sary[0] + '.' + sary[1]
141
- } else {
142
- valueresult = sary[0]
143
- }
144
-
145
- result += item.marker + " " + item.seriesName + "年 : " + valueresult + "</br>";
146
- });
147
- return params[0].axisValue + '月份<br/>' + result
148
- },
149
- trigger: 'axis',
150
- extraCssText: 'width: auto;height: auto;',
151
- axisPointer: {lineStyle: {width: 0}},
152
- },
153
- xAxis: [
154
- {
155
- name: xname,
156
- type: 'category',
157
- nameTextStyle: {
158
- fontSize: 12 * scale,
159
- color: '#15dce2',
160
- padding: [38, 0, 0, -80 * scale],
161
- },
162
- axisLine: {show: true, lineStyle: {color: '#04669e', width: 1}},
163
- axisLabel: {interval: 0, textStyle: {color: '#ffffff', fontSize: 14 * scale}},
164
- axisTick: {show: false},
165
- data: xAxisData,
166
- },
167
- ],
168
- yAxis: [
169
- {
170
- name: '金额/元',
171
- nameTextStyle: {
172
- fontSize: 14 * scale,
173
- padding: [0, 35 * scale, 0, 0],
174
- },
175
- axisTick: {show: false},
176
- splitLine: {show: true, lineStyle: {type: 'dashed', color: '#004371'}},
177
- axisLabel: {
178
- textStyle: {color: '#15dce2', fontSize: 14 * scale}, formatter: function (params) {
179
- if (params > 999) {
180
- return params / 10000 + "万"
181
- }
182
- // else if(params>999){
183
- // return params/10000+"万"
184
- // }
185
- else
186
- return params
187
- }
188
- },
189
- axisLine: {show: false, lineStyle: {color: '#15dce2', fontSize: 14 * scale}},
190
- },
191
- ],
192
- series: serieData
193
- })
194
- },
195
- linesql(year, resultname) {
196
- // 拼接sql,请求后台
197
- let sqldata = DataSql.getData(this, 'salegas',{startDate:year}, resultname)
198
- co(sqldata)
199
- },
200
- datapress(data, parm) {
201
- console.log(data, parm, '销售同比数据')
202
- var year = ''
203
- if (parm == 'newyeardata') {
204
- year = this.year
205
- }
206
- if (parm == 'oldyeardata') {
207
- year = eval(this.year + '-1')
208
- }
209
- var month = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
210
- for (var i = 0; i < 12; i++) {
211
- let item = {}
212
- var l = 0
213
- for (var j = 0; j < data.length; j++) {
214
- if (year + '-' + month[i] == data[j].name) {
215
- l++
216
- item.name = month[i]
217
- item.value = data[j].value
218
- this[parm].push(item)
219
- }
220
- }
221
- if (l == 0) {
222
- item.name = month[i]
223
- item.value = 0
224
- this[parm].push(item)
225
- }
226
- }
227
- },
228
- resize() {
229
- // this.$parent.$parent.changeresize(this.xc)
230
- }
231
- },
232
- watch: {
233
- 'resdataold': {
234
- deep: true,
235
- handler(val) {
236
- this.datapress(this.resdataold, "oldyeardata")
237
- }
238
- },
239
- 'resdata': {
240
- deep: true,
241
- handler(val) {
242
- this.datapress(this.resdata, "newyeardata")
243
- }
244
- },
245
- // 监听用户数据并进行绘图
246
- 'newyeardata': {
247
- deep: true,
248
- handler(val) {
249
- if (this.newyeardata.length > 0 && this.oldyeardata.length > 0) {
250
- this.setBar()
251
- this.$parent.loaddata++
252
- }
253
- }
254
- },
255
- // 监听用户数据并进行绘图
256
- 'oldyeardata': {
257
- deep: true,
258
- handler(val) {
259
- if (this.newyeardata.length > 0 && this.oldyeardata.length > 0) {
260
- this.setBar()
261
- this.$parent.loaddata++
262
- }
263
- },
264
- immediate: true
265
- },
266
- //监听浏览器大小变化
267
- 'listenheight': {
268
- deep: true,
269
- handler(val) {
270
- if (this.listenheight !== '') {
271
- // this.$parent.$parent.changeresize(this.xc)
272
- }
273
- },
274
- }
275
- },
276
- ready() {
277
- // this.setBar()
278
- this.year = Util.toStandardDateString()
279
- this.year = this.year.toString().substring(0, 4)
280
- this.linesql(this.year, "resdata")
281
- this.linesql(eval(this.year + '-1'), "resdataold")
282
- }
283
- }
284
- </script>
285
-
286
- <style scoped>
287
- .label {
288
- margin-left: 6%;
289
- font-size: 0.85em;
290
- color: #fff;
291
- width: 100%;
292
- height: 9%;
293
- }
294
-
295
- .callstatic {
296
- /*padding: 0% 1%;*/
297
- }
298
-
299
- .d1 {
300
-
301
- }
302
-
303
- #call {
304
- height: 88%;
305
- width: 99%;
306
- padding: 1% 2% 3% 2%;
307
-
308
- }
309
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="label">销售额往年同比分析</div>
4
+ <div id="saleproportion" class="d1"></div>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ import * as Util from '../../../stores/Util'
10
+ import * as DataSql from '../../../stores/DataSql'
11
+ import co from 'co'
12
+
13
+ export default {
14
+ name: "sale-proportion",
15
+ props: {
16
+ listenheight: String,
17
+ },
18
+ data() {
19
+ return {
20
+ xc: '',
21
+ newyeardata: [],
22
+ oldyeardata: [],
23
+ year: '',
24
+ usertag3: false,
25
+ resdata: [],
26
+ resdataold: []
27
+ }
28
+ },
29
+ methods: {
30
+ setBar() {
31
+ this.xc = this.$echarts.init(document.getElementById('saleproportion'))
32
+ var scale = 0.8
33
+ var xAxisData = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '', ''];
34
+
35
+ var legendData = ["" + eval(this.year + '-0'), "" + eval(this.year + '-1')];
36
+ var serieData = [];
37
+ var metaDate = [];
38
+ let data0 = []
39
+ let data1 = []
40
+ // for(var i=this.newyeardata.length-1;i>-1;i--){
41
+ // data0.push(this.newyeardata[i].value)
42
+ // data1.push(this.oldyeardata[i].value)
43
+ // }
44
+ for (var i = 0; i < 12; i++) {
45
+ var l = false
46
+ for (var j = 0; j < this.newyeardata.length; j++) {
47
+ if (xAxisData[i] == this.newyeardata[j].name) {
48
+ l = true
49
+ data0.push(this.newyeardata[j].value)
50
+ break
51
+ }
52
+ }
53
+ if (!l) {
54
+ data0.push(0)
55
+ }
56
+ }
57
+ for (var i = 0; i < 12; i++) {
58
+ var l = false
59
+ for (var j = 0; j < this.oldyeardata.length; j++) {
60
+ if (xAxisData[i] == this.oldyeardata[j].name) {
61
+ l = true
62
+ data1.push(this.oldyeardata[j].value)
63
+ break
64
+ }
65
+ }
66
+ if (!l) {
67
+ data1.push(0)
68
+ }
69
+ }
70
+ // data0.push(this.newyeardata)
71
+ // data1.push(this.oldyeardata)
72
+
73
+ metaDate.push(data0)
74
+ metaDate.push(data1)
75
+ for (var v = 0; v < legendData.length; v++) {
76
+ var serie = {
77
+ name: legendData[v],
78
+ type: 'line',
79
+ symbol: "circle",
80
+ symbolSize: 5 * scale,
81
+ itemStyle: {
82
+ normal: {
83
+ lineStyle: {
84
+ width: 1,
85
+ shadowBlur: 10 * scale,
86
+ shadowOffsetY: 15 * scale,
87
+ }
88
+ }
89
+ },
90
+ data: metaDate[v]
91
+ }
92
+ serieData.push(serie)
93
+ }
94
+ var colors = ["#f7cb32", "#6fd9d0"];
95
+ var xname = ' 月份\n(' + eval(this.year + '-1') + '-' + eval(this.year + '-0') + ')'
96
+ this.xc.setOption({
97
+ title: {
98
+ text: '',
99
+ textAlign: 'left',
100
+ textStyle: {color: "#FFFFFF", fontSize: 12 * scale, fontWeight: "normal"}
101
+ },
102
+ legend: {
103
+ itemGap: 0,
104
+ width: '90%',
105
+ show: true,
106
+ left: "right",
107
+ data: legendData,
108
+ y: 'top',
109
+ // padding: [0, 25*scale, 0, 0],
110
+ itemWidth: 14 * scale,
111
+ itemHeight: 6 * scale,
112
+ textStyle: {width: '20%', color: "#15dce2", fontSize: 12 * scale},
113
+ formatter: function (params) {
114
+ return params + "年"
115
+ }
116
+ },
117
+ color: colors,
118
+ grid: {left: '5%', top: "18%", bottom: "5%", right: "5%", width: '88%', height: '64%', containLabel: true},
119
+ tooltip: {
120
+ formatter: function (params) {
121
+ if (params[0].axisValue == '') {
122
+ return ''
123
+ }
124
+ var result = ''
125
+ params.forEach(function (item) {
126
+ var s = item.value
127
+ var sary = s.toString().split('.')
128
+ var l = 3
129
+ for (var i = sary[0].toString().length - 1; i > -1; i--) {
130
+ if (sary[0].toString().length - i == l) {
131
+ if (i == 0) {
132
+ continue
133
+ }
134
+ sary[0] = sary[0].slice(0, i) + ',' + sary[0].slice(i, sary[0].toString().length)
135
+ l = l + 4
136
+ }
137
+ }
138
+ var valueresult = ''
139
+ if (sary.length > 1) {
140
+ valueresult = sary[0] + '.' + sary[1]
141
+ } else {
142
+ valueresult = sary[0]
143
+ }
144
+
145
+ result += item.marker + " " + item.seriesName + "年 : " + valueresult + "</br>";
146
+ });
147
+ return params[0].axisValue + '月份<br/>' + result
148
+ },
149
+ trigger: 'axis',
150
+ extraCssText: 'width: auto;height: auto;',
151
+ axisPointer: {lineStyle: {width: 0}},
152
+ },
153
+ xAxis: [
154
+ {
155
+ name: xname,
156
+ type: 'category',
157
+ nameTextStyle: {
158
+ fontSize: 12 * scale,
159
+ color: '#15dce2',
160
+ padding: [38, 0, 0, -80 * scale],
161
+ },
162
+ axisLine: {show: true, lineStyle: {color: '#04669e', width: 1}},
163
+ axisLabel: {interval: 0, textStyle: {color: '#ffffff', fontSize: 14 * scale}},
164
+ axisTick: {show: false},
165
+ data: xAxisData,
166
+ },
167
+ ],
168
+ yAxis: [
169
+ {
170
+ name: '金额/元',
171
+ nameTextStyle: {
172
+ fontSize: 14 * scale,
173
+ padding: [0, 35 * scale, 0, 0],
174
+ },
175
+ axisTick: {show: false},
176
+ splitLine: {show: true, lineStyle: {type: 'dashed', color: '#004371'}},
177
+ axisLabel: {
178
+ textStyle: {color: '#15dce2', fontSize: 14 * scale}, formatter: function (params) {
179
+ if (params > 999) {
180
+ return params / 10000 + "万"
181
+ }
182
+ // else if(params>999){
183
+ // return params/10000+"万"
184
+ // }
185
+ else
186
+ return params
187
+ }
188
+ },
189
+ axisLine: {show: false, lineStyle: {color: '#15dce2', fontSize: 14 * scale}},
190
+ },
191
+ ],
192
+ series: serieData
193
+ })
194
+ },
195
+ linesql(year, resultname) {
196
+ // 拼接sql,请求后台
197
+ let sqldata = DataSql.getData(this, 'salegas',{startDate:year}, resultname)
198
+ co(sqldata)
199
+ },
200
+ datapress(data, parm) {
201
+ console.log(data, parm, '销售同比数据')
202
+ var year = ''
203
+ if (parm == 'newyeardata') {
204
+ year = this.year
205
+ }
206
+ if (parm == 'oldyeardata') {
207
+ year = eval(this.year + '-1')
208
+ }
209
+ var month = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
210
+ for (var i = 0; i < 12; i++) {
211
+ let item = {}
212
+ var l = 0
213
+ for (var j = 0; j < data.length; j++) {
214
+ if (year + '-' + month[i] == data[j].name) {
215
+ l++
216
+ item.name = month[i]
217
+ item.value = data[j].value
218
+ this[parm].push(item)
219
+ }
220
+ }
221
+ if (l == 0) {
222
+ item.name = month[i]
223
+ item.value = 0
224
+ this[parm].push(item)
225
+ }
226
+ }
227
+ },
228
+ resize() {
229
+ // this.$parent.$parent.changeresize(this.xc)
230
+ }
231
+ },
232
+ watch: {
233
+ 'resdataold': {
234
+ deep: true,
235
+ handler(val) {
236
+ this.datapress(this.resdataold, "oldyeardata")
237
+ }
238
+ },
239
+ 'resdata': {
240
+ deep: true,
241
+ handler(val) {
242
+ this.datapress(this.resdata, "newyeardata")
243
+ }
244
+ },
245
+ // 监听用户数据并进行绘图
246
+ 'newyeardata': {
247
+ deep: true,
248
+ handler(val) {
249
+ if (this.newyeardata.length > 0 && this.oldyeardata.length > 0) {
250
+ this.setBar()
251
+ this.$parent.loaddata++
252
+ }
253
+ }
254
+ },
255
+ // 监听用户数据并进行绘图
256
+ 'oldyeardata': {
257
+ deep: true,
258
+ handler(val) {
259
+ if (this.newyeardata.length > 0 && this.oldyeardata.length > 0) {
260
+ this.setBar()
261
+ this.$parent.loaddata++
262
+ }
263
+ },
264
+ immediate: true
265
+ },
266
+ //监听浏览器大小变化
267
+ 'listenheight': {
268
+ deep: true,
269
+ handler(val) {
270
+ if (this.listenheight !== '') {
271
+ // this.$parent.$parent.changeresize(this.xc)
272
+ }
273
+ },
274
+ }
275
+ },
276
+ ready() {
277
+ // this.setBar()
278
+ this.year = Util.toStandardDateString()
279
+ this.year = this.year.toString().substring(0, 4)
280
+ this.linesql(this.year, "resdata")
281
+ this.linesql(eval(this.year + '-1'), "resdataold")
282
+ }
283
+ }
284
+ </script>
285
+
286
+ <style scoped>
287
+ .label {
288
+ margin-left: 6%;
289
+ font-size: 0.85em;
290
+ color: #fff;
291
+ width: 100%;
292
+ height: 9%;
293
+ }
294
+
295
+ .callstatic {
296
+ /*padding: 0% 1%;*/
297
+ }
298
+
299
+ .d1 {
300
+
301
+ }
302
+
303
+ #call {
304
+ height: 88%;
305
+ width: 99%;
306
+ padding: 1% 2% 3% 2%;
307
+
308
+ }
309
+ </style>