manage-client 3.2.7 → 3.2.11

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 (431) 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 +174 -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 +2 -2
  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/BonSummary.vue +22 -88
  165. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  166. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  167. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  168. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  169. package/src/components/SellReport/ChOtherfee.vue +251 -251
  170. package/src/components/SellReport/CollectFee.vue +184 -184
  171. package/src/components/SellReport/Contrast.vue +188 -188
  172. package/src/components/SellReport/DayStairMoney.vue +256 -256
  173. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  174. package/src/components/SellReport/FenxiangSell.vue +183 -183
  175. package/src/components/SellReport/FxGasTable.vue +220 -220
  176. package/src/components/SellReport/GasCollect.vue +174 -174
  177. package/src/components/SellReport/GaspriceHas.vue +141 -141
  178. package/src/components/SellReport/HandCollect.vue +189 -189
  179. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  181. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  182. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  183. package/src/components/SellReport/ManageBusSummary.vue +69 -92
  184. package/src/components/SellReport/ManageBusTable.vue +207 -207
  185. package/src/components/SellReport/ManageGasFee.vue +247 -247
  186. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  187. package/src/components/SellReport/ManageGasPrice.vue +20 -85
  188. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  189. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  190. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  191. package/src/components/SellReport/ManageReceivable.vue +254 -254
  192. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  193. package/src/components/SellReport/MeterBill.vue +185 -185
  194. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  195. package/src/components/SellReport/MeterInput.vue +250 -250
  196. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  197. package/src/components/SellReport/NonResidentGas.vue +27 -68
  198. package/src/components/SellReport/OutletTable.vue +1 -1
  199. package/src/components/SellReport/OweAging.vue +174 -174
  200. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  201. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +3 -1
  202. package/src/components/SellReport/ReportHistory.vue +80 -80
  203. package/src/components/SellReport/ReportPool.vue +60 -60
  204. package/src/components/SellReport/SaleMonthReport.vue +18 -92
  205. package/src/components/SellReport/Selling.vue +188 -188
  206. package/src/components/SellReport/SiteManager.vue +147 -147
  207. package/src/components/SellReport/UserSellingGas.vue +3 -77
  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 +29 -28
  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/qinhua/BarChartLine.vue +288 -288
  247. package/src/components/qinhua/ManageMain.vue +162 -162
  248. package/src/components/qinhua/Ring.vue +165 -165
  249. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  250. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  251. package/src/components/qinhua/Scada.vue +93 -93
  252. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  253. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  254. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  255. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  256. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  257. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  258. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  259. package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
  260. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  261. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  262. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  263. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  264. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  265. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  266. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  267. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  268. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  269. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  270. package/src/components/sale/common/PrintData.vue +171 -171
  271. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  272. package/src/components/sale/common/PrintTable.vue +228 -228
  273. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  274. package/src/components/sale/common/TabButton.vue +155 -155
  275. package/src/components/sale/common/Tabs.vue +67 -67
  276. package/src/components/sale/common/handplanUser.vue +112 -112
  277. package/src/components/sale/config/DefaultPrint.js +6 -6
  278. package/src/components/sale/config/exportConfig.js +887 -885
  279. package/src/components/sale/config/tableConfig.js +48 -48
  280. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  281. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  282. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  283. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  284. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  285. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  287. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  288. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  289. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  290. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  291. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  292. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  293. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  294. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  295. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  296. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  297. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  298. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  299. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  300. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  301. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  302. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  303. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  304. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  305. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  306. package/src/components/sale/report/aode/DayReport.vue +50 -50
  307. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  308. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  309. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  310. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  311. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  312. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  313. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  314. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  315. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  316. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  317. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  318. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  319. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  320. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  321. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  322. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  323. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  324. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  325. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  326. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  327. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  330. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  331. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  332. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  335. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  336. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  337. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  338. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  339. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  340. package/src/components/statistical/StatisticalAnalysis.vue +5 -0
  341. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  342. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  343. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  344. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  345. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  347. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  348. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  349. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  350. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  351. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  352. package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
  353. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  354. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  355. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  356. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  357. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  358. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -0
  359. package/src/components/yulin/GuanWang.vue +24 -24
  360. package/src/components/yulin/SingleBarLine.vue +352 -352
  361. package/src/components/yulin/Weather.vue +157 -157
  362. package/src/expandcss.less +26 -26
  363. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  364. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  365. package/src/filiale/WEINAN/UserGasList.vue +438 -0
  366. package/src/filiale/WEINAN/sale.js +4 -1
  367. package/src/filiale/aode/ArchivesManage.vue +38 -38
  368. package/src/filiale/aode/BusinessManage.vue +94 -94
  369. package/src/filiale/aode/DefaultPrint.js +6 -6
  370. package/src/filiale/aode/HandplanQuery.vue +632 -632
  371. package/src/filiale/aode/Tabs.vue +67 -67
  372. package/src/filiale/aode/UserQuery.vue +599 -599
  373. package/src/filiale/aode/sale.js +17 -17
  374. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  375. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  376. package/src/filiale/ceshi/CollectManage.vue +94 -94
  377. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  378. package/src/filiale/ceshi/TabButton.vue +149 -149
  379. package/src/filiale/ceshi/Tabs.vue +69 -69
  380. package/src/filiale/ceshi/reportManage.js +5 -5
  381. package/src/filiale/ceshi/sale.js +11 -11
  382. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  383. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  384. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  385. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  386. package/src/filiale/liaoyuan/sale.js +11 -11
  387. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  388. package/src/filiale/meihekou/UserQuery.vue +773 -773
  389. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  390. package/src/filiale/qingtongxia/sale.js +13 -13
  391. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  392. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  393. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +5 -0
  394. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  395. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  396. package/src/filiale/shennongjia/sale.js +10 -10
  397. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  398. package/src/filiale/wuhai/sale.js +10 -0
  399. package/src/main.js +66 -66
  400. package/src/plugins/GetLoginInfoService.js +505 -505
  401. package/src/plugins/LodopFuncs.js +124 -124
  402. package/src/plugins/getAllInputtor.js +29 -29
  403. package/src/safeCheck.js +63 -63
  404. package/src/stores/AppData.js +62 -62
  405. package/src/stores/DataSql.js +585 -585
  406. package/src/stores/DrillECharts.js +602 -602
  407. package/src/stores/DrillSql.js +888 -888
  408. package/src/stores/GetParames.js +15 -15
  409. package/src/stores/MagGetSaleParams.js +156 -156
  410. package/src/stores/MagLoadParams.js +63 -63
  411. package/src/stores/Util.js +132 -132
  412. package/src/stores/shanxi1.js +26 -26
  413. package/src/stores/yulin.js +27 -27
  414. package/src/webmeterManage.js +105 -105
  415. package/static/china.json +1 -1
  416. package/static/qh.json +2410 -2410
  417. package/static/res.json +58411 -58411
  418. package/static/shanxi1.json +1 -1
  419. package/static/yulin.json +1 -1
  420. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  421. package/test/unit/.eslintrc +5 -5
  422. package/test/unit/TestUtil.js +35 -35
  423. package/test/unit/context.html +20 -20
  424. package/test/unit/index.js +13 -13
  425. package/test/unit/init.js +11 -11
  426. package/test/unit/karma.conf.js +45 -45
  427. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  428. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  429. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  430. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  431. package/webstorm.config.js +13 -13
@@ -1,778 +1,778 @@
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
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
10
-
11
- <div class="span" style="float:right;">
12
- <button class="button_search button_spacing" @click="search()">查询</button>
13
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
14
-
15
- <export-excel :data="$parent.$parent.getCondition"
16
- :field="$parent.$parent.getfield"
17
- :footer="$parent.$parent.footer"
18
- :header="$parent.$parent.other"
19
- sqlurl="rs/logic/exportfile"
20
- sql-name="arrearsQuery"
21
- template-name='用户欠费查询导出'
22
- :choose-col="true"></export-excel>
23
-
24
- <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
25
- :defaultfield="$parent.$parent.defaultfield" print-name="用户欠费查询"
26
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
27
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
28
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
29
-
30
- </div>
31
- </div>
32
-
33
- <div class="row" v-show="$parent.$parent.criteriaShow">
34
-
35
- <div class="col-sm-2 form-group">
36
-
37
- <label for="startDate" class="font_normal_body">开始日期</label>
38
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
39
- v-model="model.startDate"
40
- :value.sync="model.startDate"
41
- :format="'yyyy-MM-dd HH:mm:ss'"
42
- :show-reset-button="true"
43
- >
44
- </datepicker>
45
- </div>
46
- <div class="col-sm-2 form-group">
47
- <label for="endDate" class="font_normal_body">结束日期</label>
48
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
49
- v-model="model.endDate"
50
- :value.sync="model.endDate"
51
- :format="'yyyy-MM-dd HH:mm:ss'"
52
- :show-reset-button="true"
53
- >
54
- </datepicker>
55
- </div>
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">客户编号</label>
58
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
59
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
60
- </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">客户名称</label>
63
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
64
- condition="f_user_name like '%{}%'" placeholder="客户名称">
65
- </div>
66
- <!--<div class="col-sm-2 form-group">-->
67
- <!--<label class="font_normal_body">收费编号</label>-->
68
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
69
- <!--condition="id = '{}'" placeholder="收费编号">-->
70
- <!--</div>-->
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
73
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
74
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
75
- style="width:60%"
76
- close-on-select
77
- condition="f_meter_book_num = '{}'"></v-select>
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">客户电话</label>
81
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
82
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
83
- </div>
84
- <!--<div class="col-sm-2 form-group">-->
85
- <!--<label class="font_normal_body">身份证号</label>-->
86
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
87
- <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
88
- <!--</div>-->
89
- <div class="col-sm-2 form-group">
90
- <label class="font_normal_body">客户地址</label>
91
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
92
- condition="f_address like '%{}%'" placeholder='客户地址'>
93
- </div>
94
- <div class="col-sm-2 form-group">
95
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
96
- <v-select :value.sync="model.f_residential_area"
97
- class="select_list select"
98
- enter-push
99
- multiple = "true"
100
- v-model="model.f_residential_area"
101
- style="width: 60%"
102
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
103
- close-on-select>
104
-
105
- </v-select>
106
- </div>
107
- <!--<div class="col-sm-2 form-group">-->
108
- <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
109
- <!--<v-select :value.sync="model.f_payment" multiple-->
110
- <!--v-model="model.f_payment"-->
111
- <!--:options='$parent.$parent.payment' placeholder='请选择'-->
112
- <!--condition="f_payment in {}"-->
113
- <!--close-on-select></v-select>-->
114
- <!--</div>-->
115
- <!--<div class="col-sm-2 form-group">-->
116
- <!--<label class="font_normal_body">收费类型</label>-->
117
- <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
118
- <!--v-model="model.f_type"-->
119
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
120
- <!--condition="f_type = '{}'"-->
121
- <!--close-on-select></v-select>&ndash;&gt;-->
122
- <!--<v-select :value.sync="model.f_type" multiple-->
123
- <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
124
- <!--close-on-select clear-button-->
125
- <!--condition="f_type in {}"-->
126
- <!--v-model="model.f_type"></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_user_type"
131
- @change="$parent.$parent.userTypeChange()"
132
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
133
- condition="f_user_type = '{}'"
134
- close-on-select></v-select>
135
- </div>
136
- <div class="col-sm-2 form-group">
137
- <label class="font_normal_body">用气性质</label>
138
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
139
- :options='$parent.$parent.gasproperties' placeholder='请选择'
140
- condition="f_gasproperties = '{}'"
141
- close-on-select></v-select>
142
- </div>
143
- <div class="col-sm-2 form-group">
144
- <label class="font_normal_body">气价类型</label>
145
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
146
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
147
- close-on-select v-ref:type>
148
- </v-select>
149
- </div>
150
- <div class="col-sm-2 form-group">
151
- <label class="font_normal_body">气价名称</label>
152
- <v-select :value.sync="model.f_price_name"
153
- v-model="model.f_price_name"
154
- :options="$parent.$parent.getPricenames"
155
- condition="f_price_name = '{}'"
156
- close-on-select></v-select>
157
- </div>
158
- <div class="col-sm-2 form-group">
159
- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
160
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
161
- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
162
- </div>
163
- <div class="col-sm-2 form-group">
164
- <label class="font_normal_body" title="气费金额大于">气费金额</label>
165
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
166
- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
167
- </div>
168
- <div class="col-sm-2 form-group">
169
- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
170
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
171
- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
172
- </div>
173
- <div class="col-sm-2 form-group">
174
- <label class="font_normal_body">欠费期数</label>
175
- <input type="text" style="width:60%" class="input_search" v-model="model.c"
176
- condition="c > '{}'" placeholder='欠费期数大于'>
177
- </div>
178
- <div class="col-sm-2 form-group">
179
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
180
- <v-select :value.sync="model.f_inputtor"
181
- v-model="model.f_inputtor"
182
- :options='$parent.$parent.inputtores' placeholder='请选择'
183
- condition="f_inputtor = '{}'"
184
- close-on-select :search="false">
185
- </v-select>
186
- </div>
187
- <div class="col-sm-2 form-group" v-if="false">
188
- <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
189
- <input type="text" style="width:60%" class="input_search" v-model="model.f_inputtor"
190
- condition="f_inputtor = '{}'" placeholder='抄表员'>
191
- </div>
192
- <!--<div class="col-sm-2 form-group">-->
193
- <!--<label class="font_normal_body">气价类型</label>-->
194
- <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
195
- <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
196
- <!--close-on-select v-ref:type>-->
197
- <!--</v-select>-->
198
- <!--</div>-->
199
- <!--<div class="col-sm-2 form-group">-->
200
- <!--<label class="font_normal_body">气价名称</label>-->
201
- <!--<v-select :value.sync="model.f_price_name"-->
202
- <!--v-model="model.f_price_name"-->
203
- <!--:options="$parent.$parent.getPricenames"-->
204
- <!--condition="f_price_name = '{}'"-->
205
- <!--close-on-select></v-select>-->
206
- <!--</div>-->
207
- <!--<div class="col-sm-2 form-group">-->
208
- <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
209
- <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
210
- <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
211
- <!--</div>-->
212
- </div>
213
- </div>
214
- </criteria>
215
-
216
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
217
- <template partial='head'>
218
- <tr>
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
- <th>
256
- <nobr>换表补气</nobr>
257
- </th>
258
- <th>
259
- <nobr>停用</nobr>
260
- </th>
261
- <th>
262
- <nobr>启用</nobr>
263
- </th>
264
- <th>
265
- <nobr>转费</nobr>
266
- </th>
267
- <th>
268
- <nobr>民用机表</nobr>
269
- </th>
270
- <th>
271
- <nobr>公福机表</nobr>
272
- </th>
273
- <th>
274
- <nobr>工业机表</nobr>
275
- </th>
276
- <th>
277
- <nobr>民用卡表</nobr>
278
- </th>
279
- <th>
280
- <nobr>公福卡表</nobr>
281
- </th>
282
- <th>
283
- <nobr>工业卡表</nobr>
284
- </th>
285
- </tr>
286
- </template>
287
- <template partial='body'>
288
- <td style="text-align:center">
289
- <nobr>{{$index+1}}</nobr>
290
- </td>
291
- <td style="text-align: center;">
292
- <nobr>{{row.f_date}}</nobr>
293
- </td>
294
- <td style="text-align: center;">
295
- <nobr>{{row.f_transfernum}}</nobr>
296
- </td>
297
- <td style="text-align: center;">
298
- <nobr>{{row.f_fazhe}}</nobr>
299
- </td>
300
- <td style="text-align: center;">
301
- <nobr>{{row.f_buzhe}}</nobr>
302
- </td>
303
- <td style="text-align: center;">
304
- <nobr>{{row.f_huanzhe}}</nobr>
305
- </td>
306
- <td style="text-align: center;">
307
- <nobr>{{row.f_recordnum}}</nobr>
308
- </td>
309
- <td style="text-align: center;">
310
- <nobr>{{row.f_fillcardnum}}</nobr>
311
- </td>
312
- <td style="text-align: center;">
313
- <nobr>{{row.f_huanka}}</nobr>
314
- </td>
315
- <td style="text-align: center;">
316
- <nobr>{{row.f_minyongxiaohu}}</nobr>
317
- </td>
318
- <td style="text-align: center;">
319
- <nobr>{{row.f_feiminyongxiaohu}}</nobr>
320
- </td>
321
- <td style="text-align: center;">
322
- <nobr>{{row.f_weixiubuqi}}</nobr>
323
- </td>
324
- <td style="text-align: center;">
325
- <nobr>{{row.f_huanbiaobuqi}}</nobr>
326
- </td>
327
- <td style="text-align: center;">
328
- <nobr>{{row.f_disablenum}}</nobr>
329
- </td>
330
- <td style="text-align: center;">
331
- <nobr>{{row.f_enablenum}}</nobr>
332
- </td>
333
- <td style="text-align: center;">
334
- <nobr>{{row.f_zhuanfei}}</nobr>
335
- </td>
336
- <td style="text-align: center;">
337
- <nobr>{{row.f_minyongjibiao}}</nobr>
338
- </td>
339
- <td style="text-align: center;">
340
- <nobr>{{row.f_gongfujibiao}}</nobr>
341
- </td>
342
- <td style="text-align: center;">
343
- <nobr>{{row.f_gongyejibiao}}</nobr>
344
- </td>
345
- <td style="text-align: center;">
346
- <nobr>{{row.f_minyongkabiao}}</nobr>
347
- </td>
348
- <td style="text-align: center;">
349
- <nobr>{{row.f_gongfukabiao}}</nobr>
350
- </td>
351
- <td style="text-align: center;">
352
- <nobr>{{row.f_gongyekabiao}}</nobr>
353
- </td>
354
- </template>
355
- <template partial='foot'></template>
356
- </data-grid>
357
- </criteria-paged>
358
- <table class="table-hover">
359
- <tr style="position: relative" class="table-bordered">
360
- <td
361
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
362
- 汇总信息
363
- </td>
364
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
365
- 过户合计:&emsp;{{sumsmodel.f_transfernum}}
366
- </td>
367
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
368
- 发折合计:&emsp;{{sumsmodel.f_fazhe}}
369
- </td>
370
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
371
- 补折合计:&emsp;{{sumsmodel.f_buzhe}}
372
- </td>
373
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
374
- 换折合计:&emsp;{{sumsmodel.f_huanzhe}}
375
- </td>
376
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
377
- 发卡合计:&emsp;{{sumsmodel.f_recordnum}}
378
- </td>
379
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
380
- 补卡合计:&emsp;{{sumsmodel.f_fillcardnum}}
381
- </td>
382
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
383
- 换卡合计:&emsp;{{sumsmodel.f_huanka}}
384
- </td>
385
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
386
- 民用销户合计:&emsp;{{sumsmodel.f_minyongxiaohu}}
387
- </td>
388
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
389
- 非民用销户合计:&emsp;{{sumsmodel.f_feiminyongxiaohu}}
390
- </td>
391
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
392
- 维修补气合计:&emsp;{{sumsmodel.f_weixiubuqi}}
393
- </td>
394
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
395
- 换表补气合计:&emsp;{{sumsmodel.f_huanbiaobuqi}}
396
- </td>
397
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
398
- 停用合计:&emsp;{{sumsmodel.f_disablenum}}
399
- </td>
400
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
401
- 启用合计:&emsp;{{sumsmodel.f_enablenum}}
402
- </td>
403
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
404
- 转费合计:&emsp;{{sumsmodel.f_zhuanfei}}
405
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
406
- 民用机表合计:&emsp;{{sumsmodel.f_minyongjibiao}}
407
- </td>
408
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
409
- 公福机表合计:&emsp;{{sumsmodel.f_gongfujibiao}}
410
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
411
- 工业机表合计:&emsp;{{sumsmodel.f_minyongkabiao}}
412
- </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
413
- 民用卡表合计:&emsp;{{sumsmodel.f_gongfukabiao}}
414
- </td>
415
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
416
- 公福卡表合计:&emsp;{{sumsmodel.f_gongyekabiao}}
417
- </td>
418
- </tr>
419
- </table>
420
- </div>
421
- <div v-if="show">
422
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
423
- </div>
424
- </div>
425
- </div>
426
- </template>
427
-
428
- <script>
429
- import {HttpResetClass, PagedList} from 'vue-client'
430
- import exportConfig from '../config/exportConfig'
431
-
432
- let readySomething = async function (self) {
433
- //加载抄表册
434
- self.$MagGetSaleParam.initinputtor();
435
- self.getinputtores();
436
- self.initmeterbook();
437
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
438
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
439
- // self.$refs.paged.$refs.cri.search()
440
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
441
-
442
- self.initParams()
443
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
444
- }
445
- export default {
446
- title: '非收费业务查询',
447
- data() {
448
- return {
449
- config: {
450
- defaultPrint: ['f_userinfo_code', 'f_address']
451
- },
452
- other:[],
453
- footer:[],
454
- //f_price_name:[],
455
- gasproperties:[],
456
- showinfo: false,
457
- data: {},
458
- show:false,
459
- rowdata:{},
460
- initres: {
461
- org:[this.$login.f.orgid],
462
- dep:[],
463
- user:[]
464
- },
465
- model: new PagedList('rs/sql/noBusinessQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
466
- f_transfernum: 0,
467
- f_fazhe: 0,
468
- f_buzhe: 0,
469
- f_huanzhe: 0,
470
- f_recordnum: 0,
471
- f_fillcardnum: 0,
472
- f_huanka:0,
473
- f_minyongxiaohu:0,
474
- f_feiminyongxiaohu:0,
475
- f_weixiubuqi: 0,
476
- f_huanbiaobuqi: 0,
477
- f_disablenum: 0,
478
- f_enablenum: 0,
479
- f_zhuanfei: 0,
480
- f_minyongjibiao: 0,
481
- f_gongfujibiao: 0,
482
- f_gongyejibiao: 0,
483
- f_minyongkabiao: 0,
484
- f_gongfukabiao: 0,
485
- f_gongyekabiao: 0
486
- }),
487
- criteriaShow: false,
488
- orgCondtionStr: '',
489
- // 下拉框
490
- meterbrands: [],
491
- pricenames: [],
492
- prices: [],
493
- area: [],
494
- //合计数据
495
- defaultfield: [],
496
- //小区
497
- residentialArea: [],
498
- sumsmodel: {},
499
- f_filialeid: this.$login.f.f_orgid,
500
- meterbooks:[{label: '全部',value: ''}], //抄表册
501
- tempfalg :false,
502
- lastorgstr:'',
503
- allorgid:[],
504
- inputtores:[{label: '全部',value: ''}], //抄表员
505
- }
506
- },
507
- ready() {
508
- this.getaddress()
509
-
510
- readySomething(this).then(() => {
511
- this.$emit('ready')
512
- }).catch((error) => {
513
- this.$emit('error', error)
514
- })
515
- },
516
- methods: {
517
- async initmeterbook(orgstr){
518
- if(orgstr == null ){
519
- orgstr = this.f_filialeid;
520
- }
521
- //获取新的抄表册,先去清理所有的抄表册
522
- this.$GetSaleParam.meterbooks = [];
523
- //开始加载新的抄表册
524
- await this.$LoadParams.loadMeterBook(orgstr)
525
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
526
- },
527
- async getinputtores () {
528
- // 获取抄表员
529
- let rs = []
530
- if (this.$login.f.f_gasman.length > 0) {
531
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
532
- let temp = {
533
- label: this.$login.f.f_gasman[i].name,
534
- value: this.$login.f.f_gasman[i].name
535
- }
536
- rs.push(temp)
537
- }
538
- }
539
- this.inputtores = [{label: '全部', value: ''}, ...rs]
540
- },
541
- async updateParams() {
542
- await this.$MagLoadParams.loadParam(this.f_filialeid)
543
- this.inputtores = [];
544
- this.inputtores.push({label: "全部", value: ""})
545
- if(this.allorgid!=null){
546
- this.allorgid.forEach((res)=>{
547
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
548
- })
549
- }
550
- this.initParams()
551
- },
552
- getotherfooter(){
553
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
554
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
555
- this.other=[];
556
- this.footer=[];
557
- let exportdata = this.getCondition;
558
- let otherInData=[];
559
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
560
- let footerData=[],exportfield=this.getfield;
561
- footerData.push("合计");
562
- let self =this;
563
- for(var field in self.sumsmodel){
564
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
565
- }
566
- this.footer.push(footerData);
567
- this.other.push(otherInData);
568
- },
569
- async getaddress(){
570
- console.log('开始获取小区')
571
- let HttpReset = new HttpResetClass()
572
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
573
- data: {
574
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
575
- }
576
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
577
- console.log('小区',data)
578
- let house = [{label: '全部', value: ''}]
579
- for (let row of data.data){
580
- console.log('开始保存小区')
581
- house.push({label: row.f_residential_area, value: row.f_residential_area})
582
- }
583
- this.residentialArea = house
584
- },
585
-
586
- //把数据库查询数据转换为下拉数据
587
- calculate(rows){
588
- let data = []
589
- rows.forEach((row, n) => {
590
- data[n] = {label: row.f_residential_area, value: row.id}
591
- })
592
- return data
593
- },
594
-
595
- search(){
596
- this.$refs.paged.$refs.cri.search()
597
- },
598
- cancel() {
599
- this.show = false
600
- },
601
- showmsg(obj){
602
- this.rowdata=obj
603
- this.show=true
604
- },
605
- userTypeChange () {
606
- this.gasproperties=[]
607
- if(this.$refs.paged.$refs.cri.model !==null) {
608
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
609
-
610
- console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
611
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
612
- // this.gasproperties.push({label: '全部', value: ''})
613
- }
614
- else{
615
- this.gasproperties =[{label: '全部', value: ''}]
616
- }
617
- },
618
- initParams() {
619
- // 初始化气表品牌
620
- let brandArr = []
621
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
622
- let temp = {}
623
- temp.label = item.label
624
- temp.value = item.value.f_meter_brand
625
- brandArr.push(temp)
626
- })
627
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
628
- //初始化气表价格
629
- this.prices = this.$MagGetSaleParam.getPrices();
630
- },
631
- selfSearch(args) {
632
- console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
633
- if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
634
- this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
635
- } else {
636
- //小区查询条件
637
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
638
- if(this.area.length !== 0){
639
- let str = JSON.stringify(this.area)
640
- str = str.replace(/"/g,`'`)
641
- str = str.replace(/\[/g,``)
642
- str = str.replace(/\]/g,``)
643
- //查询多个小区时条件
644
- args.condition += ` and f_residential_area in ( ${str} )`
645
- }
646
-
647
- let f_orgstr = this.orgCondtionStr
648
- args.condition = `${args.condition} ` + f_orgstr
649
- this.model.search(args.condition, args.model)
650
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
651
- }
652
- },
653
- clear() {
654
- //清空部门和人员
655
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
656
- //部门和人员变为全选
657
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
658
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
659
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
660
- this.$refs.paged.$refs.cri.model[key] = []
661
- })
662
-
663
- },
664
- dealmsg(val) {
665
- val.model = this.model.model
666
- this.$dispatch('deal-msg', val)
667
- },
668
- show() {
669
- this.criteriaShow = true
670
- },
671
- hidden() {
672
- this.criteriaShow = !this.criteriaShow
673
- },
674
- async getRes(condition,obj) {
675
- this.orgCondtionStr = condition
676
-
677
- },
678
-
679
-
680
- },
681
- events:{
682
- 'getidcard'(IdCard){
683
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
684
- }
685
- },
686
- watch: {
687
- 'model'(val) {
688
- },
689
- async 'orgCondtionStr'(val) {
690
- this.$refs.paged.$refs.cri.model.f_inputtor = []
691
- this.$refs.paged.$refs.cri.model.f_meter_book = []
692
- this.meterbooks = [{label: '全部',value: ''}];
693
- if(this.lastorgstr != val){
694
- this.tempfalg = true;
695
- this.lastorgstr = val;
696
- }
697
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
698
- this.tempfalg = false;
699
- let a = val.substring(val.indexOf("(")+2)
700
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
701
- }
702
- let res = val.match(/'(.*?)'/)
703
- console.log('正则提取:',res && res[1])
704
- if (res) {
705
- this.f_filialeid = res[1]
706
- if(res.input !=null){
707
- let resorgid = res.input.substring(res.input.indexOf("'"));
708
- if(resorgid!= null && resorgid!=''){
709
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
710
- // resorgid = resorgid.replaceAll("'","");
711
- resorgid = resorgid.replace(/'/g,"");
712
- this.allorgid = resorgid.split(",")
713
- }
714
- }
715
- this.updateParams()
716
- }
717
- },
718
- sumsmodel:{
719
- handler: function(val) {
720
- this.getotherfooter();
721
- },
722
- deep: true
723
- }
724
- },
725
- computed: {
726
- pricetypes() {
727
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
728
- },
729
- getPricenames() {
730
- let f_user_type = this.$refs.paged.model.model.f_user_type;
731
- let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
732
- let pricetype = this.$refs.paged.model.model.pricetype;
733
- if(this.$refs.paged.model.model !==null) {
734
- let rs = []
735
- let priceArr = []
736
- if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
737
- let params = {
738
- f_user_type: f_user_type[0],
739
- f_gasproperties: f_gasproperties[0],
740
- f_price_type: pricetype[0],
741
- filter: this.f_filialeid,
742
- prices: this.prices
743
- }
744
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
745
- let temp = {}
746
- temp.label = item.label
747
- temp.value = item.value.f_price_name
748
- priceArr.push(temp)
749
- })
750
- rs = [{label: '全部', value: ''}, ...priceArr]
751
- }
752
- if (rs.length === 0) {
753
- this.$refs.paged.model.model.f_price_name = ''
754
- }
755
- return rs
756
- }
757
- },
758
- getCondition() {
759
- return {
760
- startDate: this.$refs.paged.$refs.cri.model.startDate,
761
- endDate: this.$refs.paged.$refs.cri.model.endDate,
762
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
763
- },
764
- getfield() {
765
- return exportConfig.arrearsConfig
766
- },
767
- usertypes() {
768
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
769
- },
770
- metertypes() {
771
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
772
- },
773
- chargetype() {
774
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
775
- }
776
- }
777
- }
778
- </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
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
10
+
11
+ <div class="span" style="float:right;">
12
+ <button class="button_search button_spacing" @click="search()">查询</button>
13
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
14
+
15
+ <export-excel :data="$parent.$parent.getCondition"
16
+ :field="$parent.$parent.getfield"
17
+ :footer="$parent.$parent.footer"
18
+ :header="$parent.$parent.other"
19
+ sqlurl="rs/logic/exportfile"
20
+ sql-name="noBusinessQuery"
21
+ template-name='非收费业务查询导出'
22
+ :choose-col="true"></export-excel>
23
+
24
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
25
+ :defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
26
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
27
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
28
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
29
+
30
+ </div>
31
+ </div>
32
+
33
+ <div class="row" v-show="$parent.$parent.criteriaShow">
34
+
35
+ <div class="col-sm-2 form-group">
36
+
37
+ <label for="startDate" class="font_normal_body">开始日期</label>
38
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
39
+ v-model="model.startDate"
40
+ :value.sync="model.startDate"
41
+ :format="'yyyy-MM-dd HH:mm:ss'"
42
+ :show-reset-button="true"
43
+ >
44
+ </datepicker>
45
+ </div>
46
+ <div class="col-sm-2 form-group">
47
+ <label for="endDate" class="font_normal_body">结束日期</label>
48
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
49
+ v-model="model.endDate"
50
+ :value.sync="model.endDate"
51
+ :format="'yyyy-MM-dd HH:mm:ss'"
52
+ :show-reset-button="true"
53
+ >
54
+ </datepicker>
55
+ </div>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">客户编号</label>
58
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
59
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">客户名称</label>
63
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
64
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
65
+ </div>
66
+ <!--<div class="col-sm-2 form-group">-->
67
+ <!--<label class="font_normal_body">收费编号</label>-->
68
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
69
+ <!--condition="id = '{}'" placeholder="收费编号">-->
70
+ <!--</div>-->
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
73
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
74
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
75
+ style="width:60%"
76
+ close-on-select
77
+ condition="f_meter_book_num = '{}'"></v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">客户电话</label>
81
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
82
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
83
+ </div>
84
+ <!--<div class="col-sm-2 form-group">-->
85
+ <!--<label class="font_normal_body">身份证号</label>-->
86
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
87
+ <!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
88
+ <!--</div>-->
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">客户地址</label>
91
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
92
+ condition="f_address like '%{}%'" placeholder='客户地址'>
93
+ </div>
94
+ <div class="col-sm-2 form-group">
95
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
96
+ <v-select :value.sync="model.f_residential_area"
97
+ class="select_list select"
98
+ enter-push
99
+ multiple = "true"
100
+ v-model="model.f_residential_area"
101
+ style="width: 60%"
102
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
103
+ close-on-select>
104
+
105
+ </v-select>
106
+ </div>
107
+ <!--<div class="col-sm-2 form-group">-->
108
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>-->
109
+ <!--<v-select :value.sync="model.f_payment" multiple-->
110
+ <!--v-model="model.f_payment"-->
111
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
112
+ <!--condition="f_payment in {}"-->
113
+ <!--close-on-select></v-select>-->
114
+ <!--</div>-->
115
+ <!--<div class="col-sm-2 form-group">-->
116
+ <!--<label class="font_normal_body">收费类型</label>-->
117
+ <!--&lt;!&ndash; <v-select :value.sync="model.f_type"-->
118
+ <!--v-model="model.f_type"-->
119
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
120
+ <!--condition="f_type = '{}'"-->
121
+ <!--close-on-select></v-select>&ndash;&gt;-->
122
+ <!--<v-select :value.sync="model.f_type" multiple-->
123
+ <!--:options='$parent.$parent.chargetype' placeholder='请选择'-->
124
+ <!--close-on-select clear-button-->
125
+ <!--condition="f_type in {}"-->
126
+ <!--v-model="model.f_type"></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_user_type"
131
+ @change="$parent.$parent.userTypeChange()"
132
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
133
+ condition="f_user_type = '{}'"
134
+ close-on-select></v-select>
135
+ </div>
136
+ <div class="col-sm-2 form-group">
137
+ <label class="font_normal_body">用气性质</label>
138
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
139
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
140
+ condition="f_gasproperties = '{}'"
141
+ close-on-select></v-select>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">气价类型</label>
145
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
146
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
147
+ close-on-select v-ref:type>
148
+ </v-select>
149
+ </div>
150
+ <div class="col-sm-2 form-group">
151
+ <label class="font_normal_body">气价名称</label>
152
+ <v-select :value.sync="model.f_price_name"
153
+ v-model="model.f_price_name"
154
+ :options="$parent.$parent.getPricenames"
155
+ condition="f_price_name = '{}'"
156
+ close-on-select></v-select>
157
+ </div>
158
+ <div class="col-sm-2 form-group">
159
+ <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
160
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
161
+ condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body" title="气费金额大于">气费金额</label>
165
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
166
+ condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
170
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
171
+ condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
172
+ </div>
173
+ <div class="col-sm-2 form-group">
174
+ <label class="font_normal_body">欠费期数</label>
175
+ <input type="text" style="width:60%" class="input_search" v-model="model.c"
176
+ condition="c > '{}'" placeholder='欠费期数大于'>
177
+ </div>
178
+ <div class="col-sm-2 form-group">
179
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
180
+ <v-select :value.sync="model.f_inputtor"
181
+ v-model="model.f_inputtor"
182
+ :options='$parent.$parent.inputtores' placeholder='请选择'
183
+ condition="f_inputtor = '{}'"
184
+ close-on-select :search="false">
185
+ </v-select>
186
+ </div>
187
+ <div class="col-sm-2 form-group" v-if="false">
188
+ <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
189
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_inputtor"
190
+ condition="f_inputtor = '{}'" placeholder='抄表员'>
191
+ </div>
192
+ <!--<div class="col-sm-2 form-group">-->
193
+ <!--<label class="font_normal_body">气价类型</label>-->
194
+ <!--<v-select :value.sync="model.pricetype" v-model="model.pricetype"-->
195
+ <!--placeholder='气价类型' :options="$parent.$parent.pricetypes"-->
196
+ <!--close-on-select v-ref:type>-->
197
+ <!--</v-select>-->
198
+ <!--</div>-->
199
+ <!--<div class="col-sm-2 form-group">-->
200
+ <!--<label class="font_normal_body">气价名称</label>-->
201
+ <!--<v-select :value.sync="model.f_price_name"-->
202
+ <!--v-model="model.f_price_name"-->
203
+ <!--:options="$parent.$parent.getPricenames"-->
204
+ <!--condition="f_price_name = '{}'"-->
205
+ <!--close-on-select></v-select>-->
206
+ <!--</div>-->
207
+ <!--<div class="col-sm-2 form-group">-->
208
+ <!--<label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>-->
209
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
210
+ <!--condition="f_user_id = '{}'" placeholder='表编号'>-->
211
+ <!--</div>-->
212
+ </div>
213
+ </div>
214
+ </criteria>
215
+
216
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
217
+ <template partial='head'>
218
+ <tr>
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
+ <th>
256
+ <nobr>换表补气</nobr>
257
+ </th>
258
+ <th>
259
+ <nobr>停用</nobr>
260
+ </th>
261
+ <th>
262
+ <nobr>启用</nobr>
263
+ </th>
264
+ <th>
265
+ <nobr>转费</nobr>
266
+ </th>
267
+ <th>
268
+ <nobr>民用机表</nobr>
269
+ </th>
270
+ <th>
271
+ <nobr>公福机表</nobr>
272
+ </th>
273
+ <th>
274
+ <nobr>工业机表</nobr>
275
+ </th>
276
+ <th>
277
+ <nobr>民用卡表</nobr>
278
+ </th>
279
+ <th>
280
+ <nobr>公福卡表</nobr>
281
+ </th>
282
+ <th>
283
+ <nobr>工业卡表</nobr>
284
+ </th>
285
+ </tr>
286
+ </template>
287
+ <template partial='body'>
288
+ <td style="text-align:center">
289
+ <nobr>{{$index+1}}</nobr>
290
+ </td>
291
+ <td style="text-align: center;">
292
+ <nobr>{{row.f_date}}</nobr>
293
+ </td>
294
+ <td style="text-align: center;">
295
+ <nobr>{{row.f_transfernum}}</nobr>
296
+ </td>
297
+ <td style="text-align: center;">
298
+ <nobr>{{row.f_fazhe}}</nobr>
299
+ </td>
300
+ <td style="text-align: center;">
301
+ <nobr>{{row.f_buzhe}}</nobr>
302
+ </td>
303
+ <td style="text-align: center;">
304
+ <nobr>{{row.f_huanzhe}}</nobr>
305
+ </td>
306
+ <td style="text-align: center;">
307
+ <nobr>{{row.f_recordnum}}</nobr>
308
+ </td>
309
+ <td style="text-align: center;">
310
+ <nobr>{{row.f_fillcardnum}}</nobr>
311
+ </td>
312
+ <td style="text-align: center;">
313
+ <nobr>{{row.f_huanka}}</nobr>
314
+ </td>
315
+ <td style="text-align: center;">
316
+ <nobr>{{row.f_minyongxiaohu}}</nobr>
317
+ </td>
318
+ <td style="text-align: center;">
319
+ <nobr>{{row.f_feiminyongxiaohu}}</nobr>
320
+ </td>
321
+ <td style="text-align: center;">
322
+ <nobr>{{row.f_weixiubuqi}}</nobr>
323
+ </td>
324
+ <td style="text-align: center;">
325
+ <nobr>{{row.f_huanbiaobuqi}}</nobr>
326
+ </td>
327
+ <td style="text-align: center;">
328
+ <nobr>{{row.f_disablenum}}</nobr>
329
+ </td>
330
+ <td style="text-align: center;">
331
+ <nobr>{{row.f_enablenum}}</nobr>
332
+ </td>
333
+ <td style="text-align: center;">
334
+ <nobr>{{row.f_zhuanfei}}</nobr>
335
+ </td>
336
+ <td style="text-align: center;">
337
+ <nobr>{{row.f_minyongjibiao}}</nobr>
338
+ </td>
339
+ <td style="text-align: center;">
340
+ <nobr>{{row.f_gongfujibiao}}</nobr>
341
+ </td>
342
+ <td style="text-align: center;">
343
+ <nobr>{{row.f_gongyejibiao}}</nobr>
344
+ </td>
345
+ <td style="text-align: center;">
346
+ <nobr>{{row.f_minyongkabiao}}</nobr>
347
+ </td>
348
+ <td style="text-align: center;">
349
+ <nobr>{{row.f_gongfukabiao}}</nobr>
350
+ </td>
351
+ <td style="text-align: center;">
352
+ <nobr>{{row.f_gongyekabiao}}</nobr>
353
+ </td>
354
+ </template>
355
+ <template partial='foot'></template>
356
+ </data-grid>
357
+ </criteria-paged>
358
+ <table class="table-hover">
359
+ <tr style="position: relative" class="table-bordered">
360
+ <td
361
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
362
+ 汇总信息
363
+ </td>
364
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
365
+ 过户合计:&emsp;{{sumsmodel.f_transfernum}}
366
+ </td>
367
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
368
+ 发折合计:&emsp;{{sumsmodel.f_fazhe}}
369
+ </td>
370
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
371
+ 补折合计:&emsp;{{sumsmodel.f_buzhe}}
372
+ </td>
373
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
374
+ 换折合计:&emsp;{{sumsmodel.f_huanzhe}}
375
+ </td>
376
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
377
+ 发卡合计:&emsp;{{sumsmodel.f_recordnum}}
378
+ </td>
379
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
380
+ 补卡合计:&emsp;{{sumsmodel.f_fillcardnum}}
381
+ </td>
382
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
383
+ 换卡合计:&emsp;{{sumsmodel.f_huanka}}
384
+ </td>
385
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
386
+ 民用销户合计:&emsp;{{sumsmodel.f_minyongxiaohu}}
387
+ </td>
388
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
389
+ 非民用销户合计:&emsp;{{sumsmodel.f_feiminyongxiaohu}}
390
+ </td>
391
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
392
+ 维修补气合计:&emsp;{{sumsmodel.f_weixiubuqi}}
393
+ </td>
394
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
395
+ 换表补气合计:&emsp;{{sumsmodel.f_huanbiaobuqi}}
396
+ </td>
397
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
398
+ 停用合计:&emsp;{{sumsmodel.f_disablenum}}
399
+ </td>
400
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
401
+ 启用合计:&emsp;{{sumsmodel.f_enablenum}}
402
+ </td>
403
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
404
+ 转费合计:&emsp;{{sumsmodel.f_zhuanfei}}
405
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
406
+ 民用机表合计:&emsp;{{sumsmodel.f_minyongjibiao}}
407
+ </td>
408
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
409
+ 公福机表合计:&emsp;{{sumsmodel.f_gongfujibiao}}
410
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
411
+ 工业机表合计:&emsp;{{sumsmodel.f_minyongkabiao}}
412
+ </td> <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
413
+ 民用卡表合计:&emsp;{{sumsmodel.f_gongfukabiao}}
414
+ </td>
415
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
416
+ 公福卡表合计:&emsp;{{sumsmodel.f_gongyekabiao}}
417
+ </td>
418
+ </tr>
419
+ </table>
420
+ </div>
421
+ <div v-if="show">
422
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ </template>
427
+
428
+ <script>
429
+ import {HttpResetClass, PagedList} from 'vue-client'
430
+ import exportConfig from '../config/exportConfig'
431
+
432
+ let readySomething = async function (self) {
433
+ //加载抄表册
434
+ self.$MagGetSaleParam.initinputtor();
435
+ self.getinputtores();
436
+ self.initmeterbook();
437
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
438
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
439
+ // self.$refs.paged.$refs.cri.search()
440
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
441
+
442
+ self.initParams()
443
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
444
+ }
445
+ export default {
446
+ title: '非收费业务查询',
447
+ data() {
448
+ return {
449
+ config: {
450
+ defaultPrint: ['f_userinfo_code', 'f_address']
451
+ },
452
+ other:[],
453
+ footer:[],
454
+ //f_price_name:[],
455
+ gasproperties:[],
456
+ showinfo: false,
457
+ data: {},
458
+ show:false,
459
+ rowdata:{},
460
+ initres: {
461
+ org:[this.$login.f.orgid],
462
+ dep:[],
463
+ user:[]
464
+ },
465
+ model: new PagedList('rs/sql/noBusinessQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
466
+ f_transfernum: 0,
467
+ f_fazhe: 0,
468
+ f_buzhe: 0,
469
+ f_huanzhe: 0,
470
+ f_recordnum: 0,
471
+ f_fillcardnum: 0,
472
+ f_huanka:0,
473
+ f_minyongxiaohu:0,
474
+ f_feiminyongxiaohu:0,
475
+ f_weixiubuqi: 0,
476
+ f_huanbiaobuqi: 0,
477
+ f_disablenum: 0,
478
+ f_enablenum: 0,
479
+ f_zhuanfei: 0,
480
+ f_minyongjibiao: 0,
481
+ f_gongfujibiao: 0,
482
+ f_gongyejibiao: 0,
483
+ f_minyongkabiao: 0,
484
+ f_gongfukabiao: 0,
485
+ f_gongyekabiao: 0
486
+ }),
487
+ criteriaShow: false,
488
+ orgCondtionStr: '',
489
+ // 下拉框
490
+ meterbrands: [],
491
+ pricenames: [],
492
+ prices: [],
493
+ area: [],
494
+ //合计数据
495
+ defaultfield: [],
496
+ //小区
497
+ residentialArea: [],
498
+ sumsmodel: {},
499
+ f_filialeid: this.$login.f.f_orgid,
500
+ meterbooks:[{label: '全部',value: ''}], //抄表册
501
+ tempfalg :false,
502
+ lastorgstr:'',
503
+ allorgid:[],
504
+ inputtores:[{label: '全部',value: ''}], //抄表员
505
+ }
506
+ },
507
+ ready() {
508
+ this.getaddress()
509
+
510
+ readySomething(this).then(() => {
511
+ this.$emit('ready')
512
+ }).catch((error) => {
513
+ this.$emit('error', error)
514
+ })
515
+ },
516
+ methods: {
517
+ async initmeterbook(orgstr){
518
+ if(orgstr == null ){
519
+ orgstr = this.f_filialeid;
520
+ }
521
+ //获取新的抄表册,先去清理所有的抄表册
522
+ this.$GetSaleParam.meterbooks = [];
523
+ //开始加载新的抄表册
524
+ await this.$LoadParams.loadMeterBook(orgstr)
525
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
526
+ },
527
+ async getinputtores () {
528
+ // 获取抄表员
529
+ let rs = []
530
+ if (this.$login.f.f_gasman.length > 0) {
531
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
532
+ let temp = {
533
+ label: this.$login.f.f_gasman[i].name,
534
+ value: this.$login.f.f_gasman[i].name
535
+ }
536
+ rs.push(temp)
537
+ }
538
+ }
539
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
540
+ },
541
+ async updateParams() {
542
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
543
+ this.inputtores = [];
544
+ this.inputtores.push({label: "全部", value: ""})
545
+ if(this.allorgid!=null){
546
+ this.allorgid.forEach((res)=>{
547
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
548
+ })
549
+ }
550
+ this.initParams()
551
+ },
552
+ getotherfooter(){
553
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
554
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
555
+ this.other=[];
556
+ this.footer=[];
557
+ let exportdata = this.getCondition;
558
+ let otherInData=[];
559
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
560
+ let footerData=[],exportfield=this.getfield;
561
+ footerData.push("合计");
562
+ let self =this;
563
+ for(var field in self.sumsmodel){
564
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
565
+ }
566
+ this.footer.push(footerData);
567
+ this.other.push(otherInData);
568
+ },
569
+ async getaddress(){
570
+ console.log('开始获取小区')
571
+ let HttpReset = new HttpResetClass()
572
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
573
+ data: {
574
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
575
+ }
576
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
577
+ console.log('小区',data)
578
+ let house = [{label: '全部', value: ''}]
579
+ for (let row of data.data){
580
+ console.log('开始保存小区')
581
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
582
+ }
583
+ this.residentialArea = house
584
+ },
585
+
586
+ //把数据库查询数据转换为下拉数据
587
+ calculate(rows){
588
+ let data = []
589
+ rows.forEach((row, n) => {
590
+ data[n] = {label: row.f_residential_area, value: row.id}
591
+ })
592
+ return data
593
+ },
594
+
595
+ search(){
596
+ this.$refs.paged.$refs.cri.search()
597
+ },
598
+ cancel() {
599
+ this.show = false
600
+ },
601
+ showmsg(obj){
602
+ this.rowdata=obj
603
+ this.show=true
604
+ },
605
+ userTypeChange () {
606
+ this.gasproperties=[]
607
+ if(this.$refs.paged.$refs.cri.model !==null) {
608
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
609
+
610
+ console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
611
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
612
+ // this.gasproperties.push({label: '全部', value: ''})
613
+ }
614
+ else{
615
+ this.gasproperties =[{label: '全部', value: ''}]
616
+ }
617
+ },
618
+ initParams() {
619
+ // 初始化气表品牌
620
+ let brandArr = []
621
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
622
+ let temp = {}
623
+ temp.label = item.label
624
+ temp.value = item.value.f_meter_brand
625
+ brandArr.push(temp)
626
+ })
627
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
628
+ //初始化气表价格
629
+ this.prices = this.$MagGetSaleParam.getPrices();
630
+ },
631
+ selfSearch(args) {
632
+ console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
633
+ if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
634
+ this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
635
+ } else {
636
+ //小区查询条件
637
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
638
+ if(this.area.length !== 0){
639
+ let str = JSON.stringify(this.area)
640
+ str = str.replace(/"/g,`'`)
641
+ str = str.replace(/\[/g,``)
642
+ str = str.replace(/\]/g,``)
643
+ //查询多个小区时条件
644
+ args.condition += ` and f_residential_area in ( ${str} )`
645
+ }
646
+
647
+ let f_orgstr = this.orgCondtionStr
648
+ args.condition = `${args.condition} ` + f_orgstr
649
+ this.model.search(args.condition, args.model)
650
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
651
+ }
652
+ },
653
+ clear() {
654
+ //清空部门和人员
655
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
656
+ //部门和人员变为全选
657
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
658
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
659
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
660
+ this.$refs.paged.$refs.cri.model[key] = []
661
+ })
662
+
663
+ },
664
+ dealmsg(val) {
665
+ val.model = this.model.model
666
+ this.$dispatch('deal-msg', val)
667
+ },
668
+ show() {
669
+ this.criteriaShow = true
670
+ },
671
+ hidden() {
672
+ this.criteriaShow = !this.criteriaShow
673
+ },
674
+ async getRes(condition,obj) {
675
+ this.orgCondtionStr = condition
676
+
677
+ },
678
+
679
+
680
+ },
681
+ events:{
682
+ 'getidcard'(IdCard){
683
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
684
+ }
685
+ },
686
+ watch: {
687
+ 'model'(val) {
688
+ },
689
+ async 'orgCondtionStr'(val) {
690
+ this.$refs.paged.$refs.cri.model.f_inputtor = []
691
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
692
+ this.meterbooks = [{label: '全部',value: ''}];
693
+ if(this.lastorgstr != val){
694
+ this.tempfalg = true;
695
+ this.lastorgstr = val;
696
+ }
697
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
698
+ this.tempfalg = false;
699
+ let a = val.substring(val.indexOf("(")+2)
700
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
701
+ }
702
+ let res = val.match(/'(.*?)'/)
703
+ console.log('正则提取:',res && res[1])
704
+ if (res) {
705
+ this.f_filialeid = res[1]
706
+ if(res.input !=null){
707
+ let resorgid = res.input.substring(res.input.indexOf("'"));
708
+ if(resorgid!= null && resorgid!=''){
709
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
710
+ // resorgid = resorgid.replaceAll("'","");
711
+ resorgid = resorgid.replace(/'/g,"");
712
+ this.allorgid = resorgid.split(",")
713
+ }
714
+ }
715
+ this.updateParams()
716
+ }
717
+ },
718
+ sumsmodel:{
719
+ handler: function(val) {
720
+ this.getotherfooter();
721
+ },
722
+ deep: true
723
+ }
724
+ },
725
+ computed: {
726
+ pricetypes() {
727
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
728
+ },
729
+ getPricenames() {
730
+ let f_user_type = this.$refs.paged.model.model.f_user_type;
731
+ let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
732
+ let pricetype = this.$refs.paged.model.model.pricetype;
733
+ if(this.$refs.paged.model.model !==null) {
734
+ let rs = []
735
+ let priceArr = []
736
+ if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
737
+ let params = {
738
+ f_user_type: f_user_type[0],
739
+ f_gasproperties: f_gasproperties[0],
740
+ f_price_type: pricetype[0],
741
+ filter: this.f_filialeid,
742
+ prices: this.prices
743
+ }
744
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
745
+ let temp = {}
746
+ temp.label = item.label
747
+ temp.value = item.value.f_price_name
748
+ priceArr.push(temp)
749
+ })
750
+ rs = [{label: '全部', value: ''}, ...priceArr]
751
+ }
752
+ if (rs.length === 0) {
753
+ this.$refs.paged.model.model.f_price_name = ''
754
+ }
755
+ return rs
756
+ }
757
+ },
758
+ getCondition() {
759
+ return {
760
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
761
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
762
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
763
+ },
764
+ getfield() {
765
+ return exportConfig.noBusinessConfig
766
+ },
767
+ usertypes() {
768
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
769
+ },
770
+ metertypes() {
771
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
772
+ },
773
+ chargetype() {
774
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
775
+ }
776
+ }
777
+ }
778
+ </script>