manage-client 3.2.37 → 3.2.38

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 (419) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  6. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  7. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  8. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  9. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  10. package/.gradle/5.2.1/gc.properties +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.project +18 -18
  14. package/CHANGELOG.md +15 -15
  15. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  16. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  17. package/ManageClient.iml +13 -13
  18. package/README.md +38 -38
  19. package/build/dev-server.js +174 -174
  20. package/build/webpack.base.conf.js +82 -82
  21. package/build.gradle +13 -13
  22. package/config/dev.env.js +6 -6
  23. package/config/index.js +40 -40
  24. package/config/prod.env.js +3 -3
  25. package/config/test.env.js +6 -6
  26. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  27. package/gradlew.bat +100 -100
  28. package/index.html +28 -28
  29. package/package.json +1 -1
  30. package/release.bat +5 -5
  31. package/src/ManageHome.js +269 -269
  32. package/src/Staff/StaffCompileList.vue +334 -334
  33. package/src/Staff/StaffList.vue +161 -161
  34. package/src/Staff/StaffListManage.vue +49 -49
  35. package/src/Util.js +367 -367
  36. package/src/components/BasisEcharts/BarChart.vue +247 -247
  37. package/src/components/BasisEcharts/LineChart.vue +243 -243
  38. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  39. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  40. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  41. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  42. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  43. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  44. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  45. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  46. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  47. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  48. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  49. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  50. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  51. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  52. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  53. package/src/components/ManageHome/Home/Home.vue +138 -138
  54. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  55. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  56. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  57. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  58. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  59. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  60. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  61. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  62. package/src/components/ManageHome/ManageHome.vue +292 -292
  63. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  64. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  65. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  66. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  67. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  68. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  69. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  70. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  71. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  72. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  73. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  74. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  75. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  76. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  77. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  78. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  79. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  80. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  81. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  82. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  83. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  84. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  85. package/src/components/ManageHome/User/UseHome.vue +155 -155
  86. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  87. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  88. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  89. package/src/components/ManageHome/loading.vue +23 -23
  90. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  91. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  92. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  93. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  94. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  95. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  96. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  97. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  98. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  99. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  100. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  101. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  102. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  103. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  104. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  105. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  106. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  107. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  108. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  109. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  110. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  111. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  112. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  113. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  114. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  115. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  116. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  117. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  118. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  119. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  120. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  121. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  122. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  123. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  124. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  125. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  126. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  127. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  128. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  129. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  130. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  131. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  132. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  133. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  134. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  135. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  136. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  137. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  138. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  139. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  140. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  141. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  142. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  143. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  144. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  145. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  146. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  147. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  148. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  149. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  150. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  151. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  152. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  153. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  154. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  155. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  156. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  157. package/src/components/ManageHomeCS/loading.vue +39 -39
  158. package/src/components/ManageHomeCS/test.vue +88 -88
  159. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  160. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  161. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  162. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  163. package/src/components/MeterManage/HandQuery.vue +72 -72
  164. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  165. package/src/components/MeterManage/MeterList.vue +336 -336
  166. package/src/components/MeterManage/MeterMsg.vue +181 -181
  167. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  168. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  169. package/src/components/MeterManage/TransferQuery.vue +72 -72
  170. package/src/components/SellReport/BankManager.vue +146 -146
  171. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  172. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  173. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  174. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  175. package/src/components/SellReport/ChOtherfee.vue +251 -251
  176. package/src/components/SellReport/CollectFee.vue +184 -184
  177. package/src/components/SellReport/Contrast.vue +188 -188
  178. package/src/components/SellReport/DayStairMoney.vue +256 -256
  179. package/src/components/SellReport/FenxiangSell.vue +183 -183
  180. package/src/components/SellReport/FxGasTable.vue +220 -220
  181. package/src/components/SellReport/GasCollect.vue +174 -174
  182. package/src/components/SellReport/GaspriceHas.vue +141 -141
  183. package/src/components/SellReport/HandCollect.vue +189 -189
  184. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  185. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  186. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  187. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  188. package/src/components/SellReport/ManageBusTable.vue +207 -207
  189. package/src/components/SellReport/ManageGasFee.vue +247 -247
  190. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  191. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  192. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  193. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  194. package/src/components/SellReport/ManageReceivable.vue +254 -254
  195. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  196. package/src/components/SellReport/MeterBill.vue +185 -185
  197. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  198. package/src/components/SellReport/MeterInput.vue +250 -250
  199. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  200. package/src/components/SellReport/OweAging.vue +174 -174
  201. package/src/components/SellReport/ReportHistory.vue +80 -80
  202. package/src/components/SellReport/ReportPool.vue +60 -60
  203. package/src/components/SellReport/Selling.vue +188 -188
  204. package/src/components/SellReport/SiteManager.vue +147 -147
  205. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  206. package/src/components/SellReport/UsertypePie.vue +101 -101
  207. package/src/components/SellReport/XianYangDate.vue +227 -227
  208. package/src/components/SellReport/XianYangOperator.vue +228 -228
  209. package/src/components/SellReport/XyDateCharge.vue +227 -227
  210. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  211. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  212. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  213. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  214. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  215. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  216. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  217. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  218. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  219. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  220. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  221. package/src/components/WebReport/BatteryLow.vue +148 -148
  222. package/src/components/WebReport/BusinessHall.vue +85 -85
  223. package/src/components/WebReport/BussinessType.vue +137 -137
  224. package/src/components/WebReport/Communication.vue +131 -131
  225. package/src/components/WebReport/CompanyUser.vue +79 -79
  226. package/src/components/WebReport/EchartsBox.vue +110 -110
  227. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  228. package/src/components/WebReport/GaspriceHas.vue +141 -141
  229. package/src/components/WebReport/HandplanPrint.vue +167 -167
  230. package/src/components/WebReport/NotUpload.vue +165 -165
  231. package/src/components/WebReport/OweQuery.vue +169 -169
  232. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  233. package/src/components/WebReport/Paymentpie.vue +157 -157
  234. package/src/components/WebReport/ReportWorklist.vue +220 -220
  235. package/src/components/WebReport/SellType.vue +89 -89
  236. package/src/components/WebReport/Telemanlist.vue +221 -221
  237. package/src/components/WebReport/UserGasAll.vue +214 -214
  238. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  239. package/src/components/WebReport/UsertypePie.vue +105 -105
  240. package/src/components/WebReport/ValueEcharts.vue +99 -99
  241. package/src/components/WebReport/ValueInfo.vue +194 -194
  242. package/src/components/qinhua/BarChartLine.vue +288 -288
  243. package/src/components/qinhua/ManageMain.vue +162 -162
  244. package/src/components/qinhua/Ring.vue +165 -165
  245. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  246. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  247. package/src/components/qinhua/Scada.vue +93 -93
  248. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  249. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  250. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  251. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  252. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  253. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  254. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  255. package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1254
  256. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  257. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  258. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  259. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  260. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  261. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  262. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  263. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  264. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  265. package/src/components/sale/common/PrintData.vue +171 -171
  266. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  267. package/src/components/sale/common/PrintTable.vue +228 -228
  268. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  269. package/src/components/sale/common/TabButton.vue +155 -155
  270. package/src/components/sale/common/Tabs.vue +67 -67
  271. package/src/components/sale/common/handplanUser.vue +112 -112
  272. package/src/components/sale/config/DefaultPrint.js +6 -6
  273. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  274. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  275. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  276. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  277. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  278. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  279. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  280. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  281. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  282. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  283. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  284. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  285. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  286. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  287. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  288. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  289. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  290. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  291. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  292. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  293. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  294. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  295. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  296. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  297. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  298. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  299. package/src/components/sale/report/aode/DayReport.vue +50 -50
  300. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  301. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  302. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  303. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  304. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  305. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  306. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  307. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  308. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  309. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  310. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  311. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  312. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  313. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  314. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  315. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  316. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  317. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  318. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  319. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  320. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  321. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  322. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  323. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  324. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  325. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  326. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  327. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  328. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  329. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  330. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  331. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  332. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  333. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  334. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  335. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  336. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  337. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  338. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  339. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  340. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  341. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  342. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  343. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  344. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  345. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  346. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  347. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  348. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  349. package/src/components/yulin/GuanWang.vue +24 -24
  350. package/src/components/yulin/SingleBarLine.vue +352 -352
  351. package/src/components/yulin/Weather.vue +157 -157
  352. package/src/expandcss.less +26 -26
  353. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  354. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  355. package/src/filiale/aode/ArchivesManage.vue +38 -38
  356. package/src/filiale/aode/BusinessManage.vue +94 -94
  357. package/src/filiale/aode/DefaultPrint.js +6 -6
  358. package/src/filiale/aode/HandplanQuery.vue +632 -632
  359. package/src/filiale/aode/Tabs.vue +67 -67
  360. package/src/filiale/aode/UserQuery.vue +599 -599
  361. package/src/filiale/aode/sale.js +17 -17
  362. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  363. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  364. package/src/filiale/ceshi/CollectManage.vue +94 -94
  365. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  366. package/src/filiale/ceshi/TabButton.vue +149 -149
  367. package/src/filiale/ceshi/Tabs.vue +69 -69
  368. package/src/filiale/ceshi/reportManage.js +5 -5
  369. package/src/filiale/ceshi/sale.js +11 -11
  370. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  371. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  372. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  373. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  374. package/src/filiale/liaoyuan/sale.js +11 -11
  375. package/src/filiale/macheng/MeterQuery.vue +921 -921
  376. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  377. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  378. package/src/filiale/qingtongxia/sale.js +13 -13
  379. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  380. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  381. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  382. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  383. package/src/filiale/shennongjia/sale.js +10 -10
  384. package/src/filiale/tongchuan/ChargeQuery.vue +1277 -1270
  385. package/src/filiale/tongchuan/ReportList.vue +472 -472
  386. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  387. package/src/filiale/tongchuan/sale.js +16 -16
  388. package/src/main.js +66 -66
  389. package/src/plugins/GetLoginInfoService.js +505 -505
  390. package/src/plugins/LodopFuncs.js +124 -124
  391. package/src/plugins/getAllInputtor.js +29 -29
  392. package/src/safeCheck.js +63 -63
  393. package/src/stores/AppData.js +62 -62
  394. package/src/stores/DataSql.js +585 -585
  395. package/src/stores/DrillECharts.js +602 -602
  396. package/src/stores/DrillSql.js +888 -888
  397. package/src/stores/GetParames.js +15 -15
  398. package/src/stores/MagGetSaleParams.js +156 -156
  399. package/src/stores/MagLoadParams.js +63 -63
  400. package/src/stores/Util.js +132 -132
  401. package/src/stores/shanxi1.js +26 -26
  402. package/src/stores/yulin.js +27 -27
  403. package/static/china.json +1 -1
  404. package/static/qh.json +2410 -2410
  405. package/static/res.json +58411 -58411
  406. package/static/shanxi1.json +1 -1
  407. package/static/yulin.json +1 -1
  408. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  409. package/test/unit/.eslintrc +5 -5
  410. package/test/unit/TestUtil.js +35 -35
  411. package/test/unit/context.html +20 -20
  412. package/test/unit/index.js +13 -13
  413. package/test/unit/init.js +11 -11
  414. package/test/unit/karma.conf.js +45 -45
  415. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  416. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  417. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  418. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  419. package/webstorm.config.js +13 -13
@@ -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>