manage-client 3.2.37 → 3.2.41

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