manage-client 3.2.36 → 3.2.37

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 (442) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +174 -193
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/BankManager.vue +146 -146
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/CollectFee.vue +184 -184
  170. package/src/components/SellReport/Contrast.vue +188 -188
  171. package/src/components/SellReport/DayStairMoney.vue +256 -256
  172. package/src/components/SellReport/FenxiangSell.vue +183 -183
  173. package/src/components/SellReport/FxGasTable.vue +220 -220
  174. package/src/components/SellReport/GasCollect.vue +174 -174
  175. package/src/components/SellReport/GaspriceHas.vue +141 -141
  176. package/src/components/SellReport/HandCollect.vue +189 -189
  177. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  178. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  179. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  181. package/src/components/SellReport/ManageBusTable.vue +207 -207
  182. package/src/components/SellReport/ManageGasFee.vue +247 -247
  183. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  184. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  185. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  186. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  187. package/src/components/SellReport/ManageReceivable.vue +254 -254
  188. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  189. package/src/components/SellReport/MeterBill.vue +185 -185
  190. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  191. package/src/components/SellReport/MeterInput.vue +250 -250
  192. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  193. package/src/components/SellReport/OweAging.vue +174 -174
  194. package/src/components/SellReport/ReportHistory.vue +80 -80
  195. package/src/components/SellReport/ReportPool.vue +60 -60
  196. package/src/components/SellReport/Selling.vue +188 -188
  197. package/src/components/SellReport/SiteManager.vue +147 -147
  198. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  199. package/src/components/SellReport/UsertypePie.vue +101 -101
  200. package/src/components/SellReport/XianYangDate.vue +227 -227
  201. package/src/components/SellReport/XianYangOperator.vue +228 -228
  202. package/src/components/SellReport/XyDateCharge.vue +227 -227
  203. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  204. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  205. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  206. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  207. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  208. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  209. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  210. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  211. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  212. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  213. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  214. package/src/components/WebReport/BatteryLow.vue +148 -148
  215. package/src/components/WebReport/BusinessHall.vue +85 -85
  216. package/src/components/WebReport/BussinessType.vue +137 -137
  217. package/src/components/WebReport/Communication.vue +131 -131
  218. package/src/components/WebReport/CompanyUser.vue +79 -79
  219. package/src/components/WebReport/EchartsBox.vue +110 -110
  220. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  221. package/src/components/WebReport/GaspriceHas.vue +141 -141
  222. package/src/components/WebReport/HandplanPrint.vue +167 -167
  223. package/src/components/WebReport/NotUpload.vue +165 -165
  224. package/src/components/WebReport/OweQuery.vue +169 -169
  225. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  226. package/src/components/WebReport/Paymentpie.vue +157 -157
  227. package/src/components/WebReport/ReportWorklist.vue +220 -220
  228. package/src/components/WebReport/SellType.vue +89 -89
  229. package/src/components/WebReport/Telemanlist.vue +221 -221
  230. package/src/components/WebReport/UserGasAll.vue +214 -214
  231. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  232. package/src/components/WebReport/UsertypePie.vue +105 -105
  233. package/src/components/WebReport/ValueEcharts.vue +99 -99
  234. package/src/components/WebReport/ValueInfo.vue +194 -194
  235. package/src/components/qinhua/BarChartLine.vue +288 -288
  236. package/src/components/qinhua/ManageMain.vue +162 -162
  237. package/src/components/qinhua/Ring.vue +165 -165
  238. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  239. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  240. package/src/components/qinhua/Scada.vue +93 -93
  241. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  242. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  243. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  244. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  245. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  246. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  247. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  248. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  249. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  250. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  251. package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1250
  252. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  253. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  254. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  255. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  256. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  257. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  258. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  259. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  260. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  261. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  262. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  263. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  264. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  265. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  266. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  267. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  268. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  269. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  270. package/src/components/sale/common/PrintData.vue +171 -171
  271. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  272. package/src/components/sale/common/PrintTable.vue +228 -228
  273. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  274. package/src/components/sale/common/TabButton.vue +155 -155
  275. package/src/components/sale/common/Tabs.vue +67 -67
  276. package/src/components/sale/common/handplanUser.vue +112 -112
  277. package/src/components/sale/config/DefaultPrint.js +6 -6
  278. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  279. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  280. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  281. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  282. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  283. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  284. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  285. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  287. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  288. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  289. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  290. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  291. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  292. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  293. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  294. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  295. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  296. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  297. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  298. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  299. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  300. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  301. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  302. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  303. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  304. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  305. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  306. package/src/components/sale/report/aode/DayReport.vue +50 -50
  307. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  308. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  309. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  310. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  311. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  312. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  313. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  314. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  315. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  316. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  317. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  318. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  319. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  320. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  321. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  322. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  323. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  324. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  325. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  326. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  327. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  330. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  331. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  332. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  335. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  336. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  337. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  338. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  339. package/src/components/statistical/DendrogramManage.vue +239 -239
  340. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  341. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  342. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  343. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  344. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  345. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  347. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  348. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  349. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  350. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  351. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  352. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  353. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  354. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  355. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  356. package/src/components/yulin/GuanWang.vue +24 -24
  357. package/src/components/yulin/SingleBarLine.vue +352 -352
  358. package/src/components/yulin/Weather.vue +157 -157
  359. package/src/expandcss.less +26 -26
  360. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  361. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  362. package/src/filiale/aode/ArchivesManage.vue +38 -38
  363. package/src/filiale/aode/BusinessManage.vue +94 -94
  364. package/src/filiale/aode/DefaultPrint.js +6 -6
  365. package/src/filiale/aode/HandplanQuery.vue +632 -632
  366. package/src/filiale/aode/Tabs.vue +67 -67
  367. package/src/filiale/aode/UserQuery.vue +599 -599
  368. package/src/filiale/aode/sale.js +17 -17
  369. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  370. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  371. package/src/filiale/ceshi/CollectManage.vue +94 -94
  372. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  373. package/src/filiale/ceshi/TabButton.vue +149 -149
  374. package/src/filiale/ceshi/Tabs.vue +69 -69
  375. package/src/filiale/ceshi/reportManage.js +5 -5
  376. package/src/filiale/ceshi/sale.js +11 -11
  377. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  378. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  379. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  380. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  381. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  382. package/src/filiale/liaoyuan/sale.js +11 -11
  383. package/src/filiale/macheng/MeterQuery.vue +921 -921
  384. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  385. package/src/filiale/pingxiang/sale.js +9 -9
  386. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  387. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  388. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  389. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  390. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  391. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  392. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  393. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  394. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  395. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  396. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  397. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  398. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  399. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  400. package/src/filiale/shennongjia/sale.js +10 -10
  401. package/src/filiale/tongchuan/ChargeQuery.vue +1270 -1270
  402. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  403. package/src/main.js +9 -9
  404. package/src/plugins/GetLoginInfoService.js +505 -505
  405. package/src/plugins/LodopFuncs.js +124 -124
  406. package/src/plugins/getAllInputtor.js +29 -29
  407. package/src/safeCheck.js +63 -63
  408. package/src/stores/AppData.js +62 -62
  409. package/src/stores/DataSql.js +585 -585
  410. package/src/stores/DrillECharts.js +602 -602
  411. package/src/stores/DrillSql.js +888 -888
  412. package/src/stores/GetParames.js +15 -15
  413. package/src/stores/MagGetSaleParams.js +156 -156
  414. package/src/stores/MagLoadParams.js +63 -63
  415. package/src/stores/Util.js +132 -132
  416. package/src/stores/shanxi1.js +26 -26
  417. package/src/stores/yulin.js +27 -27
  418. package/static/china.json +1 -1
  419. package/static/qh.json +2410 -2410
  420. package/static/res.json +58411 -58411
  421. package/static/shanxi1.json +1 -1
  422. package/static/yulin.json +1 -1
  423. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  424. package/test/unit/.eslintrc +5 -5
  425. package/test/unit/TestUtil.js +35 -35
  426. package/test/unit/context.html +20 -20
  427. package/test/unit/index.js +13 -13
  428. package/test/unit/init.js +11 -11
  429. package/test/unit/karma.conf.js +45 -45
  430. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  431. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  432. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  433. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  434. package/webstorm.config.js +13 -13
  435. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  436. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  437. package/.gradle/5.4.1/gc.properties +0 -0
  438. package/src/.idea/misc.xml +0 -9
  439. package/src/.idea/modules.xml +0 -8
  440. package/src/.idea/src.iml +0 -9
  441. package/src/.idea/vcs.xml +0 -6
  442. package/src/.idea/workspace.xml +0 -93
@@ -1,1260 +1,1260 @@
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 @sort="sort">
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 = '{}' " 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 = '{}'" placeholder="客户名称">
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label class="font_normal_body">客户电话</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
- condition="f_user_phone like '%{}%'" 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_idnumber"
28
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
29
- </div>
30
-
31
-
32
- <div class="span" style = "float:right;">
33
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
34
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
35
- <button class="button_search button_spacing" @click="search()">查询</button>
36
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
37
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
38
-
39
- <export-excel :data="$parent.$parent.getCondition"
40
- :field="$parent.$parent.getExportField"
41
- :header="$parent.$parent.other"
42
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
43
- sqlurl="rs/logic/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :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
- <div style="float: right" class="button_spacing"
49
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
50
- @click="$parent.$parent.hidden()"></div>
51
- </div>
52
- </div>
53
-
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
56
- <div class="col-sm-2 form-group" >
57
- <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
58
- <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
59
- v-model="model.startDate"
60
- :value.sync="model.startDate"
61
- :format="'yyyy-MM-dd'"
62
- :show-reset-button="true"
63
- condition="f_createfile_date >= '{} 00:00:00'">
64
- </datepicker>
65
- </div>
66
- <div class="col-sm-2 form-group" >
67
- <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
68
- <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
69
- v-model="model.endDate"
70
- :value.sync="model.endDate"
71
- :format="'yyyy-MM-dd'"
72
- :show-reset-button="true"
73
- condition="f_createfile_date <= '{} 23:59:59'">
74
- </datepicker>
75
- </div>
76
-
77
- <div class="col-sm-2 form-group" >
78
- <label class="font_normal_body">客户状态</label>
79
- <v-select :value.sync="model.f_user_state"
80
- v-model="model.f_user_state"
81
- :options='$parent.$parent.userstates' placeholder='请选择'
82
- condition="f_user_state = '{}'"
83
- close-on-select></v-select>
84
- </div>
85
- <div class="col-sm-2 form-group">
86
- <label class="font_normal_body">人&emsp;&emsp;数</label>
87
- <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
88
- condition="f_people_num = '{}'" placeholder="人数">
89
- </div>
90
- <div class="col-sm-2 form-group">
91
- <label class="font_normal_body">客户地址</label>
92
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
93
- condition="f_address like '%{}%'" placeholder='客户地址'>
94
- </div>
95
- <div class="col-sm-2 form-group">
96
- <label for="startDate" class="font_normal_body">建档日期</label>
97
- <datepicker placeholder="建档日期" style="width:60%"
98
- v-model="model.f_createfile_date"
99
- :value.sync="model.f_createfile_date"
100
- :format="'yyyy-MM-dd'"
101
- :show-reset-button="true"
102
- condition="f_createfile_date >= '{} 00:00:00'">
103
- </datepicker>
104
- </div>
105
- <div class="col-sm-2 form-group">
106
- <label class="font_normal_body">建档部门</label>
107
- <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
108
- condition="f_depname like '%{}%'" placeholder='建档部门'>
109
- </div>
110
- <div class="col-sm-2 form-group">
111
- <label class="font_normal_body">报警器编码</label>
112
- <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
113
- condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
114
- </div>
115
- <div class="col-sm-2 form-group">
116
- <label class="font_normal_body">发票编码</label>
117
- <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
118
- condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body">燃气表号</label>
122
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
123
- condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
124
- </div>
125
-
126
- <div class="col-sm-2 form-group">
127
- <label class="font_normal_body">气表分类</label>
128
- <v-select :value.sync="model.f_meter_classify"
129
- v-model="model.f_meter_classify"
130
- :options='$parent.$parent.metertypes' placeholder='请选择'
131
- condition="f_meter_classify = '{}'"
132
- close-on-select></v-select>
133
- </div>
134
-
135
- <div class="col-sm-2 form-group">
136
- <label class="font_normal_body">气表品牌</label>
137
- <v-select :value.sync="model.f_meter_brand"
138
- v-model="model.f_meter_brand"
139
- :options='$parent.$parent.meterbrands' placeholder='请选择'
140
- condition="f_meter_brand = '{}'"
141
- close-on-select></v-select>
142
- </div>
143
- <div class="col-sm-2 form-group">
144
- <label class="font_normal_body">表&emsp;&emsp;号</label>
145
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
146
- condition="f_meternumber = '{}'" placeholder='表号'>
147
- </div>
148
- <div class="col-sm-2 form-group">
149
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
150
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
151
- condition="f_card_id = '{}'" placeholder='卡号'>
152
- </div>
153
- <div class="col-sm-2 form-group">
154
- <label class="font_normal_body">客户类型</label>
155
- <v-select :value.sync="model.f_user_type"
156
- :options='$parent.$parent.usertypes'
157
- @change="$parent.$parent.userTypeChange()"
158
- placeholder='请选择' v-model="model.f_user_type"
159
- condition="f_user_type = '{}'"
160
- close-on-select></v-select>
161
- </div>
162
- <div class="col-sm-2 form-group" >
163
- <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
164
- <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
165
- v-model="model.startDate1"
166
- :value.sync="model.startDate1"
167
- :format="'yyyy-MM-dd'"
168
- :show-reset-button="true"
169
- condition="f_hand_date >= '{} 00:00:00'">
170
- </datepicker>
171
- </div>
172
- <div class="col-sm-2 form-group" >
173
- <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
174
- <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
175
- v-model="model.endDate1"
176
- :value.sync="model.endDate1"
177
- :format="'yyyy-MM-dd'"
178
- :show-reset-button="true"
179
- condition="f_hand_date <= '{} 23:59:59'">
180
- </datepicker>
181
- </div>
182
- <div class="col-sm-2 form-group">
183
- <label class="font_normal_body">小&emsp;&emsp;区</label>
184
- <v-select :value.sync="model.f_residential_area"
185
- class="select_list select"
186
- enter-push
187
- multiple
188
- condition="f_residential_area in {}"
189
- v-model="model.f_residential_area"
190
- style="width: 60%"
191
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
192
- close-on-select>
193
-
194
- </v-select>
195
- </div>
196
- <div class="col-sm-2 form-group" >
197
- <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
198
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
199
- condition="f_building = '{}'" placeholder='楼号'>
200
- </div>
201
- <div class="col-sm-2 form-group" >
202
- <label class="font_normal_body">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;元</label>
203
- <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
204
- condition="f_unit = '{}'" placeholder='单元号'>
205
- </div>
206
-
207
- <div class="col-sm-2 form-group" >
208
- <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;层</label>
209
- <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
210
- condition="f_floor = '{}'" placeholder='楼层号'>
211
- </div>
212
- <div class="col-sm-2 form-group" >
213
- <label class="font_normal_body">门&ensp;牌&ensp;号</label>
214
- <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
215
- condition="f_room = '{}'" placeholder='门牌号'>
216
- </div>
217
- <div class="col-sm-2 form-group">
218
- <label class="font_normal_body">余额区间</label>
219
- <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
220
- condition="f_balance >= '{}'" placeholder="最小值">
221
- </div>
222
- <div class="col-sm-2 form-group">
223
- <label class="font_normal_body">&ensp;&ensp;&ensp;至&ensp;&ensp;&ensp;</label>
224
- <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
225
- condition="f_balance <= '{}'" placeholder="最大值">
226
- </div>
227
- <div class="col-sm-2 form-group" >
228
- <label class="font_normal_body">客户地址</label>
229
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
230
- condition="f_address like '%{}%'" placeholder='客户地址'>
231
- </div>
232
- <div class="col-sm-2 form-group" >
233
- <label class="font_normal_body">用&ensp;气&ensp;点</label>
234
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
235
- condition="f_userfiles_address like '%{}%'" placeholder="用气点">
236
- </div>
237
- <div class="col-sm-2 form-group">
238
- <label class="font_normal_body">用气性质</label>
239
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
240
- :options='$parent.$parent.gasproperties' placeholder='请选择'
241
- condition="f_gasproperties = '{}'"
242
- close-on-select></v-select>
243
- </div>
244
- <div class="col-sm-2 form-group">
245
- <label class="font_normal_body">气价类型</label>
246
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
247
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
248
- condition="f_price_type = '{}'"
249
- close-on-select v-ref:type>
250
- </v-select>
251
- </div>
252
- <div class="col-sm-2 form-group">
253
- <label class="font_normal_body">气价名称</label>
254
- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
255
- :options="$parent.$parent.pricenames" placeholder='气价名称'
256
- condition="f_price_name = '{}'"
257
- :is-mul="mul"
258
- close-on-select ></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_isband"
263
- v-model="model.f_isband"
264
- :options='$parent.$parent.bandstates' placeholder='请选择'
265
- condition="f_isband = '{}'"
266
- close-on-select></v-select>
267
- </div>
268
- <div class="col-sm-2 form-group">
269
- <label class="font_normal_body">壁&ensp;挂&ensp;炉</label>
270
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
271
- :options='$parent.$parent.bgl' placeholder='请选择'
272
- condition="isbgl = '{}'"
273
- close-on-select></v-select>
274
- </div>
275
- <div class="col-sm-2 form-group">
276
- <label class="font_normal_body">发卡状态</label>
277
- <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
278
- :options='$parent.$parent.whetherCard' placeholder='请选择'
279
- condition="f_whether_hairpin = '{}'"
280
- close-on-select></v-select>
281
- </div>
282
- <div class="col-sm-2 form-group">
283
- <label class="font_normal_body">安装位置</label>
284
- <v-select :value.sync="model.f_position" v-model="model.f_position"
285
- :options='$parent.$parent.positions' placeholder='请选择'
286
- condition="f_position = '{}'"
287
- close-on-select></v-select>
288
- </div>
289
-
290
- <!--表册片区-->
291
- <div class="col-sm-2 form-group">
292
- <label class="font_normal_body">表册片区</label>
293
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
294
- @change="$parent.$parent.inputtorchange"
295
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
296
- style="width:60%"
297
- close-on-select
298
- condition="f_book_slice_area = '{}'"></v-select>
299
- </div>
300
- <div class="col-sm-2 form-group">
301
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
302
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
303
- :options='$parent.$parent.meterbooks' placeholder='请选择'
304
- style="width:60%"
305
- close-on-select
306
- condition="f_meter_book_num = '{}'"></v-select>
307
- </div>
308
- <div class="col-sm-2 form-group">
309
- <label class="font_normal_body">房屋类型</label>
310
- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
311
- :options='$parent.$parent.houseTypes' placeholder='请选择'
312
- style="width:60%"
313
- close-on-select
314
- condition="f_house_type = '{}'"></v-select>
315
- </div>
316
- <div class="col-sm-2 form-group">
317
- <label class="font_normal_body" >缴费类型</label>
318
- <v-select :value.sync="model.f_payment" multiple
319
- v-model="model.f_payment"
320
- :options='$parent.$parent.dypayment' placeholder='请选择'
321
- condition="f_cost_type in {}"
322
- close-on-select></v-select>
323
- </div>
324
- <div class="col-sm-2 form-group" >
325
- <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
326
- <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
327
- v-model="model.startDate2"
328
- :value.sync="model.startDate2"
329
- :format="'yyyy-MM-dd'"
330
- :show-reset-button="true"
331
- condition="f_open_date >= '{} 00:00:00'">
332
- </datepicker>
333
- </div>
334
- <div class="col-sm-2 form-group" >
335
- <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
336
- <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
337
- v-model="model.endDate2"
338
- :value.sync="model.endDate2"
339
- :format="'yyyy-MM-dd'"
340
- :show-reset-button="true"
341
- condition="f_open_date <= '{} 23:59:59'">
342
- </datepicker>
343
- </div>
344
- <div class="col-sm-2 form-group" >
345
- <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
346
- <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
347
- v-model="model.startDate3"
348
- :value.sync="model.startDate3"
349
- :format="'yyyy-MM-dd'"
350
- :show-reset-button="true"
351
- condition="f_install_date >= '{} 00:00:00'">
352
- </datepicker>
353
- </div>
354
- <div class="col-sm-2 form-group" >
355
- <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
356
- <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
357
- v-model="model.endDate3"
358
- :value.sync="model.endDate3"
359
- :format="'yyyy-MM-dd'"
360
- :show-reset-button="true"
361
- condition="f_install_date <= '{} 23:59:59'">
362
- </datepicker>
363
- </div>
364
- <div class="col-sm-2 form-group" >
365
- <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
366
- <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
367
- v-model="model.startDate4"
368
- :value.sync="model.startDate4"
369
- :format="'yyyy-MM-dd'"
370
- :show-reset-button="true"
371
- condition="f_gas_date >= '{} 00:00:00'">
372
- </datepicker>
373
- </div>
374
- <div class="col-sm-2 form-group" >
375
- <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
376
- <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
377
- v-model="model.endDate4"
378
- :value.sync="model.endDate4"
379
- :format="'yyyy-MM-dd'"
380
- :show-reset-button="true"
381
- condition="f_gas_date <= '{} 23:59:59'">
382
- </datepicker>
383
- </div>
384
- <div class="col-sm-2 form-group" >
385
- <label class="font_normal_body">气表表号</label>
386
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
387
- condition="f_meternumber like '%{}%'" placeholder='气表表号'>
388
- </div>
389
- <div class="col-sm-2 form-group">
390
- <label class="font_normal_body">使用类型</label>
391
- <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
392
- :options='$parent.$parent.useTypes' placeholder='请选择'
393
- style="width:60%"
394
- close-on-select
395
- condition="f_usetype = '{}'"></v-select>
396
- </div>
397
- <div class="col-sm-2 form-group">
398
- <label class="font_normal_body">表具状态</label>
399
- <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
400
- :options='$parent.$parent.TableStates' placeholder='请选择'
401
- style="width:60%"
402
- close-on-select
403
- condition="f_table_state = '{}'"></v-select>
404
- </div>
405
- <div class="col-sm-2 form-group">
406
- <label class="font_normal_body">档案抄表员</label>
407
- <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
408
- style="width:60%"
409
- :multiple="true"
410
- :options='$parent.$parent.inputtores' placeholder='档案抄表员'
411
- close-on-select
412
- v-el:cc></v-select>
413
- </div>
414
- <div class="col-sm-2 form-group">
415
- <label class="font_normal_body">表册抄表员</label>
416
- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
417
- style="width:60%"
418
- :multiple="true"
419
- :options='$parent.$parent.inputtores' placeholder='表册抄表员'
420
- close-on-select
421
- v-el:cc></v-select>
422
- </div>
423
- <div class="col-sm-2 form-group">
424
- <label class="font_normal_body">安&ensp;装&ensp;人</label>
425
- <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
426
- style="width:60%"
427
- :multiple="true"
428
- :options='$parent.$parent.person' placeholder='安装人'
429
- condition="f_install_person = '{}'"
430
- close-on-select
431
- v-el:cc></v-select>
432
- </div>
433
- </div>
434
- </div>
435
- </criteria>
436
-
437
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
438
- <template partial='head'>
439
- <tr>
440
- <th><nobr>客户状态</nobr></th>
441
- <th><nobr>客户编号</nobr></th>
442
- <th><nobr>是否发卡</nobr></th>
443
- <th><nobr>卡号</nobr></th>
444
- <th><nobr>客户名称</nobr></th>
445
- <th><nobr>小区名称</nobr></th>
446
- <th><nobr>楼栋</nobr></th>
447
- <th><nobr>单元</nobr></th>
448
- <th><nobr>楼层</nobr></th>
449
- <th><nobr>门牌号</nobr></th>
450
- <th>
451
- <data-order field="f_userinfo_code" name="客户地址"
452
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
453
- </th>
454
- <th><nobr>客户电话</nobr></th>
455
- <th><nobr>表册片区</nobr></th>
456
- <th><nobr>通气日期</nobr></th>
457
- <!-- 气价类型,单价暂时未处理 -->
458
- <th><nobr>气价类型</nobr></th>
459
- <th><nobr>气价名称</nobr></th>
460
- <th><nobr>单价</nobr></th>
461
-
462
- <th><nobr>安装位置</nobr></th>
463
- <th><nobr>缴费类型</nobr></th>
464
- <th><nobr>气表类型</nobr></th>
465
- <th><nobr>气表品牌</nobr></th>
466
- <th><nobr>表号</nobr></th>
467
- <th><nobr>表封号</nobr></th>
468
- <th><nobr>左右表</nobr></th>
469
- <th><nobr>气表安装日期</nobr></th>
470
- <th><nobr>气表底数</nobr></th>
471
- <th><nobr>账户余额</nobr></th>
472
- <th><nobr>最后抄表日期</nobr></th>
473
- <!--<th><nobr>最后购气日期</nobr></th>-->
474
-
475
- <th><nobr>阀门状态</nobr></th>
476
-
477
- <!-- <th><nobr>旧客户编号</nobr></th> -->
478
- <th><nobr>客户类型</nobr></th>
479
- <th><nobr>用气性质</nobr></th>
480
- <th><nobr>开户时间</nobr></th>
481
- <th><nobr>证件类型</nobr></th>
482
- <th><nobr>证件号码</nobr></th>
483
- <th><nobr>人口数</nobr></th>
484
- <th><nobr>保险结束日期</nobr></th>
485
- <th><nobr>建档日期</nobr></th>
486
- <th><nobr>建档人</nobr></th>
487
- <th><nobr>所属营业厅</nobr></th>
488
- <th><nobr>备注信息</nobr></th>
489
-
490
- <!-- <th><nobr>气价详情</nobr></th>-->
491
- <th><nobr>曾用名</nobr></th>
492
- <th><nobr>备用电话</nobr></th>
493
- <th><nobr>租户姓名</nobr></th>
494
- <th><nobr>租户电话</nobr></th>
495
- <!--<th><nobr>曾用名</nobr></th>-->
496
- <th><nobr>发票编码</nobr></th>
497
- <th><nobr>是否煤改气</nobr></th>
498
- <th><nobr>是否发放天然气使用证</nobr></th>
499
-
500
- <th><nobr>使用类型</nobr></th>
501
-
502
- <!-- <th><nobr>使用状态</nobr></th>-->
503
- <!--<th><nobr>通气时间</nobr></th>-->
504
-
505
- <th><nobr>气表型号</nobr></th>
506
- <th><nobr>表具状态</nobr></th>
507
- <th><nobr>初始气表底数</nobr></th>
508
- <th><nobr>累计用气金额</nobr></th>
509
- <th><nobr>表累购气量</nobr></th>
510
- <th><nobr>表累购金额</nobr></th>
511
-
512
- <th><nobr>抄表员(表册)</nobr></th>
513
- <th><nobr>抄表员(档案)</nobr></th>
514
- <th><nobr>用气点</nobr></th>
515
- <th><nobr>安装人</nobr></th>
516
- <th><nobr>通气人</nobr></th>
517
- <!-- <th><nobr>点火状态</nobr></th>-->
518
- <th><nobr>抄表册编号</nobr></th>
519
-
520
- <th><nobr>抄表册顺序</nobr></th>
521
- <th><nobr>表剩余金额</nobr></th>
522
- <!-- <th><nobr>首次购气日期</nobr></th>-->
523
- <th><nobr>写卡次数</nobr></th>
524
- <th><nobr>补卡次数</nobr></th>
525
- <!-- <th><nobr>购气次数</nobr></th>-->
526
-
527
- <th><nobr>表同步状态</nobr></th>
528
- <th><nobr>微信绑定</nobr></th>
529
-
530
- <th>
531
- <nobr>银行户名</nobr>
532
- </th>
533
- <th>
534
- <nobr>银行名称</nobr>
535
- </th>
536
- <th>
537
- <nobr>银行账号</nobr>
538
- </th>
539
- <th>
540
- <nobr>银行身份证号</nobr>
541
- </th>
542
- <th>
543
- <nobr>缴费编号</nobr>
544
- </th>
545
- <th>
546
- <nobr>报警器编号</nobr>
547
- </th>
548
- <th>
549
- <nobr>换表时间</nobr>
550
- </th>
551
- <th>
552
- <nobr>灶具信息</nobr>
553
- </th>
554
- <th>
555
- <nobr>备注</nobr>
556
- </th>
557
- </tr>
558
- </template>
559
- <template partial='body'>
560
- <!--<td style="text-align: center;"><nobr>-->
561
- <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
562
- <!--</nobr> </td>-->
563
- <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
564
- <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
565
- <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
566
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
567
- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
568
- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
569
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
570
- <td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
571
- <td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
572
- <td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
573
- <td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
574
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
575
- <td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
576
- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
577
- <!-- 气价类型,单价暂时未处理 -->
578
- <td style="text-align: center;"><nobr>&nbsp;&nbsp;</nobr></td>
579
- <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
580
- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
581
-
582
- <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
583
- <td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
584
- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
585
- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
586
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
587
- <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
588
- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
589
- <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
590
- <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
591
- <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
592
- <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
593
- <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
594
- <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
595
-
596
- <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
597
- <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
598
- <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
599
-
600
- <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
601
- <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
602
- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
603
- <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
604
- <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
605
- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
606
- <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
607
- <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
608
- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
609
-
610
- <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
611
- <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
612
- <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
613
- <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
614
- <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
615
- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
616
- <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
617
- <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
618
-
619
- <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
620
- <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
621
- <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
622
-
623
- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
624
- <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
625
- <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
626
- <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
627
- <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
628
- <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
629
-
630
- <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
631
- <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
632
- <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
633
- <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
634
- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
635
- <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
636
- <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
637
-
638
- <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
639
- <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
640
- <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
641
- <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
642
- <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
643
- <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
644
- <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
645
- <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
646
-
647
- <td style="text-align: center;">
648
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
649
- </td>
650
- <td style="text-align: center;">
651
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
652
- </td>
653
- <td style="text-align: center;">
654
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
655
- </td>
656
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
657
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
658
- </td>
659
- <td style="text-align: center;">
660
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
661
- </td>
662
- <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
663
- <td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
664
- <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
665
- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
666
- </template>
667
- <template partial='foot'>
668
-
669
- </template>
670
- </data-grid>
671
- </criteria-paged>
672
-
673
- <table class="table-hover">
674
- <tr style="position: relative" class="table-bordered">
675
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
676
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
677
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
678
- </tr>
679
- </table>
680
-
681
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
682
- <header slot="modal-header" class="modal-header text-center">
683
- <h4 class="modal-title">打印列选择</h4>
684
- <input type="checkbox" class="" id="f_generations" v-model="all">
685
- <label for="f_generations" class="font-size">全选</label>
686
- </header>
687
- <article slot="modal-body">
688
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
689
- <div class="col-sm-3" v-for="f in fields">
690
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
691
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
692
- </div>
693
- </div>
694
- </article>
695
- <footer slot="modal-footer" class="modal-footer">
696
- <center>
697
-
698
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
699
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
700
- <print-table :model='model' v-show="false" v-ref:print
701
- :top='40' :left='60' :right='40' :bottom='60'
702
- :thead="thead" :tfoot='tfoot' :attach="yangsen"
703
- :fields="modelval" :printpage="true">
704
- </print-table>
705
- </center>
706
- </footer>
707
- </modal>
708
- </div>
709
- <div class="flex" v-if="show">
710
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
711
- </div>
712
- </div></div></div>
713
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
714
- </template>
715
-
716
- <script>
717
- import {HttpResetClass, PagedList} from 'vue-client'
718
- import defaultPrint from '../config/DefaultPrint'
719
- import exportConfig from '../config/exportConfig'
720
- let cardBtnGen = async function (self, val) {
721
- self.cardInfo = val.data
722
-
723
- // 判断读卡是否需要卡密码
724
- console.log('读卡上的信息', self.cardInfo)
725
-
726
- if (self.cardInfo.NewParam) {
727
- if (self.cardInfo.NewParam.error) {
728
- if (self.cardInfo.NewParam.error === '0001') {
729
- // 需要重新读卡并传卡密码
730
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
731
- self.readCardParam = self.model.rows[0].f_card_password
732
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
733
- } else {
734
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
735
- return
736
- }
737
- }
738
- }
739
- }
740
- self.card=self.cardInfo.CardID
741
- self.search()
742
- }
743
- let readySomething = async function (self) {
744
- await self.$MagLoadParams.loadParam()
745
- // await self.$LoadParams.loadParam(self.f_filialeid)
746
- self.initParams()
747
- self.getPricenames();
748
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
749
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
750
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
751
- // await self.$refs.paged.$refs.cri.search()
752
- }
753
- export default {
754
- title: '综合档案信息查询',
755
- data() {
756
- return {
757
- IdCardInfo:'',
758
- card:'',
759
- isSingleUser: null,
760
- other:[],
761
- footer:[],
762
- model: new PagedList('rs/sql/compreQuery', 20,{items: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
763
- criteriaShow: false,
764
- orgCondtionStr:'',
765
- residentialArea: [],
766
- gasproperties:[],
767
- meterbrands: [],
768
- modelval: [],
769
- prices: [],
770
- printshow: false,
771
- all: false,
772
- fields: {},
773
- thead: '',
774
- tfoot: '',
775
- defaultfield: [],
776
- //排序
777
- orderitem: 'f_residential_area',
778
- orderitem1: 'f_unit',
779
- orderitem2: 'f_building',
780
- orderitem3: 'f_floor',
781
- orderitem4: 'f_room',
782
-
783
- orderFields: {
784
- f_operate_date: 'no'
785
- },
786
- config: {
787
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
788
- },
789
- area: [],
790
- inputtouPerson: [],
791
- bookinputtorperson:[],
792
- conditon2:'',
793
- show:false,
794
- rowdata:{},
795
- f_filialeid: this.$login.f.orgid,
796
- // 下拉框参数
797
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
798
- bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
799
- initres: {
800
- org:[this.$login.f.orgid],
801
- dep:[],
802
- user:[],
803
- },
804
- // 合计数据
805
- sumsmodel: {},
806
- //表册片区
807
- bookSlice:[{label: '全部',value: ''}],
808
- pricenames:[],
809
- dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
810
- }
811
- },
812
- ready(){
813
- this.getaddress()
814
- readySomething(this).then(() => {
815
- this.$emit('ready')
816
- }).catch((error) => {
817
- this.$emit('error', error)
818
- })
819
- },
820
- methods: {
821
- ReadIDCard(){
822
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
823
- console.log('======',msg)
824
- if(msg.err !== 0){ return}
825
- this.IdCardInfo=msg.strID
826
- })
827
- if(this.IdCardInfo) {
828
- this.search()
829
- }else{
830
- alert("读取失败,找不到用户信息")
831
- }
832
- },
833
- cardBtn (val) {
834
- // this.clear()
835
- cardBtnGen(this, val)
836
- },
837
- getPricenames () {
838
- let f_filialeid = this.f_filialeid
839
- let result = []
840
- this.$GetSaleParam.prices.forEach((item) => {
841
- if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
842
- let value = {
843
- label: item.f_price_name,
844
- value: item.f_price_name
845
- }
846
- result.push(value)
847
- }
848
- })
849
- this.pricenames = [{label:'全部',value:''},...result];
850
- },
851
- getotherfooter () {
852
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
853
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
854
- this.other = [];
855
- this.footer = [];
856
- let exportdata = this.getCondition;
857
- let otherInData = [];
858
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
859
- // let footerData = [], exportfield = this.getExportField;
860
- // footerData.push("合计");
861
- // let self = this;
862
- // for (var field in self.sumsmodel) {
863
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
864
- // }
865
- // this.footer.push(footerData);
866
- this.other.push(otherInData);
867
- },
868
- initParams() {
869
- // 初始化气表品牌
870
- let brandArr = []
871
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
872
- let temp = {}
873
- temp.label = item.label
874
- temp.value = item.value.f_meter_brand
875
- brandArr.push(temp)
876
- })
877
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
878
- //初始化气表价格
879
- this.prices = this.$MagGetSaleParam.getPrices();
880
- },
881
- async getaddress(){
882
- console.log('开始获取小区')
883
- let HttpReset = new HttpResetClass()
884
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
885
- data: {
886
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
887
- }
888
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
889
- console.log('小区',data)
890
- let house = [{label: '全部', value: ''}]
891
- for (let row of data.data){
892
- console.log('开始保存小区')
893
- house.push({label: row.f_residential_area, value: row.f_residential_area})
894
- }
895
- this.residentialArea = house
896
- },
897
- search(){
898
- this.$refs.paged.$refs.cri.search()
899
- },
900
- cancel() {
901
- this.show = false
902
- },
903
- showmsg(obj){
904
- this.rowdata=obj
905
- this.show=true
906
- },
907
- selfSearch (args) {
908
-
909
- //抄表员查询条件
910
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
911
- if(this.inputtouPerson.length !== 0){
912
- let str = JSON.stringify(this.inputtouPerson)
913
- str = str.replace(/"/g,`'`)
914
- str = str.replace(/\[/g,``)
915
- str = str.replace(/\]/g,``)
916
- console.log("=====抄表员model22222222222绑定====",str)
917
- //查询多个抄表员时条件
918
- args.condition += ` and f_inputtor in ( ${str} )`
919
- }
920
- //
921
- debugger
922
- this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
923
- if(this.bookinputtorperson.length !== 0){
924
- let str = JSON.stringify(this.bookinputtorperson)
925
- str = str.replace(/"/g,`'`)
926
- str = str.replace(/\[/g,``)
927
- str = str.replace(/\]/g,``)
928
- console.log("=====抄表员model22222222222绑定====",str)
929
- //查询多个抄表员时条件
930
- args.condition += ` and f_book_inputtor in ( ${str} )`
931
- }
932
- if (!this.orgCondtionStr) {
933
- args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
934
- } else {
935
- args.condition = `${args.condition}` + this.orgCondtionStr
936
- }
937
- this.conditon2 = args.condition
938
- console.log("查看条件",this.conditon2)
939
- if(this.card!=''){
940
- args.condition +=` and f_card_id='${this.card}'`
941
- }
942
- if(this.IdCardInfo!=''){
943
- args.condition+=` and f_idnumber='${this.IdCardInfo}'`
944
- }
945
- this.model.search(args.condition, args.model)
946
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
947
- this.card=''
948
- this.IdCardInfo=''
949
- console.log('合计字段',this.sumsmodel)
950
- },
951
- clear(){
952
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
953
- this.$refs.paged.$refs.cri.model[key] = []
954
- })
955
- },
956
- hidden(){
957
- this.criteriaShow = !this.criteriaShow
958
- },
959
- getRes(obj) {
960
- this.orgCondtionStr = obj
961
- },
962
- stamp () {
963
- this.all = false
964
- //默认选择要打印的列
965
- this.modelval = defaultPrint.config
966
- this.fields = this.getfield
967
- console.log('所有打印字段',this.fields)
968
- this.printshow = true
969
- this.put()
970
- },
971
- put () {
972
- // 对Modelval进行排序
973
- this.sortModelval()
974
- this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
975
- for (let key of this.modelval) {
976
- this.thead += '<th>' + this.fields[key] + '</th>'
977
- }
978
- this.thead += '</tr>'
979
- },
980
- print () {
981
- this.$refs.print.PrintAsFile()
982
- this.printshow = false
983
- },
984
- close () {
985
- this.printshow = false
986
- this.all = false
987
- },
988
- userTypeChange () {
989
- this.gasproperties=[]
990
- if(this.$refs.paged.$refs.cri.model !==null) {
991
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
992
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
993
- // this.gasproperties.push({label: '全部', value: ''})
994
- }
995
- else{
996
- this.gasproperties =[{label: '全部', value: ''}]
997
- }
998
- },
999
- // 对选择的列进行排序
1000
- sortModelval () {
1001
- let sortModel = []
1002
- Object.keys(this.fields).forEach((key) => {
1003
- if (this.modelval.includes(key)) {
1004
- sortModel.push(key)
1005
- }
1006
- })
1007
- this.modelval = sortModel
1008
- console.log('选择的打印的字段', this.modelval)
1009
- },
1010
- async updateParams() {
1011
- await this.$MagLoadParams.loadParam(this.f_filialeid)
1012
- this.inputtores = [];
1013
- this.inputtores.push({label: "全部", value: ""})
1014
- this.initSlice(this.f_filialeid)
1015
- if(this.allorgid!=null){
1016
- this.allorgid.forEach((res)=>{
1017
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1018
- })
1019
- }
1020
- },
1021
- async initSlice (val) {
1022
- if (val) {
1023
- let getAllArea = await this.$resetpost('/rs/search', {
1024
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
1025
- userid: this.$login.f.id
1026
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
1027
- let arr = getAllArea.data.filter((res) => {
1028
- return res.parentid == val
1029
- })
1030
- this.bookSlice = []
1031
- console.log('过滤之后的片区-------------------', arr)
1032
- arr.forEach((res) => {
1033
- this.bookSlice.push({label: res.name, value: res.name})
1034
- })
1035
- }
1036
- },
1037
- //表册片区和抄表册关联
1038
- async inputtorchange(){
1039
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
1040
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
1041
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
1042
- if((val2.length>0)){
1043
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
1044
- /*if (val1[0]){
1045
- condition = condition+ ` and f_meter_book = '${val1[0]}' `
1046
- }*/
1047
- if(val2[0]) {
1048
- condition = condition + ` and f_book_slice_area = '${val2}' `
1049
- }
1050
- let param={
1051
- items:'*',
1052
- tablename:'t_meter_book',
1053
- condition:condition,
1054
- orderitem:'id'
1055
- }
1056
- let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
1057
- if (getMeterBooks.data) {
1058
- if(getMeterBooks.data.length >0){
1059
- let rs = [];
1060
- getMeterBooks.data.forEach((item)=>{
1061
- let temp = {
1062
- label:item.f_book_name,
1063
- value:item.id
1064
- };
1065
- rs.push(temp);
1066
-
1067
- })
1068
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
1069
- }else{
1070
- this.meterbooks = [{label: '全部',value: ''}];
1071
- }
1072
- }
1073
- }else{
1074
- this.meterbooks = [{label: '全部',value: ''}];
1075
- this.initmeterbook();
1076
- }
1077
- },
1078
- sort (field, rule) {
1079
- // 将所有排序方式设为不排序,实现相互排斥
1080
- // for (let key in this.orderFields) {
1081
- // if (key === field) {
1082
- // this.orderFields[key] = rule
1083
- // } else {
1084
- // this.orderFields[key] = 'no'
1085
- // }
1086
- // }
1087
- // 如果新规则不排序,还原为默认排序
1088
- if (rule === 'no'|| rule === 'desc') {
1089
- this.model.paramSource.items= `'${this.orderitem} desc,${this.orderitem2} desc,${this.orderitem1} desc,${this.orderitem3} desc,${this.orderitem4} desc'`
1090
- } else {
1091
- this.model.paramSource.items= `'${this.orderitem},${this.orderitem2},${this.orderitem1},${this.orderitem3},${this.orderitem4} ${rule}'`
1092
- }
1093
-
1094
- this.search()
1095
- }
1096
- },
1097
- watch:{
1098
- 'model.rows.length' () {
1099
- this.isSingleUser = this.model.rows
1100
- },
1101
- 'all' (val) {
1102
- if (val) {
1103
- this.modelval = this.bodyData
1104
- } else {
1105
- this.modelval = defaultPrint.config
1106
- this.put()
1107
- }
1108
- },
1109
- 'modelval.length' () {
1110
- this.put()
1111
- },
1112
- sumsmodel:{
1113
- handler: function(val) {
1114
- this.getotherfooter();
1115
- },
1116
- deep: true
1117
- },
1118
- 'orgCondtionStr'(val) {
1119
- let res = val.match(/'(.*?)'/)
1120
- console.log('正则提取:',res && res[1])
1121
- if (res) {
1122
- this.f_filialeid = res[1]
1123
- if(res.input !=null){
1124
- let resorgid = res.input.substring(res.input.indexOf("'"));
1125
- if(resorgid!= null && resorgid!=''){
1126
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1127
- // resorgid = resorgid.replaceAll("'","");
1128
- resorgid = resorgid.replace(/'/g,"");
1129
- this.allorgid = resorgid.split(",")
1130
- }
1131
- }
1132
- this.updateParams()
1133
- }
1134
- },
1135
- },
1136
- computed:{
1137
- TableStates () {
1138
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1139
- },
1140
- bgl(){
1141
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1142
- },
1143
- houseTypes(){
1144
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1145
- },
1146
- gasproperties(){
1147
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1148
- },
1149
- whetherCard(){
1150
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1151
- },
1152
- usertypes() {
1153
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1154
- },
1155
- useTypes() {
1156
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1157
- },
1158
- positions() {
1159
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1160
- },
1161
- meterbooks(){
1162
- return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1163
- },
1164
- // gasproperties() {
1165
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1166
- // },
1167
-
1168
- metertypes() {
1169
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1170
- },
1171
- pricetypes() {
1172
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1173
- },
1174
- person() {
1175
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1176
- },
1177
- tablestate() {
1178
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
1179
- },
1180
-
1181
- // getPricenames() {
1182
- // let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1183
- // let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1184
- // let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1185
- // // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1186
- // if(this.$refs.paged.$refs.cri.model !==null) {
1187
- // console.log(1111)
1188
- // console.log(11112, this.prices)
1189
- // let rs = []
1190
- // let priceArr = []
1191
- // if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
1192
- // let params = {
1193
- // f_user_type: f_user_type[0],
1194
- // f_gasproperties: f_gasproperties[0],
1195
- // f_price_type: pricetype[0],
1196
- // filter: this.f_filialeid,
1197
- // prices: this.prices
1198
- // }
1199
- // console.log(11113,params,this.$login.f)
1200
- // this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1201
- // let temp = {}
1202
- // temp.label = item.label
1203
- // temp.value = item.value.f_price_name
1204
- // priceArr.push(temp)
1205
- // })
1206
- // rs = [{label: '全部', value: ''}, ...priceArr]
1207
- // }
1208
- // if (rs.length === 0) {
1209
- // console.log('rs读出来是空')
1210
- // this.$refs.paged.$refs.cri.model.f_price_name = ''
1211
- // }
1212
- // return rs
1213
- // }
1214
- // },
1215
- inputtores () {
1216
- // 获取抄表员
1217
- console.log('获取抄表员', this.$login.f)
1218
- let rs = []
1219
- if (this.$login.f.f_gasman.length > 0) {
1220
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1221
- let temp = {
1222
- label: this.$login.f.f_gasman[i].name,
1223
- value: this.$login.f.f_gasman[i].name
1224
- }
1225
- rs.push(temp)
1226
- }
1227
- }
1228
-
1229
- return [{label: '全部', value: ''}, ...rs]
1230
- },
1231
- authArr () {
1232
- return this.$login.r ? this.$login.r : []
1233
- },
1234
- getCondition(){
1235
-
1236
- return {condition:this.conditon2}
1237
- },
1238
- getfield(){
1239
- let data = {}
1240
- this.bodyData.forEach((value, index)=>{
1241
- data[this.bodyData[index]] = this.headData[index]
1242
- })
1243
- //合计字段打印
1244
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1245
- if(this.sumsmodel){
1246
- Object.keys(this.sumsmodel).forEach((key) => {
1247
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1248
- })
1249
- }else{
1250
- this.tfoot += '暂无'
1251
- }
1252
- this.tfoot += '</th></tr>'
1253
- return data
1254
- },
1255
- getExportField() {
1256
- return exportConfig.compreConfig
1257
- }
1258
- }
1259
- }
1260
- </script>
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 @sort="sort">
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 = '{}' " 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 = '{}'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">客户电话</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
+ condition="f_user_phone like '%{}%'" 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_idnumber"
28
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
29
+ </div>
30
+
31
+
32
+ <div class="span" style = "float:right;">
33
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
34
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
35
+ <button class="button_search button_spacing" @click="search()">查询</button>
36
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
37
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
38
+
39
+ <export-excel :data="$parent.$parent.getCondition"
40
+ :field="$parent.$parent.getExportField"
41
+ :header="$parent.$parent.other"
42
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
43
+ sqlurl="rs/logic/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :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
+ <div style="float: right" class="button_spacing"
49
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
50
+ @click="$parent.$parent.hidden()"></div>
51
+ </div>
52
+ </div>
53
+
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
56
+ <div class="col-sm-2 form-group" >
57
+ <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
58
+ <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
59
+ v-model="model.startDate"
60
+ :value.sync="model.startDate"
61
+ :format="'yyyy-MM-dd'"
62
+ :show-reset-button="true"
63
+ condition="f_createfile_date >= '{} 00:00:00'">
64
+ </datepicker>
65
+ </div>
66
+ <div class="col-sm-2 form-group" >
67
+ <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
68
+ <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
69
+ v-model="model.endDate"
70
+ :value.sync="model.endDate"
71
+ :format="'yyyy-MM-dd'"
72
+ :show-reset-button="true"
73
+ condition="f_createfile_date <= '{} 23:59:59'">
74
+ </datepicker>
75
+ </div>
76
+
77
+ <div class="col-sm-2 form-group" >
78
+ <label class="font_normal_body">客户状态</label>
79
+ <v-select :value.sync="model.f_user_state"
80
+ v-model="model.f_user_state"
81
+ :options='$parent.$parent.userstates' placeholder='请选择'
82
+ condition="f_user_state = '{}'"
83
+ close-on-select></v-select>
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body">人&emsp;&emsp;数</label>
87
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
88
+ condition="f_people_num = '{}'" placeholder="人数">
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">客户地址</label>
92
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
93
+ condition="f_address like '%{}%'" placeholder='客户地址'>
94
+ </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label for="startDate" class="font_normal_body">建档日期</label>
97
+ <datepicker placeholder="建档日期" style="width:60%"
98
+ v-model="model.f_createfile_date"
99
+ :value.sync="model.f_createfile_date"
100
+ :format="'yyyy-MM-dd'"
101
+ :show-reset-button="true"
102
+ condition="f_createfile_date >= '{} 00:00:00'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">建档部门</label>
107
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
108
+ condition="f_depname like '%{}%'" placeholder='建档部门'>
109
+ </div>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body">报警器编码</label>
112
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
113
+ condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">发票编码</label>
117
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
118
+ condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">燃气表号</label>
122
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
123
+ condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
124
+ </div>
125
+
126
+ <div class="col-sm-2 form-group">
127
+ <label class="font_normal_body">气表分类</label>
128
+ <v-select :value.sync="model.f_meter_classify"
129
+ v-model="model.f_meter_classify"
130
+ :options='$parent.$parent.metertypes' placeholder='请选择'
131
+ condition="f_meter_classify = '{}'"
132
+ close-on-select></v-select>
133
+ </div>
134
+
135
+ <div class="col-sm-2 form-group">
136
+ <label class="font_normal_body">气表品牌</label>
137
+ <v-select :value.sync="model.f_meter_brand"
138
+ v-model="model.f_meter_brand"
139
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
140
+ condition="f_meter_brand = '{}'"
141
+ close-on-select></v-select>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
145
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
146
+ condition="f_meternumber = '{}'" placeholder='表号'>
147
+ </div>
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
150
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
151
+ condition="f_card_id = '{}'" placeholder='卡号'>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body">客户类型</label>
155
+ <v-select :value.sync="model.f_user_type"
156
+ :options='$parent.$parent.usertypes'
157
+ @change="$parent.$parent.userTypeChange()"
158
+ placeholder='请选择' v-model="model.f_user_type"
159
+ condition="f_user_type = '{}'"
160
+ close-on-select></v-select>
161
+ </div>
162
+ <div class="col-sm-2 form-group" >
163
+ <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
164
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
165
+ v-model="model.startDate1"
166
+ :value.sync="model.startDate1"
167
+ :format="'yyyy-MM-dd'"
168
+ :show-reset-button="true"
169
+ condition="f_hand_date >= '{} 00:00:00'">
170
+ </datepicker>
171
+ </div>
172
+ <div class="col-sm-2 form-group" >
173
+ <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
174
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
175
+ v-model="model.endDate1"
176
+ :value.sync="model.endDate1"
177
+ :format="'yyyy-MM-dd'"
178
+ :show-reset-button="true"
179
+ condition="f_hand_date <= '{} 23:59:59'">
180
+ </datepicker>
181
+ </div>
182
+ <div class="col-sm-2 form-group">
183
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
184
+ <v-select :value.sync="model.f_residential_area"
185
+ class="select_list select"
186
+ enter-push
187
+ multiple
188
+ condition="f_residential_area in {}"
189
+ v-model="model.f_residential_area"
190
+ style="width: 60%"
191
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
192
+ close-on-select>
193
+
194
+ </v-select>
195
+ </div>
196
+ <div class="col-sm-2 form-group" >
197
+ <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
198
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
199
+ condition="f_building = '{}'" placeholder='楼号'>
200
+ </div>
201
+ <div class="col-sm-2 form-group" >
202
+ <label class="font_normal_body">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;元</label>
203
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
204
+ condition="f_unit = '{}'" placeholder='单元号'>
205
+ </div>
206
+
207
+ <div class="col-sm-2 form-group" >
208
+ <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;层</label>
209
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
210
+ condition="f_floor = '{}'" placeholder='楼层号'>
211
+ </div>
212
+ <div class="col-sm-2 form-group" >
213
+ <label class="font_normal_body">门&ensp;牌&ensp;号</label>
214
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
215
+ condition="f_room = '{}'" placeholder='门牌号'>
216
+ </div>
217
+ <div class="col-sm-2 form-group">
218
+ <label class="font_normal_body">余额区间</label>
219
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
220
+ condition="f_balance >= '{}'" placeholder="最小值">
221
+ </div>
222
+ <div class="col-sm-2 form-group">
223
+ <label class="font_normal_body">&ensp;&ensp;&ensp;至&ensp;&ensp;&ensp;</label>
224
+ <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
225
+ condition="f_balance <= '{}'" placeholder="最大值">
226
+ </div>
227
+ <div class="col-sm-2 form-group" >
228
+ <label class="font_normal_body">客户地址</label>
229
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
230
+ condition="f_address like '%{}%'" placeholder='客户地址'>
231
+ </div>
232
+ <div class="col-sm-2 form-group" >
233
+ <label class="font_normal_body">用&ensp;气&ensp;点</label>
234
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
235
+ condition="f_userfiles_address like '%{}%'" placeholder="用气点">
236
+ </div>
237
+ <div class="col-sm-2 form-group">
238
+ <label class="font_normal_body">用气性质</label>
239
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
240
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
241
+ condition="f_gasproperties = '{}'"
242
+ close-on-select></v-select>
243
+ </div>
244
+ <div class="col-sm-2 form-group">
245
+ <label class="font_normal_body">气价类型</label>
246
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
247
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
248
+ condition="f_price_type = '{}'"
249
+ close-on-select v-ref:type>
250
+ </v-select>
251
+ </div>
252
+ <div class="col-sm-2 form-group">
253
+ <label class="font_normal_body">气价名称</label>
254
+ <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
255
+ :options="$parent.$parent.pricenames" placeholder='气价名称'
256
+ condition="f_price_name = '{}'"
257
+ :is-mul="mul"
258
+ close-on-select ></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_isband"
263
+ v-model="model.f_isband"
264
+ :options='$parent.$parent.bandstates' placeholder='请选择'
265
+ condition="f_isband = '{}'"
266
+ close-on-select></v-select>
267
+ </div>
268
+ <div class="col-sm-2 form-group">
269
+ <label class="font_normal_body">壁&ensp;挂&ensp;炉</label>
270
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
271
+ :options='$parent.$parent.bgl' placeholder='请选择'
272
+ condition="isbgl = '{}'"
273
+ close-on-select></v-select>
274
+ </div>
275
+ <div class="col-sm-2 form-group">
276
+ <label class="font_normal_body">发卡状态</label>
277
+ <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
278
+ :options='$parent.$parent.whetherCard' placeholder='请选择'
279
+ condition="f_whether_hairpin = '{}'"
280
+ close-on-select></v-select>
281
+ </div>
282
+ <div class="col-sm-2 form-group">
283
+ <label class="font_normal_body">安装位置</label>
284
+ <v-select :value.sync="model.f_position" v-model="model.f_position"
285
+ :options='$parent.$parent.positions' placeholder='请选择'
286
+ condition="f_position = '{}'"
287
+ close-on-select></v-select>
288
+ </div>
289
+
290
+ <!--表册片区-->
291
+ <div class="col-sm-2 form-group">
292
+ <label class="font_normal_body">表册片区</label>
293
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
294
+ @change="$parent.$parent.inputtorchange"
295
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
296
+ style="width:60%"
297
+ close-on-select
298
+ condition="f_book_slice_area = '{}'"></v-select>
299
+ </div>
300
+ <div class="col-sm-2 form-group">
301
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
302
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
303
+ :options='$parent.$parent.meterbooks' placeholder='请选择'
304
+ style="width:60%"
305
+ close-on-select
306
+ condition="f_meter_book_num = '{}'"></v-select>
307
+ </div>
308
+ <div class="col-sm-2 form-group">
309
+ <label class="font_normal_body">房屋类型</label>
310
+ <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
311
+ :options='$parent.$parent.houseTypes' placeholder='请选择'
312
+ style="width:60%"
313
+ close-on-select
314
+ condition="f_house_type = '{}'"></v-select>
315
+ </div>
316
+ <div class="col-sm-2 form-group">
317
+ <label class="font_normal_body" >缴费类型</label>
318
+ <v-select :value.sync="model.f_payment" multiple
319
+ v-model="model.f_payment"
320
+ :options='$parent.$parent.dypayment' placeholder='请选择'
321
+ condition="f_cost_type in {}"
322
+ close-on-select></v-select>
323
+ </div>
324
+ <div class="col-sm-2 form-group" >
325
+ <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
326
+ <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
327
+ v-model="model.startDate2"
328
+ :value.sync="model.startDate2"
329
+ :format="'yyyy-MM-dd'"
330
+ :show-reset-button="true"
331
+ condition="f_open_date >= '{} 00:00:00'">
332
+ </datepicker>
333
+ </div>
334
+ <div class="col-sm-2 form-group" >
335
+ <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
336
+ <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
337
+ v-model="model.endDate2"
338
+ :value.sync="model.endDate2"
339
+ :format="'yyyy-MM-dd'"
340
+ :show-reset-button="true"
341
+ condition="f_open_date <= '{} 23:59:59'">
342
+ </datepicker>
343
+ </div>
344
+ <div class="col-sm-2 form-group" >
345
+ <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
346
+ <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
347
+ v-model="model.startDate3"
348
+ :value.sync="model.startDate3"
349
+ :format="'yyyy-MM-dd'"
350
+ :show-reset-button="true"
351
+ condition="f_install_date >= '{} 00:00:00'">
352
+ </datepicker>
353
+ </div>
354
+ <div class="col-sm-2 form-group" >
355
+ <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
356
+ <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
357
+ v-model="model.endDate3"
358
+ :value.sync="model.endDate3"
359
+ :format="'yyyy-MM-dd'"
360
+ :show-reset-button="true"
361
+ condition="f_install_date <= '{} 23:59:59'">
362
+ </datepicker>
363
+ </div>
364
+ <div class="col-sm-2 form-group" >
365
+ <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
366
+ <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
367
+ v-model="model.startDate4"
368
+ :value.sync="model.startDate4"
369
+ :format="'yyyy-MM-dd'"
370
+ :show-reset-button="true"
371
+ condition="f_gas_date >= '{} 00:00:00'">
372
+ </datepicker>
373
+ </div>
374
+ <div class="col-sm-2 form-group" >
375
+ <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
376
+ <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
377
+ v-model="model.endDate4"
378
+ :value.sync="model.endDate4"
379
+ :format="'yyyy-MM-dd'"
380
+ :show-reset-button="true"
381
+ condition="f_gas_date <= '{} 23:59:59'">
382
+ </datepicker>
383
+ </div>
384
+ <div class="col-sm-2 form-group" >
385
+ <label class="font_normal_body">气表表号</label>
386
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
387
+ condition="f_meternumber like '%{}%'" placeholder='气表表号'>
388
+ </div>
389
+ <div class="col-sm-2 form-group">
390
+ <label class="font_normal_body">使用类型</label>
391
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
392
+ :options='$parent.$parent.useTypes' placeholder='请选择'
393
+ style="width:60%"
394
+ close-on-select
395
+ condition="f_usetype = '{}'"></v-select>
396
+ </div>
397
+ <div class="col-sm-2 form-group">
398
+ <label class="font_normal_body">表具状态</label>
399
+ <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
400
+ :options='$parent.$parent.TableStates' placeholder='请选择'
401
+ style="width:60%"
402
+ close-on-select
403
+ condition="f_table_state = '{}'"></v-select>
404
+ </div>
405
+ <div class="col-sm-2 form-group">
406
+ <label class="font_normal_body">档案抄表员</label>
407
+ <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
408
+ style="width:60%"
409
+ :multiple="true"
410
+ :options='$parent.$parent.inputtores' placeholder='档案抄表员'
411
+ close-on-select
412
+ v-el:cc></v-select>
413
+ </div>
414
+ <div class="col-sm-2 form-group">
415
+ <label class="font_normal_body">表册抄表员</label>
416
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
417
+ style="width:60%"
418
+ :multiple="true"
419
+ :options='$parent.$parent.inputtores' placeholder='表册抄表员'
420
+ close-on-select
421
+ v-el:cc></v-select>
422
+ </div>
423
+ <div class="col-sm-2 form-group">
424
+ <label class="font_normal_body">安&ensp;装&ensp;人</label>
425
+ <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
426
+ style="width:60%"
427
+ :multiple="true"
428
+ :options='$parent.$parent.person' placeholder='安装人'
429
+ condition="f_install_person = '{}'"
430
+ close-on-select
431
+ v-el:cc></v-select>
432
+ </div>
433
+ </div>
434
+ </div>
435
+ </criteria>
436
+
437
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
438
+ <template partial='head'>
439
+ <tr>
440
+ <th><nobr>客户状态</nobr></th>
441
+ <th><nobr>客户编号</nobr></th>
442
+ <th><nobr>是否发卡</nobr></th>
443
+ <th><nobr>卡号</nobr></th>
444
+ <th><nobr>客户名称</nobr></th>
445
+ <th><nobr>小区名称</nobr></th>
446
+ <th><nobr>楼栋</nobr></th>
447
+ <th><nobr>单元</nobr></th>
448
+ <th><nobr>楼层</nobr></th>
449
+ <th><nobr>门牌号</nobr></th>
450
+ <th>
451
+ <data-order field="f_userinfo_code" name="客户地址"
452
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
453
+ </th>
454
+ <th><nobr>客户电话</nobr></th>
455
+ <th><nobr>表册片区</nobr></th>
456
+ <th><nobr>通气日期</nobr></th>
457
+ <!-- 气价类型,单价暂时未处理 -->
458
+ <th><nobr>气价类型</nobr></th>
459
+ <th><nobr>气价名称</nobr></th>
460
+ <th><nobr>单价</nobr></th>
461
+
462
+ <th><nobr>安装位置</nobr></th>
463
+ <th><nobr>缴费类型</nobr></th>
464
+ <th><nobr>气表类型</nobr></th>
465
+ <th><nobr>气表品牌</nobr></th>
466
+ <th><nobr>表号</nobr></th>
467
+ <th><nobr>表封号</nobr></th>
468
+ <th><nobr>左右表</nobr></th>
469
+ <th><nobr>气表安装日期</nobr></th>
470
+ <th><nobr>气表底数</nobr></th>
471
+ <th><nobr>账户余额</nobr></th>
472
+ <th><nobr>最后抄表日期</nobr></th>
473
+ <!--<th><nobr>最后购气日期</nobr></th>-->
474
+
475
+ <th><nobr>阀门状态</nobr></th>
476
+
477
+ <!-- <th><nobr>旧客户编号</nobr></th> -->
478
+ <th><nobr>客户类型</nobr></th>
479
+ <th><nobr>用气性质</nobr></th>
480
+ <th><nobr>开户时间</nobr></th>
481
+ <th><nobr>证件类型</nobr></th>
482
+ <th><nobr>证件号码</nobr></th>
483
+ <th><nobr>人口数</nobr></th>
484
+ <th><nobr>保险结束日期</nobr></th>
485
+ <th><nobr>建档日期</nobr></th>
486
+ <th><nobr>建档人</nobr></th>
487
+ <th><nobr>所属营业厅</nobr></th>
488
+ <th><nobr>备注信息</nobr></th>
489
+
490
+ <!-- <th><nobr>气价详情</nobr></th>-->
491
+ <th><nobr>曾用名</nobr></th>
492
+ <th><nobr>备用电话</nobr></th>
493
+ <th><nobr>租户姓名</nobr></th>
494
+ <th><nobr>租户电话</nobr></th>
495
+ <!--<th><nobr>曾用名</nobr></th>-->
496
+ <th><nobr>发票编码</nobr></th>
497
+ <th><nobr>是否煤改气</nobr></th>
498
+ <th><nobr>是否发放天然气使用证</nobr></th>
499
+
500
+ <th><nobr>使用类型</nobr></th>
501
+
502
+ <!-- <th><nobr>使用状态</nobr></th>-->
503
+ <!--<th><nobr>通气时间</nobr></th>-->
504
+
505
+ <th><nobr>气表型号</nobr></th>
506
+ <th><nobr>表具状态</nobr></th>
507
+ <th><nobr>初始气表底数</nobr></th>
508
+ <th><nobr>累计用气金额</nobr></th>
509
+ <th><nobr>表累购气量</nobr></th>
510
+ <th><nobr>表累购金额</nobr></th>
511
+
512
+ <th><nobr>抄表员(表册)</nobr></th>
513
+ <th><nobr>抄表员(档案)</nobr></th>
514
+ <th><nobr>用气点</nobr></th>
515
+ <th><nobr>安装人</nobr></th>
516
+ <th><nobr>通气人</nobr></th>
517
+ <!-- <th><nobr>点火状态</nobr></th>-->
518
+ <th><nobr>抄表册编号</nobr></th>
519
+
520
+ <th><nobr>抄表册顺序</nobr></th>
521
+ <th><nobr>表剩余金额</nobr></th>
522
+ <!-- <th><nobr>首次购气日期</nobr></th>-->
523
+ <th><nobr>写卡次数</nobr></th>
524
+ <th><nobr>补卡次数</nobr></th>
525
+ <!-- <th><nobr>购气次数</nobr></th>-->
526
+
527
+ <th><nobr>表同步状态</nobr></th>
528
+ <th><nobr>微信绑定</nobr></th>
529
+
530
+ <th>
531
+ <nobr>银行户名</nobr>
532
+ </th>
533
+ <th>
534
+ <nobr>银行名称</nobr>
535
+ </th>
536
+ <th>
537
+ <nobr>银行账号</nobr>
538
+ </th>
539
+ <th>
540
+ <nobr>银行身份证号</nobr>
541
+ </th>
542
+ <th>
543
+ <nobr>缴费编号</nobr>
544
+ </th>
545
+ <th>
546
+ <nobr>报警器编号</nobr>
547
+ </th>
548
+ <th>
549
+ <nobr>换表时间</nobr>
550
+ </th>
551
+ <th>
552
+ <nobr>灶具信息</nobr>
553
+ </th>
554
+ <th>
555
+ <nobr>备注</nobr>
556
+ </th>
557
+ </tr>
558
+ </template>
559
+ <template partial='body'>
560
+ <!--<td style="text-align: center;"><nobr>-->
561
+ <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
562
+ <!--</nobr> </td>-->
563
+ <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
564
+ <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
565
+ <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
566
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
567
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
568
+ <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
569
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
570
+ <td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
571
+ <td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
572
+ <td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
573
+ <td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
574
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
575
+ <td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
576
+ <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
577
+ <!-- 气价类型,单价暂时未处理 -->
578
+ <td style="text-align: center;"><nobr>&nbsp;&nbsp;</nobr></td>
579
+ <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
580
+ <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
581
+
582
+ <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
583
+ <td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
584
+ <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
585
+ <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
586
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
587
+ <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
588
+ <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
589
+ <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
590
+ <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
591
+ <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
592
+ <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
593
+ <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
594
+ <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
595
+
596
+ <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
597
+ <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
598
+ <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
599
+
600
+ <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
601
+ <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
602
+ <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
603
+ <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
604
+ <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
605
+ <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
606
+ <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
607
+ <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
608
+ <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
609
+
610
+ <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
611
+ <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
612
+ <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
613
+ <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
614
+ <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
615
+ <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
616
+ <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
617
+ <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
618
+
619
+ <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
620
+ <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
621
+ <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
622
+
623
+ <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
624
+ <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
625
+ <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
626
+ <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
627
+ <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
628
+ <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
629
+
630
+ <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
631
+ <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
632
+ <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
633
+ <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
634
+ <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
635
+ <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
636
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
637
+
638
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
639
+ <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
640
+ <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
641
+ <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
642
+ <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
643
+ <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
644
+ <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
645
+ <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
646
+
647
+ <td style="text-align: center;">
648
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
649
+ </td>
650
+ <td style="text-align: center;">
651
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
652
+ </td>
653
+ <td style="text-align: center;">
654
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
655
+ </td>
656
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
657
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
658
+ </td>
659
+ <td style="text-align: center;">
660
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
661
+ </td>
662
+ <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
663
+ <td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
664
+ <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
665
+ <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
666
+ </template>
667
+ <template partial='foot'>
668
+
669
+ </template>
670
+ </data-grid>
671
+ </criteria-paged>
672
+
673
+ <table class="table-hover">
674
+ <tr style="position: relative" class="table-bordered">
675
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
676
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
677
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
678
+ </tr>
679
+ </table>
680
+
681
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
682
+ <header slot="modal-header" class="modal-header text-center">
683
+ <h4 class="modal-title">打印列选择</h4>
684
+ <input type="checkbox" class="" id="f_generations" v-model="all">
685
+ <label for="f_generations" class="font-size">全选</label>
686
+ </header>
687
+ <article slot="modal-body">
688
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
689
+ <div class="col-sm-3" v-for="f in fields">
690
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
691
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
692
+ </div>
693
+ </div>
694
+ </article>
695
+ <footer slot="modal-footer" class="modal-footer">
696
+ <center>
697
+
698
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
699
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
700
+ <print-table :model='model' v-show="false" v-ref:print
701
+ :top='40' :left='60' :right='40' :bottom='60'
702
+ :thead="thead" :tfoot='tfoot' :attach="yangsen"
703
+ :fields="modelval" :printpage="true">
704
+ </print-table>
705
+ </center>
706
+ </footer>
707
+ </modal>
708
+ </div>
709
+ <div class="flex" v-if="show">
710
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
711
+ </div>
712
+ </div></div></div>
713
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
714
+ </template>
715
+
716
+ <script>
717
+ import {HttpResetClass, PagedList} from 'vue-client'
718
+ import defaultPrint from '../config/DefaultPrint'
719
+ import exportConfig from '../config/exportConfig'
720
+ let cardBtnGen = async function (self, val) {
721
+ self.cardInfo = val.data
722
+
723
+ // 判断读卡是否需要卡密码
724
+ console.log('读卡上的信息', self.cardInfo)
725
+
726
+ if (self.cardInfo.NewParam) {
727
+ if (self.cardInfo.NewParam.error) {
728
+ if (self.cardInfo.NewParam.error === '0001') {
729
+ // 需要重新读卡并传卡密码
730
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
731
+ self.readCardParam = self.model.rows[0].f_card_password
732
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
733
+ } else {
734
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
735
+ return
736
+ }
737
+ }
738
+ }
739
+ }
740
+ self.card=self.cardInfo.CardID
741
+ self.search()
742
+ }
743
+ let readySomething = async function (self) {
744
+ await self.$MagLoadParams.loadParam()
745
+ // await self.$LoadParams.loadParam(self.f_filialeid)
746
+ self.initParams()
747
+ self.getPricenames();
748
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
749
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
750
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
751
+ // await self.$refs.paged.$refs.cri.search()
752
+ }
753
+ export default {
754
+ title: '综合档案信息查询',
755
+ data() {
756
+ return {
757
+ IdCardInfo:'',
758
+ card:'',
759
+ isSingleUser: null,
760
+ other:[],
761
+ footer:[],
762
+ model: new PagedList('rs/sql/compreQuery', 20,{items: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
763
+ criteriaShow: false,
764
+ orgCondtionStr:'',
765
+ residentialArea: [],
766
+ gasproperties:[],
767
+ meterbrands: [],
768
+ modelval: [],
769
+ prices: [],
770
+ printshow: false,
771
+ all: false,
772
+ fields: {},
773
+ thead: '',
774
+ tfoot: '',
775
+ defaultfield: [],
776
+ //排序
777
+ orderitem: 'f_residential_area',
778
+ orderitem1: 'f_unit',
779
+ orderitem2: 'f_building',
780
+ orderitem3: 'f_floor',
781
+ orderitem4: 'f_room',
782
+
783
+ orderFields: {
784
+ f_operate_date: 'no'
785
+ },
786
+ config: {
787
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
788
+ },
789
+ area: [],
790
+ inputtouPerson: [],
791
+ bookinputtorperson:[],
792
+ conditon2:'',
793
+ show:false,
794
+ rowdata:{},
795
+ f_filialeid: this.$login.f.orgid,
796
+ // 下拉框参数
797
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
798
+ bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
799
+ initres: {
800
+ org:[this.$login.f.orgid],
801
+ dep:[],
802
+ user:[],
803
+ },
804
+ // 合计数据
805
+ sumsmodel: {},
806
+ //表册片区
807
+ bookSlice:[{label: '全部',value: ''}],
808
+ pricenames:[],
809
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
810
+ }
811
+ },
812
+ ready(){
813
+ this.getaddress()
814
+ readySomething(this).then(() => {
815
+ this.$emit('ready')
816
+ }).catch((error) => {
817
+ this.$emit('error', error)
818
+ })
819
+ },
820
+ methods: {
821
+ ReadIDCard(){
822
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
823
+ console.log('======',msg)
824
+ if(msg.err !== 0){ return}
825
+ this.IdCardInfo=msg.strID
826
+ })
827
+ if(this.IdCardInfo) {
828
+ this.search()
829
+ }else{
830
+ alert("读取失败,找不到用户信息")
831
+ }
832
+ },
833
+ cardBtn (val) {
834
+ // this.clear()
835
+ cardBtnGen(this, val)
836
+ },
837
+ getPricenames () {
838
+ let f_filialeid = this.f_filialeid
839
+ let result = []
840
+ this.$GetSaleParam.prices.forEach((item) => {
841
+ if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
842
+ let value = {
843
+ label: item.f_price_name,
844
+ value: item.f_price_name
845
+ }
846
+ result.push(value)
847
+ }
848
+ })
849
+ this.pricenames = [{label:'全部',value:''},...result];
850
+ },
851
+ getotherfooter () {
852
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
853
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
854
+ this.other = [];
855
+ this.footer = [];
856
+ let exportdata = this.getCondition;
857
+ let otherInData = [];
858
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
859
+ // let footerData = [], exportfield = this.getExportField;
860
+ // footerData.push("合计");
861
+ // let self = this;
862
+ // for (var field in self.sumsmodel) {
863
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
864
+ // }
865
+ // this.footer.push(footerData);
866
+ this.other.push(otherInData);
867
+ },
868
+ initParams() {
869
+ // 初始化气表品牌
870
+ let brandArr = []
871
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
872
+ let temp = {}
873
+ temp.label = item.label
874
+ temp.value = item.value.f_meter_brand
875
+ brandArr.push(temp)
876
+ })
877
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
878
+ //初始化气表价格
879
+ this.prices = this.$MagGetSaleParam.getPrices();
880
+ },
881
+ async getaddress(){
882
+ console.log('开始获取小区')
883
+ let HttpReset = new HttpResetClass()
884
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
885
+ data: {
886
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
887
+ }
888
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
889
+ console.log('小区',data)
890
+ let house = [{label: '全部', value: ''}]
891
+ for (let row of data.data){
892
+ console.log('开始保存小区')
893
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
894
+ }
895
+ this.residentialArea = house
896
+ },
897
+ search(){
898
+ this.$refs.paged.$refs.cri.search()
899
+ },
900
+ cancel() {
901
+ this.show = false
902
+ },
903
+ showmsg(obj){
904
+ this.rowdata=obj
905
+ this.show=true
906
+ },
907
+ selfSearch (args) {
908
+
909
+ //抄表员查询条件
910
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
911
+ if(this.inputtouPerson.length !== 0){
912
+ let str = JSON.stringify(this.inputtouPerson)
913
+ str = str.replace(/"/g,`'`)
914
+ str = str.replace(/\[/g,``)
915
+ str = str.replace(/\]/g,``)
916
+ console.log("=====抄表员model22222222222绑定====",str)
917
+ //查询多个抄表员时条件
918
+ args.condition += ` and f_inputtor in ( ${str} )`
919
+ }
920
+ //
921
+ debugger
922
+ this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
923
+ if(this.bookinputtorperson.length !== 0){
924
+ let str = JSON.stringify(this.bookinputtorperson)
925
+ str = str.replace(/"/g,`'`)
926
+ str = str.replace(/\[/g,``)
927
+ str = str.replace(/\]/g,``)
928
+ console.log("=====抄表员model22222222222绑定====",str)
929
+ //查询多个抄表员时条件
930
+ args.condition += ` and f_book_inputtor in ( ${str} )`
931
+ }
932
+ if (!this.orgCondtionStr) {
933
+ args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
934
+ } else {
935
+ args.condition = `${args.condition}` + this.orgCondtionStr
936
+ }
937
+ this.conditon2 = args.condition
938
+ console.log("查看条件",this.conditon2)
939
+ if(this.card!=''){
940
+ args.condition +=` and f_card_id='${this.card}'`
941
+ }
942
+ if(this.IdCardInfo!=''){
943
+ args.condition+=` and f_idnumber='${this.IdCardInfo}'`
944
+ }
945
+ this.model.search(args.condition, args.model)
946
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
947
+ this.card=''
948
+ this.IdCardInfo=''
949
+ console.log('合计字段',this.sumsmodel)
950
+ },
951
+ clear(){
952
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
953
+ this.$refs.paged.$refs.cri.model[key] = []
954
+ })
955
+ },
956
+ hidden(){
957
+ this.criteriaShow = !this.criteriaShow
958
+ },
959
+ getRes(obj) {
960
+ this.orgCondtionStr = obj
961
+ },
962
+ stamp () {
963
+ this.all = false
964
+ //默认选择要打印的列
965
+ this.modelval = defaultPrint.config
966
+ this.fields = this.getfield
967
+ console.log('所有打印字段',this.fields)
968
+ this.printshow = true
969
+ this.put()
970
+ },
971
+ put () {
972
+ // 对Modelval进行排序
973
+ this.sortModelval()
974
+ this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
975
+ for (let key of this.modelval) {
976
+ this.thead += '<th>' + this.fields[key] + '</th>'
977
+ }
978
+ this.thead += '</tr>'
979
+ },
980
+ print () {
981
+ this.$refs.print.PrintAsFile()
982
+ this.printshow = false
983
+ },
984
+ close () {
985
+ this.printshow = false
986
+ this.all = false
987
+ },
988
+ userTypeChange () {
989
+ this.gasproperties=[]
990
+ if(this.$refs.paged.$refs.cri.model !==null) {
991
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
992
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
993
+ // this.gasproperties.push({label: '全部', value: ''})
994
+ }
995
+ else{
996
+ this.gasproperties =[{label: '全部', value: ''}]
997
+ }
998
+ },
999
+ // 对选择的列进行排序
1000
+ sortModelval () {
1001
+ let sortModel = []
1002
+ Object.keys(this.fields).forEach((key) => {
1003
+ if (this.modelval.includes(key)) {
1004
+ sortModel.push(key)
1005
+ }
1006
+ })
1007
+ this.modelval = sortModel
1008
+ console.log('选择的打印的字段', this.modelval)
1009
+ },
1010
+ async updateParams() {
1011
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
1012
+ this.inputtores = [];
1013
+ this.inputtores.push({label: "全部", value: ""})
1014
+ this.initSlice(this.f_filialeid)
1015
+ if(this.allorgid!=null){
1016
+ this.allorgid.forEach((res)=>{
1017
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1018
+ })
1019
+ }
1020
+ },
1021
+ async initSlice (val) {
1022
+ if (val) {
1023
+ let getAllArea = await this.$resetpost('/rs/search', {
1024
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
1025
+ userid: this.$login.f.id
1026
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
1027
+ let arr = getAllArea.data.filter((res) => {
1028
+ return res.parentid == val
1029
+ })
1030
+ this.bookSlice = []
1031
+ console.log('过滤之后的片区-------------------', arr)
1032
+ arr.forEach((res) => {
1033
+ this.bookSlice.push({label: res.name, value: res.name})
1034
+ })
1035
+ }
1036
+ },
1037
+ //表册片区和抄表册关联
1038
+ async inputtorchange(){
1039
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
1040
+ /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
1041
+ let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
1042
+ if((val2.length>0)){
1043
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
1044
+ /*if (val1[0]){
1045
+ condition = condition+ ` and f_meter_book = '${val1[0]}' `
1046
+ }*/
1047
+ if(val2[0]) {
1048
+ condition = condition + ` and f_book_slice_area = '${val2}' `
1049
+ }
1050
+ let param={
1051
+ items:'*',
1052
+ tablename:'t_meter_book',
1053
+ condition:condition,
1054
+ orderitem:'id'
1055
+ }
1056
+ let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
1057
+ if (getMeterBooks.data) {
1058
+ if(getMeterBooks.data.length >0){
1059
+ let rs = [];
1060
+ getMeterBooks.data.forEach((item)=>{
1061
+ let temp = {
1062
+ label:item.f_book_name,
1063
+ value:item.id
1064
+ };
1065
+ rs.push(temp);
1066
+
1067
+ })
1068
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
1069
+ }else{
1070
+ this.meterbooks = [{label: '全部',value: ''}];
1071
+ }
1072
+ }
1073
+ }else{
1074
+ this.meterbooks = [{label: '全部',value: ''}];
1075
+ this.initmeterbook();
1076
+ }
1077
+ },
1078
+ sort (field, rule) {
1079
+ // 将所有排序方式设为不排序,实现相互排斥
1080
+ // for (let key in this.orderFields) {
1081
+ // if (key === field) {
1082
+ // this.orderFields[key] = rule
1083
+ // } else {
1084
+ // this.orderFields[key] = 'no'
1085
+ // }
1086
+ // }
1087
+ // 如果新规则不排序,还原为默认排序
1088
+ if (rule === 'no'|| rule === 'desc') {
1089
+ this.model.paramSource.items= `'${this.orderitem} desc,${this.orderitem2} desc,${this.orderitem1} desc,${this.orderitem3} desc,${this.orderitem4} desc'`
1090
+ } else {
1091
+ this.model.paramSource.items= `'${this.orderitem},${this.orderitem2},${this.orderitem1},${this.orderitem3},${this.orderitem4} ${rule}'`
1092
+ }
1093
+
1094
+ this.search()
1095
+ }
1096
+ },
1097
+ watch:{
1098
+ 'model.rows.length' () {
1099
+ this.isSingleUser = this.model.rows
1100
+ },
1101
+ 'all' (val) {
1102
+ if (val) {
1103
+ this.modelval = this.bodyData
1104
+ } else {
1105
+ this.modelval = defaultPrint.config
1106
+ this.put()
1107
+ }
1108
+ },
1109
+ 'modelval.length' () {
1110
+ this.put()
1111
+ },
1112
+ sumsmodel:{
1113
+ handler: function(val) {
1114
+ this.getotherfooter();
1115
+ },
1116
+ deep: true
1117
+ },
1118
+ 'orgCondtionStr'(val) {
1119
+ let res = val.match(/'(.*?)'/)
1120
+ console.log('正则提取:',res && res[1])
1121
+ if (res) {
1122
+ this.f_filialeid = res[1]
1123
+ if(res.input !=null){
1124
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1125
+ if(resorgid!= null && resorgid!=''){
1126
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1127
+ // resorgid = resorgid.replaceAll("'","");
1128
+ resorgid = resorgid.replace(/'/g,"");
1129
+ this.allorgid = resorgid.split(",")
1130
+ }
1131
+ }
1132
+ this.updateParams()
1133
+ }
1134
+ },
1135
+ },
1136
+ computed:{
1137
+ TableStates () {
1138
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1139
+ },
1140
+ bgl(){
1141
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1142
+ },
1143
+ houseTypes(){
1144
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1145
+ },
1146
+ gasproperties(){
1147
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1148
+ },
1149
+ whetherCard(){
1150
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1151
+ },
1152
+ usertypes() {
1153
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1154
+ },
1155
+ useTypes() {
1156
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1157
+ },
1158
+ positions() {
1159
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1160
+ },
1161
+ meterbooks(){
1162
+ return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1163
+ },
1164
+ // gasproperties() {
1165
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1166
+ // },
1167
+
1168
+ metertypes() {
1169
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1170
+ },
1171
+ pricetypes() {
1172
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1173
+ },
1174
+ person() {
1175
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1176
+ },
1177
+ tablestate() {
1178
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
1179
+ },
1180
+
1181
+ // getPricenames() {
1182
+ // let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1183
+ // let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1184
+ // let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1185
+ // // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1186
+ // if(this.$refs.paged.$refs.cri.model !==null) {
1187
+ // console.log(1111)
1188
+ // console.log(11112, this.prices)
1189
+ // let rs = []
1190
+ // let priceArr = []
1191
+ // if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
1192
+ // let params = {
1193
+ // f_user_type: f_user_type[0],
1194
+ // f_gasproperties: f_gasproperties[0],
1195
+ // f_price_type: pricetype[0],
1196
+ // filter: this.f_filialeid,
1197
+ // prices: this.prices
1198
+ // }
1199
+ // console.log(11113,params,this.$login.f)
1200
+ // this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1201
+ // let temp = {}
1202
+ // temp.label = item.label
1203
+ // temp.value = item.value.f_price_name
1204
+ // priceArr.push(temp)
1205
+ // })
1206
+ // rs = [{label: '全部', value: ''}, ...priceArr]
1207
+ // }
1208
+ // if (rs.length === 0) {
1209
+ // console.log('rs读出来是空')
1210
+ // this.$refs.paged.$refs.cri.model.f_price_name = ''
1211
+ // }
1212
+ // return rs
1213
+ // }
1214
+ // },
1215
+ inputtores () {
1216
+ // 获取抄表员
1217
+ console.log('获取抄表员', this.$login.f)
1218
+ let rs = []
1219
+ if (this.$login.f.f_gasman.length > 0) {
1220
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1221
+ let temp = {
1222
+ label: this.$login.f.f_gasman[i].name,
1223
+ value: this.$login.f.f_gasman[i].name
1224
+ }
1225
+ rs.push(temp)
1226
+ }
1227
+ }
1228
+
1229
+ return [{label: '全部', value: ''}, ...rs]
1230
+ },
1231
+ authArr () {
1232
+ return this.$login.r ? this.$login.r : []
1233
+ },
1234
+ getCondition(){
1235
+
1236
+ return {condition:this.conditon2}
1237
+ },
1238
+ getfield(){
1239
+ let data = {}
1240
+ this.bodyData.forEach((value, index)=>{
1241
+ data[this.bodyData[index]] = this.headData[index]
1242
+ })
1243
+ //合计字段打印
1244
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1245
+ if(this.sumsmodel){
1246
+ Object.keys(this.sumsmodel).forEach((key) => {
1247
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1248
+ })
1249
+ }else{
1250
+ this.tfoot += '暂无'
1251
+ }
1252
+ this.tfoot += '</th></tr>'
1253
+ return data
1254
+ },
1255
+ getExportField() {
1256
+ return exportConfig.compreConfig
1257
+ }
1258
+ }
1259
+ }
1260
+ </script>