manage-client 3.2.49 → 3.2.53

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