manage-client 3.2.11 → 3.2.12

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 (458) 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 +7 -5
  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/LineChart.vue +243 -243
  30. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  31. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  32. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  33. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  34. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  35. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  36. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  37. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  38. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  39. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  41. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  42. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  43. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  44. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  45. package/src/components/ManageHome/Home/Home.vue +138 -138
  46. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  47. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  48. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  49. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  50. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  51. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  52. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  53. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  54. package/src/components/ManageHome/ManageHome.vue +292 -292
  55. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  56. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  57. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  58. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  59. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  60. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  61. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  62. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  63. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  64. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  65. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  66. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  67. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  68. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  69. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  70. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  71. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  72. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  73. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  74. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  75. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  76. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  77. package/src/components/ManageHome/User/UseHome.vue +155 -155
  78. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  79. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  80. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  81. package/src/components/ManageHome/loading.vue +23 -23
  82. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  83. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  84. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  85. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  86. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  87. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  88. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  89. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  90. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  91. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  92. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  93. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  94. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  95. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  96. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  97. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  98. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  99. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  100. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  101. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  102. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  103. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  104. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  105. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  106. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  107. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  108. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  109. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  110. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  111. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  112. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  113. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  114. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  115. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  116. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  117. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  118. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  119. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  120. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  121. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  122. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  123. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  124. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  125. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  126. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  127. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  128. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  129. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  130. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  131. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  132. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  133. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  134. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  135. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  136. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  137. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  138. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  139. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  140. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  141. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  142. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  143. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  144. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  145. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  146. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  147. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  148. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  149. package/src/components/ManageHomeCS/loading.vue +39 -39
  150. package/src/components/ManageHomeCS/test.vue +88 -88
  151. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  152. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  153. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  154. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  155. package/src/components/MeterManage/HandQuery.vue +72 -72
  156. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  157. package/src/components/MeterManage/MeterList.vue +336 -336
  158. package/src/components/MeterManage/MeterMsg.vue +181 -181
  159. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  160. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  161. package/src/components/MeterManage/TransferQuery.vue +72 -72
  162. package/src/components/SellReport/BankManager.vue +146 -146
  163. package/src/components/SellReport/BonSummary.vue +178 -178
  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/GasBaozhuangFee.vue +237 -237
  175. package/src/components/SellReport/GasCollect.vue +174 -174
  176. package/src/components/SellReport/GaspriceHas.vue +141 -141
  177. package/src/components/SellReport/HandCollect.vue +189 -189
  178. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  179. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  180. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  181. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  182. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  183. package/src/components/SellReport/ManageBusTable.vue +207 -207
  184. package/src/components/SellReport/ManageGasFee.vue +247 -247
  185. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  186. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  187. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  188. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  189. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  190. package/src/components/SellReport/ManageReceivable.vue +254 -254
  191. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  192. package/src/components/SellReport/MeterBill.vue +185 -185
  193. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  194. package/src/components/SellReport/MeterInput.vue +250 -250
  195. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  196. package/src/components/SellReport/NonResidentGas.vue +203 -203
  197. package/src/components/SellReport/OutletTable.vue +258 -258
  198. package/src/components/SellReport/OweAging.vue +174 -174
  199. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  200. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  201. package/src/components/SellReport/ReportHistory.vue +80 -80
  202. package/src/components/SellReport/ReportPool.vue +60 -60
  203. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  204. package/src/components/SellReport/Selling.vue +188 -188
  205. package/src/components/SellReport/SellingTable.vue +220 -220
  206. package/src/components/SellReport/SiteManager.vue +147 -147
  207. package/src/components/SellReport/UserSellingGas.vue +177 -177
  208. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  209. package/src/components/SellReport/UsertypePie.vue +101 -101
  210. package/src/components/SellReport/XianYangDate.vue +227 -227
  211. package/src/components/SellReport/XianYangOperator.vue +228 -228
  212. package/src/components/SellReport/XyDateCharge.vue +227 -227
  213. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  214. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  215. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  216. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  217. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  218. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  219. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  220. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  221. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  222. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  223. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  224. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  225. package/src/components/WebReport/BatteryLow.vue +148 -148
  226. package/src/components/WebReport/BusinessHall.vue +85 -85
  227. package/src/components/WebReport/BussinessType.vue +137 -137
  228. package/src/components/WebReport/Communication.vue +131 -131
  229. package/src/components/WebReport/CompanyUser.vue +79 -79
  230. package/src/components/WebReport/EchartsBox.vue +110 -110
  231. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  232. package/src/components/WebReport/GaspriceHas.vue +141 -141
  233. package/src/components/WebReport/HandplanPrint.vue +167 -167
  234. package/src/components/WebReport/NotUpload.vue +165 -165
  235. package/src/components/WebReport/OweQuery.vue +169 -169
  236. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  237. package/src/components/WebReport/Paymentpie.vue +157 -157
  238. package/src/components/WebReport/ReportWorklist.vue +220 -220
  239. package/src/components/WebReport/SellType.vue +89 -89
  240. package/src/components/WebReport/Telemanlist.vue +221 -221
  241. package/src/components/WebReport/UserGasAll.vue +214 -214
  242. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  243. package/src/components/WebReport/UsertypePie.vue +105 -105
  244. package/src/components/WebReport/ValueEcharts.vue +99 -99
  245. package/src/components/WebReport/ValueInfo.vue +194 -194
  246. package/src/components/daping/GMap.vue +636 -636
  247. package/src/components/qinhua/BarChartLine.vue +288 -288
  248. package/src/components/qinhua/ManageMain.vue +162 -162
  249. package/src/components/qinhua/Ring.vue +165 -165
  250. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  251. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  252. package/src/components/qinhua/Scada.vue +93 -93
  253. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  254. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  255. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  256. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  257. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  258. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  259. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  260. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  261. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  262. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  263. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  264. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  265. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  266. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  267. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  268. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  269. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  270. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  271. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  272. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  273. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  274. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  275. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  276. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  277. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  278. package/src/components/sale/common/PrintData.vue +171 -171
  279. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  280. package/src/components/sale/common/PrintTable.vue +228 -228
  281. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  282. package/src/components/sale/common/TabButton.vue +155 -155
  283. package/src/components/sale/common/Tabs.vue +67 -67
  284. package/src/components/sale/common/handplanUser.vue +112 -112
  285. package/src/components/sale/config/DefaultPrint.js +6 -6
  286. package/src/components/sale/config/exportConfig.js +887 -887
  287. package/src/components/sale/config/tableConfig.js +48 -48
  288. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  289. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  290. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  291. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  292. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  293. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  294. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  295. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  296. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  297. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  298. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  299. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  300. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  301. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  302. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  303. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  304. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  305. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  306. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  307. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  308. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  309. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  310. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  311. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  312. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  313. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  314. package/src/components/sale/report/aode/DayReport.vue +50 -50
  315. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  316. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  317. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  318. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  319. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  320. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  321. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  322. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  323. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  324. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  325. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  326. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  327. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  328. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  329. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  330. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  331. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  332. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  333. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  334. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  335. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  336. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  337. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  338. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  339. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  340. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  341. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  342. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  343. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  344. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  345. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  346. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  347. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  348. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  349. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  350. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  351. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  352. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  353. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  354. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  355. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  356. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  357. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  358. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  359. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  360. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  361. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  362. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  363. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  364. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  365. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  366. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  367. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  368. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  369. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  370. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  371. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  372. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  373. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  374. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  375. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  376. package/src/components/yulin/GuanWang.vue +24 -24
  377. package/src/components/yulin/SingleBarLine.vue +352 -352
  378. package/src/components/yulin/Weather.vue +157 -157
  379. package/src/expandcss.less +26 -26
  380. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  381. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  382. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  383. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  384. package/src/filiale/WEINAN/UserGasAll.vue +579 -0
  385. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  386. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  387. package/src/filiale/WEINAN/reportManage.js +12 -12
  388. package/src/filiale/WEINAN/sale.js +36 -32
  389. package/src/filiale/alashan/reportManage.js +10 -10
  390. package/src/filiale/aode/ArchivesManage.vue +38 -38
  391. package/src/filiale/aode/BusinessManage.vue +94 -94
  392. package/src/filiale/aode/DefaultPrint.js +6 -6
  393. package/src/filiale/aode/HandplanQuery.vue +632 -632
  394. package/src/filiale/aode/Tabs.vue +67 -67
  395. package/src/filiale/aode/UserQuery.vue +599 -599
  396. package/src/filiale/aode/sale.js +17 -17
  397. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  398. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  399. package/src/filiale/ceshi/CollectManage.vue +94 -94
  400. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  401. package/src/filiale/ceshi/TabButton.vue +149 -149
  402. package/src/filiale/ceshi/Tabs.vue +69 -69
  403. package/src/filiale/ceshi/reportManage.js +5 -5
  404. package/src/filiale/ceshi/sale.js +11 -11
  405. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  406. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  407. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  408. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  409. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  410. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  411. package/src/filiale/liaoyuan/sale.js +11 -11
  412. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  413. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  414. package/src/filiale/meihekou/UserQuery.vue +773 -773
  415. package/src/filiale/meihekou/sale.js +26 -26
  416. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  417. package/src/filiale/qingtongxia/sale.js +13 -13
  418. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  419. package/src/filiale/rongchuang/reportManage.js +11 -11
  420. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  421. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  422. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  423. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  424. package/src/filiale/shennongjia/sale.js +10 -10
  425. package/src/main.js +3 -3
  426. package/src/plugins/GetLoginInfoService.js +505 -505
  427. package/src/plugins/LodopFuncs.js +124 -124
  428. package/src/plugins/getAllInputtor.js +29 -29
  429. package/src/safeCheck.js +63 -63
  430. package/src/stores/AppData.js +62 -62
  431. package/src/stores/DataSql.js +585 -585
  432. package/src/stores/DrillECharts.js +602 -602
  433. package/src/stores/DrillSql.js +888 -888
  434. package/src/stores/GetParames.js +15 -15
  435. package/src/stores/MagGetSaleParams.js +156 -156
  436. package/src/stores/MagLoadParams.js +63 -63
  437. package/src/stores/Util.js +132 -132
  438. package/src/stores/shanxi1.js +26 -26
  439. package/src/stores/yulin.js +27 -27
  440. package/src/webmeterManage.js +105 -105
  441. package/static/china.json +1 -1
  442. package/static/qh.json +2410 -2410
  443. package/static/res.json +58411 -58411
  444. package/static/shanxi1.json +1 -1
  445. package/static/wuhai.json +1610 -1610
  446. package/static/yulin.json +1 -1
  447. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  448. package/test/unit/.eslintrc +5 -5
  449. package/test/unit/TestUtil.js +35 -35
  450. package/test/unit/context.html +20 -20
  451. package/test/unit/index.js +13 -13
  452. package/test/unit/init.js +11 -11
  453. package/test/unit/karma.conf.js +45 -45
  454. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  455. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  456. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  457. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  458. package/webstorm.config.js +13 -13
@@ -1,633 +1,633 @@
1
- <template> <!--三种查询统计页面 -->
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">组织机构</label>
11
- <right-tree @re-res="$parent.$parent.getRes"></right-tree>
12
- </div>
13
- <div class="col-sm-2 form-group">
14
- <label for="startDate" class="font_normal_body">开始日期</label>
15
- <datepicker id="startDate" placeholder="抄表开始日期" style="width:60%"
16
- v-model="model.startDate"
17
- :value.sync="model.startDate"
18
- :format="'yyyy-MM-dd HH:mm:ss'"
19
- :show-reset-button="true"
20
- condition="h.f_hand_date >= '{}'">
21
- </datepicker>
22
- </div>
23
- <div class="col-sm-2 form-group">
24
- <label for="endDate" class="font_normal_body">结束日期</label>
25
- <datepicker id="endDate" placeholder="抄表结束日期" style="width:60%"
26
- v-model="model.endDate"
27
- :value.sync="model.endDate"
28
- :format="'yyyy-MM-dd HH:mm:ss'"
29
- :show-reset-button="true"
30
- condition="h.f_hand_date <= '{}'">
31
- </datepicker>
32
-
33
-
34
- </div> <!-- 选择传入统计参数-->
35
- <div class="col-sm-2 form-group">
36
- <label class="font_normal_body">统计类型</label>
37
-
38
- <v-select :value.sync="model.group1"
39
- v-model="model.group1"
40
- :options='$parent.$parent.groups'
41
- @change="$parent.$parent.Statistical_TypeChange()"
42
- close-on-select></v-select>
43
- </div>
44
- <!-- <v-select :value.sync="$parent.$parent.group1" -->
45
- <!-- v-model="$parent.$parent.group1"-->
46
- <!-- placeholder=model.group1-->
47
- <!-- :placeholder='model.group1'-->
48
- <!-- @change="$parent.$parent.leixinChange()"-->
49
- <div class="span" style="float:right;">
50
- <!--<read-idcard></read-idcard>-->
51
- <button class="button_search button_spacing" @click="search()">查询</button>
52
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
53
-
54
- <export-excel :data="$parent.$parent.getCondition"
55
- :field="$parent.$parent.getfield"
56
- :footer="$parent.$parent.footer"
57
- :header="$parent.$parent.other"
58
- sqlurl="rs/logic/exportfile"
59
- sql-name="MeterRateQuery"
60
- template-name='抄表率查询导出'
61
- :choose-col="true"></export-excel>
62
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
63
-
64
- </div>
65
- </div>
66
- <div class="row" v-show="$parent.$parent.criteriaShow">
67
-
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">小区名称</label>
70
- <v-select :value.sync="model.f_residential_area"
71
- class="select_list select"
72
- enter-push
73
- multiple = "true"
74
- v-model="model.f_residential_area"
75
- style="width: 60%"
76
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
77
- close-on-select>
78
-
79
- </v-select>
80
- </div>
81
- <div class="col-sm-2 form-group">
82
- <label class="font_normal_body">客户类型</label>
83
- <v-select :value.sync="model.f_user_type"
84
- @change="$parent.$parent.userTypeChange()"
85
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
86
- condition="uf.f_user_type = '{}'"
87
- close-on-select></v-select>
88
- </div>
89
- <div class="col-sm-2 form-group">
90
- <label class="font_normal_body">用气性质</label>
91
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
92
- :options='$parent.$parent.gasproperties' placeholder='请选择'
93
- condition="uf.f_gasproperties = '{}'"
94
- close-on-select></v-select>
95
- </div>
96
- <!--<div class="col-sm-2 form-group">-->
97
- <!--<label class="font_normal_body">抄&ensp;表&ensp;员</label>-->
98
- <!--<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'-->
99
- <!--style="width:60%"-->
100
- <!--multiple="true"-->
101
- <!--:options='$parent.$parent.inputtores' placeholder='抄表员'-->
102
- <!--close-on-select-->
103
- <!--v-el:cc></v-select>-->
104
- <!--</div>-->
105
- <div class="col-sm-2 form-group">
106
- <label class="font_normal_body">抄&ensp;表&ensp;员</label>
107
- <v-select :value.sync="model.f_inputtor"
108
- v-model="model.f_inputtor"
109
- :options='$parent.$parent.inputtor' placeholder='请选择'
110
- multiple = "true"
111
- close-on-select></v-select>
112
- </div>
113
- <!--<div class="col-sm-2 form-group">-->
114
- <!--<label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
115
- <!--<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
116
- <!--:options='$parent.$parent.meterbooks' placeholder='抄表册'-->
117
- <!--style="width:60%"-->
118
- <!--close-on-select-->
119
- <!--condition="uf.f_meter_book_num = '{}'"></v-select>-->
120
- <!--</div>-->
121
- <!--<div class="col-sm-2 form-group">-->
122
- <!--<label class="font_normal_body">气价类型</label>-->
123
- <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
124
- <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
125
- <!--close-on-select v-ref:type>-->
126
- <!--</v-select>-->
127
- <!--</div>-->
128
- <!--<div class="col-sm-2 form-group">-->
129
- <!--<label class="font_normal_body">气价名称</label>-->
130
- <!--<v-select :value.sync="model.f_price_name"-->
131
- <!--v-model="model.f_price_name"-->
132
- <!--:options="$parent.$parent.getPricenames"-->
133
- <!--condition="f_price_name = '{}'"-->
134
- <!--close-on-select></v-select>-->
135
- <!--</div>-->
136
-
137
- <!--<div class="col-sm-2 form-group">-->
138
- <!--<label class="font_normal_body">气表类型</label>-->
139
- <!--<v-select :value.sync="model.f_meter_type" multiple-->
140
- <!--:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"-->
141
- <!--condition="f_meter_type in {}"-->
142
- <!--close-on-select></v-select>-->
143
- <!--</div>-->
144
- <!--<div class="col-sm-2 form-group">-->
145
- <!--<label class="font_normal_body">气表品牌</label>-->
146
- <!--<v-select :value.sync="model.f_meter_brand" multiple-->
147
- <!--v-model="model.f_meter_brand"-->
148
- <!--:options='$parent.$parent.meterbrands' placeholder='请选择'-->
149
- <!--condition="f_meter_brand in {}"-->
150
- <!--close-on-select></v-select>-->
151
- <!--</div>-->
152
- </div>
153
- </div>
154
- </criteria>
155
-
156
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
157
- <template partial='head'>
158
- <tr>
159
-
160
- <th>
161
- <!-- <nobr>统计类型</nobr>-->
162
- <div v-if="model.model.group1[0]==='f_inputtor'">
163
- <nobr >抄表员</nobr>
164
- </div>
165
- <div v-if="model.model.group1[0]==='f_meter_book_num'">
166
- <nobr >抄表册</nobr>
167
- </div>
168
- <div v-if="model.model.group1[0]==='f_gasproperties'">
169
- <nobr >用气类型</nobr>
170
- </div>
171
-
172
- </th>
173
-
174
-
175
-
176
- <th>
177
- <nobr>应抄户数</nobr>
178
- </th>
179
- <th>
180
- <nobr>未抄户数</nobr>
181
- </th>
182
- <th>
183
- <nobr>已抄无用量</nobr>
184
- </th>
185
- <th>
186
- <nobr>实抄户数</nobr>
187
- </th>
188
- <th>
189
- <nobr>抄表率</nobr>
190
- </th>
191
- <th>
192
- <nobr>期间抄表气量</nobr>
193
- </th>
194
- <th>
195
- <nobr>期间抄表金额</nobr>
196
- </th>
197
- <th>
198
- <nobr>期间实收气费金额</nobr>
199
- </th>
200
- <th>
201
- <nobr>已收户数</nobr>
202
- </th>
203
- <th>
204
- <nobr>收费率</nobr>
205
- </th>
206
- </tr>
207
- </template>
208
- <template partial='body'>
209
- <!-- <td style="text-align: center;" v-if="model.group1=='f_inputtor'">-->
210
- <!-- <nobr >{{row.f_inputtor}}</nobr>-->
211
- <!-- </td>-->
212
-
213
- <td style="text-align: center;" >
214
-
215
- <div v-if="model.group1[0]='f_inputtor'">
216
- <nobr >{{row.f_inputtor}}</nobr>
217
- </div>
218
- <div v-if="model.group1[0]='f_gasproperties'">
219
- <nobr >{{row.f_gasproperties}}</nobr>
220
- </div>
221
- <div v-if="model.group1[0]='f_meter_book_num'">
222
- <nobr >{{row.f_meter_book_num}}</nobr>
223
- </div>
224
- </td>
225
-
226
-
227
- <td style="text-align: center;">
228
- <nobr>{{row.f_user_number}}</nobr>
229
- </td>
230
- <td style="text-align: center;">
231
- <nobr>{{row.f_no_hand}}</nobr>
232
- </td>
233
- <td style="text-align: center;">
234
- <nobr>{{row.f_out_hand}}</nobr>
235
- </td>
236
- <td style="text-align: center;">
237
- <nobr>{{row.f_hand_num}}</nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <nobr>{{row.f_hand_lv}}</nobr>
241
- </td>
242
- <td style="text-align: center;">
243
- <nobr>{{row.f_oughtamount}}</nobr>
244
- </td>
245
- <td style="text-align: center;">
246
- <nobr>{{row.f_oughtfee}}</nobr>
247
- </td>
248
- <td style="text-align: center;">
249
- <nobr>{{row.f_debt_money}}</nobr>
250
- </td>
251
- <td style="text-align: center;">
252
- <nobr>{{row.f_sell_hand}}</nobr>
253
- </td>
254
- <td style="text-align: center;">
255
- <nobr>{{row.f_sell_lv}}</nobr>
256
- </td>
257
- </template>
258
- <template partial='foot'></template>
259
- </data-grid>
260
- </criteria-paged>
261
- <table class="table-hover">
262
- <tr style="position: relative" class="table-bordered">
263
- <td
264
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
265
- 汇总信息
266
- </td>
267
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
268
- 应抄户数合计:&emsp;{{sumsmodel.f_user_number}}
269
- </td>
270
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
271
- 未抄户数合计:&emsp;{{sumsmodel.f_no_hand}}
272
- </td>
273
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
274
- 已抄无用量合计:&emsp;{{sumsmodel.f_out_hand}}
275
- </td>
276
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
277
- 实抄户数合计:&emsp;{{sumsmodel.f_hand_num}}
278
- </td>
279
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
280
- 期间抄表气量合计:&emsp;{{sumsmodel.f_oughtamount}}
281
- </td>
282
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
283
- 期间抄表金额合计:&emsp;{{sumsmodel.f_oughtfee}}
284
- </td>
285
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
286
- 期间实收气费金额合计:&emsp;{{sumsmodel.f_debt_money}}
287
- </td>
288
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
289
- 已收户数合计:&emsp;{{sumsmodel.f_sell_hand}}
290
- </td>
291
- </tr>
292
- </table>
293
- </div>
294
- <!--<div v-if="show">-->
295
- <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
296
- <!--</div>-->
297
- </div>
298
- </div>
299
- </template>
300
-
301
- <script>
302
- import {HttpResetClass, PagedList} from 'vue-client'
303
- import exportConfig from './exportConfig'
304
-
305
- let readySomething = async function (self) {
306
- //group1必须使用数组传入
307
- self.$refs.paged.$refs.cri.model.group1=['f_inputtor']
308
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
309
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
310
- // self.$refs.paged.$refs.cri.search()
311
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
312
- await self.$MagLoadParams.loadParam()
313
- self.initParams()
314
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
315
- }
316
- export default {
317
- data() {
318
- return {
319
-
320
- config: {
321
- defaultPrint: []
322
- },
323
- //group1:['f_inputtor'],
324
- groups:[{label:'抄表员',value:'f_inputtor'},{label:'用气性质',value:'f_gasproperties'},{label:'抄表册',value:'f_meter_book_num'}],
325
- other: [],
326
- footer: [],
327
- //f_price_name:[],
328
- gasproperties:[],
329
- showinfo: false,
330
- data: {},
331
- show:false,
332
- rowdata:{},
333
- initres: {
334
- org:[this.$login.f.orgid],
335
- dep:[],
336
- user:[]
337
- },
338
- //在此传参数到后台服务
339
- //抄表员字段 f_inputtor
340
- //用气属性 f_gasproperties
341
- //抄表册字段 f_meter_book_num
342
- model: new PagedList('rs/sql/MeterRateQuery', 20,{
343
- grouping:'this.model.group1[0]'
344
- }, {
345
- f_user_number: 0,
346
- f_no_hand: 0,
347
- f_out_hand: 0,
348
- f_hand_num :0,
349
- f_oughtamount: 0,
350
- f_oughtfee: 0,
351
- f_debt_money:0,
352
- f_sell_hand:0
353
- }),
354
- criteriaShow: false,
355
- orgCondtionStr: '',
356
-
357
- bbb:'',
358
- // 下拉框
359
- meterbrands: [],
360
- meterbooks:[{label: '全部',value: ''}],
361
- pricenames: [],
362
- prices: [],
363
- area: [],
364
- //合计数据
365
- defaultfield: [],
366
- //小区
367
- residentialArea: [],
368
- sumsmodel: {},
369
- inputtouPerson: [],
370
- inputtores2: [], // 下发时使用自定义抄表员,
371
- f_filialeid: this.$login.f.f_orgid,
372
- f_orgid: this.$login.f.orgid,
373
- f_depid: this.$login.f.depids,
374
- f_operatorid: this.$login.f.id
375
- }
376
- },
377
- ready() {
378
- this.getaddress()
379
-
380
- readySomething(this).then(() => {
381
- this.$emit('ready')
382
- }).catch((error) => {
383
- this.$emit('error', error)
384
- })
385
- },
386
- methods: {
387
- getotherfooter() {
388
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
389
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
390
- this.other = [];
391
- this.footer = [];
392
- // let exportdata = this.getCondition;
393
- let otherInData = [];
394
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
395
- let footerData = [], exportfield = this.getfield;
396
- footerData.push("合计");
397
- let self = this;
398
- for (var field in self.sumsmodel) {
399
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
400
- }
401
- this.footer.push(footerData);
402
- this.other.push(otherInData);
403
- },
404
- async getaddress(){
405
- // await self.$LoadParams.loadMeterBook(self.f_filialeid)
406
- // self.loadMeterBooks()
407
- let HttpReset = new HttpResetClass()
408
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
409
- data: {
410
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
411
- }
412
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
413
- let house = [{label: '全部', value: ''}]
414
- for (let row of data.data){
415
- house.push({label: row.f_residential_area, value: row.f_residential_area})
416
- }
417
- this.residentialArea = house
418
- },
419
-
420
-
421
-
422
-
423
- //把数据库查询数据转换为下拉数据
424
- calculate(rows){
425
- let data = []
426
- rows.forEach((row, n) => {
427
- data[n] = {label: row.f_residential_area, value: row.id}
428
- })
429
- return data
430
- },
431
-
432
- search(){
433
- this.$refs.paged.$refs.cri.search()
434
- },
435
- cancel() {
436
- this.show = false
437
- },
438
- showmsg(obj){
439
- this.rowdata=obj
440
- this.show=true
441
- },
442
- userTypeChange () {
443
- this.gasproperties=[]
444
- if(this.$refs.paged.model.model !==null) {
445
- this.$refs.paged.model.model.f_gasproperties=''
446
-
447
- console.log(this.$refs.paged.model.model.f_user_type[0])
448
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
449
- // this.gasproperties.push({label: '全部', value: ''})
450
- }
451
- else{
452
- this.gasproperties =[{label: '全部', value: ''}]
453
- }
454
- },
455
- //Statistical_TypeChange ()根据选择的统计类型改变统计分组条件,只改变,不传递。
456
- Statistical_TypeChange () {
457
- this.model.group1=''
458
- //console.log("44444444444444444444444444444444")
459
- this.group1 = this.$refs.paged.$refs.cri.model.group1
460
- //console.log("44444444444444444444444444444444")
461
- // document.getElementById("Statistical_type").innerHTML="<nobr>{{row."+this.group1+"}}</nobr>"
462
- //console.log(getElementById("Statistical_type").value)
463
- // this.gasproperties.push({label: '全部', value: ''})
464
- console.log("555555555555555555555")
465
- console.log(this.group1)
466
- console.log("666666666666666666666")
467
- console.log(this.$refs.paged.$refs.cri.model.group1)
468
- },
469
-
470
- initParams() {
471
- // 初始化气表品牌
472
- let brandArr = []
473
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
474
- let temp = {}
475
- temp.label = item.label
476
- temp.value = item.value.f_meter_brand
477
- brandArr.push(temp)
478
- })
479
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
480
- //初始化气表价格
481
- this.prices = this.$MagGetSaleParam.getPrices();
482
- },
483
- selfSearch(args) {
484
- //抄表员查询条件
485
- console.log("1111111111111111111")
486
- this.inputtouPerson =this.$refs.paged.$refs.cri.model.f_inputtor
487
- if(this.inputtouPerson.length !== 0){
488
- let str = JSON.stringify(this.inputtouPerson)
489
- str = str.replace(/"/g,`'`)
490
- str = str.replace(/\[/g,``)
491
- str = str.replace(/\]/g,``)
492
- //查询多个抄表员时条件
493
- args.condition += ` and h.f_inputtor in ( ${str} )`
494
- }
495
-
496
- console.log("2222222222222222222")
497
- //小区查询条件
498
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
499
- if(this.area.length !== 0){
500
- let str = JSON.stringify(this.area)
501
- str = str.replace(/"/g,`'`)
502
- str = str.replace(/\[/g,``)
503
- str = str.replace(/\]/g,``)
504
- //查询多个小区时条件
505
- args.condition += ` and ua.f_residential_area in ( ${str} )`
506
- }
507
- console.log("33333333333333333333")
508
- let f_orgstr = this.orgCondtionStr + 'and uf.f_orgid = ' + this.f_orgid
509
- args.condition = `${args.condition} ` + f_orgstr
510
- console.log("==========================")
511
- //console.log(this.$refs.paged.$refs.cri.model.group1)
512
- //console.log(this.group1)
513
- //this.model.paramSource = {group: `${this.group1[0]}`}
514
- this.model.search(args.condition, args.model)
515
- console.log("3333333333333")
516
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
517
- },
518
- clear() {
519
- //清空部门和人员
520
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
521
- //部门和人员变为全选
522
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
523
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
524
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
525
- this.$refs.paged.$refs.cri.model[key] = []
526
- })
527
-
528
- },
529
- // loadMeterBooks(){
530
- // this.meterbooks = [...this.meterbooks, ...this.$GetSaleParam.getMeterBooks()]
531
- // },
532
- dealmsg(val) {
533
- val.model = this.model.model
534
- this.$dispatch('deal-msg', val)
535
- },
536
- show() {
537
- this.criteriaShow = true
538
- },
539
- hidden() {
540
- this.criteriaShow = !this.criteriaShow
541
- },
542
- getRes (obj) {
543
- this.orgname = obj.res[0]
544
- this.depresid = obj.resids
545
- this.f_orgid = obj.resids
546
- },
547
- async updateParams() {
548
- await this.$MagLoadParams.loadParam(this.f_filialeid)
549
- this.initParams()
550
- }
551
-
552
- },
553
- events:{
554
- 'getidcard'(IdCard){
555
- // console.log(param)
556
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
557
- }
558
- },
559
- watch: {
560
- 'model'(val) {
561
- },
562
- 'orgCondtionStr'(val) {
563
- let res = val.match(/'(.*?)'/)
564
- console.log('正则提取:',res && res[1])
565
- if (res) {
566
- this.f_filialeid = res[1]
567
- this.updateParams()
568
- }
569
- },
570
- sumsmodel: {
571
- handler: function (val) {
572
- this.getotherfooter();
573
- },
574
- deep: true
575
- }
576
- },
577
- computed: {
578
- getPricenames() {
579
- let f_user_type = this.$refs.paged.model.model.f_user_type;
580
- let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
581
- let pricetype = this.$refs.paged.model.model.pricetype;
582
- if(this.$refs.paged.model.model !==null) {
583
- let rs = []
584
- let priceArr = []
585
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
586
- let params = {
587
- f_user_type: f_user_type[0],
588
- f_gasproperties: f_gasproperties[0],
589
- f_price_type: pricetype[0],
590
- filter: this.f_filialeid,
591
- prices: this.prices
592
- }
593
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
594
- let temp = {}
595
- temp.label = item.label
596
- temp.value = item.value.f_price_name
597
- priceArr.push(temp)
598
- })
599
- rs = [{label: '全部', value: ''}, ...priceArr]
600
- }
601
- if (rs.length === 0) {
602
- this.$refs.paged.model.model.f_price_name = ''
603
- }
604
- return rs
605
- }
606
- },
607
- //,grouping: 'this.model.group1[0]'
608
- getCondition() {
609
- return {condition: `${this.$refs.paged.$refs.cri.condition}`,grouping: `${this.$refs.paged.$refs.cri.model.group1[0]}` + this.orgCondtionStr}
610
- },
611
- inputtor() {
612
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
613
- },
614
- getfield() {
615
- if (this.$refs.paged.$refs.cri.model.group1[0]==='f_inputtor') {
616
- return exportConfig.f_inputtorConfig
617
- }
618
- else if (this.$refs.paged.$refs.cri.model.group1[0]==='f_gasproperties') {
619
- return exportConfig.handGasPropertiesConfig
620
- }
621
- else if (this.$refs.paged.$refs.cri.model.group1[0]==='f_meter_book_num') {
622
- return exportConfig.f_meter_book_numConfig
623
- }
624
- },
625
- pricetypes() {
626
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
627
- },
628
- usertypes() {
629
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
630
- }
631
- }
632
- }
633
- </script>
1
+ <template> <!--三种查询统计页面 -->
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
12
+ </div>
13
+ <div class="col-sm-2 form-group">
14
+ <label for="startDate" class="font_normal_body">开始日期</label>
15
+ <datepicker id="startDate" placeholder="抄表开始日期" style="width:60%"
16
+ v-model="model.startDate"
17
+ :value.sync="model.startDate"
18
+ :format="'yyyy-MM-dd HH:mm:ss'"
19
+ :show-reset-button="true"
20
+ condition="h.f_hand_date >= '{}'">
21
+ </datepicker>
22
+ </div>
23
+ <div class="col-sm-2 form-group">
24
+ <label for="endDate" class="font_normal_body">结束日期</label>
25
+ <datepicker id="endDate" placeholder="抄表结束日期" style="width:60%"
26
+ v-model="model.endDate"
27
+ :value.sync="model.endDate"
28
+ :format="'yyyy-MM-dd HH:mm:ss'"
29
+ :show-reset-button="true"
30
+ condition="h.f_hand_date <= '{}'">
31
+ </datepicker>
32
+
33
+
34
+ </div> <!-- 选择传入统计参数-->
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">统计类型</label>
37
+
38
+ <v-select :value.sync="model.group1"
39
+ v-model="model.group1"
40
+ :options='$parent.$parent.groups'
41
+ @change="$parent.$parent.Statistical_TypeChange()"
42
+ close-on-select></v-select>
43
+ </div>
44
+ <!-- <v-select :value.sync="$parent.$parent.group1" -->
45
+ <!-- v-model="$parent.$parent.group1"-->
46
+ <!-- placeholder=model.group1-->
47
+ <!-- :placeholder='model.group1'-->
48
+ <!-- @change="$parent.$parent.leixinChange()"-->
49
+ <div class="span" style="float:right;">
50
+ <!--<read-idcard></read-idcard>-->
51
+ <button class="button_search button_spacing" @click="search()">查询</button>
52
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
53
+
54
+ <export-excel :data="$parent.$parent.getCondition"
55
+ :field="$parent.$parent.getfield"
56
+ :footer="$parent.$parent.footer"
57
+ :header="$parent.$parent.other"
58
+ sqlurl="rs/logic/exportfile"
59
+ sql-name="MeterRateQuery"
60
+ template-name='抄表率查询导出'
61
+ :choose-col="true"></export-excel>
62
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
63
+
64
+ </div>
65
+ </div>
66
+ <div class="row" v-show="$parent.$parent.criteriaShow">
67
+
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">小区名称</label>
70
+ <v-select :value.sync="model.f_residential_area"
71
+ class="select_list select"
72
+ enter-push
73
+ multiple = "true"
74
+ v-model="model.f_residential_area"
75
+ style="width: 60%"
76
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
77
+ close-on-select>
78
+
79
+ </v-select>
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">客户类型</label>
83
+ <v-select :value.sync="model.f_user_type"
84
+ @change="$parent.$parent.userTypeChange()"
85
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
86
+ condition="uf.f_user_type = '{}'"
87
+ close-on-select></v-select>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">用气性质</label>
91
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
92
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
93
+ condition="uf.f_gasproperties = '{}'"
94
+ close-on-select></v-select>
95
+ </div>
96
+ <!--<div class="col-sm-2 form-group">-->
97
+ <!--<label class="font_normal_body">抄&ensp;表&ensp;员</label>-->
98
+ <!--<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'-->
99
+ <!--style="width:60%"-->
100
+ <!--multiple="true"-->
101
+ <!--:options='$parent.$parent.inputtores' placeholder='抄表员'-->
102
+ <!--close-on-select-->
103
+ <!--v-el:cc></v-select>-->
104
+ <!--</div>-->
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">抄&ensp;表&ensp;员</label>
107
+ <v-select :value.sync="model.f_inputtor"
108
+ v-model="model.f_inputtor"
109
+ :options='$parent.$parent.inputtor' placeholder='请选择'
110
+ multiple = "true"
111
+ close-on-select></v-select>
112
+ </div>
113
+ <!--<div class="col-sm-2 form-group">-->
114
+ <!--<label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
115
+ <!--<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
116
+ <!--:options='$parent.$parent.meterbooks' placeholder='抄表册'-->
117
+ <!--style="width:60%"-->
118
+ <!--close-on-select-->
119
+ <!--condition="uf.f_meter_book_num = '{}'"></v-select>-->
120
+ <!--</div>-->
121
+ <!--<div class="col-sm-2 form-group">-->
122
+ <!--<label class="font_normal_body">气价类型</label>-->
123
+ <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
124
+ <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
125
+ <!--close-on-select v-ref:type>-->
126
+ <!--</v-select>-->
127
+ <!--</div>-->
128
+ <!--<div class="col-sm-2 form-group">-->
129
+ <!--<label class="font_normal_body">气价名称</label>-->
130
+ <!--<v-select :value.sync="model.f_price_name"-->
131
+ <!--v-model="model.f_price_name"-->
132
+ <!--:options="$parent.$parent.getPricenames"-->
133
+ <!--condition="f_price_name = '{}'"-->
134
+ <!--close-on-select></v-select>-->
135
+ <!--</div>-->
136
+
137
+ <!--<div class="col-sm-2 form-group">-->
138
+ <!--<label class="font_normal_body">气表类型</label>-->
139
+ <!--<v-select :value.sync="model.f_meter_type" multiple-->
140
+ <!--:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"-->
141
+ <!--condition="f_meter_type in {}"-->
142
+ <!--close-on-select></v-select>-->
143
+ <!--</div>-->
144
+ <!--<div class="col-sm-2 form-group">-->
145
+ <!--<label class="font_normal_body">气表品牌</label>-->
146
+ <!--<v-select :value.sync="model.f_meter_brand" multiple-->
147
+ <!--v-model="model.f_meter_brand"-->
148
+ <!--:options='$parent.$parent.meterbrands' placeholder='请选择'-->
149
+ <!--condition="f_meter_brand in {}"-->
150
+ <!--close-on-select></v-select>-->
151
+ <!--</div>-->
152
+ </div>
153
+ </div>
154
+ </criteria>
155
+
156
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
157
+ <template partial='head'>
158
+ <tr>
159
+
160
+ <th>
161
+ <!-- <nobr>统计类型</nobr>-->
162
+ <div v-if="model.model.group1[0]==='f_inputtor'">
163
+ <nobr >抄表员</nobr>
164
+ </div>
165
+ <div v-if="model.model.group1[0]==='f_meter_book_num'">
166
+ <nobr >抄表册</nobr>
167
+ </div>
168
+ <div v-if="model.model.group1[0]==='f_gasproperties'">
169
+ <nobr >用气类型</nobr>
170
+ </div>
171
+
172
+ </th>
173
+
174
+
175
+
176
+ <th>
177
+ <nobr>应抄户数</nobr>
178
+ </th>
179
+ <th>
180
+ <nobr>未抄户数</nobr>
181
+ </th>
182
+ <th>
183
+ <nobr>已抄无用量</nobr>
184
+ </th>
185
+ <th>
186
+ <nobr>实抄户数</nobr>
187
+ </th>
188
+ <th>
189
+ <nobr>抄表率</nobr>
190
+ </th>
191
+ <th>
192
+ <nobr>期间抄表气量</nobr>
193
+ </th>
194
+ <th>
195
+ <nobr>期间抄表金额</nobr>
196
+ </th>
197
+ <th>
198
+ <nobr>期间实收气费金额</nobr>
199
+ </th>
200
+ <th>
201
+ <nobr>已收户数</nobr>
202
+ </th>
203
+ <th>
204
+ <nobr>收费率</nobr>
205
+ </th>
206
+ </tr>
207
+ </template>
208
+ <template partial='body'>
209
+ <!-- <td style="text-align: center;" v-if="model.group1=='f_inputtor'">-->
210
+ <!-- <nobr >{{row.f_inputtor}}</nobr>-->
211
+ <!-- </td>-->
212
+
213
+ <td style="text-align: center;" >
214
+
215
+ <div v-if="model.group1[0]='f_inputtor'">
216
+ <nobr >{{row.f_inputtor}}</nobr>
217
+ </div>
218
+ <div v-if="model.group1[0]='f_gasproperties'">
219
+ <nobr >{{row.f_gasproperties}}</nobr>
220
+ </div>
221
+ <div v-if="model.group1[0]='f_meter_book_num'">
222
+ <nobr >{{row.f_meter_book_num}}</nobr>
223
+ </div>
224
+ </td>
225
+
226
+
227
+ <td style="text-align: center;">
228
+ <nobr>{{row.f_user_number}}</nobr>
229
+ </td>
230
+ <td style="text-align: center;">
231
+ <nobr>{{row.f_no_hand}}</nobr>
232
+ </td>
233
+ <td style="text-align: center;">
234
+ <nobr>{{row.f_out_hand}}</nobr>
235
+ </td>
236
+ <td style="text-align: center;">
237
+ <nobr>{{row.f_hand_num}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr>{{row.f_hand_lv}}</nobr>
241
+ </td>
242
+ <td style="text-align: center;">
243
+ <nobr>{{row.f_oughtamount}}</nobr>
244
+ </td>
245
+ <td style="text-align: center;">
246
+ <nobr>{{row.f_oughtfee}}</nobr>
247
+ </td>
248
+ <td style="text-align: center;">
249
+ <nobr>{{row.f_debt_money}}</nobr>
250
+ </td>
251
+ <td style="text-align: center;">
252
+ <nobr>{{row.f_sell_hand}}</nobr>
253
+ </td>
254
+ <td style="text-align: center;">
255
+ <nobr>{{row.f_sell_lv}}</nobr>
256
+ </td>
257
+ </template>
258
+ <template partial='foot'></template>
259
+ </data-grid>
260
+ </criteria-paged>
261
+ <table class="table-hover">
262
+ <tr style="position: relative" class="table-bordered">
263
+ <td
264
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
265
+ 汇总信息
266
+ </td>
267
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
268
+ 应抄户数合计:&emsp;{{sumsmodel.f_user_number}}
269
+ </td>
270
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
271
+ 未抄户数合计:&emsp;{{sumsmodel.f_no_hand}}
272
+ </td>
273
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
274
+ 已抄无用量合计:&emsp;{{sumsmodel.f_out_hand}}
275
+ </td>
276
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
277
+ 实抄户数合计:&emsp;{{sumsmodel.f_hand_num}}
278
+ </td>
279
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
280
+ 期间抄表气量合计:&emsp;{{sumsmodel.f_oughtamount}}
281
+ </td>
282
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
283
+ 期间抄表金额合计:&emsp;{{sumsmodel.f_oughtfee}}
284
+ </td>
285
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
286
+ 期间实收气费金额合计:&emsp;{{sumsmodel.f_debt_money}}
287
+ </td>
288
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
289
+ 已收户数合计:&emsp;{{sumsmodel.f_sell_hand}}
290
+ </td>
291
+ </tr>
292
+ </table>
293
+ </div>
294
+ <!--<div v-if="show">-->
295
+ <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
296
+ <!--</div>-->
297
+ </div>
298
+ </div>
299
+ </template>
300
+
301
+ <script>
302
+ import {HttpResetClass, PagedList} from 'vue-client'
303
+ import exportConfig from './exportConfig'
304
+
305
+ let readySomething = async function (self) {
306
+ //group1必须使用数组传入
307
+ self.$refs.paged.$refs.cri.model.group1=['f_inputtor']
308
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
309
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
310
+ // self.$refs.paged.$refs.cri.search()
311
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
312
+ await self.$MagLoadParams.loadParam()
313
+ self.initParams()
314
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
315
+ }
316
+ export default {
317
+ data() {
318
+ return {
319
+
320
+ config: {
321
+ defaultPrint: []
322
+ },
323
+ //group1:['f_inputtor'],
324
+ groups:[{label:'抄表员',value:'f_inputtor'},{label:'用气性质',value:'f_gasproperties'},{label:'抄表册',value:'f_meter_book_num'}],
325
+ other: [],
326
+ footer: [],
327
+ //f_price_name:[],
328
+ gasproperties:[],
329
+ showinfo: false,
330
+ data: {},
331
+ show:false,
332
+ rowdata:{},
333
+ initres: {
334
+ org:[this.$login.f.orgid],
335
+ dep:[],
336
+ user:[]
337
+ },
338
+ //在此传参数到后台服务
339
+ //抄表员字段 f_inputtor
340
+ //用气属性 f_gasproperties
341
+ //抄表册字段 f_meter_book_num
342
+ model: new PagedList('rs/sql/MeterRateQuery', 20,{
343
+ grouping:'this.model.group1[0]'
344
+ }, {
345
+ f_user_number: 0,
346
+ f_no_hand: 0,
347
+ f_out_hand: 0,
348
+ f_hand_num :0,
349
+ f_oughtamount: 0,
350
+ f_oughtfee: 0,
351
+ f_debt_money:0,
352
+ f_sell_hand:0
353
+ }),
354
+ criteriaShow: false,
355
+ orgCondtionStr: '',
356
+
357
+ bbb:'',
358
+ // 下拉框
359
+ meterbrands: [],
360
+ meterbooks:[{label: '全部',value: ''}],
361
+ pricenames: [],
362
+ prices: [],
363
+ area: [],
364
+ //合计数据
365
+ defaultfield: [],
366
+ //小区
367
+ residentialArea: [],
368
+ sumsmodel: {},
369
+ inputtouPerson: [],
370
+ inputtores2: [], // 下发时使用自定义抄表员,
371
+ f_filialeid: this.$login.f.f_orgid,
372
+ f_orgid: this.$login.f.orgid,
373
+ f_depid: this.$login.f.depids,
374
+ f_operatorid: this.$login.f.id
375
+ }
376
+ },
377
+ ready() {
378
+ this.getaddress()
379
+
380
+ readySomething(this).then(() => {
381
+ this.$emit('ready')
382
+ }).catch((error) => {
383
+ this.$emit('error', error)
384
+ })
385
+ },
386
+ methods: {
387
+ getotherfooter() {
388
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
389
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
390
+ this.other = [];
391
+ this.footer = [];
392
+ // let exportdata = this.getCondition;
393
+ let otherInData = [];
394
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
395
+ let footerData = [], exportfield = this.getfield;
396
+ footerData.push("合计");
397
+ let self = this;
398
+ for (var field in self.sumsmodel) {
399
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
400
+ }
401
+ this.footer.push(footerData);
402
+ this.other.push(otherInData);
403
+ },
404
+ async getaddress(){
405
+ // await self.$LoadParams.loadMeterBook(self.f_filialeid)
406
+ // self.loadMeterBooks()
407
+ let HttpReset = new HttpResetClass()
408
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
409
+ data: {
410
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
411
+ }
412
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
413
+ let house = [{label: '全部', value: ''}]
414
+ for (let row of data.data){
415
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
416
+ }
417
+ this.residentialArea = house
418
+ },
419
+
420
+
421
+
422
+
423
+ //把数据库查询数据转换为下拉数据
424
+ calculate(rows){
425
+ let data = []
426
+ rows.forEach((row, n) => {
427
+ data[n] = {label: row.f_residential_area, value: row.id}
428
+ })
429
+ return data
430
+ },
431
+
432
+ search(){
433
+ this.$refs.paged.$refs.cri.search()
434
+ },
435
+ cancel() {
436
+ this.show = false
437
+ },
438
+ showmsg(obj){
439
+ this.rowdata=obj
440
+ this.show=true
441
+ },
442
+ userTypeChange () {
443
+ this.gasproperties=[]
444
+ if(this.$refs.paged.model.model !==null) {
445
+ this.$refs.paged.model.model.f_gasproperties=''
446
+
447
+ console.log(this.$refs.paged.model.model.f_user_type[0])
448
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
449
+ // this.gasproperties.push({label: '全部', value: ''})
450
+ }
451
+ else{
452
+ this.gasproperties =[{label: '全部', value: ''}]
453
+ }
454
+ },
455
+ //Statistical_TypeChange ()根据选择的统计类型改变统计分组条件,只改变,不传递。
456
+ Statistical_TypeChange () {
457
+ this.model.group1=''
458
+ //console.log("44444444444444444444444444444444")
459
+ this.group1 = this.$refs.paged.$refs.cri.model.group1
460
+ //console.log("44444444444444444444444444444444")
461
+ // document.getElementById("Statistical_type").innerHTML="<nobr>{{row."+this.group1+"}}</nobr>"
462
+ //console.log(getElementById("Statistical_type").value)
463
+ // this.gasproperties.push({label: '全部', value: ''})
464
+ console.log("555555555555555555555")
465
+ console.log(this.group1)
466
+ console.log("666666666666666666666")
467
+ console.log(this.$refs.paged.$refs.cri.model.group1)
468
+ },
469
+
470
+ initParams() {
471
+ // 初始化气表品牌
472
+ let brandArr = []
473
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
474
+ let temp = {}
475
+ temp.label = item.label
476
+ temp.value = item.value.f_meter_brand
477
+ brandArr.push(temp)
478
+ })
479
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
480
+ //初始化气表价格
481
+ this.prices = this.$MagGetSaleParam.getPrices();
482
+ },
483
+ selfSearch(args) {
484
+ //抄表员查询条件
485
+ console.log("1111111111111111111")
486
+ this.inputtouPerson =this.$refs.paged.$refs.cri.model.f_inputtor
487
+ if(this.inputtouPerson.length !== 0){
488
+ let str = JSON.stringify(this.inputtouPerson)
489
+ str = str.replace(/"/g,`'`)
490
+ str = str.replace(/\[/g,``)
491
+ str = str.replace(/\]/g,``)
492
+ //查询多个抄表员时条件
493
+ args.condition += ` and h.f_inputtor in ( ${str} )`
494
+ }
495
+
496
+ console.log("2222222222222222222")
497
+ //小区查询条件
498
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
499
+ if(this.area.length !== 0){
500
+ let str = JSON.stringify(this.area)
501
+ str = str.replace(/"/g,`'`)
502
+ str = str.replace(/\[/g,``)
503
+ str = str.replace(/\]/g,``)
504
+ //查询多个小区时条件
505
+ args.condition += ` and ua.f_residential_area in ( ${str} )`
506
+ }
507
+ console.log("33333333333333333333")
508
+ let f_orgstr = this.orgCondtionStr + 'and uf.f_orgid = ' + this.f_orgid
509
+ args.condition = `${args.condition} ` + f_orgstr
510
+ console.log("==========================")
511
+ //console.log(this.$refs.paged.$refs.cri.model.group1)
512
+ //console.log(this.group1)
513
+ //this.model.paramSource = {group: `${this.group1[0]}`}
514
+ this.model.search(args.condition, args.model)
515
+ console.log("3333333333333")
516
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
517
+ },
518
+ clear() {
519
+ //清空部门和人员
520
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
521
+ //部门和人员变为全选
522
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
523
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
524
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
525
+ this.$refs.paged.$refs.cri.model[key] = []
526
+ })
527
+
528
+ },
529
+ // loadMeterBooks(){
530
+ // this.meterbooks = [...this.meterbooks, ...this.$GetSaleParam.getMeterBooks()]
531
+ // },
532
+ dealmsg(val) {
533
+ val.model = this.model.model
534
+ this.$dispatch('deal-msg', val)
535
+ },
536
+ show() {
537
+ this.criteriaShow = true
538
+ },
539
+ hidden() {
540
+ this.criteriaShow = !this.criteriaShow
541
+ },
542
+ getRes (obj) {
543
+ this.orgname = obj.res[0]
544
+ this.depresid = obj.resids
545
+ this.f_orgid = obj.resids
546
+ },
547
+ async updateParams() {
548
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
549
+ this.initParams()
550
+ }
551
+
552
+ },
553
+ events:{
554
+ 'getidcard'(IdCard){
555
+ // console.log(param)
556
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
557
+ }
558
+ },
559
+ watch: {
560
+ 'model'(val) {
561
+ },
562
+ 'orgCondtionStr'(val) {
563
+ let res = val.match(/'(.*?)'/)
564
+ console.log('正则提取:',res && res[1])
565
+ if (res) {
566
+ this.f_filialeid = res[1]
567
+ this.updateParams()
568
+ }
569
+ },
570
+ sumsmodel: {
571
+ handler: function (val) {
572
+ this.getotherfooter();
573
+ },
574
+ deep: true
575
+ }
576
+ },
577
+ computed: {
578
+ getPricenames() {
579
+ let f_user_type = this.$refs.paged.model.model.f_user_type;
580
+ let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
581
+ let pricetype = this.$refs.paged.model.model.pricetype;
582
+ if(this.$refs.paged.model.model !==null) {
583
+ let rs = []
584
+ let priceArr = []
585
+ if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
586
+ let params = {
587
+ f_user_type: f_user_type[0],
588
+ f_gasproperties: f_gasproperties[0],
589
+ f_price_type: pricetype[0],
590
+ filter: this.f_filialeid,
591
+ prices: this.prices
592
+ }
593
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
594
+ let temp = {}
595
+ temp.label = item.label
596
+ temp.value = item.value.f_price_name
597
+ priceArr.push(temp)
598
+ })
599
+ rs = [{label: '全部', value: ''}, ...priceArr]
600
+ }
601
+ if (rs.length === 0) {
602
+ this.$refs.paged.model.model.f_price_name = ''
603
+ }
604
+ return rs
605
+ }
606
+ },
607
+ //,grouping: 'this.model.group1[0]'
608
+ getCondition() {
609
+ return {condition: `${this.$refs.paged.$refs.cri.condition}`,grouping: `${this.$refs.paged.$refs.cri.model.group1[0]}` + this.orgCondtionStr}
610
+ },
611
+ inputtor() {
612
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
613
+ },
614
+ getfield() {
615
+ if (this.$refs.paged.$refs.cri.model.group1[0]==='f_inputtor') {
616
+ return exportConfig.f_inputtorConfig
617
+ }
618
+ else if (this.$refs.paged.$refs.cri.model.group1[0]==='f_gasproperties') {
619
+ return exportConfig.handGasPropertiesConfig
620
+ }
621
+ else if (this.$refs.paged.$refs.cri.model.group1[0]==='f_meter_book_num') {
622
+ return exportConfig.f_meter_book_numConfig
623
+ }
624
+ },
625
+ pricetypes() {
626
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
627
+ },
628
+ usertypes() {
629
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
630
+ }
631
+ }
632
+ }
633
+ </script>