manage-client 3.2.48 → 3.2.49

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 (831) 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 +4 -6
  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/ArrearsQuery.vue +22 -0
  248. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  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/SellPeopleQuery.vue +6 -2
  254. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  255. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  256. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  257. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  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/config/exportConfig.js +1 -1
  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/OtherChargeDetailQuery.vue +74 -74
  374. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  375. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  376. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  377. package/src/filiale/shennongjia/sale.js +10 -10
  378. package/src/filiale/tongchuan/FillGasQuery.vue +524 -524
  379. package/src/filiale/tongchuan/HandplanQuery.vue +1327 -1327
  380. package/src/filiale/tongchuan/ReportList.vue +472 -472
  381. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  382. package/src/main.js +66 -66
  383. package/src/plugins/GetLoginInfoService.js +505 -505
  384. package/src/plugins/LodopFuncs.js +124 -124
  385. package/src/plugins/getAllInputtor.js +29 -29
  386. package/src/safeCheck.js +63 -63
  387. package/src/stores/AppData.js +62 -62
  388. package/src/stores/DataSql.js +585 -585
  389. package/src/stores/DrillECharts.js +602 -602
  390. package/src/stores/DrillSql.js +888 -888
  391. package/src/stores/GetParames.js +15 -15
  392. package/src/stores/MagGetSaleParams.js +156 -156
  393. package/src/stores/MagLoadParams.js +63 -63
  394. package/src/stores/Util.js +132 -132
  395. package/src/stores/shanxi1.js +26 -26
  396. package/src/stores/yulin.js +27 -27
  397. package/static/china.json +1 -1
  398. package/static/qh.json +2410 -2410
  399. package/static/res.json +58411 -58411
  400. package/static/shanxi1.json +1 -1
  401. package/static/yulin.json +1 -1
  402. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  403. package/test/unit/.eslintrc +5 -5
  404. package/test/unit/TestUtil.js +35 -35
  405. package/test/unit/context.html +20 -20
  406. package/test/unit/index.js +13 -13
  407. package/test/unit/init.js +11 -11
  408. package/test/unit/karma.conf.js +45 -45
  409. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  410. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  411. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  412. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  413. package/webstorm.config.js +13 -13
  414. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  415. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  416. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  417. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  418. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  419. package/.gradle/5.2.1/gc.properties +0 -0
  420. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  421. package/dist/static/.gitkeep +0 -0
  422. package/dist/static/ManageHomePic/gasborder.png +0 -0
  423. package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/256.gif +0 -0
  424. package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/2561.gif +0 -0
  425. package/dist/static/ManageHomePic//345/233/276/345/261/2020.png +0 -0
  426. package/dist/static/ManageHomePic//345/233/276/345/261/20211.png +0 -0
  427. package/dist/static/ManageHomePic//345/233/276/345/261/2021343.png +0 -0
  428. package/dist/static/ManageHomePic//345/233/276/345/261/2021510.png +0 -0
  429. package/dist/static/ManageHomePic//345/233/276/345/261/20215100.png +0 -0
  430. package/dist/static/ManageHomePic//345/233/276/345/261/2021519.png +0 -0
  431. package/dist/static/ManageHomePic//345/233/276/345/261/2021520.png +0 -0
  432. package/dist/static/ManageHomePic//345/233/276/345/261/2021566.png +0 -0
  433. package/dist/static/ManageHomePic//345/233/276/345/261/2021682.png +0 -0
  434. package/dist/static/ManageHomePic//345/233/276/345/261/2021682/346/213/267/350/264/235.png +0 -0
  435. package/dist/static/ManageHomePic//345/233/276/345/261/202519.png +0 -0
  436. package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
  437. package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/2354.png +0 -0
  438. package/dist/static/ManageHomePic//345/233/276/345/261/2026.png +0 -0
  439. package/dist/static/ManageHomePic//345/233/276/345/261/20261.png +0 -0
  440. package/dist/static/ManageHomePic//345/233/276/345/261/2027.png +0 -0
  441. package/dist/static/ManageHomePic//345/233/276/345/261/20271.png +0 -0
  442. package/dist/static/ManageHomePic//345/233/276/345/261/2028.png +0 -0
  443. package/dist/static/ManageHomePic//345/233/276/345/261/2029.png +0 -0
  444. package/dist/static/ManageHomePic//345/233/276/345/261/202949/346/213/267/350/264/235.png +0 -0
  445. package/dist/static/ManageHomePic//345/275/242/347/212/266927.png +0 -0
  446. package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/235.png +0 -0
  447. package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/2352.png +0 -0
  448. package/dist/static/ManageHomePic//346/244/255/345/234/2062.png +0 -0
  449. package/dist/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  450. package/dist/static/ManageHomePic//346/244/255/345/234/2066/346/213/267/350/264/2353.png +0 -0
  451. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23516.png +0 -0
  452. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23517.png +0 -0
  453. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23518.png +0 -0
  454. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23519.png +0 -0
  455. package/dist/static/ManageHomePic//346/244/255/345/234/2068/346/213/267/350/264/2356.png +0 -0
  456. package/dist/static/ManageHomePic//347/237/251/345/275/2421684.png +0 -0
  457. package/dist/static/ManageHomePic//347/237/251/345/275/2428.png +0 -0
  458. package/dist/static/ManageHomePic//350/203/214/346/231/257.png +0 -0
  459. package/dist/static/ManagementControl/echarts10.png +0 -0
  460. package/dist/static/ManagementControl/echarts11.png +0 -0
  461. package/dist/static/ManagementControl/echarts12.png +0 -0
  462. package/dist/static/ManagementControl/echarts13.png +0 -0
  463. package/dist/static/ManagementControl/echarts14.png +0 -0
  464. package/dist/static/ManagementControl/echarts15.png +0 -0
  465. package/dist/static/ManagementControl/echarts16.png +0 -0
  466. package/dist/static/ManagementControl/echarts17.png +0 -0
  467. package/dist/static/ManagementControl/echarts18.png +0 -0
  468. package/dist/static/ManagementControl/echarts4.png +0 -0
  469. package/dist/static/ManagementControl/echarts5.png +0 -0
  470. package/dist/static/ManagementControl/echarts51.png +0 -0
  471. package/dist/static/ManagementControl/echarts6.png +0 -0
  472. package/dist/static/ManagementControl/echarts7.png +0 -0
  473. package/dist/static/ManagementControl/echarts71.png +0 -0
  474. package/dist/static/ManagementControl/echarts8.png +0 -0
  475. package/dist/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  476. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  477. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  478. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  479. package/dist/static/NewManageHome/01.png +0 -0
  480. package/dist/static/NewManageHome/02.png +0 -0
  481. package/dist/static/NewManageHome/03.png +0 -0
  482. package/dist/static/NewManageHome/04.png +0 -0
  483. package/dist/static/NewManageHome/1.gif +0 -0
  484. package/dist/static/NewManageHome/2.gif +0 -0
  485. package/dist/static/NewManageHome/3.gif +0 -0
  486. package/dist/static/NewManageHome/5gif.gif +0 -0
  487. package/dist/static/NewManageHome/6gif.gif +0 -0
  488. package/dist/static/NewManageHome/7.gif +0 -0
  489. package/dist/static/NewManageHome/8.gif +0 -0
  490. package/dist/static/NewManageHome/9.gif +0 -0
  491. package/dist/static/NewManageHome/NewManageHome/01.png +0 -0
  492. package/dist/static/NewManageHome/NewManageHome/02.png +0 -0
  493. package/dist/static/NewManageHome/NewManageHome/03.png +0 -0
  494. package/dist/static/NewManageHome/NewManageHome/04.png +0 -0
  495. package/dist/static/NewManageHome/NewManageHome/1.gif +0 -0
  496. package/dist/static/NewManageHome/NewManageHome/2.gif +0 -0
  497. package/dist/static/NewManageHome/NewManageHome/3.gif +0 -0
  498. package/dist/static/NewManageHome/NewManageHome/5gif.gif +0 -0
  499. package/dist/static/NewManageHome/NewManageHome/6gif.gif +0 -0
  500. package/dist/static/NewManageHome/NewManageHome/7.gif +0 -0
  501. package/dist/static/NewManageHome/NewManageHome/8.gif +0 -0
  502. package/dist/static/NewManageHome/NewManageHome/9.gif +0 -0
  503. package/dist/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
  504. package/dist/static/NewManageHome/NewManageHome/green.png +0 -0
  505. package/dist/static/NewManageHome/NewManageHome/map.png +0 -0
  506. package/dist/static/NewManageHome/NewManageHome/map1.png +0 -0
  507. package/dist/static/NewManageHome/NewManageHome/mpa.png +0 -0
  508. package/dist/static/NewManageHome/NewManageHome/sell_1.png +0 -0
  509. package/dist/static/NewManageHome/NewManageHome/sell_2.png +0 -0
  510. package/dist/static/NewManageHome/NewManageHome/title.png +0 -0
  511. package/dist/static/NewManageHome/NewManageHome/title_left.png +0 -0
  512. package/dist/static/NewManageHome/NewManageHome/title_right.png +0 -0
  513. package/dist/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
  514. package/dist/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
  515. package/dist/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
  516. package/dist/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
  517. package/dist/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
  518. package/dist/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
  519. package/dist/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
  520. package/dist/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
  521. package/dist/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
  522. package/dist/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
  523. package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
  524. package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
  525. package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
  526. package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
  527. package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
  528. package/dist/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
  529. package/dist/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
  530. package/dist/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
  531. package/dist/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
  532. package/dist/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
  533. package/dist/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
  534. package/dist/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
  535. package/dist/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
  536. package/dist/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
  537. package/dist/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
  538. package/dist/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
  539. package/dist/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
  540. package/dist/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
  541. package/dist/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
  542. package/dist/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
  543. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
  544. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
  545. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
  546. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
  547. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
  548. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
  549. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
  550. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
  551. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
  552. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
  553. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
  554. package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
  555. package/dist/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
  556. package/dist/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
  557. package/dist/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
  558. package/dist/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
  559. package/dist/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
  560. package/dist/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
  561. package/dist/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
  562. package/dist/static/NewManageHome/background_qinhua.png +0 -0
  563. package/dist/static/NewManageHome/green.png +0 -0
  564. package/dist/static/NewManageHome/sell_1.png +0 -0
  565. package/dist/static/NewManageHome/sell_2.png +0 -0
  566. package/dist/static/NewManageHome/title.png +0 -0
  567. package/dist/static/NewManageHome/title_left.png +0 -0
  568. package/dist/static/NewManageHome/title_right.png +0 -0
  569. package/dist/static/NewManageHome/title_wuhai.png +0 -0
  570. package/dist/static/NewManageHome/title_wujie1.png +0 -0
  571. package/dist/static/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
  572. package/dist/static/NewManageHome//345/212/240/350/275/275.gif +0 -0
  573. package/dist/static/NewManageHome//345/212/250/346/225/210.gif +0 -0
  574. package/dist/static/NewManageHome//345/217/263/344/270/212.png +0 -0
  575. package/dist/static/NewManageHome//345/217/263/344/270/213.png +0 -0
  576. package/dist/static/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
  577. package/dist/static/NewManageHome//345/233/276/345/261/2020.png +0 -0
  578. package/dist/static/NewManageHome//345/233/276/345/261/20212.png +0 -0
  579. package/dist/static/NewManageHome//345/233/276/345/261/2024.png +0 -0
  580. package/dist/static/NewManageHome//345/233/276/345/261/2025.png +0 -0
  581. package/dist/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
  582. package/dist/static/NewManageHome//345/267/246/344/270/212.png +0 -0
  583. package/dist/static/NewManageHome//345/267/246/344/270/213.png +0 -0
  584. package/dist/static/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
  585. package/dist/static/NewManageHome//347/224/250/346/210/267.png +0 -0
  586. package/dist/static/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
  587. package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
  588. package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
  589. package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
  590. package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
  591. package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
  592. package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
  593. package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
  594. package/dist/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
  595. package/dist/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
  596. package/dist/static/NewManageHome//347/273/20420.png +0 -0
  597. package/dist/static/NewManageHome//347/273/20437.png +0 -0
  598. package/dist/static/NewManageHome//347/273/20443.png +0 -0
  599. package/dist/static/NewManageHome//347/273/20445.png +0 -0
  600. package/dist/static/NewManageHome//350/203/214/346/231/2571.png +0 -0
  601. package/dist/static/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
  602. package/dist/static/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
  603. package/dist/static/WebMetericon/0001.png +0 -0
  604. package/dist/static/WebMetericon/0002.png +0 -0
  605. package/dist/static/WebMetericon/0003.png +0 -0
  606. package/dist/static/WebMetericon/0004.png +0 -0
  607. package/dist/static/WebMetericon/001.png +0 -0
  608. package/dist/static/WebMetericon/002.png +0 -0
  609. package/dist/static/WebMetericon/003.png +0 -0
  610. package/dist/static/WebMetericon/004.png +0 -0
  611. package/dist/static/WebMetericon/01.png +0 -0
  612. package/dist/static/WebMetericon/02.png +0 -0
  613. package/dist/static/WebMetericon/03.png +0 -0
  614. package/dist/static/WebMetericon/04.png +0 -0
  615. package/dist/static/WebMetericon/1.png +0 -0
  616. package/dist/static/WebMetericon/2.png +0 -0
  617. package/dist/static/WebMetericon/3.png +0 -0
  618. package/dist/static/WebMetericon/4.png +0 -0
  619. package/dist/static/WebMetericon/Cell1.png +0 -0
  620. package/dist/static/WebMetericon/Cell2.png +0 -0
  621. package/dist/static/WebMetericon/Cell3.png +0 -0
  622. package/dist/static/WebMetericon/Cell4.png +0 -0
  623. package/dist/static/WebMetericon/Cell5.png +0 -0
  624. package/dist/static/WebMetericon/Cell6.png +0 -0
  625. package/dist/static/WebMetericon/Signal1.png +0 -0
  626. package/dist/static/WebMetericon/Signal2.png +0 -0
  627. package/dist/static/WebMetericon/Signal3.png +0 -0
  628. package/dist/static/WebMetericon/Signal4.png +0 -0
  629. package/dist/static/WebMetericon/guzhang.png +0 -0
  630. package/dist/static/WebMetericon/zhengchang.png +0 -0
  631. package/dist/static/WebMetericon//345/233/276/345/261/2021554.png +0 -0
  632. package/dist/static/WebMetericon//345/233/276/345/261/2021558.png +0 -0
  633. package/dist/static/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
  634. package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
  635. package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
  636. package/dist/static/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
  637. package/dist/static/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
  638. package/dist/static/WebMetericon//345/233/276/345/261/2022556.png +0 -0
  639. package/dist/static/WebMetericon//345/233/276/345/261/20225560.png +0 -0
  640. package/dist/static/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
  641. package/dist/static/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
  642. package/dist/static/WebMetericon//346/244/255/345/234/206874.png +0 -0
  643. package/dist/static/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
  644. package/dist/static/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
  645. package/dist/static/WebMetericon//347/237/251/345/275/2421828.png +0 -0
  646. package/dist/static/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
  647. package/dist/static/batchleft.png +0 -0
  648. package/dist/static/batchright.png +0 -0
  649. package/dist/static/bluemainbg.jpg +0 -0
  650. package/dist/static/china.json +0 -1
  651. package/dist/static/huangtengbiaozhi.png +0 -0
  652. package/dist/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  653. package/dist/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  654. package/dist/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  655. package/dist/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  656. package/dist/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  657. package/dist/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  658. package/dist/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  659. package/dist/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  660. package/dist/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  661. package/dist/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  662. package/dist/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  663. package/dist/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  664. package/dist/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  665. package/dist/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  666. package/dist/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  667. package/dist/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  668. package/dist/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  669. package/dist/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  670. package/dist/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  671. package/dist/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  672. package/dist/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  673. package/dist/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  674. package/dist/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  675. package/dist/static/img/close.png +0 -0
  676. package/dist/static/img/close_img.png +0 -0
  677. package/dist/static/img/open_img.png +0 -0
  678. package/dist/static/jcwx.jpg +0 -0
  679. package/dist/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  680. package/dist/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  681. package/dist/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  682. package/dist/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  683. package/dist/static/lefticon//345/233/276/345/261/202577.png +0 -0
  684. package/dist/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  685. package/dist/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  686. package/dist/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  687. package/dist/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  688. package/dist/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  689. package/dist/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  690. package/dist/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  691. package/dist/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  692. package/dist/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  693. package/dist/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  694. package/dist/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  695. package/dist/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  696. package/dist/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  697. package/dist/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  698. package/dist/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  699. package/dist/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  700. package/dist/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  701. package/dist/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  702. package/dist/static/login_bg.jpg +0 -0
  703. package/dist/static/login_title.png +0 -0
  704. package/dist/static/login_title1.png +0 -0
  705. package/dist/static/loginbg.jpg +0 -0
  706. package/dist/static/loginbg1.jpg +0 -0
  707. package/dist/static/loginbg_jincheng.jpg +0 -0
  708. package/dist/static/loginbgmain.jpg +0 -0
  709. package/dist/static/loginlogo.png +0 -0
  710. package/dist/static/main_logo.png +0 -0
  711. package/dist/static/mainbg.jpg +0 -0
  712. package/dist/static/mainicon/adddevice.png +0 -0
  713. package/dist/static/mainicon/addmeter.png +0 -0
  714. package/dist/static/mainicon/bank.png +0 -0
  715. package/dist/static/mainicon/biaopan.png +0 -0
  716. package/dist/static/mainicon/cad.jpg +0 -0
  717. package/dist/static/mainicon/chaobiaoyuan.png +0 -0
  718. package/dist/static/mainicon/danganguanli.png +0 -0
  719. package/dist/static/mainicon/deletedevice.png +0 -0
  720. package/dist/static/mainicon/excel.jpg +0 -0
  721. package/dist/static/mainicon/huizong.png +0 -0
  722. package/dist/static/mainicon/jibiaoguanli.png +0 -0
  723. package/dist/static/mainicon/jibiaoguanli2.png +0 -0
  724. package/dist/static/mainicon/jiezhang.png +0 -0
  725. package/dist/static/mainicon/loginbg.jpg +0 -0
  726. package/dist/static/mainicon/shouqishoufei.png +0 -0
  727. package/dist/static/mainicon/treeopen.png +0 -0
  728. package/dist/static/mainicon/treeout.png +0 -0
  729. package/dist/static/mainicon/treeset.png +0 -0
  730. package/dist/static/mainicon/word.jpg +0 -0
  731. package/dist/static/mainicon/wulianwang.png +0 -0
  732. package/dist/static/mainicon/yingyechaxun.png +0 -0
  733. package/dist/static/mainicon/zongheyewu.png +0 -0
  734. package/dist/static/menulogo.png +0 -0
  735. package/dist/static/newStyle/clear.png +0 -0
  736. package/dist/static/newStyle/fife.png +0 -0
  737. package/dist/static/newStyle/hidden.png +0 -0
  738. package/dist/static/newStyle/label-clear.png +0 -0
  739. package/dist/static/newStyle/left-img.png +0 -0
  740. package/dist/static/newStyle/list_ok.png +0 -0
  741. package/dist/static/newStyle/login-check.png +0 -0
  742. package/dist/static/newStyle/login-con.png +0 -0
  743. package/dist/static/newStyle/login-do.gif +0 -0
  744. package/dist/static/newStyle/login-f.png +0 -0
  745. package/dist/static/newStyle/login-info.png +0 -0
  746. package/dist/static/newStyle/login-left.png +0 -0
  747. package/dist/static/newStyle/login-org.png +0 -0
  748. package/dist/static/newStyle/login-pwd.png +0 -0
  749. package/dist/static/newStyle/login-user.png +0 -0
  750. package/dist/static/newStyle/loginbg.gif +0 -0
  751. package/dist/static/newStyle/loginbg1280.gif +0 -0
  752. package/dist/static/newStyle/loginbg1366.gif +0 -0
  753. package/dist/static/newStyle/position.png +0 -0
  754. package/dist/static/newStyle/setting.png +0 -0
  755. package/dist/static/newStyle/setting1.png +0 -0
  756. package/dist/static/newStyle/shirk.png +0 -0
  757. package/dist/static/newStyle/stretch_bottom.png +0 -0
  758. package/dist/static/newStyle/stretch_left.png +0 -0
  759. package/dist/static/newStyle/stretch_right.png +0 -0
  760. package/dist/static/newStyle/stretch_top.png +0 -0
  761. package/dist/static/newStyle/system-off.png +0 -0
  762. package/dist/static/newmainbg.jpg +0 -0
  763. package/dist/static/psicon.png +0 -0
  764. package/dist/static/qh.json +0 -2410
  765. package/dist/static/refresh.png +0 -0
  766. package/dist/static/res.json +0 -58412
  767. package/dist/static/shanxi1.json +0 -1
  768. package/dist/static/singleleft.png +0 -0
  769. package/dist/static/singleright.png +0 -0
  770. package/dist/static/treeclose.png +0 -0
  771. package/dist/static/treeopen.png +0 -0
  772. package/dist/static/treeout.png +0 -0
  773. package/dist/static/treeset.png +0 -0
  774. package/dist/static/usericon.png +0 -0
  775. package/dist/static/webMeter/0001.png +0 -0
  776. package/dist/static/webMeter/0002.png +0 -0
  777. package/dist/static/webMeter/0003.png +0 -0
  778. package/dist/static/webMeter/0004.png +0 -0
  779. package/dist/static/webMeter/001.png +0 -0
  780. package/dist/static/webMeter/002.png +0 -0
  781. package/dist/static/webMeter/003.png +0 -0
  782. package/dist/static/webMeter/004.png +0 -0
  783. package/dist/static/webMeter/01.png +0 -0
  784. package/dist/static/webMeter/02.png +0 -0
  785. package/dist/static/webMeter/03.png +0 -0
  786. package/dist/static/webMeter/04.png +0 -0
  787. package/dist/static/webMeter/1.png +0 -0
  788. package/dist/static/webMeter/2.png +0 -0
  789. package/dist/static/webMeter/3.png +0 -0
  790. package/dist/static/webMeter/4.png +0 -0
  791. package/dist/static/webMeter/Cell1.png +0 -0
  792. package/dist/static/webMeter/Cell2.png +0 -0
  793. package/dist/static/webMeter/Cell3.png +0 -0
  794. package/dist/static/webMeter/Cell4.png +0 -0
  795. package/dist/static/webMeter/Cell5.png +0 -0
  796. package/dist/static/webMeter/Cell6.png +0 -0
  797. package/dist/static/webMeter/Signal1.png +0 -0
  798. package/dist/static/webMeter/Signal2.png +0 -0
  799. package/dist/static/webMeter/Signal3.png +0 -0
  800. package/dist/static/webMeter/Signal4.png +0 -0
  801. package/dist/static/webMeter/guzhang.png +0 -0
  802. package/dist/static/webMeter/shangsheng.png +0 -0
  803. package/dist/static/webMeter/shousuo.png +0 -0
  804. package/dist/static/webMeter/shuaxin.png +0 -0
  805. package/dist/static/webMeter/zhengchang.png +0 -0
  806. package/dist/static/webMeter//345/233/276/345/261/2021554.png +0 -0
  807. package/dist/static/webMeter//345/233/276/345/261/2021558.png +0 -0
  808. package/dist/static/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
  809. package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
  810. package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
  811. package/dist/static/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
  812. package/dist/static/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
  813. package/dist/static/webMeter//345/233/276/345/261/2022556.png +0 -0
  814. package/dist/static/webMeter//345/233/276/345/261/20225560.png +0 -0
  815. package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
  816. package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
  817. package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2355.png +0 -0
  818. package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2356.png +0 -0
  819. package/dist/static/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
  820. package/dist/static/webMeter//345/275/242/347/212/2665.png +0 -0
  821. package/dist/static/webMeter//346/244/255/345/234/206874.png +0 -0
  822. package/dist/static/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
  823. package/dist/static/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
  824. package/dist/static/webMeter//347/237/251/345/275/2421828.png +0 -0
  825. package/dist/static/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
  826. package/dist/static/wuhai.json +0 -1610
  827. package/dist/static/xinxi.png +0 -0
  828. package/dist/static/yulin.json +0 -1
  829. package/dist/static//345/233/276/345/261/202000.png +0 -0
  830. package/dist/static//345/233/276/345/261/2023.png +0 -0
  831. package/dist/static//345/261/261/344/270/234/347/234/201.json +0 -1
@@ -1,918 +1,918 @@
1
- <template>
2
- <div>
3
- <div class="datestyle">
4
- <label for="startDate" v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'">开始日期:</label>
5
- <datepicker id="startDate" placeholder="开始日期" class="childrendatestyle"
6
- v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'"
7
- v-model="model.startDate"
8
- :value.sync="model.startDate"
9
- :disabled-days-of-Week="[]"
10
- :format="'yyyy-MM-dd'"
11
- :show-reset-button="reset">
12
- </datepicker>
13
- <label for="endDate" v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'">结束日期:</label>
14
- <datepicker id="endDate" placeholder="结束日期" class="childrendatestyle"
15
- v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'"
16
- v-model="model.endDate"
17
- :value.sync="model.endDate"
18
- :disabled-days-of-Week="[]"
19
- :format="'yyyy-MM-dd'"
20
- :show-reset-button="reset">
21
- </datepicker>
22
- <div class="childrendatestyle datepicker " v-if="searchs==='longnotbuygas'">
23
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
24
- <label>< 未购气天数 <=</label>
25
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
26
- </div>
27
- <div class="childrendatestyle datepicker " v-if="searchs==='lossassociation'">
28
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
29
- <label>< 失联天数<= </label>
30
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
31
- </div>
32
- <div class="childrendatestyle datepicker " v-if="searchs==='longnotusegas'">
33
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
34
- <label>< 未使用天数<=</label>
35
- <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
36
- </div>
37
- <!--<label class="control-label">组织机构</label>-->
38
- <!--<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes" id="childrenorgstyle"></right-tree>-->
39
- </div>
40
- <div class="title-1">
41
- <span>{{parenttitle.pagename}} — <span
42
- style="font-size: 0.80em">{{parenttitle.pagechildrenname}}</span></span>
43
- <button class="button-1" @click="backclick">返回</button>
44
- </div>
45
- <div class="div-1">
46
- <div class="drillcontent" v-show="!listenlistshow">
47
- <div class="menuselect">
48
- <div class="selectstyle">
49
- <!--钻取下拉列表1-->
50
- <v-select id="selectid" v-ref:selected class="childrenselectstyle" :value.sync="select0"
51
- :options='drillparam' placeholder='请选择' close-on-select clear-button
52
- @click="getinitDate">
53
- </v-select>
54
- <!--钻取下拉列表2-->
55
- <v-select v-show="childrenselectshow" id="selectchildrenid" v-ref:selected1 class="childrenselectstyle"
56
- :value.sync="select1"
57
- :options='drillchildrenparam' placeholder='请选择' close-on-select clear-button
58
- @click="getinitDate1">
59
- </v-select>
60
- <input type="text" v-model="inputtext" :placeholder='textcontent'
61
- v-show="inputtextshow">
62
- <button class="button-21" @click="listenToChild1">钻取</button>
63
- <button class="button-2" @click="listenToChild2">清空</button>
64
- </div>
65
- <!--<div class="historydiv">-->
66
- <!--<div v-show="clickhistoryshow"><span v-for="s in clickhistory"><span class="history">{{s}}</span>-></span></div>-->
67
- <!--<div v-show="clickshow"><span v-for="s in clickparam"><span class="history">{{s}}</span>-></span></div>-->
68
- <!--</div>-->
69
- </div>
70
- <div class="drilltext" v-show="!listenlistshow">
71
- <!--图表-->
72
- <div id="echarts" class="echartsstyle"></div>
73
- <!--汇总表-->
74
- <drill-pool :pooldata="datapool" class="pool"></drill-pool>
75
- </div>
76
- </div>
77
- <!--详细列表-->
78
- <drill-list :listsqldata="listsqldata" :templatename="parenttitle.pagechildrenname" class="drilllist"
79
- :class="{'drillliststyle':listenlistshow}"></drill-list>
80
- </div>
81
- </div>
82
- </template>
83
-
84
- <script>
85
- import * as Util from '../../../Util'
86
- import * as Dec from '../../../stores/DrillECharts'
87
- import * as Drillsql from '../../../stores/DrillSql'
88
- import co from 'co'
89
-
90
- export default {
91
- name: "DrillData",
92
- props: {
93
- parenttitle: {
94
- pagename: String, //钻取页面name
95
- pagetitle: String, //钻取页面标题,也是取钻取信息的字段
96
- pagechildrenname: String, //钻取页面子标题
97
- }, // 钻取页面
98
- drillshow: Boolean,
99
- idname: String,
100
- childname: String, //获取初始图表的refs -name 进行setBar绘制初始echarts
101
- echartsdata: Array, //初始数据来源所钻取模块,进行汇总显示
102
- initdatatr: Object, //初始化配置文件数据
103
- listcondition: {
104
- clickparam: String,
105
- drillterm: String,
106
- tablename: String,
107
- drillcondition: String,
108
- sqlurl: String,
109
- headData: Array,
110
- bodyData: Array,
111
- },
112
- },
113
- data() {
114
- return {
115
- days1:0,
116
- days2:'',
117
- userid: this.$login.f.id,
118
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
119
- datapool: [], //汇总数据
120
- model: { //时间参数
121
- startDate: Util.toStandardDateString(),
122
- endDate: Util.toStandardDateString(),
123
- },
124
- drillparam: [], //一级钻取列表
125
- selectparam: '', //选择字段
126
- listsqldata: { //列表sql参数
127
- urlcarrydata: [],
128
- headData: [],
129
- bodyData: [],
130
- },
131
- xc: '',
132
-
133
- childrenselectshow: false, //二级下拉列表show
134
- drillchildrenparam: [], //二级下拉列表
135
- inputtextshow: false, //输入框show
136
- select0: [], //一级选中值
137
- select1: [], //二级选中值
138
- inputtext: '', //输入框
139
- textcontent: '', //输入框默认内容
140
- listenlistshow: false, //列表展开控制
141
- clickhistoryshow: false, //钻取历史显示
142
- clickshow: false, //点击历史显示
143
- datedefault: true, //默认不加载初始时间
144
- datelistif: false, //时间选择发生变化
145
-
146
- barparam: '', //饼状图点击字段
147
- clickhistory: [], //钻取历史
148
- clickparam: [], //点击历史
149
- sqlobtaindata: [], //请求后台获取的数据
150
- echartsType: '', //钻取后echarts的类型
151
- bartype: '', //时间分类类型(按年year,按月month)
152
-
153
- initflag: true, //初始化判断
154
- yname: '', //柱状图y名称
155
- xname: '', //柱状图x名称
156
- seriename: '', //seriename名称
157
- namesubif: false,
158
- searchs:''
159
- }
160
-
161
- },
162
- computed: {
163
- selected() {
164
- return this.$refs.grid.selected
165
- }
166
- },
167
- methods: {
168
- // 获取组织结构
169
- getRes(obj) {
170
- this.filialeNameStr = obj.res
171
- this.filialeCodeStr = obj.resids
172
- },
173
- // 返回二级页面
174
- backclick() {
175
- this.$echarts.init(document.getElementById('echarts')).clear()
176
- this.$parent.drillshow = false
177
- this.initflag = true
178
- this.resetParam()
179
- console.log(this.datedefault,'时间判断')
180
- },
181
- //图点击事件
182
- eConsole(param) {
183
- // 对饼状图进行点击处理
184
- if (this.echartsType == 'pie') {
185
- // 点击历史
186
- this.clickparam.push(param.data.name)
187
- // 控制显示历史
188
- this.clickshow = true
189
- // 点击字段记录
190
- this.barparam = param.data
191
- }
192
- },
193
- //钻取按键响应事件
194
- listenToChild1() {
195
- console.log('进入钻取----------------------------------------------------------------------')
196
- // 获取下拉列表zhi
197
- var texttile = this.$refs.selected.selectedItems
198
- var texttile1 = this.$refs.selected1.selectedItems
199
- console.log(texttile, '钻取一级类型')
200
- console.log(texttile1, '钻取二级类型')
201
- // 判断是否进行选择
202
- if (typeof texttile == "undefined" || texttile == '') {
203
- this.$showMessage('未选择查询类型!')
204
- return
205
- }
206
-
207
- var conditionparamone = {} //一级钻取字段对象
208
- var conditionparamtow = {} //二级钻取字段对象
209
-
210
- console.log(this.datedefault,'时间判断')
211
- // 填充默认时间
212
- console.log('---------------钻取时间前---------------------------')
213
- console.log(this.model.startDate)
214
- console.log(this.model.endDate)
215
- if (this.datedefault == true) {
216
- Drillsql.startDate = eval(Util.toStandardDateString().toString().substring(0, 4) + '-50') + '-01-01'
217
- Drillsql.endDate = this.model.endDate
218
- } else {
219
- Drillsql.startDate = this.model.startDate
220
- Drillsql.endDate = this.model.endDate
221
- }
222
- console.log('==========================钻取时间后后后后后后后后后---------------------------')
223
- console.log(this.model.startDate)
224
- console.log(this.model.endDate)
225
-
226
- //特殊处理
227
- var param = Drillsql.param
228
- var param1 = Drillsql.param1
229
-
230
- if (this.inputtext != '' && this.idname == 'pastscale') {
231
- Drillsql.param = this.inputtext
232
- Drillsql.param1 = this.inputtext
233
- }
234
-
235
- //获取选中一级分类的信息
236
- conditionparamone = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, texttile, '')
237
- // 填充钻取状态
238
- this.clickhistoryshow = true
239
- this.bartype = conditionparamone.name
240
- this.clickhistory.push(conditionparamone.label)
241
- this.echartsType = conditionparamone.echartsType
242
- var dateparam = conditionparamone.dateparam
243
- var dateparamif = conditionparamone.dateif
244
- if (conditionparamone.echartsType == 'bar') {
245
- this.yname = conditionparamone.yname
246
- this.xname = conditionparamone.xname
247
- this.seriename = conditionparamone.seriename
248
- this.namesubif = conditionparamone.namesubif
249
- }
250
-
251
-
252
- // 判断是否有二级钻取
253
- if (texttile1 != '') {
254
- //获取选中二级分类的信息
255
- conditionparamtow = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, texttile, texttile1)
256
- // 填充钻取状态
257
- this.bartype = conditionparamtow.name
258
- this.clickhistory.push(conditionparamtow.label)
259
- this.echartsType = conditionparamtow.echartsType
260
- dateparam = conditionparamtow.dateparam
261
- dateparamif = conditionparamtow.dateif
262
- if (conditionparamtow.echartsType == 'bar') {
263
- this.yname = conditionparamtow.yname
264
- this.xname = conditionparamtow.xname
265
- this.seriename = conditionparamtow.seriename
266
- this.namesubif = conditionparamtow.namesubif
267
- }
268
-
269
-
270
- //往期购气特殊处理
271
- if (conditionparamtow.label == '高于往期购气量' && this.inputtext < 1) {
272
- this.$showMessage('请输入大于1的数!')
273
- Drillsql.param = param
274
- Drillsql.param1 = param1
275
- return
276
- }
277
- if (conditionparamtow.label == '低于往期购气量' && (this.inputtext > 1 || this.inputtext > 1)) {
278
- this.$showMessage('请输入0-1之间的数!')
279
- Drillsql.param = param
280
- Drillsql.param1 = param1
281
- return
282
- }
283
- } else {
284
- conditionparamtow = {}
285
- }
286
-
287
- // console.log(conditionparamone, '一级分类信息')
288
- // console.log(conditionparamtow, '二级分类信息')
289
- // console.log(this.clickhistory, this.echartsType, '图状态信息')
290
- // 点击字段进行sql拼接
291
- var barcondition = ''
292
- if (this.barparam != '' && conditionparamone.barparamif) {
293
- barcondition = ' and ' + this.barparam.drilltype + '=\'' + this.barparam.name + '\' '
294
- console.log("========================================listenToChild1拼条件了",barcondition)
295
- }
296
- var dateif=true
297
- // 时间参数进行sql拼接
298
- if (this.datalistif && !this.datedefault && !dateparamif && this.searchs!=='longnotbuygas'&&this.searchs!=='longnotusegas'&&this.searchs!=='lossassociation') {
299
- dateif=false
300
- barcondition = dateparam + '>=to_date(\'' + Drillsql.startDate+ '\',\'yyyy-MM-dd\') and '
301
- + dateparam + '<=to_date(\'' + Drillsql.endDate + '\',\'yyyy-MM-dd \')' + barcondition
302
- }
303
- console.log('拼接的参数后的数据--------------------------')
304
- console.log(barcondition,'拼接的参数后的数据')
305
- // 拼接SQL查询条件
306
- // keys:分组字段 drillparam:选择字段 drillterm:查询条件
307
- // console.log(barcondition, '拼接字段')
308
- //重置明细数据
309
-
310
- var sqlparam = ''
311
-
312
- if (JSON.stringify(conditionparamtow) == '{}') {
313
- // 获取一级分类sql
314
-
315
- sqlparam = conditionparamone.sqlcondition
316
- } else {
317
- // 获取二级分类sql
318
- sqlparam = conditionparamtow.sqlcondition
319
- }
320
- var condition =''
321
-
322
- // 拼接点击条件
323
- if(this.idname=='usernum'|| this.idname=='pastscale'){
324
- condition =barcondition
325
- }else {
326
- if(!barcondition){
327
- condition =this.bartype
328
- }else{
329
- condition =this.bartype+' and '+barcondition
330
- }
331
- }
332
- if(!barcondition){
333
- barcondition=conditionparamone.name?(' '+conditionparamone.name):''+conditionparamtow.name?(' and '+conditionparamtow.name):' '
334
- }else{
335
- barcondition+=' and '+ barcondition
336
- }
337
- if(!this.days1){
338
- this.days1=0
339
- }
340
-
341
- if(this.searchs==='longnotbuygas'){ // 长期未购气
342
- barcondition = barcondition+' and CAST(trunc(SYSDATE)- NVL(F_SELLINGGAS_MAX_DATE,a.f_input_date) as int) > ' + this.days1
343
- if(this.days2){
344
- barcondition = barcondition+ ' and CAST(trunc(SYSDATE)- NVL(F_SELLINGGAS_MAX_DATE,a.f_input_date) as int) <= ' + this.days2
345
- }
346
- }else if(this.searchs==='longnotusegas'){ // 长期未用气
347
- barcondition =barcondition+ ' and CAST(trunc(SYSDATE)- trunc(F_HANDPLAN_MAX_HANDDATE) as int) >' + this.days1
348
- if(this.days2){
349
- barcondition = barcondition+ ' and CAST(trunc(SYSDATE)- trunc(F_HANDPLAN_MAX_HANDDATE) as int) <='+this.days2
350
- }
351
- }else if(this.searchs==='lossassociation'){ // 失联
352
- barcondition = barcondition+' and slday >'+this.days1
353
- if(this.days2){
354
- barcondition =barcondition+ ' and slday <='+this.days2
355
- }
356
- }
357
- condition=barcondition
358
-
359
- //请求后台数据
360
- var sqlcondition = {
361
- startDate:Drillsql.startDate,
362
- endDate:Drillsql.endDate,
363
- param:Drillsql.param,
364
- param1:Drillsql.param1,
365
- param2:Drillsql.param2,
366
- condition:condition
367
- }
368
- if( this.idname=='pastscale'){
369
- var s1 = eval('(' + Drillsql.param + '-1)*100')
370
- var s1 = s1.toString().substring(0, 5)
371
- var s2 = eval(Drillsql.param1 + '*100')
372
- var s2 = s2.toString().substring(0, 5)
373
- var s3=''
374
- s3= conditionparamone.label
375
- if(s3=='全部'){
376
- s3=''
377
- }
378
- sqlcondition.s1=s1
379
- sqlcondition.s2=s2
380
- sqlcondition.s3=s3
381
- if(conditionparamone.name){
382
- console.log("拼conditionparamone.name")
383
- sqlcondition.param3=' and '+conditionparamone.name
384
- }
385
- }
386
- console.log(sqlcondition, '图表请求sql')
387
- let getsqldata = Dec.getData(this, sqlparam ,sqlcondition)
388
- co(getsqldata)
389
- // 时间参数进行sql拼接
390
- console.log("=======================准备调用getDrillList!!!!"+this.parenttitle.pagetitle+"========"+this.idname)
391
- var pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
392
- console.log("=======================!!!!pagelist:"+JSON.stringify(pagelist[2]))
393
- console.log("this.searchs:"+this.searchs+"======this.datalistif:"+this.datalistif+"======!this.datedefault:"+!this.datedefault+"======dateif:"+dateif)
394
- if (this.datalistif && !this.datedefault&&dateif&&this.searchs==='longnotbuygas'&&this.searchs==='longnotusegas'&&this.searchs==='lossassociation') {
395
- this.datelistif = false
396
- }
397
- console.log(barcondition, '时间sqllist')
398
- //获取列表sql
399
- if (!conditionparamone.listif) {
400
- console.log("!!!!!!!!!!!!!!!!!!!!!!!conditionparamone.listif拼了barcondition",conditionparamone.name)
401
- barcondition = barcondition
402
- }
403
- if (texttile1 != '' && this.searchs!=='lossassociation' && this.searchs!=='longnotusegas' && this.searchs!=='longnotbuygas' ) {
404
- barcondition = barcondition + '\t and '+ conditionparamtow.listparam
405
- }
406
- var list = Drillsql.listparam
407
- // 警告特殊处理
408
- if (this.idname == 'caveat'||this.idname == 'lossassociation'||this.idname == 'longnotusegas'||this.idname == 'longnotbuygas') {
409
- Drillsql.listparam = ''
410
- }
411
- Drillsql.listparam1 = barcondition
412
- console.log(Drillsql.listparam1, '列表钻取条件 ')
413
- pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
414
- console.log("========pagelist",pagelist)
415
- var sqllistcondition= [this.idname+'list',20,{listparam:"\""+Drillsql.listparam+"\"",listparam1:"\""+Drillsql.listparam1+"\""}]
416
- //调用赋值函数,传递给绘图子组件
417
-
418
- this.Transfer(sqllistcondition, pagelist[0].headData, pagelist[1].bodyData)
419
- Drillsql.param = param
420
- Drillsql.param1 = param1
421
- Drillsql.listparam = list
422
- },
423
-
424
- //清空按键事件
425
- listenToChild2() {
426
- this.xc.clear()
427
- this.resetParam()
428
-
429
- //重新初始化
430
- this.initdata()
431
- },
432
- //重置参数
433
- resetParam() {
434
- this.barparam = '' //清空点击字段
435
- this.drillparam = [] //清空下拉列表
436
- this.select0 = []
437
- this.drillchildrenparam = [] //清空子下拉列表
438
- this.clickhistory = [] //清空查询历史
439
- this.clickparam = [] //清空点击历史
440
-
441
- this.model.startDate = Util.toStandardDateString() //重置时间为当前时间
442
- this.model.endDate = Util.toStandardDateString()
443
-
444
- this.childrenselectshow = false //关闭子下拉列表
445
- this.clickhistoryshow = false //关闭查询历史显示
446
- this.clickshow = false //关闭点击历史显示
447
- this.datelistif = false //关闭时间更改标志
448
- this.datedefault = true //打开时间初始标志
449
- this.inputtextshow = false //关闭输入框
450
- this.textcontent = ''
451
- this.inputtext = ''
452
- },
453
- //传递参数赋值,传递给子组件
454
- Transfer(pageurl, headData, bodyData) {
455
- this.listsqldata.urlcarrydata = pageurl
456
- this.listsqldata.headData = headData
457
- this.listsqldata.bodyData = bodyData
458
- },
459
- //初始化图表数据参数
460
- initdata() {
461
- console.log(this.idname)
462
- this.searchs=this.idname
463
- console.log(this.echartsdata, '钻取初始化参数')
464
- console.log(this.initdatatr, '初始化获取sql的参数')
465
-
466
-
467
- Drillsql.startDate = this.initdatatr['startDate']
468
- Drillsql.endDate = this.initdatatr['endDate']
469
- Drillsql.param = this.initdatatr['param']
470
- Drillsql.param1 = this.initdatatr['param1']
471
- Drillsql.listparam = this.initdatatr['listparam']
472
- Drillsql.listparam1 = ''
473
-
474
-
475
- //特殊处理
476
- if (this.parenttitle.pagechildrenname == '主要用户展示') {
477
- Drillsql.listparam1 = ' a.f_user_type=\'非民用\' '
478
- }
479
-
480
- this.$parent.$refs[this.childname].setBar("echarts")
481
- this.datapool = this.$parent.childdata
482
- var pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
483
- console.log(pagelist)
484
- var sqllistcondition= [this.idname+'list',20,{listparam:"\""+Drillsql.listparam+"\"",listparam1:"\""+Drillsql.listparam1+"\""}]
485
-
486
- //调用赋值函数,传递给绘图子组件
487
- this.Transfer(sqllistcondition, pagelist[0].headData, pagelist[1].bodyData)
488
-
489
- },
490
-
491
- getinitDate() {
492
- this.inputtextshow = false
493
- this.textcontent = ''
494
- this.inputtext = ''
495
- this.drillparam = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, '', '')
496
- },
497
- //整理数据
498
- notgasData(res) {
499
- var nobuygasdata=[]
500
- let num = [0, 0, 0, 0, 0, 0 ]
501
- num[0] = res[0].week
502
- num[1] = res[0].month
503
- num[2] = res[0].tmonth
504
- num[3] = res[0].harfyear
505
- num[4] = res[0].year
506
- num[5] = res[0].more
507
- var date = ['0-7', '7-30', '30-90', '90-180', '180-360','>360']
508
- var i = 0
509
- num.forEach((row)=>{
510
-
511
- let item = {}
512
- item.name = date[i]
513
- item.value = num[i]
514
- item.type = this.select1[0]?this.select1[0]:this.select0[0]
515
- nobuygasdata.push(item)
516
- i++
517
- })
518
-
519
- console.log("@@@@@@@@@@@@@@@@",nobuygasdata)
520
- return nobuygasdata
521
- },
522
- }
523
- ,
524
- watch: {
525
- 'model':
526
- {
527
- deep: true,
528
- handler(val) {
529
- if(!this.$parent.drillshow){
530
- return
531
- }
532
- this.datedefault = false
533
- this.datalistif = true
534
- }
535
- ,
536
- }
537
- ,
538
- 'echartsdata':
539
- {
540
- deep: true,
541
- handler(val) {
542
- if (typeof this.echartsdata !== "undefined" && this.drillshow == true && this.initflag) {
543
- this.initdata()
544
- this.initflag = false
545
- }
546
- }
547
- ,
548
- immediate: true
549
- }
550
- ,
551
- 'drillshow':
552
- {
553
- deep: true,
554
- handler(val) {
555
- console.log("!!!!!!!!!!!!!!!!!!!!!!drillshow变了!",val)
556
- if(val){
557
- this.datedefault = false
558
- this.datalistif = true
559
- }
560
- return
561
- if (typeof this.echartsdata !== "undefined" && this.drillshow == true && this.initflag) {
562
- this.initdata()
563
- this.initflag = false
564
- }
565
- }
566
- ,
567
- immediate: true
568
- }
569
- ,
570
- 'select0':
571
- {
572
- deep: true,
573
- handler() {
574
- // console.log(this.select0, '选中分类的值')
575
- if (this.select0.length < 1) {
576
- return
577
- }
578
- this.select1 = ''
579
-
580
- this.childrenselectshow = false
581
- var self = this
582
- this.drillparam.forEach(function (s) {
583
- if (self.select0 == s.value && s.name == 't_area') {
584
- let gen = Dec.select(self, 't_area', '1=1')
585
- co(gen)
586
- }
587
- })
588
- setTimeout(() => {
589
- self.drillparam.forEach(function (s) {
590
- console.log("select0!!!!!!!!!!!!!!",s)
591
- if (s.value == self.select0) {
592
- if (typeof s.children != "undefined" && JSON.stringify(s.children) != '[]') {
593
- self.childrenselectshow = true
594
- self.drillchildrenparam = s.children
595
- }
596
- }
597
-
598
- })
599
- }, 500)
600
- }
601
- }
602
- ,
603
- 'select1':
604
- {
605
- deep: true,
606
- handler() {
607
- // console.log(this.select1, '选中分类的值')
608
- if (this.select1.length < 1) {
609
- return
610
- }
611
- var self = this
612
- var l = 0
613
- var texttile = this.$refs.selected.selectedItems
614
- this.drillparam.forEach(function (s) {
615
- if (s.label == texttile && s.inputchildren != '') {
616
- l++
617
- self.inputtextshow = true
618
- self.textcontent = s.inputchildren
619
- }
620
- })
621
- if (l == 0) {
622
- this.inputtextshow = false
623
- this.textcontent = ''
624
- this.inputtext = ''
625
- }
626
- }
627
- }
628
- ,
629
- 'sqlobtaindata':
630
- {
631
- deep: true,
632
- async handler(val) {
633
- console.log("==================>",val)
634
- if (this.sqlobtaindata.length < 1) {
635
- this.$showMessage('数据为空!')
636
- return
637
- }
638
-
639
- if(this.searchs==='longnotbuygas'||this.searchs==='longnotusegas'||this.searchs==='lossassociation'){
640
- var dates=[]
641
- dates=await this.notgasData(this.sqlobtaindata)
642
- if (this.echartsType == 'pie') {
643
- this.datapool = dates
644
- Dec.setPie(this, 'echarts', this.sqlobtaindata, this.sqlobtaindata)
645
- }
646
- if (this.echartsType == 'bar') {
647
- this.datapool = dates
648
-
649
- var cachebardata = await Dec.DataIntegration(dates)
650
- console.log(cachebardata, this.bartype, '整合数据及柱状图状态')
651
- Dec.setBar(this, 'echarts', cachebardata, this.xname, this.yname, this.seriename, this.idname, this.namesubif)
652
- }
653
- }else{
654
-
655
- if (this.echartsType == 'pie') {
656
- this.datapool = this.sqlobtaindata
657
- Dec.setPie(this, 'echarts', this.sqlobtaindata, this.sqlobtaindata)
658
- }
659
- if (this.echartsType == 'bar') {
660
- this.datapool = this.sqlobtaindata
661
- var cachebardata = Dec.DataIntegration(this.sqlobtaindata)
662
- // console.log(cachebardata, this.bartype, '整合数据及柱状图状态')
663
- Dec.setBar(this, 'echarts', cachebardata, this.xname, this.yname, this.seriename, this.idname, this.namesubif)
664
- }
665
- }
666
-
667
-
668
-
669
-
670
- }
671
- },
672
- },
673
- ready() {
674
-
675
- // console.log(this.drillshow, '三级页面')
676
- // this.model.startDate = Util.toStandardDateString()
677
- // this.model.endDate = Util.toStandardDateString()
678
- }
679
- }
680
- </script>
681
-
682
- <style>
683
- .childrendatestyle input {
684
- background-color: rgba(1, 207, 242, 0.01);
685
- border: solid 1px #6fd9d0;
686
- color: white;
687
- }
688
- .childrendatestyle1{
689
- background-color: rgba(1, 207, 242, 0.01);
690
- border: solid 1px #6fd9d0;
691
- color: white;
692
- }
693
- .childrendatestyle .datepicker-popup {
694
- background-color: #023740 !important;
695
- border: solid 1px #6fd9d0;
696
- color: white !important;
697
- }
698
-
699
- .childrendatestyle .datepicker-monthRange span:hover,
700
- .datepicker-ctrl p:hover,
701
- .datepicker-ctrl i:hover,
702
- .datepicker-dateRange span:hover,
703
- .datepicker-dateRange-item-hover {
704
- background-color: #00f3ff !important;
705
- /*border: solid 1px #6fd9d0;*/
706
- color: white !important;
707
- }
708
-
709
- .childrenselectstyle button {
710
- background-color: #013e48 !important;
711
- border: solid 1px #6fd9d0 !important;
712
- color: white !important;
713
- }
714
-
715
- .childrenselectstyle ul {
716
- background-color: #013e48 !important;
717
- border: solid 1px #6fd9d0 !important;
718
-
719
- }
720
-
721
- .childrenselectstyle div {
722
- background-color: #013e48 !important;
723
- color: white !important;
724
- }
725
-
726
- .childrenselectstyle li a {
727
- color: white !important;
728
- }
729
-
730
- .childrenselectstyle li a:hover {
731
- background-color: #05525f;
732
- }
733
-
734
- #childrenorgstyle #vc-chooser .list-group-item {
735
- background-color: #013e48 !important;
736
- color: #fff !important;
737
- }
738
-
739
- #childrenorgstyle #vc-chooser .list-group {
740
- background-color: #6fd9d0 !important;
741
- color: #fff !important;
742
- }
743
-
744
- #childrenorgstyle #vc-chooser button {
745
- border: solid 1px #6fd9d0;
746
- background-color: rgba(1, 207, 242, 0.01) !important;
747
- color: #fff !important;
748
- }
749
- </style>
750
- <style scoped>
751
- label {
752
- color: white;
753
- }
754
-
755
- .datestyle {
756
- padding-left: 3%;
757
- width: 100%;
758
- height: 9%;
759
- }
760
-
761
- .div-1 {
762
-
763
- height: 80%;
764
- width: 100%;
765
- }
766
-
767
- .title-1 {
768
- border-radius: 10px 10px 0px 0px;
769
- margin: 0% 2%;
770
- padding: 0% 2%;
771
- font-size: 1.6em;
772
- display: flex;
773
- /*实现垂直居中*/
774
- align-items: center;
775
- justify-content: space-between;
776
- color: #fff;
777
- height: 8%;
778
- width: 96%;
779
- background-color: rgba(1, 207, 242, 0.08);
780
- }
781
-
782
- .button-1 {
783
- height: 65%;
784
- width: 6%;
785
- margin-right: 1%;
786
- background-color: #013e48;
787
- border-radius: 6px;
788
- border: solid 1px #40cfc3;
789
- font-size: 0.65em;
790
- float: right;
791
- }
792
-
793
- .button-2 {
794
- color: white;
795
- height: 100%;
796
- width: 12%;
797
- margin-left: 2%;
798
- margin-top: 0.1%;
799
- background-color: #013e48;
800
- border-radius: 6px;
801
- border: solid 1px #40cfc3;
802
- font-size: 1em;
803
- }
804
-
805
- .button-1:hover {
806
- background-color: #40cfc3;
807
- border: 1px solid #00ffea;
808
- border-radius: 6px;
809
- }
810
-
811
- .button-2:hover {
812
- background-color: #00ffe9;
813
- border: 1px solid #013e48;
814
- border-radius: 6px;
815
- }
816
-
817
- .button-21 {
818
- background-color: #40cfc3;
819
- border-radius: 6px;
820
- color: white;
821
- height: 100%;
822
- width: 12%;
823
- margin-left: 2%;
824
- margin-top: 0.1%;
825
- border: solid 1px #40cfc3;
826
- font-size: 1em;
827
- }
828
-
829
- .button-21:hover {
830
- border: 1px solid #00ffea;
831
- border-radius: 6px;
832
- }
833
-
834
- .drillcontent {
835
- margin-left: 2%;
836
- width: 52%;
837
- height: 100%;
838
- float: left;
839
- background-color: rgba(1, 207, 242, 0.04);
840
- }
841
-
842
- .drilltext {
843
- width: 100%;
844
- height: 84%;
845
- /*background-color: #c7254e;*/
846
- }
847
-
848
- .echartsstyle {
849
- height: 95%;
850
- width: 56%;
851
- float: left;
852
- /*background-color: white;*/
853
- }
854
-
855
- .pool {
856
- height: 100%;
857
- width: 44%;
858
- float: left;
859
- /*background-color: #c7254e;*/
860
- }
861
-
862
- .drilllist {
863
- height: 100%;
864
- width: 44%;
865
- float: left;
866
- background-color: rgba(1, 207, 242, 0.04);
867
- }
868
-
869
- .drillliststyle {
870
- margin-left: 2%;
871
- height: 96%;
872
- width: 96%;
873
- float: left;
874
- background-color: rgba(1, 207, 242, 0.04);
875
- }
876
-
877
- .menuselect {
878
- margin-top: 1%;
879
- margin-left: 4%;
880
- height: 16%;
881
- width: 96%;
882
- }
883
-
884
- .selectstyle {
885
- height: 45%;
886
- }
887
-
888
- .datestyle label {
889
- margin-left: 1%;
890
- margin-top: 1%;
891
- }
892
-
893
- #selectchildrenid {
894
- margin-left: 1%;
895
- }
896
-
897
- .history {
898
- border-radius: 2px;
899
- border: solid 1px #2f9ad1;
900
- color: #2f9ad1;
901
- }
902
-
903
- .historydiv div {
904
- height: 49%;
905
- }
906
-
907
- .historydiv {
908
- height: 55%;
909
- }
910
-
911
- .selectstyle input {
912
- width: 20%;
913
- height: 95%;
914
- background-color: #023740 !important;
915
- border: solid 1px #6fd9d0;
916
- color: white !important;
917
- }
918
- </style>
1
+ <template>
2
+ <div>
3
+ <div class="datestyle">
4
+ <label for="startDate" v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'">开始日期:</label>
5
+ <datepicker id="startDate" placeholder="开始日期" class="childrendatestyle"
6
+ v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'"
7
+ v-model="model.startDate"
8
+ :value.sync="model.startDate"
9
+ :disabled-days-of-Week="[]"
10
+ :format="'yyyy-MM-dd'"
11
+ :show-reset-button="reset">
12
+ </datepicker>
13
+ <label for="endDate" v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'">结束日期:</label>
14
+ <datepicker id="endDate" placeholder="结束日期" class="childrendatestyle"
15
+ v-if="searchs!=='longnotbuygas'&&searchs!=='longnotusegas'&&searchs!=='lossassociation'"
16
+ v-model="model.endDate"
17
+ :value.sync="model.endDate"
18
+ :disabled-days-of-Week="[]"
19
+ :format="'yyyy-MM-dd'"
20
+ :show-reset-button="reset">
21
+ </datepicker>
22
+ <div class="childrendatestyle datepicker " v-if="searchs==='longnotbuygas'">
23
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
24
+ <label>< 未购气天数 <=</label>
25
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
26
+ </div>
27
+ <div class="childrendatestyle datepicker " v-if="searchs==='lossassociation'">
28
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
29
+ <label>< 失联天数<= </label>
30
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
31
+ </div>
32
+ <div class="childrendatestyle datepicker " v-if="searchs==='longnotusegas'">
33
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days1">
34
+ <label>< 未使用天数<=</label>
35
+ <input type="text" style="width:30%" class="childrendatestyle1" v-model="days2">
36
+ </div>
37
+ <!--<label class="control-label">组织机构</label>-->
38
+ <!--<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes" id="childrenorgstyle"></right-tree>-->
39
+ </div>
40
+ <div class="title-1">
41
+ <span>{{parenttitle.pagename}} — <span
42
+ style="font-size: 0.80em">{{parenttitle.pagechildrenname}}</span></span>
43
+ <button class="button-1" @click="backclick">返回</button>
44
+ </div>
45
+ <div class="div-1">
46
+ <div class="drillcontent" v-show="!listenlistshow">
47
+ <div class="menuselect">
48
+ <div class="selectstyle">
49
+ <!--钻取下拉列表1-->
50
+ <v-select id="selectid" v-ref:selected class="childrenselectstyle" :value.sync="select0"
51
+ :options='drillparam' placeholder='请选择' close-on-select clear-button
52
+ @click="getinitDate">
53
+ </v-select>
54
+ <!--钻取下拉列表2-->
55
+ <v-select v-show="childrenselectshow" id="selectchildrenid" v-ref:selected1 class="childrenselectstyle"
56
+ :value.sync="select1"
57
+ :options='drillchildrenparam' placeholder='请选择' close-on-select clear-button
58
+ @click="getinitDate1">
59
+ </v-select>
60
+ <input type="text" v-model="inputtext" :placeholder='textcontent'
61
+ v-show="inputtextshow">
62
+ <button class="button-21" @click="listenToChild1">钻取</button>
63
+ <button class="button-2" @click="listenToChild2">清空</button>
64
+ </div>
65
+ <!--<div class="historydiv">-->
66
+ <!--<div v-show="clickhistoryshow"><span v-for="s in clickhistory"><span class="history">{{s}}</span>-></span></div>-->
67
+ <!--<div v-show="clickshow"><span v-for="s in clickparam"><span class="history">{{s}}</span>-></span></div>-->
68
+ <!--</div>-->
69
+ </div>
70
+ <div class="drilltext" v-show="!listenlistshow">
71
+ <!--图表-->
72
+ <div id="echarts" class="echartsstyle"></div>
73
+ <!--汇总表-->
74
+ <drill-pool :pooldata="datapool" class="pool"></drill-pool>
75
+ </div>
76
+ </div>
77
+ <!--详细列表-->
78
+ <drill-list :listsqldata="listsqldata" :templatename="parenttitle.pagechildrenname" class="drilllist"
79
+ :class="{'drillliststyle':listenlistshow}"></drill-list>
80
+ </div>
81
+ </div>
82
+ </template>
83
+
84
+ <script>
85
+ import * as Util from '../../../Util'
86
+ import * as Dec from '../../../stores/DrillECharts'
87
+ import * as Drillsql from '../../../stores/DrillSql'
88
+ import co from 'co'
89
+
90
+ export default {
91
+ name: "DrillData",
92
+ props: {
93
+ parenttitle: {
94
+ pagename: String, //钻取页面name
95
+ pagetitle: String, //钻取页面标题,也是取钻取信息的字段
96
+ pagechildrenname: String, //钻取页面子标题
97
+ }, // 钻取页面
98
+ drillshow: Boolean,
99
+ idname: String,
100
+ childname: String, //获取初始图表的refs -name 进行setBar绘制初始echarts
101
+ echartsdata: Array, //初始数据来源所钻取模块,进行汇总显示
102
+ initdatatr: Object, //初始化配置文件数据
103
+ listcondition: {
104
+ clickparam: String,
105
+ drillterm: String,
106
+ tablename: String,
107
+ drillcondition: String,
108
+ sqlurl: String,
109
+ headData: Array,
110
+ bodyData: Array,
111
+ },
112
+ },
113
+ data() {
114
+ return {
115
+ days1:0,
116
+ days2:'',
117
+ userid: this.$login.f.id,
118
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
119
+ datapool: [], //汇总数据
120
+ model: { //时间参数
121
+ startDate: Util.toStandardDateString(),
122
+ endDate: Util.toStandardDateString(),
123
+ },
124
+ drillparam: [], //一级钻取列表
125
+ selectparam: '', //选择字段
126
+ listsqldata: { //列表sql参数
127
+ urlcarrydata: [],
128
+ headData: [],
129
+ bodyData: [],
130
+ },
131
+ xc: '',
132
+
133
+ childrenselectshow: false, //二级下拉列表show
134
+ drillchildrenparam: [], //二级下拉列表
135
+ inputtextshow: false, //输入框show
136
+ select0: [], //一级选中值
137
+ select1: [], //二级选中值
138
+ inputtext: '', //输入框
139
+ textcontent: '', //输入框默认内容
140
+ listenlistshow: false, //列表展开控制
141
+ clickhistoryshow: false, //钻取历史显示
142
+ clickshow: false, //点击历史显示
143
+ datedefault: true, //默认不加载初始时间
144
+ datelistif: false, //时间选择发生变化
145
+
146
+ barparam: '', //饼状图点击字段
147
+ clickhistory: [], //钻取历史
148
+ clickparam: [], //点击历史
149
+ sqlobtaindata: [], //请求后台获取的数据
150
+ echartsType: '', //钻取后echarts的类型
151
+ bartype: '', //时间分类类型(按年year,按月month)
152
+
153
+ initflag: true, //初始化判断
154
+ yname: '', //柱状图y名称
155
+ xname: '', //柱状图x名称
156
+ seriename: '', //seriename名称
157
+ namesubif: false,
158
+ searchs:''
159
+ }
160
+
161
+ },
162
+ computed: {
163
+ selected() {
164
+ return this.$refs.grid.selected
165
+ }
166
+ },
167
+ methods: {
168
+ // 获取组织结构
169
+ getRes(obj) {
170
+ this.filialeNameStr = obj.res
171
+ this.filialeCodeStr = obj.resids
172
+ },
173
+ // 返回二级页面
174
+ backclick() {
175
+ this.$echarts.init(document.getElementById('echarts')).clear()
176
+ this.$parent.drillshow = false
177
+ this.initflag = true
178
+ this.resetParam()
179
+ console.log(this.datedefault,'时间判断')
180
+ },
181
+ //图点击事件
182
+ eConsole(param) {
183
+ // 对饼状图进行点击处理
184
+ if (this.echartsType == 'pie') {
185
+ // 点击历史
186
+ this.clickparam.push(param.data.name)
187
+ // 控制显示历史
188
+ this.clickshow = true
189
+ // 点击字段记录
190
+ this.barparam = param.data
191
+ }
192
+ },
193
+ //钻取按键响应事件
194
+ listenToChild1() {
195
+ console.log('进入钻取----------------------------------------------------------------------')
196
+ // 获取下拉列表zhi
197
+ var texttile = this.$refs.selected.selectedItems
198
+ var texttile1 = this.$refs.selected1.selectedItems
199
+ console.log(texttile, '钻取一级类型')
200
+ console.log(texttile1, '钻取二级类型')
201
+ // 判断是否进行选择
202
+ if (typeof texttile == "undefined" || texttile == '') {
203
+ this.$showMessage('未选择查询类型!')
204
+ return
205
+ }
206
+
207
+ var conditionparamone = {} //一级钻取字段对象
208
+ var conditionparamtow = {} //二级钻取字段对象
209
+
210
+ console.log(this.datedefault,'时间判断')
211
+ // 填充默认时间
212
+ console.log('---------------钻取时间前---------------------------')
213
+ console.log(this.model.startDate)
214
+ console.log(this.model.endDate)
215
+ if (this.datedefault == true) {
216
+ Drillsql.startDate = eval(Util.toStandardDateString().toString().substring(0, 4) + '-50') + '-01-01'
217
+ Drillsql.endDate = this.model.endDate
218
+ } else {
219
+ Drillsql.startDate = this.model.startDate
220
+ Drillsql.endDate = this.model.endDate
221
+ }
222
+ console.log('==========================钻取时间后后后后后后后后后---------------------------')
223
+ console.log(this.model.startDate)
224
+ console.log(this.model.endDate)
225
+
226
+ //特殊处理
227
+ var param = Drillsql.param
228
+ var param1 = Drillsql.param1
229
+
230
+ if (this.inputtext != '' && this.idname == 'pastscale') {
231
+ Drillsql.param = this.inputtext
232
+ Drillsql.param1 = this.inputtext
233
+ }
234
+
235
+ //获取选中一级分类的信息
236
+ conditionparamone = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, texttile, '')
237
+ // 填充钻取状态
238
+ this.clickhistoryshow = true
239
+ this.bartype = conditionparamone.name
240
+ this.clickhistory.push(conditionparamone.label)
241
+ this.echartsType = conditionparamone.echartsType
242
+ var dateparam = conditionparamone.dateparam
243
+ var dateparamif = conditionparamone.dateif
244
+ if (conditionparamone.echartsType == 'bar') {
245
+ this.yname = conditionparamone.yname
246
+ this.xname = conditionparamone.xname
247
+ this.seriename = conditionparamone.seriename
248
+ this.namesubif = conditionparamone.namesubif
249
+ }
250
+
251
+
252
+ // 判断是否有二级钻取
253
+ if (texttile1 != '') {
254
+ //获取选中二级分类的信息
255
+ conditionparamtow = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, texttile, texttile1)
256
+ // 填充钻取状态
257
+ this.bartype = conditionparamtow.name
258
+ this.clickhistory.push(conditionparamtow.label)
259
+ this.echartsType = conditionparamtow.echartsType
260
+ dateparam = conditionparamtow.dateparam
261
+ dateparamif = conditionparamtow.dateif
262
+ if (conditionparamtow.echartsType == 'bar') {
263
+ this.yname = conditionparamtow.yname
264
+ this.xname = conditionparamtow.xname
265
+ this.seriename = conditionparamtow.seriename
266
+ this.namesubif = conditionparamtow.namesubif
267
+ }
268
+
269
+
270
+ //往期购气特殊处理
271
+ if (conditionparamtow.label == '高于往期购气量' && this.inputtext < 1) {
272
+ this.$showMessage('请输入大于1的数!')
273
+ Drillsql.param = param
274
+ Drillsql.param1 = param1
275
+ return
276
+ }
277
+ if (conditionparamtow.label == '低于往期购气量' && (this.inputtext > 1 || this.inputtext > 1)) {
278
+ this.$showMessage('请输入0-1之间的数!')
279
+ Drillsql.param = param
280
+ Drillsql.param1 = param1
281
+ return
282
+ }
283
+ } else {
284
+ conditionparamtow = {}
285
+ }
286
+
287
+ // console.log(conditionparamone, '一级分类信息')
288
+ // console.log(conditionparamtow, '二级分类信息')
289
+ // console.log(this.clickhistory, this.echartsType, '图状态信息')
290
+ // 点击字段进行sql拼接
291
+ var barcondition = ''
292
+ if (this.barparam != '' && conditionparamone.barparamif) {
293
+ barcondition = ' and ' + this.barparam.drilltype + '=\'' + this.barparam.name + '\' '
294
+ console.log("========================================listenToChild1拼条件了",barcondition)
295
+ }
296
+ var dateif=true
297
+ // 时间参数进行sql拼接
298
+ if (this.datalistif && !this.datedefault && !dateparamif && this.searchs!=='longnotbuygas'&&this.searchs!=='longnotusegas'&&this.searchs!=='lossassociation') {
299
+ dateif=false
300
+ barcondition = dateparam + '>=to_date(\'' + Drillsql.startDate+ '\',\'yyyy-MM-dd\') and '
301
+ + dateparam + '<=to_date(\'' + Drillsql.endDate + '\',\'yyyy-MM-dd \')' + barcondition
302
+ }
303
+ console.log('拼接的参数后的数据--------------------------')
304
+ console.log(barcondition,'拼接的参数后的数据')
305
+ // 拼接SQL查询条件
306
+ // keys:分组字段 drillparam:选择字段 drillterm:查询条件
307
+ // console.log(barcondition, '拼接字段')
308
+ //重置明细数据
309
+
310
+ var sqlparam = ''
311
+
312
+ if (JSON.stringify(conditionparamtow) == '{}') {
313
+ // 获取一级分类sql
314
+
315
+ sqlparam = conditionparamone.sqlcondition
316
+ } else {
317
+ // 获取二级分类sql
318
+ sqlparam = conditionparamtow.sqlcondition
319
+ }
320
+ var condition =''
321
+
322
+ // 拼接点击条件
323
+ if(this.idname=='usernum'|| this.idname=='pastscale'){
324
+ condition =barcondition
325
+ }else {
326
+ if(!barcondition){
327
+ condition =this.bartype
328
+ }else{
329
+ condition =this.bartype+' and '+barcondition
330
+ }
331
+ }
332
+ if(!barcondition){
333
+ barcondition=conditionparamone.name?(' '+conditionparamone.name):''+conditionparamtow.name?(' and '+conditionparamtow.name):' '
334
+ }else{
335
+ barcondition+=' and '+ barcondition
336
+ }
337
+ if(!this.days1){
338
+ this.days1=0
339
+ }
340
+
341
+ if(this.searchs==='longnotbuygas'){ // 长期未购气
342
+ barcondition = barcondition+' and CAST(trunc(SYSDATE)- NVL(F_SELLINGGAS_MAX_DATE,a.f_input_date) as int) > ' + this.days1
343
+ if(this.days2){
344
+ barcondition = barcondition+ ' and CAST(trunc(SYSDATE)- NVL(F_SELLINGGAS_MAX_DATE,a.f_input_date) as int) <= ' + this.days2
345
+ }
346
+ }else if(this.searchs==='longnotusegas'){ // 长期未用气
347
+ barcondition =barcondition+ ' and CAST(trunc(SYSDATE)- trunc(F_HANDPLAN_MAX_HANDDATE) as int) >' + this.days1
348
+ if(this.days2){
349
+ barcondition = barcondition+ ' and CAST(trunc(SYSDATE)- trunc(F_HANDPLAN_MAX_HANDDATE) as int) <='+this.days2
350
+ }
351
+ }else if(this.searchs==='lossassociation'){ // 失联
352
+ barcondition = barcondition+' and slday >'+this.days1
353
+ if(this.days2){
354
+ barcondition =barcondition+ ' and slday <='+this.days2
355
+ }
356
+ }
357
+ condition=barcondition
358
+
359
+ //请求后台数据
360
+ var sqlcondition = {
361
+ startDate:Drillsql.startDate,
362
+ endDate:Drillsql.endDate,
363
+ param:Drillsql.param,
364
+ param1:Drillsql.param1,
365
+ param2:Drillsql.param2,
366
+ condition:condition
367
+ }
368
+ if( this.idname=='pastscale'){
369
+ var s1 = eval('(' + Drillsql.param + '-1)*100')
370
+ var s1 = s1.toString().substring(0, 5)
371
+ var s2 = eval(Drillsql.param1 + '*100')
372
+ var s2 = s2.toString().substring(0, 5)
373
+ var s3=''
374
+ s3= conditionparamone.label
375
+ if(s3=='全部'){
376
+ s3=''
377
+ }
378
+ sqlcondition.s1=s1
379
+ sqlcondition.s2=s2
380
+ sqlcondition.s3=s3
381
+ if(conditionparamone.name){
382
+ console.log("拼conditionparamone.name")
383
+ sqlcondition.param3=' and '+conditionparamone.name
384
+ }
385
+ }
386
+ console.log(sqlcondition, '图表请求sql')
387
+ let getsqldata = Dec.getData(this, sqlparam ,sqlcondition)
388
+ co(getsqldata)
389
+ // 时间参数进行sql拼接
390
+ console.log("=======================准备调用getDrillList!!!!"+this.parenttitle.pagetitle+"========"+this.idname)
391
+ var pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
392
+ console.log("=======================!!!!pagelist:"+JSON.stringify(pagelist[2]))
393
+ console.log("this.searchs:"+this.searchs+"======this.datalistif:"+this.datalistif+"======!this.datedefault:"+!this.datedefault+"======dateif:"+dateif)
394
+ if (this.datalistif && !this.datedefault&&dateif&&this.searchs==='longnotbuygas'&&this.searchs==='longnotusegas'&&this.searchs==='lossassociation') {
395
+ this.datelistif = false
396
+ }
397
+ console.log(barcondition, '时间sqllist')
398
+ //获取列表sql
399
+ if (!conditionparamone.listif) {
400
+ console.log("!!!!!!!!!!!!!!!!!!!!!!!conditionparamone.listif拼了barcondition",conditionparamone.name)
401
+ barcondition = barcondition
402
+ }
403
+ if (texttile1 != '' && this.searchs!=='lossassociation' && this.searchs!=='longnotusegas' && this.searchs!=='longnotbuygas' ) {
404
+ barcondition = barcondition + '\t and '+ conditionparamtow.listparam
405
+ }
406
+ var list = Drillsql.listparam
407
+ // 警告特殊处理
408
+ if (this.idname == 'caveat'||this.idname == 'lossassociation'||this.idname == 'longnotusegas'||this.idname == 'longnotbuygas') {
409
+ Drillsql.listparam = ''
410
+ }
411
+ Drillsql.listparam1 = barcondition
412
+ console.log(Drillsql.listparam1, '列表钻取条件 ')
413
+ pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
414
+ console.log("========pagelist",pagelist)
415
+ var sqllistcondition= [this.idname+'list',20,{listparam:"\""+Drillsql.listparam+"\"",listparam1:"\""+Drillsql.listparam1+"\""}]
416
+ //调用赋值函数,传递给绘图子组件
417
+
418
+ this.Transfer(sqllistcondition, pagelist[0].headData, pagelist[1].bodyData)
419
+ Drillsql.param = param
420
+ Drillsql.param1 = param1
421
+ Drillsql.listparam = list
422
+ },
423
+
424
+ //清空按键事件
425
+ listenToChild2() {
426
+ this.xc.clear()
427
+ this.resetParam()
428
+
429
+ //重新初始化
430
+ this.initdata()
431
+ },
432
+ //重置参数
433
+ resetParam() {
434
+ this.barparam = '' //清空点击字段
435
+ this.drillparam = [] //清空下拉列表
436
+ this.select0 = []
437
+ this.drillchildrenparam = [] //清空子下拉列表
438
+ this.clickhistory = [] //清空查询历史
439
+ this.clickparam = [] //清空点击历史
440
+
441
+ this.model.startDate = Util.toStandardDateString() //重置时间为当前时间
442
+ this.model.endDate = Util.toStandardDateString()
443
+
444
+ this.childrenselectshow = false //关闭子下拉列表
445
+ this.clickhistoryshow = false //关闭查询历史显示
446
+ this.clickshow = false //关闭点击历史显示
447
+ this.datelistif = false //关闭时间更改标志
448
+ this.datedefault = true //打开时间初始标志
449
+ this.inputtextshow = false //关闭输入框
450
+ this.textcontent = ''
451
+ this.inputtext = ''
452
+ },
453
+ //传递参数赋值,传递给子组件
454
+ Transfer(pageurl, headData, bodyData) {
455
+ this.listsqldata.urlcarrydata = pageurl
456
+ this.listsqldata.headData = headData
457
+ this.listsqldata.bodyData = bodyData
458
+ },
459
+ //初始化图表数据参数
460
+ initdata() {
461
+ console.log(this.idname)
462
+ this.searchs=this.idname
463
+ console.log(this.echartsdata, '钻取初始化参数')
464
+ console.log(this.initdatatr, '初始化获取sql的参数')
465
+
466
+
467
+ Drillsql.startDate = this.initdatatr['startDate']
468
+ Drillsql.endDate = this.initdatatr['endDate']
469
+ Drillsql.param = this.initdatatr['param']
470
+ Drillsql.param1 = this.initdatatr['param1']
471
+ Drillsql.listparam = this.initdatatr['listparam']
472
+ Drillsql.listparam1 = ''
473
+
474
+
475
+ //特殊处理
476
+ if (this.parenttitle.pagechildrenname == '主要用户展示') {
477
+ Drillsql.listparam1 = ' a.f_user_type=\'非民用\' '
478
+ }
479
+
480
+ this.$parent.$refs[this.childname].setBar("echarts")
481
+ this.datapool = this.$parent.childdata
482
+ var pagelist = Drillsql.getDrillList(this.parenttitle.pagetitle, this.idname, '', '')
483
+ console.log(pagelist)
484
+ var sqllistcondition= [this.idname+'list',20,{listparam:"\""+Drillsql.listparam+"\"",listparam1:"\""+Drillsql.listparam1+"\""}]
485
+
486
+ //调用赋值函数,传递给绘图子组件
487
+ this.Transfer(sqllistcondition, pagelist[0].headData, pagelist[1].bodyData)
488
+
489
+ },
490
+
491
+ getinitDate() {
492
+ this.inputtextshow = false
493
+ this.textcontent = ''
494
+ this.inputtext = ''
495
+ this.drillparam = Drillsql.getDrillParameter(this.parenttitle.pagetitle, this.idname, '', '')
496
+ },
497
+ //整理数据
498
+ notgasData(res) {
499
+ var nobuygasdata=[]
500
+ let num = [0, 0, 0, 0, 0, 0 ]
501
+ num[0] = res[0].week
502
+ num[1] = res[0].month
503
+ num[2] = res[0].tmonth
504
+ num[3] = res[0].harfyear
505
+ num[4] = res[0].year
506
+ num[5] = res[0].more
507
+ var date = ['0-7', '7-30', '30-90', '90-180', '180-360','>360']
508
+ var i = 0
509
+ num.forEach((row)=>{
510
+
511
+ let item = {}
512
+ item.name = date[i]
513
+ item.value = num[i]
514
+ item.type = this.select1[0]?this.select1[0]:this.select0[0]
515
+ nobuygasdata.push(item)
516
+ i++
517
+ })
518
+
519
+ console.log("@@@@@@@@@@@@@@@@",nobuygasdata)
520
+ return nobuygasdata
521
+ },
522
+ }
523
+ ,
524
+ watch: {
525
+ 'model':
526
+ {
527
+ deep: true,
528
+ handler(val) {
529
+ if(!this.$parent.drillshow){
530
+ return
531
+ }
532
+ this.datedefault = false
533
+ this.datalistif = true
534
+ }
535
+ ,
536
+ }
537
+ ,
538
+ 'echartsdata':
539
+ {
540
+ deep: true,
541
+ handler(val) {
542
+ if (typeof this.echartsdata !== "undefined" && this.drillshow == true && this.initflag) {
543
+ this.initdata()
544
+ this.initflag = false
545
+ }
546
+ }
547
+ ,
548
+ immediate: true
549
+ }
550
+ ,
551
+ 'drillshow':
552
+ {
553
+ deep: true,
554
+ handler(val) {
555
+ console.log("!!!!!!!!!!!!!!!!!!!!!!drillshow变了!",val)
556
+ if(val){
557
+ this.datedefault = false
558
+ this.datalistif = true
559
+ }
560
+ return
561
+ if (typeof this.echartsdata !== "undefined" && this.drillshow == true && this.initflag) {
562
+ this.initdata()
563
+ this.initflag = false
564
+ }
565
+ }
566
+ ,
567
+ immediate: true
568
+ }
569
+ ,
570
+ 'select0':
571
+ {
572
+ deep: true,
573
+ handler() {
574
+ // console.log(this.select0, '选中分类的值')
575
+ if (this.select0.length < 1) {
576
+ return
577
+ }
578
+ this.select1 = ''
579
+
580
+ this.childrenselectshow = false
581
+ var self = this
582
+ this.drillparam.forEach(function (s) {
583
+ if (self.select0 == s.value && s.name == 't_area') {
584
+ let gen = Dec.select(self, 't_area', '1=1')
585
+ co(gen)
586
+ }
587
+ })
588
+ setTimeout(() => {
589
+ self.drillparam.forEach(function (s) {
590
+ console.log("select0!!!!!!!!!!!!!!",s)
591
+ if (s.value == self.select0) {
592
+ if (typeof s.children != "undefined" && JSON.stringify(s.children) != '[]') {
593
+ self.childrenselectshow = true
594
+ self.drillchildrenparam = s.children
595
+ }
596
+ }
597
+
598
+ })
599
+ }, 500)
600
+ }
601
+ }
602
+ ,
603
+ 'select1':
604
+ {
605
+ deep: true,
606
+ handler() {
607
+ // console.log(this.select1, '选中分类的值')
608
+ if (this.select1.length < 1) {
609
+ return
610
+ }
611
+ var self = this
612
+ var l = 0
613
+ var texttile = this.$refs.selected.selectedItems
614
+ this.drillparam.forEach(function (s) {
615
+ if (s.label == texttile && s.inputchildren != '') {
616
+ l++
617
+ self.inputtextshow = true
618
+ self.textcontent = s.inputchildren
619
+ }
620
+ })
621
+ if (l == 0) {
622
+ this.inputtextshow = false
623
+ this.textcontent = ''
624
+ this.inputtext = ''
625
+ }
626
+ }
627
+ }
628
+ ,
629
+ 'sqlobtaindata':
630
+ {
631
+ deep: true,
632
+ async handler(val) {
633
+ console.log("==================>",val)
634
+ if (this.sqlobtaindata.length < 1) {
635
+ this.$showMessage('数据为空!')
636
+ return
637
+ }
638
+
639
+ if(this.searchs==='longnotbuygas'||this.searchs==='longnotusegas'||this.searchs==='lossassociation'){
640
+ var dates=[]
641
+ dates=await this.notgasData(this.sqlobtaindata)
642
+ if (this.echartsType == 'pie') {
643
+ this.datapool = dates
644
+ Dec.setPie(this, 'echarts', this.sqlobtaindata, this.sqlobtaindata)
645
+ }
646
+ if (this.echartsType == 'bar') {
647
+ this.datapool = dates
648
+
649
+ var cachebardata = await Dec.DataIntegration(dates)
650
+ console.log(cachebardata, this.bartype, '整合数据及柱状图状态')
651
+ Dec.setBar(this, 'echarts', cachebardata, this.xname, this.yname, this.seriename, this.idname, this.namesubif)
652
+ }
653
+ }else{
654
+
655
+ if (this.echartsType == 'pie') {
656
+ this.datapool = this.sqlobtaindata
657
+ Dec.setPie(this, 'echarts', this.sqlobtaindata, this.sqlobtaindata)
658
+ }
659
+ if (this.echartsType == 'bar') {
660
+ this.datapool = this.sqlobtaindata
661
+ var cachebardata = Dec.DataIntegration(this.sqlobtaindata)
662
+ // console.log(cachebardata, this.bartype, '整合数据及柱状图状态')
663
+ Dec.setBar(this, 'echarts', cachebardata, this.xname, this.yname, this.seriename, this.idname, this.namesubif)
664
+ }
665
+ }
666
+
667
+
668
+
669
+
670
+ }
671
+ },
672
+ },
673
+ ready() {
674
+
675
+ // console.log(this.drillshow, '三级页面')
676
+ // this.model.startDate = Util.toStandardDateString()
677
+ // this.model.endDate = Util.toStandardDateString()
678
+ }
679
+ }
680
+ </script>
681
+
682
+ <style>
683
+ .childrendatestyle input {
684
+ background-color: rgba(1, 207, 242, 0.01);
685
+ border: solid 1px #6fd9d0;
686
+ color: white;
687
+ }
688
+ .childrendatestyle1{
689
+ background-color: rgba(1, 207, 242, 0.01);
690
+ border: solid 1px #6fd9d0;
691
+ color: white;
692
+ }
693
+ .childrendatestyle .datepicker-popup {
694
+ background-color: #023740 !important;
695
+ border: solid 1px #6fd9d0;
696
+ color: white !important;
697
+ }
698
+
699
+ .childrendatestyle .datepicker-monthRange span:hover,
700
+ .datepicker-ctrl p:hover,
701
+ .datepicker-ctrl i:hover,
702
+ .datepicker-dateRange span:hover,
703
+ .datepicker-dateRange-item-hover {
704
+ background-color: #00f3ff !important;
705
+ /*border: solid 1px #6fd9d0;*/
706
+ color: white !important;
707
+ }
708
+
709
+ .childrenselectstyle button {
710
+ background-color: #013e48 !important;
711
+ border: solid 1px #6fd9d0 !important;
712
+ color: white !important;
713
+ }
714
+
715
+ .childrenselectstyle ul {
716
+ background-color: #013e48 !important;
717
+ border: solid 1px #6fd9d0 !important;
718
+
719
+ }
720
+
721
+ .childrenselectstyle div {
722
+ background-color: #013e48 !important;
723
+ color: white !important;
724
+ }
725
+
726
+ .childrenselectstyle li a {
727
+ color: white !important;
728
+ }
729
+
730
+ .childrenselectstyle li a:hover {
731
+ background-color: #05525f;
732
+ }
733
+
734
+ #childrenorgstyle #vc-chooser .list-group-item {
735
+ background-color: #013e48 !important;
736
+ color: #fff !important;
737
+ }
738
+
739
+ #childrenorgstyle #vc-chooser .list-group {
740
+ background-color: #6fd9d0 !important;
741
+ color: #fff !important;
742
+ }
743
+
744
+ #childrenorgstyle #vc-chooser button {
745
+ border: solid 1px #6fd9d0;
746
+ background-color: rgba(1, 207, 242, 0.01) !important;
747
+ color: #fff !important;
748
+ }
749
+ </style>
750
+ <style scoped>
751
+ label {
752
+ color: white;
753
+ }
754
+
755
+ .datestyle {
756
+ padding-left: 3%;
757
+ width: 100%;
758
+ height: 9%;
759
+ }
760
+
761
+ .div-1 {
762
+
763
+ height: 80%;
764
+ width: 100%;
765
+ }
766
+
767
+ .title-1 {
768
+ border-radius: 10px 10px 0px 0px;
769
+ margin: 0% 2%;
770
+ padding: 0% 2%;
771
+ font-size: 1.6em;
772
+ display: flex;
773
+ /*实现垂直居中*/
774
+ align-items: center;
775
+ justify-content: space-between;
776
+ color: #fff;
777
+ height: 8%;
778
+ width: 96%;
779
+ background-color: rgba(1, 207, 242, 0.08);
780
+ }
781
+
782
+ .button-1 {
783
+ height: 65%;
784
+ width: 6%;
785
+ margin-right: 1%;
786
+ background-color: #013e48;
787
+ border-radius: 6px;
788
+ border: solid 1px #40cfc3;
789
+ font-size: 0.65em;
790
+ float: right;
791
+ }
792
+
793
+ .button-2 {
794
+ color: white;
795
+ height: 100%;
796
+ width: 12%;
797
+ margin-left: 2%;
798
+ margin-top: 0.1%;
799
+ background-color: #013e48;
800
+ border-radius: 6px;
801
+ border: solid 1px #40cfc3;
802
+ font-size: 1em;
803
+ }
804
+
805
+ .button-1:hover {
806
+ background-color: #40cfc3;
807
+ border: 1px solid #00ffea;
808
+ border-radius: 6px;
809
+ }
810
+
811
+ .button-2:hover {
812
+ background-color: #00ffe9;
813
+ border: 1px solid #013e48;
814
+ border-radius: 6px;
815
+ }
816
+
817
+ .button-21 {
818
+ background-color: #40cfc3;
819
+ border-radius: 6px;
820
+ color: white;
821
+ height: 100%;
822
+ width: 12%;
823
+ margin-left: 2%;
824
+ margin-top: 0.1%;
825
+ border: solid 1px #40cfc3;
826
+ font-size: 1em;
827
+ }
828
+
829
+ .button-21:hover {
830
+ border: 1px solid #00ffea;
831
+ border-radius: 6px;
832
+ }
833
+
834
+ .drillcontent {
835
+ margin-left: 2%;
836
+ width: 52%;
837
+ height: 100%;
838
+ float: left;
839
+ background-color: rgba(1, 207, 242, 0.04);
840
+ }
841
+
842
+ .drilltext {
843
+ width: 100%;
844
+ height: 84%;
845
+ /*background-color: #c7254e;*/
846
+ }
847
+
848
+ .echartsstyle {
849
+ height: 95%;
850
+ width: 56%;
851
+ float: left;
852
+ /*background-color: white;*/
853
+ }
854
+
855
+ .pool {
856
+ height: 100%;
857
+ width: 44%;
858
+ float: left;
859
+ /*background-color: #c7254e;*/
860
+ }
861
+
862
+ .drilllist {
863
+ height: 100%;
864
+ width: 44%;
865
+ float: left;
866
+ background-color: rgba(1, 207, 242, 0.04);
867
+ }
868
+
869
+ .drillliststyle {
870
+ margin-left: 2%;
871
+ height: 96%;
872
+ width: 96%;
873
+ float: left;
874
+ background-color: rgba(1, 207, 242, 0.04);
875
+ }
876
+
877
+ .menuselect {
878
+ margin-top: 1%;
879
+ margin-left: 4%;
880
+ height: 16%;
881
+ width: 96%;
882
+ }
883
+
884
+ .selectstyle {
885
+ height: 45%;
886
+ }
887
+
888
+ .datestyle label {
889
+ margin-left: 1%;
890
+ margin-top: 1%;
891
+ }
892
+
893
+ #selectchildrenid {
894
+ margin-left: 1%;
895
+ }
896
+
897
+ .history {
898
+ border-radius: 2px;
899
+ border: solid 1px #2f9ad1;
900
+ color: #2f9ad1;
901
+ }
902
+
903
+ .historydiv div {
904
+ height: 49%;
905
+ }
906
+
907
+ .historydiv {
908
+ height: 55%;
909
+ }
910
+
911
+ .selectstyle input {
912
+ width: 20%;
913
+ height: 95%;
914
+ background-color: #023740 !important;
915
+ border: solid 1px #6fd9d0;
916
+ color: white !important;
917
+ }
918
+ </style>