manage-client 3.3.149 → 3.3.151-mx

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 (456) hide show
  1. package/build/dev-server.js +4 -3
  2. package/package.json +2 -2
  3. package/src/Staff/StaffList.vue +1 -1
  4. package/src/components/ManageHome/Drill/DrillList.vue +1 -1
  5. package/src/components/ManageHomeCS/Drill/DrillList.vue +1 -1
  6. package/src/components/SellReport/ChargeDayReport.vue +1 -1
  7. package/src/components/SellReport/UserFillmoney.vue +1 -1
  8. package/src/components/SellReport/UserGasFillCard.vue +1 -1
  9. package/src/components/SellReport/YCMonthSummary.vue +1 -1
  10. package/src/components/SellReport/chaostyle.vue +1 -1
  11. package/src/components/SellReport/chargeSchedule.vue +1 -1
  12. package/src/components/SellReport/feimin_style.vue +1 -1
  13. package/src/components/SellReport/shoufeistyle.vue +1 -1
  14. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +1 -1
  15. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +1 -1
  16. package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +1 -1
  17. package/src/components/sale/businessquery/AccountQuery/IncomeGapQuery.vue +1 -1
  18. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +1 -1
  19. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +1 -1
  20. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +1 -1
  21. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +1 -1
  22. package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +1 -1
  23. package/src/components/sale/businessquery/AreaChargeQuery.vue +1 -1
  24. package/src/components/sale/businessquery/AreaGeneralQuery.vue +1 -1
  25. package/src/components/sale/businessquery/ArrearsQuery.vue +1 -1
  26. package/src/components/sale/businessquery/BalanceQuery.vue +1 -1
  27. package/src/components/sale/businessquery/BalanceTable.vue +1 -1
  28. package/src/components/sale/businessquery/BusinesQuery.vue +1 -1
  29. package/src/components/sale/businessquery/CancellationQuery.vue +1 -1
  30. package/src/components/sale/businessquery/CardHandplanQuery.vue +1 -1
  31. package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -1
  32. package/src/components/sale/businessquery/ChangeUserQuery.vue +1 -1
  33. package/src/components/sale/businessquery/ChargeQuery.vue +1 -1
  34. package/src/components/sale/businessquery/CommunityPaymen.vue +1 -1
  35. package/src/components/sale/businessquery/DepositDetail.vue +1 -1
  36. package/src/components/sale/businessquery/DisableQuery.vue +1 -1
  37. package/src/components/sale/businessquery/EnableQuery.vue +1 -1
  38. package/src/components/sale/businessquery/FMYGasQuery.vue +1 -1
  39. package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
  40. package/src/components/sale/businessquery/FillGasQuery.vue +1 -1
  41. package/src/components/sale/businessquery/FlotsamChargeQuery.vue +1 -1
  42. package/src/components/sale/businessquery/GasInspection.vue +1 -1
  43. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  44. package/src/components/sale/businessquery/GroupChargeQuery.vue +1 -1
  45. package/src/components/sale/businessquery/HandBookQuery.vue +1 -1
  46. package/src/components/sale/businessquery/HandBookTwoQuery.vue +1 -1
  47. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +1 -1
  48. package/src/components/sale/businessquery/HandPeopleQuery.vue +1 -1
  49. package/src/components/sale/businessquery/HandRateQuery.vue +1 -1
  50. package/src/components/sale/businessquery/Handgasquery.vue +1 -1
  51. package/src/components/sale/businessquery/HandplanQuery.vue +2 -2
  52. package/src/components/sale/businessquery/InfoOperateRecord.vue +1 -1
  53. package/src/components/sale/businessquery/InspectListGas.vue +1 -1
  54. package/src/components/sale/businessquery/InspectListUser.vue +1 -1
  55. package/src/components/sale/businessquery/MonthGasQuery.vue +1 -1
  56. package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
  57. package/src/components/sale/businessquery/NewAccountQuery.vue +1 -1
  58. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +1 -1
  59. package/src/components/sale/businessquery/NewFMYGasQuery.vue +1 -1
  60. package/src/components/sale/businessquery/NoBusinessQuery.vue +1 -1
  61. package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +1 -1
  62. package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
  63. package/src/components/sale/businessquery/PlotSummaryQuery.vue +1 -1
  64. package/src/components/sale/businessquery/PriceChange.vue +1 -1
  65. package/src/components/sale/businessquery/PricetypeGasMoney.vue +1 -1
  66. package/src/components/sale/businessquery/PrickBillQuery.vue +1 -1
  67. package/src/components/sale/businessquery/PrintSheetQuery.vue +1 -1
  68. package/src/components/sale/businessquery/PrivilegeQuery.vue +1 -1
  69. package/src/components/sale/businessquery/ProceedsOper.vue +1 -1
  70. package/src/components/sale/businessquery/ReceiptQuery.vue +1 -1
  71. package/src/components/sale/businessquery/RecordQuery.vue +1 -1
  72. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +1 -1
  73. package/src/components/sale/businessquery/ResidentialCardQuery.vue +1 -1
  74. package/src/components/sale/businessquery/ResidentialQuery.vue +1 -1
  75. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +1 -1
  76. package/src/components/sale/businessquery/ReverseQuery.vue +1 -1
  77. package/src/components/sale/businessquery/SalesGasClassification.vue +1 -1
  78. package/src/components/sale/businessquery/SellOrgnameQuery.vue +1 -1
  79. package/src/components/sale/businessquery/SellPeopleQuery.vue +1 -1
  80. package/src/components/sale/businessquery/SellingHand.vue +1 -1
  81. package/src/components/sale/businessquery/SendbookQuery.vue +1 -1
  82. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +1 -1
  83. package/src/components/sale/businessquery/TransferQuery.vue +1 -1
  84. package/src/components/sale/businessquery/TransferRecordQuery.vue +1 -1
  85. package/src/components/sale/businessquery/UnhandBusiness.vue +1 -1
  86. package/src/components/sale/businessquery/UserInsured.vue +1 -1
  87. package/src/components/sale/businessquery/UserSellHeadDetail.vue +1 -1
  88. package/src/components/sale/businessquery/UserTongjiQuery.vue +1 -1
  89. package/src/components/sale/businessquery/WebHandplanQuery.vue +1 -1
  90. package/src/components/sale/businessquery/WebMeterMonthGasQuery.vue +1 -1
  91. package/src/components/sale/businessquery/YearGasQuery.vue +1 -1
  92. package/src/components/sale/businessquery/YingShouMingXi.vue +1 -1
  93. package/src/components/sale/businessquery/YonghuJieyu.vue +1 -1
  94. package/src/components/sale/businessquery/analysisquery/CardHandAnalysis.vue +1 -1
  95. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +1 -1
  96. package/src/components/sale/businessquery/errorHandplanQuery.vue +1 -1
  97. package/src/components/sale/businessquery/gasPriceQuery.vue +1 -1
  98. package/src/components/sale/businessquery/handplan-info.vue +1 -1
  99. package/src/components/sale/businessquery/overDueQuery.vue +1 -1
  100. package/src/components/sale/businessquery/priceadjustQuery.vue +1 -1
  101. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +1 -1
  102. package/src/components/sale/businessquery/reportDetail.vue +1 -1
  103. package/src/components/sale/businessquery/sellingChargePrice.vue +1 -1
  104. package/src/components/sale/businessquery/usergas.vue +1 -1
  105. package/src/components/sale/businessquery/weChatBind.vue +1 -1
  106. package/src/components/sale/businessquery/yucunDetails.vue +1 -1
  107. package/src/components/sale/common/handplanUser.vue +1 -1
  108. package/src/components/sale/enterprisequery/enterpriseChargeQuery.vue +1 -1
  109. package/src/components/sale/enterprisequery/enterpriseGasQuery.vue +1 -1
  110. package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
  111. package/src/components/sale/filesquery/FireQuery.vue +1 -1
  112. package/src/components/sale/filesquery/MeterQuery.vue +1 -1
  113. package/src/components/sale/filesquery/PriceChangeQuery.vue +1 -1
  114. package/src/components/sale/filesquery/UserDeviceQuery.vue +1 -1
  115. package/src/components/sale/filesquery/UserQuery.vue +1 -1
  116. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +1 -1
  117. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +1 -1
  118. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +1 -1
  119. package/src/components/sale/quotaquery/QuotaRecordQuery.vue +1 -1
  120. package/src/components/sale/report/aode/DayReportList.vue +1 -1
  121. package/src/components/sale/report/aode/MonthByChargeType.vue +1 -1
  122. package/src/components/sale/report/aode/MonthByUserType.vue +1 -1
  123. package/src/components/sale/report/aode/YearByChargeTpye.vue +1 -1
  124. package/src/components/sale/report/aode/YearByUserType.vue +2 -2
  125. package/src/components/sale/report/aode/life/LifeDayReportList.vue +1 -1
  126. package/src/components/sale/report/aode/life/LifeMonthReport.vue +1 -1
  127. package/src/components/sale/report/aode/life/LifeYearReport.vue +1 -1
  128. package/src/components/sale/resourcequery/LoginQuery.vue +1 -1
  129. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +1 -1
  130. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +1 -1
  131. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +1 -1
  132. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +1 -1
  133. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +1 -1
  134. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +1 -1
  135. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +1 -1
  136. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +1 -1
  137. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +1 -1
  138. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +1 -1
  139. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +1 -1
  140. package/src/components/valueaddinfo/valueAddCountQuery.vue +1 -1
  141. package/src/components/valueaddinfo/valueAddUserQuery.vue +1 -1
  142. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +1 -1
  143. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +1 -1
  144. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +1 -1
  145. package/src/components/webmeter/DrillData/LostContactEform.vue +1 -1
  146. package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
  147. package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
  148. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +1 -1
  149. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +1 -1
  150. package/src/components/webmeter/gasAnalysis/NewWebmeterSettlementAnalysis.vue +1 -1
  151. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +1 -1
  152. package/src/components/webmeter/gasStatistics/GasStatistics.vue +1 -1
  153. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +1 -1
  154. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +1 -1
  155. package/src/components/webmeter/instruction/NewQueryInstruct.vue +1 -1
  156. package/src/components/webmeter/instruction/NewQueryInstructHistory.vue +1 -1
  157. package/src/components/webmeter/meterinfo/NewMeterList.vue +1 -1
  158. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +1 -1
  159. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
  160. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +1 -1
  161. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +1 -1
  162. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeterShiQuan.vue +1 -1
  163. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +1 -1
  164. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +1 -1
  165. package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -1
  166. package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
  167. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +1 -1
  168. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +1 -1
  169. package/src/components/webmeter/operationValueRecord.vue +1 -1
  170. package/src/components/webmeter/recharge/RechargeList.vue +1 -1
  171. package/src/components/webmeter/report/ReportDetailList.vue +1 -1
  172. package/src/components/webmeter/report/ReportList.vue +1 -1
  173. package/src/components/webmeter/reportdata/ReportDataQuery.vue +1 -1
  174. package/src/filiale/WEINAN/CancellationQuery.vue +1 -1
  175. package/src/filiale/WEINAN/ChangeMeterQuery.vue +1 -1
  176. package/src/filiale/WEINAN/ChargeQuery.vue +1 -1
  177. package/src/filiale/WEINAN/DeviceQuery.vue +1 -1
  178. package/src/filiale/WEINAN/DisableQuery.vue +1 -1
  179. package/src/filiale/WEINAN/EnableQuery.vue +1 -1
  180. package/src/filiale/WEINAN/FillGasQuery.vue +1 -1
  181. package/src/filiale/WEINAN/InspectListGas.vue +1 -1
  182. package/src/filiale/WEINAN/InspectListUser.vue +1 -1
  183. package/src/filiale/WEINAN/ManageCompanyGasDetail.vue +1 -1
  184. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +1 -1
  185. package/src/filiale/WEINAN/ManageSummaryReport.vue +1 -1
  186. package/src/filiale/WEINAN/MeterQuery.vue +1 -1
  187. package/src/filiale/WEINAN/NewAccountQuery.vue +1 -1
  188. package/src/filiale/WEINAN/OtherChargeQuery.vue +1 -1
  189. package/src/filiale/WEINAN/RecordInfoQuery.vue +1 -1
  190. package/src/filiale/WEINAN/ReportDataQuery.vue +1 -1
  191. package/src/filiale/WEINAN/UserGasAll.vue +1 -1
  192. package/src/filiale/WEINAN/UserGasList.vue +1 -1
  193. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +1 -1
  194. package/src/filiale/WEINAN/UserQuery.vue +1 -1
  195. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +1 -1
  196. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +2 -2
  197. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +1 -1
  198. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +1 -1
  199. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +1 -1
  200. package/src/filiale/WEINAN/businessquery/UserInsured.vue +1 -1
  201. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +1 -1
  202. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +1 -1
  203. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +1 -1
  204. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +1 -1
  205. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +1 -1
  206. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +1 -1
  207. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +1 -1
  208. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +1 -1
  209. package/src/filiale/WEINAN/webmeter/ReportList.vue +1 -1
  210. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +1 -1
  211. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +1 -1
  212. package/src/filiale/alashan/MeterQuery.vue +1 -1
  213. package/src/filiale/alashan/UserQuery.vue +1 -1
  214. package/src/filiale/ancheng/businessquery/ChargeQuery.vue +1 -1
  215. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +1 -1
  216. package/src/filiale/aode/HandplanQuery.vue +1 -1
  217. package/src/filiale/aode/UserQuery.vue +1 -1
  218. package/src/filiale/ceshi/ArrearsQuery.vue +1 -1
  219. package/src/filiale/ceshi/MeterRateQuery.vue +1 -1
  220. package/src/filiale/fugu/ReportList.vue +1 -1
  221. package/src/filiale/gaomi/ChargeQuery.vue +1 -1
  222. package/src/filiale/gaomi/DisableQuery.vue +1 -1
  223. package/src/filiale/gaomi/MeterQuery.vue +1 -1
  224. package/src/filiale/gaomi/RecordInfoQuery.vue +1 -1
  225. package/src/filiale/gaomi/UserQuery.vue +1 -1
  226. package/src/filiale/gaomi/usergas.vue +1 -1
  227. package/src/filiale/gehua/ChargeQuery.vue +1 -1
  228. package/src/filiale/gehua/GasStatistics.vue +1 -1
  229. package/src/filiale/gehua/GroupChargeQuery.vue +1 -1
  230. package/src/filiale/gehua/ReportDataQuery.vue +1 -1
  231. package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +1 -1
  232. package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +1 -1
  233. package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +1 -1
  234. package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +2 -2
  235. package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +1 -1
  236. package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +1 -1
  237. package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +1 -1
  238. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +1 -1
  239. package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +1 -1
  240. package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +1 -1
  241. package/src/filiale/haile/sale/businessquery/ChargeQuery.vue +1 -1
  242. package/src/filiale/huayin/ChangeMeterQuery.vue +1 -1
  243. package/src/filiale/huayin/ChargeQuery.vue +1 -1
  244. package/src/filiale/huayin/RecordInfoQuery.vue +1 -1
  245. package/src/filiale/jingwei/ChargeQuery.vue +1 -1
  246. package/src/filiale/jingwei/RecordInfoQuery.vue +1 -1
  247. package/src/filiale/jingzhou/ChargeQuery.vue +1 -1
  248. package/src/filiale/jingzhou/HandplanQuery.vue +2 -2
  249. package/src/filiale/kelai/ChargeQuery.vue +1 -1
  250. package/src/filiale/kelai/GasStatistics.vue +1 -1
  251. package/src/filiale/kelai/MeterQuery.vue +1 -1
  252. package/src/filiale/kelai/NewAccountQuery.vue +1 -1
  253. package/src/filiale/kelai/UserQuery.vue +1 -1
  254. package/src/filiale/kelai/feimin_style.vue +1 -1
  255. package/src/filiale/konggang/sale/DayReportList.vue +1 -1
  256. package/src/filiale/liaoyuan/ArrearsQuery.vue +1 -1
  257. package/src/filiale/liaoyuan/ChargeQuery.vue +1 -1
  258. package/src/filiale/liaoyuan/HandplanQuery.vue +1 -1
  259. package/src/filiale/liaoyuan/MeterQuery.vue +1 -1
  260. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1 -1
  261. package/src/filiale/liaoyuan/ReportList.vue +1 -1
  262. package/src/filiale/lixianV3/ChangeMeterQuery.vue +1 -1
  263. package/src/filiale/lixianV3/GasAnalysisQuery.vue +1 -1
  264. package/src/filiale/lixianV3/HandplanQuery.vue +2 -2
  265. package/src/filiale/lixianV3/InvoiceDetailsQuery.vue +1 -1
  266. package/src/filiale/lixianV3/NewGasStatistics.vue +1 -1
  267. package/src/filiale/lixianV3/UserLostContactAnalysis.vue +1 -1
  268. package/src/filiale/lixianV3/paymentQuery.vue +1 -1
  269. package/src/filiale/macheng/ArrearsQuery.vue +1 -1
  270. package/src/filiale/macheng/ChargeQuery.vue +1 -1
  271. package/src/filiale/macheng/DayGasQuery.vue +1 -1
  272. package/src/filiale/macheng/FMYGasQuery.vue +1 -1
  273. package/src/filiale/macheng/HandplanQuery.vue +2 -2
  274. package/src/filiale/macheng/MeterQuery.vue +1 -1
  275. package/src/filiale/macheng/MonthGasQuery.vue +1 -1
  276. package/src/filiale/macheng/RecordInfoQuery.vue +1 -1
  277. package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +1 -1
  278. package/src/filiale/meihekou/ArrearsHistoryQuery.vue +1 -1
  279. package/src/filiale/meihekou/ArrearsQuery.vue +1 -1
  280. package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
  281. package/src/filiale/meihekou/ChargeQuery.vue +1 -1
  282. package/src/filiale/meihekou/DeviceQuery.vue +1 -1
  283. package/src/filiale/meihekou/HandplanQuery.vue +2 -2
  284. package/src/filiale/meihekou/MeterQuery.vue +1 -1
  285. package/src/filiale/meihekou/OtherChargeQuery.vue +1 -1
  286. package/src/filiale/meihekou/RecordInfoQuery.vue +1 -1
  287. package/src/filiale/meihekou/UserGasEform.vue +1 -1
  288. package/src/filiale/meihekou/UserQuery.vue +1 -1
  289. package/src/filiale/meihekou/YingShouMingXi.vue +1 -1
  290. package/src/filiale/ningjin/ChargeQuery.vue +1 -1
  291. package/src/filiale/ningjin/FillCardQuery.vue +1 -1
  292. package/src/filiale/ningjin/GasStatistics.vue +1 -1
  293. package/src/filiale/ningjin/GetNoMetereadData.vue +1 -1
  294. package/src/filiale/ningjin/LostContactAnalysisList.vue +1 -1
  295. package/src/filiale/ningjin/MeterExceptionList.vue +1 -1
  296. package/src/filiale/ningjin/UserLostContactAnalysis.vue +1 -1
  297. package/src/filiale/pingxiang/ChangeUserQuery.vue +1 -1
  298. package/src/filiale/qianneng/ArrearsQuery.vue +1 -1
  299. package/src/filiale/qianneng/GasLossQuery.vue +1 -1
  300. package/src/filiale/qianneng/GasStatistics.vue +1 -1
  301. package/src/filiale/qianneng/HandplanQuery.vue +1 -1
  302. package/src/filiale/qianneng/MeterQuery.vue +1 -1
  303. package/src/filiale/qianneng/OtherChargeQuery.vue +1 -1
  304. package/src/filiale/qianneng/QnAqzzHmc.vue +1 -1
  305. package/src/filiale/qianneng/QnAqzzJfmx.vue +1 -1
  306. package/src/filiale/qianneng/QnAqzzXzhz.vue +1 -1
  307. package/src/filiale/qianneng/QnAqzzXzjwhhz.vue +1 -1
  308. package/src/filiale/qianneng/QnAqzzYsbb.vue +1 -1
  309. package/src/filiale/qianneng/QnAqzzYsmx.vue +1 -1
  310. package/src/filiale/qianneng/QnChaobiaomingxi.vue +1 -1
  311. package/src/filiale/qianneng/QnChaobiaoyhhz.vue +1 -1
  312. package/src/filiale/qianneng/QnChaobiaoyqxzhz.vue +1 -1
  313. package/src/filiale/qianneng/QnJgqCbjbZD.vue +1 -1
  314. package/src/filiale/qianneng/QnJgqCbwlwZD.vue +1 -1
  315. package/src/filiale/qianneng/QnJgqGshzbb.vue +1 -1
  316. package/src/filiale/qianneng/QnJgqGsxsmx.vue +1 -1
  317. package/src/filiale/qianneng/QnJgqGsxsmxJX.vue +1 -1
  318. package/src/filiale/qianneng/QnJgqMgqbb.vue +1 -1
  319. package/src/filiale/qianneng/QnJgqMyhzbb.vue +1 -1
  320. package/src/filiale/qianneng/QnJgqMyxsmx.vue +1 -1
  321. package/src/filiale/qianneng/QnJgqMyxsmxJX.vue +1 -1
  322. package/src/filiale/qianneng/QnJgqSfZD.vue +1 -1
  323. package/src/filiale/qianneng/QnJgqXsjgbb.vue +1 -1
  324. package/src/filiale/qianneng/QnJgqXsjgbbJX.vue +1 -1
  325. package/src/filiale/qianneng/QnJgqXsjgbbWs.vue +1 -1
  326. package/src/filiale/qianneng/QnJgqYhsbb.vue +1 -1
  327. package/src/filiale/qianneng/QnJgqZhdacx.vue +1 -1
  328. package/src/filiale/qianneng/QnJgqZhdacxZD.vue +1 -1
  329. package/src/filiale/qianneng/QnTiaojiabuchaTJB.vue +1 -1
  330. package/src/filiale/qianneng/QnWeiyuejingmx.vue +1 -1
  331. package/src/filiale/qianneng/RecordInfoQuery.vue +1 -1
  332. package/src/filiale/qianneng/UserQuery.vue +1 -1
  333. package/src/filiale/qingtongxia/ArrearsQuery.vue +1 -1
  334. package/src/filiale/qingtongxia/ChargeQuery.vue +1 -1
  335. package/src/filiale/qingtongxia/MeterQuery.vue +1 -1
  336. package/src/filiale/qingtongxia/MonthGasQuery.vue +1 -1
  337. package/src/filiale/qingtongxia/NewWebMeterHandPlan.vue +1 -1
  338. package/src/filiale/qingtongxia/RecordInfoQuery.vue +1 -1
  339. package/src/filiale/qingtongxia/SellPeopleQuery.vue +1 -1
  340. package/src/filiale/rizhao/ChargeQuery.vue +1 -1
  341. package/src/filiale/rizhao/InspectListUser.vue +1 -1
  342. package/src/filiale/rizhao/MeterQuery.vue +1 -1
  343. package/src/filiale/rizhao/UserQuery.vue +1 -1
  344. package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +1 -1
  345. package/src/filiale/rongcheng/ArrearsQuery.vue +1 -1
  346. package/src/filiale/rongcheng/ChargeQuery.vue +1 -1
  347. package/src/filiale/rongcheng/DeviceQuery.vue +1 -1
  348. package/src/filiale/rongcheng/MeterQuery.vue +1 -1
  349. package/src/filiale/rongcheng/MonthGasQuery.vue +1 -1
  350. package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
  351. package/src/filiale/rongcheng/UserQuery.vue +1 -1
  352. package/src/filiale/rongchuang/BusinesQuery.vue +1 -1
  353. package/src/filiale/rongchuang/ChangeMeterQuery.vue +1 -1
  354. package/src/filiale/rongchuang/ChargeQuery.vue +1 -1
  355. package/src/filiale/shanggao/UserQuery.vue +1 -1
  356. package/src/filiale/shangluo/ChargeDayReport.vue +1 -1
  357. package/src/filiale/shangluo/UserQuery.vue +1 -1
  358. package/src/filiale/shanxian/AreaGeneralQuery.vue +1 -1
  359. package/src/filiale/shanxian/CancellationQuery.vue +1 -1
  360. package/src/filiale/shanxian/ChangeMeterQuery.vue +1 -1
  361. package/src/filiale/shanxian/ChangeUserQuery.vue +1 -1
  362. package/src/filiale/shanxian/ChargeQuery.vue +1 -1
  363. package/src/filiale/shanxian/DeviceQuery.vue +1 -1
  364. package/src/filiale/shanxian/DisableQuery.vue +1 -1
  365. package/src/filiale/shanxian/EnableQuery.vue +1 -1
  366. package/src/filiale/shanxian/FMYGasQuery.vue +1 -1
  367. package/src/filiale/shanxian/FillCardQuery.vue +1 -1
  368. package/src/filiale/shanxian/FillGasQuery.vue +1 -1
  369. package/src/filiale/shanxian/GasInspection.vue +1 -1
  370. package/src/filiale/shanxian/InspectListGas.vue +1 -1
  371. package/src/filiale/shanxian/InspectListUser.vue +1 -1
  372. package/src/filiale/shanxian/InspectListUserNew.vue +1 -1
  373. package/src/filiale/shanxian/LostContactAnalysisList.vue +1 -1
  374. package/src/filiale/shanxian/MeterQuery.vue +1 -1
  375. package/src/filiale/shanxian/MonthGasQuery.vue +1 -1
  376. package/src/filiale/shanxian/NewQueryInstruct.vue +1 -1
  377. package/src/filiale/shanxian/OtherChargeQuery.vue +1 -1
  378. package/src/filiale/shanxian/ReverseQuery.vue +1 -1
  379. package/src/filiale/shanxian/TransferQuery.vue +1 -1
  380. package/src/filiale/shanxian/UserGasAll.vue +1 -1
  381. package/src/filiale/shanxian/UserLostContactAnalysis.vue +1 -1
  382. package/src/filiale/shanxian/UserQuery.vue +1 -1
  383. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +1 -1
  384. package/src/filiale/shaoguan/ArrearsQuery.vue +1 -1
  385. package/src/filiale/shaoguan/ChargeQuery.vue +1 -1
  386. package/src/filiale/shaoguan/HandplanQuery.vue +1 -1
  387. package/src/filiale/shaoguan/OtherChargeQuery.vue +1 -1
  388. package/src/filiale/shaoguan/RecordInfoQuery.vue +2 -2
  389. package/src/filiale/shaoguan/TransferQuery.vue +1 -1
  390. package/src/filiale/shaoguan/errorHandplanQuery.vue +1 -1
  391. package/src/filiale/shaoguan/overDueQuery.vue +1 -1
  392. package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +1 -1
  393. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +1 -1
  394. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +1 -1
  395. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +1 -1
  396. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +1 -1
  397. package/src/filiale/shennongjia/ChargeQuery.vue +1 -1
  398. package/src/filiale/shexian/ChangeMeterQuery.vue +1 -1
  399. package/src/filiale/shexian/ChargeQuery.vue +1 -1
  400. package/src/filiale/shexian/UserQuery.vue +1 -1
  401. package/src/filiale/taizhoukesi/FMYGasQuery.vue +1 -1
  402. package/src/filiale/taizhoukesi/NewGasStatistics.vue +1 -1
  403. package/src/filiale/tongchuan/ChargeQuery.vue +1 -1
  404. package/src/filiale/tongchuan/DeviceQuery.vue +1 -1
  405. package/src/filiale/tongchuan/FillGasQuery.vue +1 -1
  406. package/src/filiale/tongchuan/GasInspection.vue +1 -1
  407. package/src/filiale/tongchuan/HandplanQuery.vue +2 -2
  408. package/src/filiale/tongchuan/InspectListGas.vue +1 -1
  409. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  410. package/src/filiale/tongchuan/PriceChangeQuery.vue +1 -1
  411. package/src/filiale/tongchuan/ReportList.vue +1 -1
  412. package/src/filiale/tongchuan/UserDeviceQuery.vue +1 -1
  413. package/src/filiale/tongchuan/UserQuery.vue +1 -1
  414. package/src/filiale/wenxi/CardHandplanQuery.vue +1 -1
  415. package/src/filiale/wenxi/ChangeMeterQuery.vue +1 -1
  416. package/src/filiale/wenxi/ChangeUserQuery.vue +1 -1
  417. package/src/filiale/wenxi/ChargeQuery.vue +1 -1
  418. package/src/filiale/wenxi/DeviceQuery.vue +1 -1
  419. package/src/filiale/wenxi/DisableQuery.vue +1 -1
  420. package/src/filiale/wenxi/EnableQuery.vue +1 -1
  421. package/src/filiale/wenxi/GasStatistics.vue +1 -1
  422. package/src/filiale/wenxi/GetNoMetereadData.vue +1 -1
  423. package/src/filiale/wenxi/HandplanQuery.vue +2 -2
  424. package/src/filiale/wenxi/MeterQuery.vue +1 -1
  425. package/src/filiale/wenxi/NewGasStatistics.vue +1 -1
  426. package/src/filiale/wuan/ChargeQuery.vue +1 -1
  427. package/src/filiale/wuhai/ChargeQuery.vue +1 -1
  428. package/src/filiale/wuhai/MeterQuery.vue +1 -1
  429. package/src/filiale/wuhai/OtherChargeQuery.vue +1 -1
  430. package/src/filiale/wuhai/ReportList.vue +1 -1
  431. package/src/filiale/wuhai/UserQuery.vue +1 -1
  432. package/src/filiale/xiangyun/ChargeQuery.vue +1 -1
  433. package/src/filiale/xiangyun/ReportDataQuery.vue +1 -1
  434. package/src/filiale/xinkang/ChangeUserQuery.vue +1 -1
  435. package/src/filiale/xinkang/ChargeQuery.vue +1 -1
  436. package/src/filiale/xinkang/DeviceQuery.vue +1 -1
  437. package/src/filiale/xinkang/GasStatistics.vue +1 -1
  438. package/src/filiale/xinkang/ManageBrandHouseCount.vue +1 -1
  439. package/src/filiale/xinkang/MeterQuery.vue +1 -1
  440. package/src/filiale/xinkang/NewGasStatistics.vue +1 -1
  441. package/src/filiale/xinkang/RecordInfoQuery.vue +1 -1
  442. package/src/filiale/xinkang/TransferQuery.vue +1 -1
  443. package/src/filiale/xinkang/UserQuery.vue +1 -1
  444. package/src/filiale/yuansheng/DayReportList.vue +1 -1
  445. package/src/filiale/yuncheng/ChangeMeterQuery.vue +1 -1
  446. package/src/filiale/yuncheng/GasInspection.vue +1 -1
  447. package/src/filiale/yuncheng/LostContactAnalysisList.vue +1 -1
  448. package/src/filiale/zhongsheng/ChargeQuery.vue +1 -1
  449. package/src/filiale/zhongyi/FillCardQuery.vue +1 -1
  450. package/src/filiale/zhongyi/GasStatistics.vue +1 -1
  451. package/src/filiale/zhongyi/LostContactAnalysisList.vue +1 -1
  452. package/src/filiale/zhongyi/MeterExceptionList.vue +1 -1
  453. package/src/filiale/zhongyi/UserLostContactAnalysis.vue +1 -1
  454. package/src/main.js +68 -68
  455. package/src/newmanage.js +2 -2
  456. package/src/reportManage.js +1 -1
@@ -1,1002 +1,1002 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" v-if="!show">
6
- <criteria-paged :model="model" v-ref:paged>
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">客户编号</label>
12
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
- condition="f_userinfo_code like '%{}%' " placeholder="客户编号">
14
- </div>
15
- <div class="col-sm-2 form-group">
16
- <label class="font_normal_body">客户名称</label>
17
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
- condition="f_user_name like '%{}%'" placeholder="客户名称">
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label class="font_normal_body" title="旧客户编号">档案编号</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
- </div>
25
- <div class="col-sm-2 form-group">
26
- <label class="font_normal_body">客户电话</label>
27
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
- </div>
30
- <div class="span" style="float:right;">
31
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
32
- <read-card v-if="!$filialeInfo || $filialeInfo!=='rongcheng'" :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
33
- <button class="button_search button_spacing" @click="search()">查询</button>
34
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
36
-
37
- <export-excel :data="$parent.$parent.getCondition"
38
- :field="$parent.$parent.getExportField"
39
- :footer="$parent.$parent.footer"
40
- :header="$parent.$parent.other"
41
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
42
- sqlurl="rs/logic/exportfile" sql-name="meterQuery" template-name='表具查询导出'
43
- :choose-col="true"></export-excel>
44
- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
45
- :defaultfield="$parent.$parent.defaultfield"
46
- titletable="客户查询"
47
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
48
-
49
-
50
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
51
- </div>
52
- </div>
53
- <div class="row" v-show="$parent.$parent.criteriaShow">
54
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
55
-
56
-
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">客户地址</label>
59
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
60
- condition="f_address like '%{}%'" placeholder='客户地址'>
61
- </div>
62
-
63
- <div class="col-sm-2 form-group">
64
- <label class="font_normal_body">区&nbsp;&nbsp;&nbsp;&nbsp;域</label>
65
- <v-select
66
- v-model="model.f_pcd"
67
- placeholder='选择区域'
68
- :value.sync="model.f_pcd"
69
- :options='$parent.$parent.pcdslist'
70
- condition="f_pcd_id = '{}'"
71
- style="width: 60%"
72
- close-on-select >
73
- </v-select>
74
- </div>
75
- <div class="col-sm-2 form-group" v-if="!$filialeInfo || $filialeInfo!=='rongcheng'">
76
- <label class="font_normal_body">用气点</label>
77
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
78
- condition="f_userfiles_address like '%{}%'" placeholder='用气点'>
79
- </div>
80
- <div class="col-sm-2 form-group">
81
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
82
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
83
- condition="f_meternumber like '%{}%'" placeholder='表号'>
84
- </div>
85
-
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;卡号&nbsp;&nbsp;&nbsp;</label>
88
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
89
- condition="f_card_id like '%{}%'" placeholder='卡号'>
90
- </div>
91
-
92
- <div class="col-sm-2 form-group">
93
- <label class="font_normal_body">客户类型</label>
94
- <v-select :value.sync="model.f_user_type"
95
- :options='$parent.$parent.usertypes'
96
- @change="$parent.$parent.userTypeChange()"
97
- placeholder='请选择' v-model="model.f_user_type"
98
- condition="f_user_type = '{}'"
99
- close-on-select></v-select>
100
- </div>
101
- <div class="col-sm-2 form-group" v-if="false">
102
- <label for="f_usetype" class="font_normal_body">二次挂表</label>
103
- <v-select :value.sync="model.issecondtype" v-model="model.issecondtype"
104
- condition="f_usetype {}"
105
- :options='$parent.$parent.issecond' placeholder='请选择'
106
- close-on-select></v-select>
107
- </div>
108
- <div class="col-sm-2 form-group" >
109
- <label for="f_usetype" class="font_normal_body" title="参数:使用类型">使用类型</label>
110
- <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
111
- condition="f_usetype = '{}'"
112
- :options='$parent.$parent.usetype' placeholder='请选择'
113
- close-on-select></v-select>
114
- </div>
115
- <div class="col-sm-2 form-group">
116
- <label class="font_normal_body">用气性质</label>
117
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
118
- :options='$parent.$parent.gasproperties' placeholder='请选择'
119
- condition="f_gasproperties = '{}'"
120
- close-on-select></v-select>
121
- </div>
122
- <div class="col-sm-2 form-group">
123
- <label class="font_normal_body">气价类型</label>
124
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
125
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
126
- condition="f_price_type = '{}'"
127
- close-on-select v-ref:type>
128
- </v-select>
129
- </div>
130
- <div class="col-sm-2 form-group">
131
- <label class="font_normal_body">气价名称</label>
132
- <v-select :value.sync="model.f_price_name"
133
- v-model="model.f_price_name"
134
- :options="$parent.$parent.getPricenames"
135
- placeholder='请选择'
136
- condition="f_price_name = '{}'"
137
- close-on-select></v-select>
138
- </div>
139
- <div class="col-sm-2 form-group">
140
- <label class="font_normal_body">气表分类</label>
141
- <v-select :value.sync="model.f_meter_classify"
142
- v-model="model.f_meter_classify"
143
- :options='$parent.$parent.metertypes' placeholder='请选择'
144
- condition="f_meter_classify = '{}'"
145
- close-on-select></v-select>
146
- </div>
147
- <div class="col-sm-2 form-group">
148
- <label class="font_normal_body">气表品牌</label>
149
- <v-select :value.sync="model.f_meter_brand"
150
- v-model="model.f_meter_brand"
151
- :options='$parent.$parent.meterbrands' placeholder='请选择'
152
- condition="f_meter_brand = '{}'"
153
- close-on-select></v-select>
154
- </div>
155
- <div class="col-sm-2 form-group">
156
- <label class="font_normal_body">气表型号</label>
157
- <v-select :value.sync="model.f_meter_style"
158
- v-model="model.f_meter_style"
159
- :options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
160
- condition="f_meter_style = '{}'"
161
- close-on-select></v-select>
162
- </div>
163
- <div class="col-sm-2 form-group">
164
- <label class="font_normal_body">气表状态</label>
165
- <v-select :value.sync="model.f_table_state"
166
- v-model="model.f_table_state"
167
- :options='$parent.$parent.tablestate' placeholder='请选择'
168
- condition="f_table_state = '{}'"
169
- close-on-select></v-select>
170
- </div>
171
- <div class="col-sm-2 form-group">
172
- <label class="font_normal_body">使用状态</label>
173
- <v-select :value.sync="model.f_usestate"
174
- v-model="model.f_usestate"
175
- :options='$parent.$parent.usestate' placeholder='请选择'
176
- condition="f_usestate = '{}'"
177
- close-on-select></v-select>
178
- </div>
179
- <div class="col-sm-2 form-group">
180
- <label for="startDate" class="font_normal_body">建表日期</label>
181
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
182
- v-model="model.startDate"
183
- :value.sync="model.startDate"
184
- :format="'yyyy-MM-dd'"
185
- :show-reset-button="true"
186
- condition="f_input_date >= '{} 00:00:00'">
187
- </datepicker>
188
- </div>
189
- <div class="col-sm-2 form-group">
190
- <label for="endDate" class="font_normal_body">建表日期</label>
191
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
192
- v-model="model.endDate"
193
- :value.sync="model.endDate"
194
- :format="'yyyy-MM-dd'"
195
- :show-reset-button="true"
196
- condition="f_input_date <= '{} 23:59:59'">
197
- </datepicker>
198
- </div>
199
- <div class="col-sm-2 form-group">
200
- <label for="startDate" class="font_normal_body">通气日期</label>
201
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
202
- v-model="model.startTQDate"
203
- :value.sync="model.startTQDate"
204
- :format="'yyyy-MM-dd'"
205
- :show-reset-button="true"
206
- condition="f_gas_date >= '{} 00:00:00'">
207
- </datepicker>
208
- </div>
209
- <div class="col-sm-2 form-group">
210
- <label for="endDate" class="font_normal_body">通气日期</label>
211
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
212
- v-model="model.endTQDate"
213
- :value.sync="model.endTQDate"
214
- :format="'yyyy-MM-dd'"
215
- :show-reset-button="true"
216
- condition="f_gas_date <= '{} 23:59:59'">
217
- </datepicker>
218
- </div>
219
- <div class="col-sm-2 form-group">
220
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
221
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
222
- :options='$parent.$parent.bgl' placeholder='请选择'
223
- condition="isbgl = '{}'"
224
- close-on-select></v-select>
225
- </div>
226
- <div class="col-sm-2 form-group" v-if="!$filialeInfo || $filialeInfo!=='rongcheng'">
227
- <label class="font_normal_body">用户等级</label>
228
- <v-select :value.sync="model.f_user_grade"
229
- v-model="model.f_user_grade"
230
- :options='$parent.$parent.usergrade' placeholder='请选择'
231
- condition="f_user_grade = '{}'"
232
- close-on-select></v-select>
233
- </div>
234
- <!--表册片区-->
235
- <div class="col-sm-2 form-group">
236
- <label class="font_normal_body">表册片区</label>
237
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
238
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
239
- style="width:60%"
240
- close-on-select
241
- condition="f_book_slice_area = '{}'"></v-select>
242
- </div>
243
- <div class="col-sm-2 form-group">
244
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
245
- <v-select :value.sync="model.f_inputtor"
246
- v-model="model.f_inputtor"
247
- :options='$parent.$parent.inputtores' placeholder='请选择'
248
- condition="f_inputtor = '{}'"
249
- close-on-select :value-single="true" :search="false">
250
- </v-select>
251
- </div>
252
- <div class="col-sm-2 form-group">
253
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
254
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
255
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
256
- style="width:60%"
257
- close-on-select
258
- condition="f_meter_book_num = '{}'"></v-select>
259
- </div>
260
- <div class="col-sm-2 form-group">
261
- <label class="font_normal_body">客户状态</label>
262
- <v-select :value.sync="model.f_user_state"
263
- v-model="model.f_user_state"
264
- :options='$parent.$parent.userstates' placeholder='请选择'
265
- condition="f_user_state = '{}'"
266
- close-on-select></v-select>
267
- </div>
268
- <div class="col-sm-2 form-group">
269
- <label for="startUseDate" class="font_normal_body">使用日期</label>
270
- <datepicker id="startUseDate" placeholder="开始日期" style="width:60%"
271
- v-model="model.startUseDate"
272
- :value.sync="model.startUseDate"
273
- :format="'yyyy-MM-dd'"
274
- :show-reset-button="true"
275
- condition="f_use_date >= '{} 00:00:00'">
276
- </datepicker>
277
- </div>
278
- <div class="col-sm-2 form-group">
279
- <label for="endUseDate" class="font_normal_body">使用日期</label>
280
- <datepicker id="endUseDate" placeholder="结束日期" style="width:60%"
281
- v-model="model.endUseDate"
282
- :value.sync="model.endUseDate"
283
- :format="'yyyy-MM-dd'"
284
- :show-reset-button="true"
285
- condition="f_use_date <= '{} 23:59:59'">
286
- </datepicker>
287
- </div>
288
- </div>
289
- </div>
290
- </criteria>
291
-
292
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
293
- <template partial='head'>
294
- <tr>
295
- <th>
296
- <nobr>客户编号</nobr>
297
- </th>
298
- <th>
299
- <nobr>客户名称</nobr>
300
- </th>
301
- <th>
302
- <nobr>档案编号</nobr>
303
- </th>
304
- <th>
305
- <nobr>客户电话</nobr>
306
- </th>
307
- <th>
308
- <nobr>身份证号</nobr>
309
- </th>
310
- <th>
311
- <nobr>客户地址</nobr>
312
- </th>
313
- <th>
314
- <nobr>表册片区</nobr>
315
- </th>
316
- <th>
317
- <nobr>表上余额</nobr>
318
- </th>
319
- <th>
320
- <nobr>客户类型</nobr>
321
- </th>
322
- <th>
323
- <nobr>使用类型</nobr>
324
- </th>
325
- <th>
326
- <nobr>使用日期</nobr>
327
- </th>
328
- <th>
329
- <nobr>用气性质</nobr>
330
- </th>
331
- <th>
332
- <nobr>表号</nobr>
333
- </th>
334
- <th>
335
- <nobr>卡号</nobr>
336
- </th>
337
-
338
-
339
- <th>
340
- <nobr>气价名称</nobr>
341
- </th>
342
- <th>
343
- <nobr>气价详情</nobr>
344
- </th>
345
- <th>
346
- <nobr>气表品牌</nobr>
347
- </th>
348
- <th>
349
- <nobr>气表型号</nobr>
350
- </th>
351
- <th>
352
- <nobr>户管员</nobr>
353
- </th>
354
- <th>
355
- <nobr>通气人</nobr>
356
- </th>
357
- <th>
358
- <nobr>通气时间</nobr>
359
- </th>
360
- <th>
361
- <nobr>建表时间</nobr>
362
- </th>
363
- <th>
364
- <nobr>气表状态</nobr>
365
- </th>
366
- <th>
367
- <nobr>是否壁挂炉</nobr>
368
- </th>
369
- </tr>
370
- </template>
371
- <template partial='body'>
372
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
373
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
374
- </nobr> </td>
375
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
376
- <nobr>{{row.f_user_name}}</nobr>
377
- </td>
378
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
379
- <nobr>{{row.f_olduserinfo_code}}</nobr>
380
- </td>
381
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
382
- <nobr>{{row.f_user_phone}}</nobr>
383
- </td>
384
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
385
- <nobr>{{row.idnumber}}</nobr>
386
- </td>
387
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
388
- <nobr>{{row.f_address}}</nobr>
389
- </td>
390
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
391
- <nobr>{{row.f_book_slice_area}}</nobr>
392
- </td>
393
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
394
- <nobr>{{row.f_balance_amount}}</nobr>
395
- </td>
396
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
397
- <nobr>{{row.f_user_type}}</nobr>
398
- </td>
399
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
400
- <nobr>{{row.f_usetype}}</nobr>
401
- </td>
402
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
403
- <nobr>{{row.f_use_date}}</nobr>
404
- </td>
405
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
406
- <nobr>{{row.f_gasproperties}}</nobr>
407
- </td>
408
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
409
- <nobr>{{row.f_meternumber}}</nobr>
410
- </td>
411
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
412
- <nobr>{{row.f_card_id}}</nobr>
413
- </td>
414
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
415
- <nobr>{{row.f_price_name}}</nobr>
416
- </td>
417
- <th :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" title="{{row.value}}">
418
- <nobr>{{row.value.substring(0,10)}}</nobr>
419
- </th>
420
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
421
- <nobr>{{row.f_meter_brand}}</nobr>
422
- </td>
423
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
424
- <nobr>{{row.f_meter_style}}</nobr>
425
- </td>
426
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
427
- <nobr>{{row.f_inputtor}}</nobr>
428
- </td>
429
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
430
- <nobr>{{row.f_gas_person}}</nobr>
431
- </td>
432
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
433
- <nobr>{{row.f_gas_date}}</nobr>
434
- </td>
435
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
436
- <nobr>{{row.f_input_date}}</nobr>
437
- </td>
438
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
439
- <nobr>{{row.f_table_state}}</nobr>
440
- </td>
441
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
442
- <nobr>{{row.isbgl}}</nobr>
443
- </td>
444
- </template>
445
- <template partial='foot'>
446
- </template>
447
- </data-grid>
448
- </criteria-paged>
449
-
450
- <table class="table-hover">
451
- <tr style="position: relative" class="table-bordered">
452
- <td
453
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
454
- 汇总信息
455
- </td>
456
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
457
- 表上余额合计&emsp;{{sumsmodel.f_balance_amount}}
458
- </td>
459
- </tr>
460
- </table>
461
-
462
- <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
463
- <!--<header slot="modal-header" class="modal-header text-center">-->
464
- <!--<h4 class="modal-title">打印列选择</h4>-->
465
- <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
466
- <!--<label for="f_generations" class="font-size">全选</label>-->
467
- <!--</header>-->
468
- <!--<article slot="modal-body">-->
469
- <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
470
- <!--<div class="col-sm-3" v-for="f in fields">-->
471
- <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
472
- <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
473
- <!--</div>-->
474
- <!--</div>-->
475
- <!--</article>-->
476
- <!--<footer slot="modal-footer" class="modal-footer">-->
477
- <!--<center>-->
478
- <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
479
- <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
480
- <!--<print-table :model='model' v-show="false" v-ref:print-->
481
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
482
- <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
483
- <!--:fields="modelval" :printpage="true">-->
484
- <!--</print-table>-->
485
- <!--</center>-->
486
- <!--</footer>-->
487
- <!--</modal>-->
488
- </div>
489
- <div class="flex" v-if="show">
490
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
491
- </div>
492
- </div>
493
- </div>
494
- </div>
495
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
496
- </template>
497
-
498
- <script>
499
- import {HttpResetClass, PagedList} from 'vue-client'
500
- import exportConfig from './config/exportConfig'
501
- let cardBtnGen = async function (self, val) {
502
- self.cardInfo = val.data
503
-
504
- // 判断读卡是否需要卡密码
505
- console.log('读卡上的信息', self.cardInfo)
506
-
507
- if (self.cardInfo.NewParam) {
508
- if (self.cardInfo.NewParam.error) {
509
- if (self.cardInfo.NewParam.error === '0001') {
510
- // 需要重新读卡并传卡密码
511
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
512
- self.readCardParam = self.model.rows[0].f_card_password
513
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
514
- } else {
515
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
516
- return
517
- }
518
- }
519
- }
520
- }
521
- self.card=self.cardInfo.CardID
522
- self.search()
523
- }
524
-
525
- let readySomething = async function (self) {
526
- self.$MagGetSaleParam.initinputtor();
527
- self.getinputtores();
528
- self.initmeterbook();
529
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
530
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
531
- // await self.$refs.paged.$refs.cri.search()
532
- await self.$MagLoadParams.loadParam()
533
- self.initParams()
534
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
535
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
536
- }
537
-
538
- export default {
539
- title: '表具查询',
540
- data() {
541
- return {
542
- pcdslist:[],
543
- IdCardInfo:'',
544
- card:'',
545
- isSingleUser: null,
546
- other:[],
547
- footer:[],
548
- model: new PagedList('api/af-revenue/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
549
- criteriaShow: false,
550
- orgCondtionStr: '',
551
-
552
- modelval: [],
553
- printshow: false,
554
- all: false,
555
- fields: {},
556
- thead: '',
557
- tfoot: '',
558
- initres: {
559
- org:[this.$login.f.orgid],
560
- dep:[],
561
- user:[],
562
- },
563
- show:false,
564
- rowdata:{},
565
- meterbrands: [],
566
- // 气表型号
567
- meterstyle: {},
568
- //默认打印列
569
- defaultfield: [],
570
- config: {
571
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
572
- },
573
- pricenames: [],
574
- gasproperties:[],
575
- inputtouPerson: [],
576
- meterbooks:[{label: '全部',value: ''}], //抄表册
577
- inputtores:[{label: '全部',value: ''}],
578
- prices: [],
579
- //合计数据
580
- sumsmodel: {},
581
- //表册片区
582
- bookSlice:[{label: '全部',value: ''}],
583
- inputtores:[{label: '全部',value: ''}], //抄表员
584
- f_filialeid: this.$login.f.f_orgid,
585
- allorgid:[],
586
- tempfalg :false,
587
- lastorgstr:'',
588
- issecond: [{label:'是',value:" = '二次挂表'"},{label:'否',value:" <> '二次挂表'"}],
589
- usetype:this.$appdata.getParam('使用类型'),
590
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
591
- }
592
- },
593
- ready() {
594
- this.getpcd()
595
- console.log("===========",this.$filialeInfo)
596
- readySomething(this).then(() => {
597
- this.$emit('ready')
598
- }).catch((error) => {
599
- this.$emit('error', error)
600
- })
601
- },
602
- methods: {
603
- ReadIDCard(){
604
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
605
- console.log('======',msg)
606
- if(msg.err !== 0){ return}
607
- this.IdCardInfo=msg.strID
608
- })
609
- console.log(this.IdCardInfo)
610
- if(this.IdCardInfo) {
611
- this.search()
612
- }else{
613
- alert("读取失败,找不到用户信息")
614
- }
615
- },
616
- cardBtn (val) {
617
- // this.clear()
618
- cardBtnGen(this, val)
619
- },
620
- async initmeterbook(orgstr){
621
- if(orgstr == null ){
622
- orgstr = this.f_filialeid;
623
- }
624
- //获取新的抄表册,先去清理所有的抄表册
625
- this.$GetSaleParam.meterbooks = [];
626
- //开始加载新的抄表册
627
- await this.$LoadParams.loadMeterBook(orgstr)
628
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
629
- },
630
- async getinputtores () {
631
- // 获取抄表员
632
- let rs = []
633
- if (this.$login.f.f_gasman.length > 0) {
634
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
635
- let temp = {
636
- label: this.$login.f.f_gasman[i].name,
637
- value: this.$login.f.f_gasman[i].name
638
- }
639
- rs.push(temp)
640
- }
641
- }
642
- this.inputtores = [{label: '全部', value: ''}, ...rs]
643
- },
644
- getotherfooter () {
645
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
646
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
647
- this.other = [];
648
- this.footer = [];
649
- let exportdata = this.getCondition;
650
- let otherInData = [];
651
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
652
- let footerData = [], exportfield = this.getExportField;
653
- footerData.push("合计");
654
- let self = this;
655
- for (var field in self.sumsmodel) {
656
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
657
- }
658
- this.footer.push(footerData);
659
- this.other.push(otherInData);
660
- },
661
- search(){
662
- this.$refs.paged.$refs.cri.search()
663
- },
664
- cancel() {
665
- this.show = false
666
- },
667
- showmsg(obj){
668
- this.rowdata=obj
669
- this.show=true
670
- },
671
- selfSearch(args) {
672
- //抄表员查询条件
673
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
674
- if(this.inputtouPerson.length !== 0){
675
- let str = JSON.stringify(this.inputtouPerson)
676
- str = str.replace(/"/g,`'`)
677
- str = str.replace(/\[/g,``)
678
- str = str.replace(/\]/g,``)
679
- console.log("=====抄表员model22222222222绑定====",str)
680
- //查询多个抄表员时条件
681
- args.condition += ` and f_inputtor in ( ${str} )`
682
- }
683
- if (!this.orgCondtionStr) {
684
- args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
685
- } else {
686
- args.condition = `${args.condition}` + this.orgCondtionStr
687
- }
688
- if(this.card!=''){
689
- args.condition +=` and f_card_id='${this.card}'`
690
- }
691
- if(this.IdCardInfo!=''){
692
- args.condition+=` and f_idnumber='${this.IdCardInfo}'`
693
- }
694
- this.model.search(args.condition, args.model)
695
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
696
- this.card=''
697
- this.IdCardInfo=''
698
- },
699
- clear() {
700
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
701
- this.$refs.paged.$refs.cri.model[key] = []
702
- })
703
- },
704
- hidden() {
705
- this.criteriaShow = !this.criteriaShow
706
- },
707
- async getRes(condition) {
708
- this.orgCondtionStr = condition
709
-
710
- },
711
- stamp() {
712
- this.all = false
713
- //默认选择要打印的列
714
- this.modelval = defaultPrint.config
715
- this.fields = this.getfield
716
- console.log('所有打印字段', this.fields)
717
- this.printshow = true
718
- this.put()
719
- },
720
- put() {
721
- // 对Modelval进行排序
722
- this.sortModelval()
723
- this.thead = `<tr><th colspan=${this.modelval.length}>表具查询统计报表</th></tr><tr>`
724
- for (let key of this.modelval) {
725
- this.thead += '<th>' + this.fields[key] + '</th>'
726
- }
727
- this.thead += '</tr>'
728
- },
729
- print() {
730
- this.$refs.print.PrintAsFile()
731
- this.printshow = false
732
- },
733
- close() {
734
- this.printshow = false
735
- this.all = false
736
- },
737
- userTypeChange () {
738
- this.gasproperties=[]
739
- if(this.$refs.paged.$refs.cri.model !==null) {
740
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
741
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
742
- }
743
- else{
744
- this.gasproperties =[{label: '全部', value: ''}]
745
- }
746
- },
747
- initParams() {
748
- // 初始化气表品牌
749
- let brandArr = []
750
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
751
- let temp = {}
752
- temp.label = item.label
753
- temp.value = item.value.f_meter_brand
754
- brandArr.push(temp)
755
- // 取出对应气表型号
756
- let styleArr = []
757
- for (let row of item.value.gasmodel) {
758
- styleArr.push({label: row.label,value: row.value.f_meter_style})
759
- }
760
- this.meterstyle[temp.value] = styleArr
761
- })
762
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
763
- //初始化气表价格
764
- this.prices = this.$MagGetSaleParam.getPrices();
765
- },
766
- // 对选择的列进行排序
767
- sortModelval() {
768
- let sortModel = []
769
- Object.keys(this.fields).forEach((key) => {
770
- if (this.modelval.includes(key)) {
771
- sortModel.push(key)
772
- }
773
- })
774
- this.modelval = sortModel
775
- console.log('选择的打印的字段', this.modelval)
776
- },
777
- async updateParams() {
778
- await this.$MagLoadParams.loadParam(this.f_filialeid)
779
- this.inputtores = [];
780
- this.inputtores.push({label: "全部", value: ""})
781
- this.initSlice(this.f_filialeid)
782
- if(this.allorgid!=null){
783
- this.allorgid.forEach((res)=>{
784
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
785
- })
786
- }
787
- },
788
- async initSlice (val) {
789
- if (val) {
790
- let getAllArea = await this.$resetpost('/rs/search', {
791
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
792
- userid: this.$login.f.id
793
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
794
- let arr = getAllArea.data.filter((res) => {
795
- return res.parentid == val
796
- })
797
- this.bookSlice = []
798
- console.log('过滤之后的片区-------------------', arr)
799
- arr.forEach((res) => {
800
- this.bookSlice.push({label: res.name, value: res.name})
801
- })
802
- }
803
- },
804
- async getpcd(){
805
- let HttpReset = new HttpResetClass()
806
- console.log('开始获取区域')
807
- var req = await HttpReset.load('POST','api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
808
- data: {
809
- items: '*',
810
- tablename: 't_pcd',
811
- orderitem: 'id',
812
- condition: `1=1`
813
- }
814
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
815
- let redata = []
816
- console.log('区域是:',req)
817
- req.data.forEach((row, n) => {
818
- redata[n] = {
819
- label: row.f_pcd,
820
- value: row.id,
821
- data: row,
822
- id: row.id
823
- }
824
- })
825
- console.log('获取到的区域',redata)
826
- this.pcdslist = redata
827
- }
828
- },
829
- watch: {
830
- 'model.rows.length' () {
831
- this.isSingleUser = this.model.rows
832
- },
833
- 'all'(val) {
834
- if (val) {
835
- this.modelval = this.bodyData
836
- } else {
837
- this.modelval = defaultPrint.config
838
- this.put()
839
- }
840
- },
841
- sumsmodel:{
842
- handler: function(val) {
843
- this.getotherfooter();
844
- },
845
- deep: true
846
- },
847
- 'modelval.length'() {
848
- this.put()
849
- },
850
- async 'orgCondtionStr'(val) {
851
- //更新抄表册
852
- this.meterbooks = [{label: '全部',value: ''}];
853
- if(this.lastorgstr != val){
854
- this.tempfalg = true;
855
- this.lastorgstr = val;
856
- }
857
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
858
- this.tempfalg = false;
859
- let a = val.substring(val.indexOf("(")+2)
860
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
861
- }
862
- let res = val.match(/'(.*?)'/)
863
- console.log('正则提取:',res && res[1])
864
- if (res) {
865
- this.f_filialeid = res[1]
866
- if(res.input !=null){
867
- let resorgid = res.input.substring(res.input.indexOf("'"));
868
- if(resorgid!= null && resorgid!=''){
869
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
870
- // resorgid = resorgid.replaceAll("'","");
871
- resorgid = resorgid.replace(/'/g,"");
872
- this.allorgid = resorgid.split(",")
873
- }
874
- }
875
- this.updateParams()
876
- }
877
- },
878
- },
879
- computed: {
880
- authArr () {
881
- return this.$login.r ? this.$login.r : []
882
- },
883
- getPricenames() {
884
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
885
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
886
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
887
- // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
888
- if(this.$refs.paged.$refs.cri.model !==null) {
889
- let rs = []
890
- let priceArr = []
891
- if ( pricetype.length >0) {
892
- let params = {
893
- f_price_type: pricetype[0],
894
- filter: this.f_filialeid,
895
- prices: this.prices
896
- }
897
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
898
- let temp = {}
899
- temp.label = item.label
900
- temp.value = item.value.f_price_name
901
- priceArr.push(temp)
902
- })
903
- rs = [{label: '全部', value: ''}, ...priceArr]
904
- }
905
- if (rs.length === 0) {
906
- console.log('rs读出来是空')
907
- this.$refs.paged.$refs.cri.model.f_price_name = ''
908
- }
909
- return rs
910
- }
911
- },
912
- getCondition() {
913
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
914
- },
915
- getfield() {
916
- let data = {}
917
- this.bodyData.forEach((value, index) => {
918
- data[this.bodyData[index]] = this.headData[index]
919
- })
920
- //合计字段打印
921
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
922
- if (this.sumsmodel) {
923
- Object.keys(this.sumsmodel).forEach((key) => {
924
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
925
- })
926
- } else {
927
- this.tfoot += '暂无'
928
- }
929
- this.tfoot += '</th></tr>'
930
- return data
931
- },
932
- getExportField() {
933
- return exportConfig.meterConfig
934
- },
935
- areas() {
936
- let rs = []
937
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
938
- let temp = {
939
- label: this.$login.f.f_allArea[i].label,
940
- value: this.$login.f.f_allArea[i].label
941
- }
942
- rs.push(temp)
943
- }
944
- return [{label: '全部', value: ''}, ...rs]
945
- },
946
- sliceArea() {
947
- let rs = []
948
- if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
949
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
950
- if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
951
- rs = this.$login.f.f_allArea[i].value
952
- }
953
- }
954
- }
955
- return [{label: '全部', value: ''}, ...rs]
956
- },
957
- usertypes() {
958
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
959
- },
960
- // gasproperties() {
961
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
962
- // },
963
-
964
- metertypes() {
965
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
966
- },
967
- // meterbrands() {
968
- // let arr = []
969
- // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
970
- // let temp = {}
971
- // temp.label = item.label
972
- // temp.value = item.value.f_meter_brand
973
- // arr.push(temp)
974
- // })
975
- // return [{label: '全部', value: ''}, ...arr]
976
- // },
977
- pricetypes() {
978
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
979
- },
980
- tablestate() {
981
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
982
- },
983
- bgl(){
984
- return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
985
- },
986
- usergrade(){
987
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
988
- },
989
- usestate(){
990
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用状态')]
991
- }
992
- }
993
- }
994
- </script>
995
- <style>
996
- .back-red{ /* 红色背景 */
997
- background-color: #F6C6CE;
998
- }
999
- .back-blue{ /* 蓝色背景 */
1000
-
1001
- }
1002
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">客户编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code like '%{}%' " placeholder="客户编号">
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body">客户电话</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
+ </div>
30
+ <div class="span" style="float:right;">
31
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
32
+ <read-card v-if="!$filialeInfo || $filialeInfo!=='rongcheng'" :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
33
+ <button class="button_search button_spacing" @click="search()">查询</button>
34
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
36
+
37
+ <export-excel :data="$parent.$parent.getCondition"
38
+ :field="$parent.$parent.getExportField"
39
+ :footer="$parent.$parent.footer"
40
+ :header="$parent.$parent.other"
41
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
42
+ sqlurl="api/af-revenue/logic/exportfile" sql-name="meterQuery" template-name='表具查询导出'
43
+ :choose-col="true"></export-excel>
44
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
45
+ :defaultfield="$parent.$parent.defaultfield"
46
+ titletable="客户查询"
47
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
48
+
49
+
50
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
51
+ </div>
52
+ </div>
53
+ <div class="row" v-show="$parent.$parent.criteriaShow">
54
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
55
+
56
+
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">客户地址</label>
59
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
60
+ condition="f_address like '%{}%'" placeholder='客户地址'>
61
+ </div>
62
+
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">区&nbsp;&nbsp;&nbsp;&nbsp;域</label>
65
+ <v-select
66
+ v-model="model.f_pcd"
67
+ placeholder='选择区域'
68
+ :value.sync="model.f_pcd"
69
+ :options='$parent.$parent.pcdslist'
70
+ condition="f_pcd_id = '{}'"
71
+ style="width: 60%"
72
+ close-on-select >
73
+ </v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group" v-if="!$filialeInfo || $filialeInfo!=='rongcheng'">
76
+ <label class="font_normal_body">用气点</label>
77
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
78
+ condition="f_userfiles_address like '%{}%'" placeholder='用气点'>
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
82
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
83
+ condition="f_meternumber like '%{}%'" placeholder='表号'>
84
+ </div>
85
+
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;卡号&nbsp;&nbsp;&nbsp;</label>
88
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
89
+ condition="f_card_id like '%{}%'" placeholder='卡号'>
90
+ </div>
91
+
92
+ <div class="col-sm-2 form-group">
93
+ <label class="font_normal_body">客户类型</label>
94
+ <v-select :value.sync="model.f_user_type"
95
+ :options='$parent.$parent.usertypes'
96
+ @change="$parent.$parent.userTypeChange()"
97
+ placeholder='请选择' v-model="model.f_user_type"
98
+ condition="f_user_type = '{}'"
99
+ close-on-select></v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group" v-if="false">
102
+ <label for="f_usetype" class="font_normal_body">二次挂表</label>
103
+ <v-select :value.sync="model.issecondtype" v-model="model.issecondtype"
104
+ condition="f_usetype {}"
105
+ :options='$parent.$parent.issecond' placeholder='请选择'
106
+ close-on-select></v-select>
107
+ </div>
108
+ <div class="col-sm-2 form-group" >
109
+ <label for="f_usetype" class="font_normal_body" title="参数:使用类型">使用类型</label>
110
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
111
+ condition="f_usetype = '{}'"
112
+ :options='$parent.$parent.usetype' placeholder='请选择'
113
+ close-on-select></v-select>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">用气性质</label>
117
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
118
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
119
+ condition="f_gasproperties = '{}'"
120
+ close-on-select></v-select>
121
+ </div>
122
+ <div class="col-sm-2 form-group">
123
+ <label class="font_normal_body">气价类型</label>
124
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
125
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
126
+ condition="f_price_type = '{}'"
127
+ close-on-select v-ref:type>
128
+ </v-select>
129
+ </div>
130
+ <div class="col-sm-2 form-group">
131
+ <label class="font_normal_body">气价名称</label>
132
+ <v-select :value.sync="model.f_price_name"
133
+ v-model="model.f_price_name"
134
+ :options="$parent.$parent.getPricenames"
135
+ placeholder='请选择'
136
+ condition="f_price_name = '{}'"
137
+ close-on-select></v-select>
138
+ </div>
139
+ <div class="col-sm-2 form-group">
140
+ <label class="font_normal_body">气表分类</label>
141
+ <v-select :value.sync="model.f_meter_classify"
142
+ v-model="model.f_meter_classify"
143
+ :options='$parent.$parent.metertypes' placeholder='请选择'
144
+ condition="f_meter_classify = '{}'"
145
+ close-on-select></v-select>
146
+ </div>
147
+ <div class="col-sm-2 form-group">
148
+ <label class="font_normal_body">气表品牌</label>
149
+ <v-select :value.sync="model.f_meter_brand"
150
+ v-model="model.f_meter_brand"
151
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
152
+ condition="f_meter_brand = '{}'"
153
+ close-on-select></v-select>
154
+ </div>
155
+ <div class="col-sm-2 form-group">
156
+ <label class="font_normal_body">气表型号</label>
157
+ <v-select :value.sync="model.f_meter_style"
158
+ v-model="model.f_meter_style"
159
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
160
+ condition="f_meter_style = '{}'"
161
+ close-on-select></v-select>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">气表状态</label>
165
+ <v-select :value.sync="model.f_table_state"
166
+ v-model="model.f_table_state"
167
+ :options='$parent.$parent.tablestate' placeholder='请选择'
168
+ condition="f_table_state = '{}'"
169
+ close-on-select></v-select>
170
+ </div>
171
+ <!-- <div class="col-sm-2 form-group">-->
172
+ <!-- <label class="font_normal_body">使用状态</label>-->
173
+ <!-- <v-select :value.sync="model.f_usestate"-->
174
+ <!-- v-model="model.f_usestate"-->
175
+ <!-- :options='$parent.$parent.usestate' placeholder='请选择'-->
176
+ <!-- condition="f_usestate = '{}'"-->
177
+ <!-- close-on-select></v-select>-->
178
+ <!-- </div>-->
179
+ <div class="col-sm-2 form-group">
180
+ <label for="startDate" class="font_normal_body">建表日期</label>
181
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
182
+ v-model="model.startDate"
183
+ :value.sync="model.startDate"
184
+ :format="'yyyy-MM-dd'"
185
+ :show-reset-button="true"
186
+ condition="f_input_date >= '{} 00:00:00'">
187
+ </datepicker>
188
+ </div>
189
+ <div class="col-sm-2 form-group">
190
+ <label for="endDate" class="font_normal_body">建表日期</label>
191
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
192
+ v-model="model.endDate"
193
+ :value.sync="model.endDate"
194
+ :format="'yyyy-MM-dd'"
195
+ :show-reset-button="true"
196
+ condition="f_input_date <= '{} 23:59:59'">
197
+ </datepicker>
198
+ </div>
199
+ <div class="col-sm-2 form-group">
200
+ <label for="startDate" class="font_normal_body">通气日期</label>
201
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
202
+ v-model="model.startTQDate"
203
+ :value.sync="model.startTQDate"
204
+ :format="'yyyy-MM-dd'"
205
+ :show-reset-button="true"
206
+ condition="f_gas_date >= '{} 00:00:00'">
207
+ </datepicker>
208
+ </div>
209
+ <div class="col-sm-2 form-group">
210
+ <label for="endDate" class="font_normal_body">通气日期</label>
211
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
212
+ v-model="model.endTQDate"
213
+ :value.sync="model.endTQDate"
214
+ :format="'yyyy-MM-dd'"
215
+ :show-reset-button="true"
216
+ condition="f_gas_date <= '{} 23:59:59'">
217
+ </datepicker>
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
221
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
222
+ :options='$parent.$parent.bgl' placeholder='请选择'
223
+ condition="isbgl = '{}'"
224
+ close-on-select></v-select>
225
+ </div>
226
+ <div class="col-sm-2 form-group" v-if="!$filialeInfo || $filialeInfo!=='rongcheng'">
227
+ <label class="font_normal_body">用户等级</label>
228
+ <v-select :value.sync="model.f_user_grade"
229
+ v-model="model.f_user_grade"
230
+ :options='$parent.$parent.usergrade' placeholder='请选择'
231
+ condition="f_user_grade = '{}'"
232
+ close-on-select></v-select>
233
+ </div>
234
+ <!--表册片区-->
235
+ <div class="col-sm-2 form-group">
236
+ <label class="font_normal_body">表册片区</label>
237
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
238
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
239
+ style="width:60%"
240
+ close-on-select
241
+ condition="f_book_slice_area = '{}'"></v-select>
242
+ </div>
243
+ <div class="col-sm-2 form-group">
244
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
245
+ <v-select :value.sync="model.f_inputtor"
246
+ v-model="model.f_inputtor"
247
+ :options='$parent.$parent.inputtores' placeholder='请选择'
248
+ condition="f_inputtor = '{}'"
249
+ close-on-select :value-single="true" :search="false">
250
+ </v-select>
251
+ </div>
252
+ <div class="col-sm-2 form-group">
253
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
254
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
255
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
256
+ style="width:60%"
257
+ close-on-select
258
+ condition="f_meter_book_num = '{}'"></v-select>
259
+ </div>
260
+ <div class="col-sm-2 form-group">
261
+ <label class="font_normal_body">客户状态</label>
262
+ <v-select :value.sync="model.f_user_state"
263
+ v-model="model.f_user_state"
264
+ :options='$parent.$parent.userstates' placeholder='请选择'
265
+ condition="f_user_state = '{}'"
266
+ close-on-select></v-select>
267
+ </div>
268
+ <div class="col-sm-2 form-group">
269
+ <label for="startUseDate" class="font_normal_body">使用日期</label>
270
+ <datepicker id="startUseDate" placeholder="开始日期" style="width:60%"
271
+ v-model="model.startUseDate"
272
+ :value.sync="model.startUseDate"
273
+ :format="'yyyy-MM-dd'"
274
+ :show-reset-button="true"
275
+ condition="f_use_date >= '{} 00:00:00'">
276
+ </datepicker>
277
+ </div>
278
+ <div class="col-sm-2 form-group">
279
+ <label for="endUseDate" class="font_normal_body">使用日期</label>
280
+ <datepicker id="endUseDate" placeholder="结束日期" style="width:60%"
281
+ v-model="model.endUseDate"
282
+ :value.sync="model.endUseDate"
283
+ :format="'yyyy-MM-dd'"
284
+ :show-reset-button="true"
285
+ condition="f_use_date <= '{} 23:59:59'">
286
+ </datepicker>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </criteria>
291
+
292
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
293
+ <template partial='head'>
294
+ <tr>
295
+ <th>
296
+ <nobr>客户编号</nobr>
297
+ </th>
298
+ <th>
299
+ <nobr>客户名称</nobr>
300
+ </th>
301
+ <th>
302
+ <nobr>档案编号</nobr>
303
+ </th>
304
+ <th>
305
+ <nobr>客户电话</nobr>
306
+ </th>
307
+ <th>
308
+ <nobr>身份证号</nobr>
309
+ </th>
310
+ <th>
311
+ <nobr>客户地址</nobr>
312
+ </th>
313
+ <th>
314
+ <nobr>表册片区</nobr>
315
+ </th>
316
+ <th>
317
+ <nobr>表上余额</nobr>
318
+ </th>
319
+ <th>
320
+ <nobr>客户类型</nobr>
321
+ </th>
322
+ <th>
323
+ <nobr>使用类型</nobr>
324
+ </th>
325
+ <th>
326
+ <nobr>使用日期</nobr>
327
+ </th>
328
+ <th>
329
+ <nobr>用气性质</nobr>
330
+ </th>
331
+ <th>
332
+ <nobr>表号</nobr>
333
+ </th>
334
+ <th>
335
+ <nobr>卡号</nobr>
336
+ </th>
337
+
338
+
339
+ <th>
340
+ <nobr>气价名称</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>气价详情</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>气表品牌</nobr>
347
+ </th>
348
+ <th>
349
+ <nobr>气表型号</nobr>
350
+ </th>
351
+ <th>
352
+ <nobr>户管员</nobr>
353
+ </th>
354
+ <th>
355
+ <nobr>通气人</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>通气时间</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>建表时间</nobr>
362
+ </th>
363
+ <th>
364
+ <nobr>气表状态</nobr>
365
+ </th>
366
+ <th>
367
+ <nobr>是否壁挂炉</nobr>
368
+ </th>
369
+ </tr>
370
+ </template>
371
+ <template partial='body'>
372
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
373
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
374
+ </nobr> </td>
375
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
376
+ <nobr>{{row.f_user_name}}</nobr>
377
+ </td>
378
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
379
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
380
+ </td>
381
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
382
+ <nobr>{{row.f_user_phone}}</nobr>
383
+ </td>
384
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
385
+ <nobr>{{row.idnumber}}</nobr>
386
+ </td>
387
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
388
+ <nobr>{{row.f_address}}</nobr>
389
+ </td>
390
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
391
+ <nobr>{{row.f_book_slice_area}}</nobr>
392
+ </td>
393
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
394
+ <nobr>{{row.f_balance_amount}}</nobr>
395
+ </td>
396
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
397
+ <nobr>{{row.f_user_type}}</nobr>
398
+ </td>
399
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
400
+ <nobr>{{row.f_usetype}}</nobr>
401
+ </td>
402
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
403
+ <nobr>{{row.f_use_date}}</nobr>
404
+ </td>
405
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
406
+ <nobr>{{row.f_gasproperties}}</nobr>
407
+ </td>
408
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
409
+ <nobr>{{row.f_meternumber}}</nobr>
410
+ </td>
411
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
412
+ <nobr>{{row.f_card_id}}</nobr>
413
+ </td>
414
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
415
+ <nobr>{{row.f_price_name}}</nobr>
416
+ </td>
417
+ <th :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" title="{{row.value}}">
418
+ <nobr>{{row.value.substring(0,10)}}</nobr>
419
+ </th>
420
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
421
+ <nobr>{{row.f_meter_brand}}</nobr>
422
+ </td>
423
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
424
+ <nobr>{{row.f_meter_style}}</nobr>
425
+ </td>
426
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
427
+ <nobr>{{row.f_inputtor}}</nobr>
428
+ </td>
429
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
430
+ <nobr>{{row.f_gas_person}}</nobr>
431
+ </td>
432
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
433
+ <nobr>{{row.f_gas_date}}</nobr>
434
+ </td>
435
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
436
+ <nobr>{{row.f_input_date}}</nobr>
437
+ </td>
438
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
439
+ <nobr>{{row.f_table_state}}</nobr>
440
+ </td>
441
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
442
+ <nobr>{{row.isbgl}}</nobr>
443
+ </td>
444
+ </template>
445
+ <template partial='foot'>
446
+ </template>
447
+ </data-grid>
448
+ </criteria-paged>
449
+
450
+ <table class="table-hover">
451
+ <tr style="position: relative" class="table-bordered">
452
+ <td
453
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
454
+ 汇总信息
455
+ </td>
456
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
457
+ 表上余额合计&emsp;{{sumsmodel.f_balance_amount}}
458
+ </td>
459
+ </tr>
460
+ </table>
461
+
462
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
463
+ <!--<header slot="modal-header" class="modal-header text-center">-->
464
+ <!--<h4 class="modal-title">打印列选择</h4>-->
465
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
466
+ <!--<label for="f_generations" class="font-size">全选</label>-->
467
+ <!--</header>-->
468
+ <!--<article slot="modal-body">-->
469
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
470
+ <!--<div class="col-sm-3" v-for="f in fields">-->
471
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
472
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
473
+ <!--</div>-->
474
+ <!--</div>-->
475
+ <!--</article>-->
476
+ <!--<footer slot="modal-footer" class="modal-footer">-->
477
+ <!--<center>-->
478
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
479
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
480
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
481
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
482
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
483
+ <!--:fields="modelval" :printpage="true">-->
484
+ <!--</print-table>-->
485
+ <!--</center>-->
486
+ <!--</footer>-->
487
+ <!--</modal>-->
488
+ </div>
489
+ <div class="flex" v-if="show">
490
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
491
+ </div>
492
+ </div>
493
+ </div>
494
+ </div>
495
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
496
+ </template>
497
+
498
+ <script>
499
+ import {HttpResetClass, PagedList} from 'vue-client'
500
+ import exportConfig from './config/exportConfig'
501
+ let cardBtnGen = async function (self, val) {
502
+ self.cardInfo = val.data
503
+
504
+ // 判断读卡是否需要卡密码
505
+ console.log('读卡上的信息', self.cardInfo)
506
+
507
+ if (self.cardInfo.NewParam) {
508
+ if (self.cardInfo.NewParam.error) {
509
+ if (self.cardInfo.NewParam.error === '0001') {
510
+ // 需要重新读卡并传卡密码
511
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
512
+ self.readCardParam = self.model.rows[0].f_card_password
513
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
514
+ } else {
515
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
516
+ return
517
+ }
518
+ }
519
+ }
520
+ }
521
+ self.card=self.cardInfo.CardID
522
+ self.search()
523
+ }
524
+
525
+ let readySomething = async function (self) {
526
+ self.$MagGetSaleParam.initinputtor();
527
+ self.getinputtores();
528
+ self.initmeterbook();
529
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
530
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
531
+ // await self.$refs.paged.$refs.cri.search()
532
+ await self.$MagLoadParams.loadParam()
533
+ self.initParams()
534
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
535
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
536
+ }
537
+
538
+ export default {
539
+ title: '表具查询',
540
+ data() {
541
+ return {
542
+ pcdslist:[],
543
+ IdCardInfo:'',
544
+ card:'',
545
+ isSingleUser: null,
546
+ other:[],
547
+ footer:[],
548
+ model: new PagedList('api/af-revenue/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
549
+ criteriaShow: false,
550
+ orgCondtionStr: '',
551
+
552
+ modelval: [],
553
+ printshow: false,
554
+ all: false,
555
+ fields: {},
556
+ thead: '',
557
+ tfoot: '',
558
+ initres: {
559
+ org:[this.$login.f.orgid],
560
+ dep:[],
561
+ user:[],
562
+ },
563
+ show:false,
564
+ rowdata:{},
565
+ meterbrands: [],
566
+ // 气表型号
567
+ meterstyle: {},
568
+ //默认打印列
569
+ defaultfield: [],
570
+ config: {
571
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
572
+ },
573
+ pricenames: [],
574
+ gasproperties:[],
575
+ inputtouPerson: [],
576
+ meterbooks:[{label: '全部',value: ''}], //抄表册
577
+ inputtores:[{label: '全部',value: ''}],
578
+ prices: [],
579
+ //合计数据
580
+ sumsmodel: {},
581
+ //表册片区
582
+ bookSlice:[{label: '全部',value: ''}],
583
+ inputtores:[{label: '全部',value: ''}], //抄表员
584
+ f_filialeid: this.$login.f.f_orgid,
585
+ allorgid:[],
586
+ tempfalg :false,
587
+ lastorgstr:'',
588
+ issecond: [{label:'是',value:" = '二次挂表'"},{label:'否',value:" <> '二次挂表'"}],
589
+ usetype:this.$appdata.getParam('使用类型'),
590
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
591
+ }
592
+ },
593
+ ready() {
594
+ this.getpcd()
595
+ console.log("===========",this.$filialeInfo)
596
+ readySomething(this).then(() => {
597
+ this.$emit('ready')
598
+ }).catch((error) => {
599
+ this.$emit('error', error)
600
+ })
601
+ },
602
+ methods: {
603
+ ReadIDCard(){
604
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
605
+ console.log('======',msg)
606
+ if(msg.err !== 0){ return}
607
+ this.IdCardInfo=msg.strID
608
+ })
609
+ console.log(this.IdCardInfo)
610
+ if(this.IdCardInfo) {
611
+ this.search()
612
+ }else{
613
+ alert("读取失败,找不到用户信息")
614
+ }
615
+ },
616
+ cardBtn (val) {
617
+ // this.clear()
618
+ cardBtnGen(this, val)
619
+ },
620
+ async initmeterbook(orgstr){
621
+ if(orgstr == null ){
622
+ orgstr = this.f_filialeid;
623
+ }
624
+ //获取新的抄表册,先去清理所有的抄表册
625
+ this.$GetSaleParam.meterbooks = [];
626
+ //开始加载新的抄表册
627
+ await this.$LoadParams.loadMeterBook(orgstr)
628
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
629
+ },
630
+ async getinputtores () {
631
+ // 获取抄表员
632
+ let rs = []
633
+ if (this.$login.f.f_gasman.length > 0) {
634
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
635
+ let temp = {
636
+ label: this.$login.f.f_gasman[i].name,
637
+ value: this.$login.f.f_gasman[i].name
638
+ }
639
+ rs.push(temp)
640
+ }
641
+ }
642
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
643
+ },
644
+ getotherfooter () {
645
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
646
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
647
+ this.other = [];
648
+ this.footer = [];
649
+ let exportdata = this.getCondition;
650
+ let otherInData = [];
651
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
652
+ let footerData = [], exportfield = this.getExportField;
653
+ footerData.push("合计");
654
+ let self = this;
655
+ for (var field in self.sumsmodel) {
656
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
657
+ }
658
+ this.footer.push(footerData);
659
+ this.other.push(otherInData);
660
+ },
661
+ search(){
662
+ this.$refs.paged.$refs.cri.search()
663
+ },
664
+ cancel() {
665
+ this.show = false
666
+ },
667
+ showmsg(obj){
668
+ this.rowdata=obj
669
+ this.show=true
670
+ },
671
+ selfSearch(args) {
672
+ //抄表员查询条件
673
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
674
+ if(this.inputtouPerson.length !== 0){
675
+ let str = JSON.stringify(this.inputtouPerson)
676
+ str = str.replace(/"/g,`'`)
677
+ str = str.replace(/\[/g,``)
678
+ str = str.replace(/\]/g,``)
679
+ console.log("=====抄表员model22222222222绑定====",str)
680
+ //查询多个抄表员时条件
681
+ args.condition += ` and f_inputtor in ( ${str} )`
682
+ }
683
+ if (!this.orgCondtionStr) {
684
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
685
+ } else {
686
+ args.condition = `${args.condition}` + this.orgCondtionStr
687
+ }
688
+ if(this.card!=''){
689
+ args.condition +=` and f_card_id='${this.card}'`
690
+ }
691
+ if(this.IdCardInfo!=''){
692
+ args.condition+=` and f_idnumber='${this.IdCardInfo}'`
693
+ }
694
+ this.model.search(args.condition, args.model)
695
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
696
+ this.card=''
697
+ this.IdCardInfo=''
698
+ },
699
+ clear() {
700
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
701
+ this.$refs.paged.$refs.cri.model[key] = []
702
+ })
703
+ },
704
+ hidden() {
705
+ this.criteriaShow = !this.criteriaShow
706
+ },
707
+ async getRes(condition) {
708
+ this.orgCondtionStr = condition
709
+
710
+ },
711
+ stamp() {
712
+ this.all = false
713
+ //默认选择要打印的列
714
+ this.modelval = defaultPrint.config
715
+ this.fields = this.getfield
716
+ console.log('所有打印字段', this.fields)
717
+ this.printshow = true
718
+ this.put()
719
+ },
720
+ put() {
721
+ // 对Modelval进行排序
722
+ this.sortModelval()
723
+ this.thead = `<tr><th colspan=${this.modelval.length}>表具查询统计报表</th></tr><tr>`
724
+ for (let key of this.modelval) {
725
+ this.thead += '<th>' + this.fields[key] + '</th>'
726
+ }
727
+ this.thead += '</tr>'
728
+ },
729
+ print() {
730
+ this.$refs.print.PrintAsFile()
731
+ this.printshow = false
732
+ },
733
+ close() {
734
+ this.printshow = false
735
+ this.all = false
736
+ },
737
+ userTypeChange () {
738
+ this.gasproperties=[]
739
+ if(this.$refs.paged.$refs.cri.model !==null) {
740
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
741
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
742
+ }
743
+ else{
744
+ this.gasproperties =[{label: '全部', value: ''}]
745
+ }
746
+ },
747
+ initParams() {
748
+ // 初始化气表品牌
749
+ let brandArr = []
750
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
751
+ let temp = {}
752
+ temp.label = item.label
753
+ temp.value = item.value.f_meter_brand
754
+ brandArr.push(temp)
755
+ // 取出对应气表型号
756
+ let styleArr = []
757
+ for (let row of item.value.gasmodel) {
758
+ styleArr.push({label: row.label,value: row.value.f_meter_style})
759
+ }
760
+ this.meterstyle[temp.value] = styleArr
761
+ })
762
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
763
+ //初始化气表价格
764
+ this.prices = this.$MagGetSaleParam.getPrices();
765
+ },
766
+ // 对选择的列进行排序
767
+ sortModelval() {
768
+ let sortModel = []
769
+ Object.keys(this.fields).forEach((key) => {
770
+ if (this.modelval.includes(key)) {
771
+ sortModel.push(key)
772
+ }
773
+ })
774
+ this.modelval = sortModel
775
+ console.log('选择的打印的字段', this.modelval)
776
+ },
777
+ async updateParams() {
778
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
779
+ this.inputtores = [];
780
+ this.inputtores.push({label: "全部", value: ""})
781
+ this.initSlice(this.f_filialeid)
782
+ if(this.allorgid!=null){
783
+ this.allorgid.forEach((res)=>{
784
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
785
+ })
786
+ }
787
+ },
788
+ async initSlice (val) {
789
+ if (val) {
790
+ let getAllArea = await this.$resetpost('/rs/search', {
791
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
792
+ userid: this.$login.f.id
793
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
794
+ let arr = getAllArea.data.filter((res) => {
795
+ return res.parentid == val
796
+ })
797
+ this.bookSlice = []
798
+ console.log('过滤之后的片区-------------------', arr)
799
+ arr.forEach((res) => {
800
+ this.bookSlice.push({label: res.name, value: res.name})
801
+ })
802
+ }
803
+ },
804
+ async getpcd(){
805
+ let HttpReset = new HttpResetClass()
806
+ console.log('开始获取区域')
807
+ var req = await HttpReset.load('POST','api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
808
+ data: {
809
+ items: '*',
810
+ tablename: 't_pcd',
811
+ orderitem: 'id',
812
+ condition: `1=1`
813
+ }
814
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
815
+ let redata = []
816
+ console.log('区域是:',req)
817
+ req.data.forEach((row, n) => {
818
+ redata[n] = {
819
+ label: row.f_pcd,
820
+ value: row.id,
821
+ data: row,
822
+ id: row.id
823
+ }
824
+ })
825
+ console.log('获取到的区域',redata)
826
+ this.pcdslist = redata
827
+ }
828
+ },
829
+ watch: {
830
+ 'model.rows.length' () {
831
+ this.isSingleUser = this.model.rows
832
+ },
833
+ 'all'(val) {
834
+ if (val) {
835
+ this.modelval = this.bodyData
836
+ } else {
837
+ this.modelval = defaultPrint.config
838
+ this.put()
839
+ }
840
+ },
841
+ sumsmodel:{
842
+ handler: function(val) {
843
+ this.getotherfooter();
844
+ },
845
+ deep: true
846
+ },
847
+ 'modelval.length'() {
848
+ this.put()
849
+ },
850
+ async 'orgCondtionStr'(val) {
851
+ //更新抄表册
852
+ this.meterbooks = [{label: '全部',value: ''}];
853
+ if(this.lastorgstr != val){
854
+ this.tempfalg = true;
855
+ this.lastorgstr = val;
856
+ }
857
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
858
+ this.tempfalg = false;
859
+ let a = val.substring(val.indexOf("(")+2)
860
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
861
+ }
862
+ let res = val.match(/'(.*?)'/)
863
+ console.log('正则提取:',res && res[1])
864
+ if (res) {
865
+ this.f_filialeid = res[1]
866
+ if(res.input !=null){
867
+ let resorgid = res.input.substring(res.input.indexOf("'"));
868
+ if(resorgid!= null && resorgid!=''){
869
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
870
+ // resorgid = resorgid.replaceAll("'","");
871
+ resorgid = resorgid.replace(/'/g,"");
872
+ this.allorgid = resorgid.split(",")
873
+ }
874
+ }
875
+ this.updateParams()
876
+ }
877
+ },
878
+ },
879
+ computed: {
880
+ authArr () {
881
+ return this.$login.r ? this.$login.r : []
882
+ },
883
+ getPricenames() {
884
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
885
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
886
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
887
+ // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
888
+ if(this.$refs.paged.$refs.cri.model !==null) {
889
+ let rs = []
890
+ let priceArr = []
891
+ if ( pricetype.length >0) {
892
+ let params = {
893
+ f_price_type: pricetype[0],
894
+ filter: this.f_filialeid,
895
+ prices: this.prices
896
+ }
897
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
898
+ let temp = {}
899
+ temp.label = item.label
900
+ temp.value = item.value.f_price_name
901
+ priceArr.push(temp)
902
+ })
903
+ rs = [{label: '全部', value: ''}, ...priceArr]
904
+ }
905
+ if (rs.length === 0) {
906
+ console.log('rs读出来是空')
907
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
908
+ }
909
+ return rs
910
+ }
911
+ },
912
+ getCondition() {
913
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
914
+ },
915
+ getfield() {
916
+ let data = {}
917
+ this.bodyData.forEach((value, index) => {
918
+ data[this.bodyData[index]] = this.headData[index]
919
+ })
920
+ //合计字段打印
921
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
922
+ if (this.sumsmodel) {
923
+ Object.keys(this.sumsmodel).forEach((key) => {
924
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
925
+ })
926
+ } else {
927
+ this.tfoot += '暂无'
928
+ }
929
+ this.tfoot += '</th></tr>'
930
+ return data
931
+ },
932
+ getExportField() {
933
+ return exportConfig.meterConfig
934
+ },
935
+ areas() {
936
+ let rs = []
937
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
938
+ let temp = {
939
+ label: this.$login.f.f_allArea[i].label,
940
+ value: this.$login.f.f_allArea[i].label
941
+ }
942
+ rs.push(temp)
943
+ }
944
+ return [{label: '全部', value: ''}, ...rs]
945
+ },
946
+ sliceArea() {
947
+ let rs = []
948
+ if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
949
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
950
+ if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
951
+ rs = this.$login.f.f_allArea[i].value
952
+ }
953
+ }
954
+ }
955
+ return [{label: '全部', value: ''}, ...rs]
956
+ },
957
+ usertypes() {
958
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
959
+ },
960
+ // gasproperties() {
961
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
962
+ // },
963
+
964
+ metertypes() {
965
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
966
+ },
967
+ // meterbrands() {
968
+ // let arr = []
969
+ // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
970
+ // let temp = {}
971
+ // temp.label = item.label
972
+ // temp.value = item.value.f_meter_brand
973
+ // arr.push(temp)
974
+ // })
975
+ // return [{label: '全部', value: ''}, ...arr]
976
+ // },
977
+ pricetypes() {
978
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
979
+ },
980
+ tablestate() {
981
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
982
+ },
983
+ bgl(){
984
+ return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
985
+ },
986
+ usergrade(){
987
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
988
+ },
989
+ usestate(){
990
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用状态')]
991
+ }
992
+ }
993
+ }
994
+ </script>
995
+ <style>
996
+ .back-red{ /* 红色背景 */
997
+ background-color: #F6C6CE;
998
+ }
999
+ .back-blue{ /* 蓝色背景 */
1000
+
1001
+ }
1002
+ </style>