manage-client 3.2.10 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +5 -7
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/LineChart.vue +243 -243
  30. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  31. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  32. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  33. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  34. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  35. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  36. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  37. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  38. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  39. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  41. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  42. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  43. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  44. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  45. package/src/components/ManageHome/Home/Home.vue +138 -138
  46. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  47. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  48. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  49. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  50. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  51. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  52. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  53. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  54. package/src/components/ManageHome/ManageHome.vue +292 -292
  55. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  56. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  57. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  58. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  59. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  60. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  61. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  62. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  63. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  64. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  65. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  66. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  67. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  68. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  69. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  70. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  71. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  72. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  73. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  74. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  75. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  76. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  77. package/src/components/ManageHome/User/UseHome.vue +155 -155
  78. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  79. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  80. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  81. package/src/components/ManageHome/loading.vue +23 -23
  82. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  83. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  84. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  85. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  86. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  87. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  88. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  89. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  90. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  91. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  92. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  93. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  94. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  95. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  96. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  97. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  98. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  99. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  100. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  101. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  102. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  103. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  104. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  105. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  106. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  107. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  108. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  109. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  110. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  111. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  112. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  113. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  114. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  115. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  116. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  117. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  118. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  119. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  120. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  121. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  122. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  123. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  124. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  125. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  126. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  127. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  128. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  129. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  130. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  131. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  132. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  133. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  134. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  135. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  136. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  137. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  138. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  139. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  140. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  141. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  142. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  143. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  144. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  145. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  146. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  147. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  148. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  149. package/src/components/ManageHomeCS/loading.vue +39 -39
  150. package/src/components/ManageHomeCS/test.vue +88 -88
  151. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  152. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  153. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  154. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  155. package/src/components/MeterManage/HandQuery.vue +72 -72
  156. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  157. package/src/components/MeterManage/MeterList.vue +336 -336
  158. package/src/components/MeterManage/MeterMsg.vue +181 -181
  159. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  160. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  161. package/src/components/MeterManage/TransferQuery.vue +72 -72
  162. package/src/components/SellReport/BankManager.vue +146 -146
  163. package/src/components/SellReport/BonSummary.vue +178 -178
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/CollectFee.vue +184 -184
  170. package/src/components/SellReport/Contrast.vue +188 -188
  171. package/src/components/SellReport/DayStairMoney.vue +256 -256
  172. package/src/components/SellReport/FenxiangSell.vue +183 -183
  173. package/src/components/SellReport/FxGasTable.vue +220 -220
  174. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  175. package/src/components/SellReport/GasCollect.vue +174 -174
  176. package/src/components/SellReport/GaspriceHas.vue +141 -141
  177. package/src/components/SellReport/HandCollect.vue +189 -189
  178. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  179. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  180. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  181. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  182. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  183. package/src/components/SellReport/ManageBusTable.vue +207 -207
  184. package/src/components/SellReport/ManageGasFee.vue +247 -247
  185. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  186. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  187. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  188. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  189. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  190. package/src/components/SellReport/ManageReceivable.vue +254 -254
  191. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  192. package/src/components/SellReport/MeterBill.vue +185 -185
  193. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  194. package/src/components/SellReport/MeterInput.vue +250 -250
  195. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  196. package/src/components/SellReport/NonResidentGas.vue +203 -203
  197. package/src/components/SellReport/OutletTable.vue +258 -258
  198. package/src/components/SellReport/OweAging.vue +174 -174
  199. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  200. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  201. package/src/components/SellReport/ReportHistory.vue +80 -80
  202. package/src/components/SellReport/ReportPool.vue +60 -60
  203. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  204. package/src/components/SellReport/Selling.vue +188 -188
  205. package/src/components/SellReport/SellingTable.vue +220 -220
  206. package/src/components/SellReport/SiteManager.vue +147 -147
  207. package/src/components/SellReport/UserSellingGas.vue +177 -177
  208. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  209. package/src/components/SellReport/UsertypePie.vue +101 -101
  210. package/src/components/SellReport/XianYangDate.vue +227 -227
  211. package/src/components/SellReport/XianYangOperator.vue +228 -228
  212. package/src/components/SellReport/XyDateCharge.vue +227 -227
  213. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  214. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  215. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  216. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  217. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  218. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  219. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  220. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  221. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  222. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  223. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  224. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  225. package/src/components/WebReport/BatteryLow.vue +148 -148
  226. package/src/components/WebReport/BusinessHall.vue +85 -85
  227. package/src/components/WebReport/BussinessType.vue +137 -137
  228. package/src/components/WebReport/Communication.vue +131 -131
  229. package/src/components/WebReport/CompanyUser.vue +79 -79
  230. package/src/components/WebReport/EchartsBox.vue +110 -110
  231. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  232. package/src/components/WebReport/GaspriceHas.vue +141 -141
  233. package/src/components/WebReport/HandplanPrint.vue +167 -167
  234. package/src/components/WebReport/NotUpload.vue +165 -165
  235. package/src/components/WebReport/OweQuery.vue +169 -169
  236. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  237. package/src/components/WebReport/Paymentpie.vue +157 -157
  238. package/src/components/WebReport/ReportWorklist.vue +220 -220
  239. package/src/components/WebReport/SellType.vue +89 -89
  240. package/src/components/WebReport/Telemanlist.vue +221 -221
  241. package/src/components/WebReport/UserGasAll.vue +214 -214
  242. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  243. package/src/components/WebReport/UsertypePie.vue +105 -105
  244. package/src/components/WebReport/ValueEcharts.vue +99 -99
  245. package/src/components/WebReport/ValueInfo.vue +194 -194
  246. package/src/components/daping/GMap.vue +636 -636
  247. package/src/components/qinhua/BarChartLine.vue +288 -288
  248. package/src/components/qinhua/ManageMain.vue +162 -162
  249. package/src/components/qinhua/Ring.vue +165 -165
  250. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  251. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  252. package/src/components/qinhua/Scada.vue +93 -93
  253. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  254. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  255. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  256. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  257. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  258. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  259. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  260. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  261. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  262. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  263. package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
  264. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  265. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  266. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  267. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  268. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  269. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  270. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  271. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  272. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  273. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  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/YingShouMingXi.vue +525 -525
  277. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  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/config/exportConfig.js +526 -524
  288. package/src/components/sale/config/tableConfig.js +48 -48
  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/YearByUserType.vue +272 -272
  321. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  322. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  323. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  324. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  325. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  326. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  327. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  328. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  329. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  330. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  331. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  332. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  333. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  334. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  335. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  336. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  337. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  338. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  339. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  340. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  341. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  342. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  343. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  344. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  345. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  346. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  347. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  348. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  349. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  350. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  351. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  352. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  353. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  354. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  355. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  356. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  357. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  358. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  359. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  360. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  361. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  362. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  363. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  364. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  365. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  366. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  367. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  368. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  369. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  370. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  371. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  372. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  373. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  374. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  375. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  376. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  377. package/src/components/yulin/GuanWang.vue +24 -24
  378. package/src/components/yulin/SingleBarLine.vue +352 -352
  379. package/src/components/yulin/Weather.vue +157 -157
  380. package/src/expandcss.less +26 -26
  381. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  382. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  383. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  384. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  385. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  386. package/src/filiale/WEINAN/reportManage.js +12 -12
  387. package/src/filiale/WEINAN/sale.js +32 -32
  388. package/src/filiale/alashan/reportManage.js +10 -10
  389. package/src/filiale/aode/ArchivesManage.vue +38 -38
  390. package/src/filiale/aode/BusinessManage.vue +94 -94
  391. package/src/filiale/aode/DefaultPrint.js +6 -6
  392. package/src/filiale/aode/HandplanQuery.vue +632 -632
  393. package/src/filiale/aode/Tabs.vue +67 -67
  394. package/src/filiale/aode/UserQuery.vue +599 -599
  395. package/src/filiale/aode/sale.js +17 -17
  396. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  397. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  398. package/src/filiale/ceshi/CollectManage.vue +94 -94
  399. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  400. package/src/filiale/ceshi/TabButton.vue +149 -149
  401. package/src/filiale/ceshi/Tabs.vue +69 -69
  402. package/src/filiale/ceshi/reportManage.js +5 -5
  403. package/src/filiale/ceshi/sale.js +11 -11
  404. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  405. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  406. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  407. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  408. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  409. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  410. package/src/filiale/liaoyuan/sale.js +11 -11
  411. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  412. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  413. package/src/filiale/meihekou/UserQuery.vue +773 -773
  414. package/src/filiale/meihekou/sale.js +26 -26
  415. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  416. package/src/filiale/qingtongxia/sale.js +13 -13
  417. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  418. package/src/filiale/rongchuang/reportManage.js +11 -11
  419. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  420. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  421. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  422. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  423. package/src/filiale/shennongjia/sale.js +10 -10
  424. package/src/filiale/tongchuan/sale.js +16 -16
  425. package/src/main.js +2 -2
  426. package/src/plugins/GetLoginInfoService.js +505 -505
  427. package/src/plugins/LodopFuncs.js +124 -124
  428. package/src/plugins/getAllInputtor.js +29 -29
  429. package/src/safeCheck.js +63 -63
  430. package/src/stores/AppData.js +62 -62
  431. package/src/stores/DataSql.js +585 -585
  432. package/src/stores/DrillECharts.js +602 -602
  433. package/src/stores/DrillSql.js +888 -888
  434. package/src/stores/GetParames.js +15 -15
  435. package/src/stores/MagGetSaleParams.js +156 -156
  436. package/src/stores/MagLoadParams.js +63 -63
  437. package/src/stores/Util.js +132 -132
  438. package/src/stores/shanxi1.js +26 -26
  439. package/src/stores/yulin.js +27 -27
  440. package/src/webmeterManage.js +105 -105
  441. package/static/china.json +1 -1
  442. package/static/qh.json +2410 -2410
  443. package/static/res.json +58411 -58411
  444. package/static/shanxi1.json +1 -1
  445. package/static/wuhai.json +1610 -1610
  446. package/static/yulin.json +1 -1
  447. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  448. package/test/unit/.eslintrc +5 -5
  449. package/test/unit/TestUtil.js +35 -35
  450. package/test/unit/context.html +20 -20
  451. package/test/unit/index.js +13 -13
  452. package/test/unit/init.js +11 -11
  453. package/test/unit/karma.conf.js +45 -45
  454. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  455. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  456. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  457. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  458. package/webstorm.config.js +13 -13
  459. package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
@@ -1,773 +1,773 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search" v-if="!show">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" >
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 like '%{}%'" placeholder="客户名称">
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label class="font_normal_body">客户电话</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
24
- </div>
25
- <div class="span" style="float:right;">
26
- <button class="button_search button_spacing" @click="search()">查询</button>
27
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
29
-
30
- <export-excel :data="$parent.$parent.getCondition"
31
- :field="$parent.$parent.getExportField"
32
- :footer="$parent.$parent.footer"
33
- :header="$parent.$parent.other"
34
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
35
- sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
36
- :choose-col="true"></export-excel>
37
- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
38
- :defaultfield="$parent.$parent.defaultfield"
39
- titletable="客户查询"
40
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
41
-
42
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
43
- </div>
44
- </div>
45
- <div class="row" v-show="$parent.$parent.criteriaShow">
46
- <div class="col-sm-2 form-group">
47
- <label class="font_normal_body">身份证号</label>
48
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
49
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
50
- </div>
51
- <div class="col-sm-2 form-group">
52
- <label class="font_normal_body">客户状态</label>
53
- <v-select :value.sync="model.f_user_state"
54
- v-model="model.f_user_state"
55
- :options='$parent.$parent.userstates' placeholder='请选择'
56
- condition="f_user_state = '{}'"
57
- close-on-select></v-select>
58
- </div>
59
- <div class="col-sm-2 form-group">
60
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;</label>
61
- <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
62
- condition="f_people_num = '{}'" placeholder="人数">
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">微信绑定</label>
66
- <v-select
67
- :value.sync="model.f_wechat"
68
- v-model="model.f_wechat"
69
- :options='$parent.$parent.weixinSign'
70
- placeholder='请选择'
71
- condition="f_wechat = '{}'"
72
- close-on-select>
73
- </v-select>
74
- </div>
75
- <div class="col-sm-2 form-group">
76
- <label class="font_normal_body" >缴费类型</label>
77
- <v-select :value.sync="model.f_payment" multiple
78
- v-model="model.f_payment"
79
- :options='$parent.$parent.dypayment' placeholder='请选择'
80
- condition="f_cost_type in {}"
81
- close-on-select></v-select>
82
- </div>
83
- <div class="col-sm-2 form-group">
84
- <label class="font_normal_body">客户地址</label>
85
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
86
- condition="f_address like '%{}%'" placeholder='客户地址'>
87
- </div>
88
- <div class="col-sm-2 form-group">
89
- <label for="startDate" class="font_normal_body">建档日期</label>
90
- <datepicker placeholder="建档日期" style="width:60%"
91
- v-model="model.f_createfile_date"
92
- :value.sync="model.f_createfile_date"
93
- :format="'yyyy-MM-dd'"
94
- :show-reset-button="true"
95
- condition="f_createfile_date >= '{} 00:00:00'">
96
- </datepicker>
97
- </div>
98
- <div class="col-sm-2 form-group">
99
- <label class="font_normal_body">建档部门</label>
100
- <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
101
- condition="f_depname like '%{}%'" placeholder='建档部门'>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">报警器编码</label>
105
- <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
106
- condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
107
- </div>
108
- <div class="col-sm-2 form-group">
109
- <label class="font_normal_body">发票编码</label>
110
- <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
111
- condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
112
- </div>
113
- <div class="col-sm-2 form-group">
114
- <label class="font_normal_body">燃气表号</label>
115
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
116
- condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
117
- </div>
118
- <!-- <div class="col-sm-2">-->
119
- <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区名称&nbsp;&nbsp;&nbsp;</label>-->
120
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
121
- <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
122
- <!-- <div class="col-sm-8">&ndash;&gt;-->
123
- <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"&ndash;&gt;-->
124
- <!--; v-validate:f_residential_area='{required: true }'>&ndash;&gt;-->
125
- <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"&ndash;&gt;-->
126
- <!-- class="select_list select"&ndash;&gt;-->
127
- <!-- :options='fresidentialarea' placeholder='请选择'&ndash;&gt;-->
128
- <!-- close-on-select search="true">&ndash;&gt;-->
129
- <!-- </v-select>-->
130
- <!-- </div>-->
131
-
132
- <div class="col-sm-2 form-group">
133
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
134
- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
135
- condition="f_residential_area like '%{}%'" placeholder="小区"/>
136
- </div>
137
- <div class="col-sm-2 form-group">
138
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
139
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
140
- condition="f_building = '{}'" placeholder="楼栋"/>
141
- </div>
142
- <div class="col-sm-2 form-group">
143
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
144
- <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
145
- condition="f_unit = '{}'" placeholder="单元"/>
146
- </div>
147
- <div class="col-sm-2 form-group">
148
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
149
- <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
150
- condition="f_floor = '{}'" placeholder="楼层"/>
151
- </div>
152
- <div class="col-sm-2 form-group">
153
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
154
- <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
155
- condition="f_room = '{}'" placeholder="门牌号">
156
- </div>
157
- <div class="col-sm-2 form-group">
158
- <label class="font_normal_body">余额区间</label>
159
- <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
160
- condition="f_balance >= '{}'" placeholder="最小值">
161
- </div>
162
- <div class="col-sm-2 form-group">
163
- <label class="font_normal_body">&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
164
- <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
165
- condition="f_balance <= '{}'" placeholder="最大值">
166
- </div>
167
- <div class="col-sm-2 form-group">
168
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>
169
- <v-select :value.sync="model.f_inputtor"
170
- v-model="model.f_inputtor" condition="f_inputtor = '{}'"
171
- :options='$parent.$parent.inputtores' placeholder='请选择'
172
- multiple = "true"
173
- close-on-select></v-select>
174
- </div>
175
- <!-- <div class="col-sm-2" >-->
176
- <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
177
- <!-- <div class="form-group">-->
178
- <!-- <v-input id="f_balance" placeholder="账户结余"-->
179
- <!-- :expression.sync = 'model.f_balance'-->
180
- <!-- v-model="model.f_balance"-->
181
- <!-- condition= "f_balance {}"-->
182
- <!-- :show-reset-button="reset"-->
183
- <!-- v-ref:f_balance>-->
184
- <!-- </v-input>-->
185
- <!-- </div>-->
186
- <!-- </div>-->
187
- <div class="col-sm-2 form-group">
188
- <label for="startDate" class="font_normal_body">开始日期</label>
189
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
190
- v-model="model.startDate"
191
- :value.sync="model.startDate"
192
- :format="'yyyy-MM-dd'"
193
- :show-reset-button="true"
194
- condition="f_createfile_date >= '{} 00:00:00'">
195
- </datepicker>
196
- </div>
197
- <div class="col-sm-2 form-group">
198
- <label for="endDate" class="font_normal_body">结束日期</label>
199
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
200
- v-model="model.endDate"
201
- :value.sync="model.endDate"
202
- :format="'yyyy-MM-dd'"
203
- :show-reset-button="true"
204
- condition="f_createfile_date <= '{} 23:59:59'">
205
- </datepicker>
206
- </div>
207
- <!--表册片区-->
208
- <div class="col-sm-2 form-group">
209
- <label class="font_normal_body">表册片区</label>
210
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
211
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
212
- style="width:60%"
213
- close-on-select
214
- condition="f_book_slice_area = '{}'"></v-select>
215
- </div>
216
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
217
- </div>
218
- </div>
219
- </criteria>
220
-
221
-
222
- <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
223
- <template partial='head'>
224
- <tr>
225
- <th>
226
- <nobr>客户编号</nobr>
227
- </th>
228
- <th>
229
- <nobr>客户名称</nobr>
230
- </th>
231
- <th>
232
- <nobr>客户电话</nobr>
233
- </th>
234
- <th>
235
- <nobr>身份证号</nobr>
236
- </th>
237
- <th>
238
- <nobr>表册片区</nobr>
239
- </th>
240
- <th>
241
- <nobr>账户余额</nobr>
242
- </th>
243
- <th>
244
- <data-order field="f_address" name="客户地址"
245
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
246
- </th>
247
- <th>
248
- <nobr>小区</nobr>
249
- </th>
250
- <th>
251
- <nobr>楼栋</nobr>
252
- </th>
253
- <th>
254
- <nobr>单元</nobr>
255
- </th>
256
- <th>
257
- <nobr>楼层</nobr>
258
- </th>
259
- <th>
260
- <nobr>门牌号</nobr>
261
- </th>
262
- <th>
263
- <nobr>客户状态</nobr>
264
- </th>
265
- <th>
266
- <nobr>建档日期</nobr>
267
- </th>
268
- <th>
269
- <nobr>建档人</nobr>
270
- </th>
271
- <th>
272
- <nobr>缴费类型</nobr>
273
- </th>
274
- <th>
275
- <nobr>银行户名</nobr>
276
- </th>
277
- <th>
278
- <nobr>银行名称</nobr>
279
- </th>
280
- <th>
281
- <nobr>银行账号</nobr>
282
- </th>
283
- <th>
284
- <nobr>银行身份证号</nobr>
285
- </th>
286
- <th>
287
- <nobr>缴费编号</nobr>
288
- </th>
289
- <th>
290
- <nobr>备注</nobr>
291
- </th>
292
- <!-- <th>-->
293
- <!-- <nobr>部门</nobr>-->
294
- <!-- </th>-->
295
- <!-- <th>-->
296
- <!-- <nobr>公司</nobr>-->
297
- <!-- </th>-->
298
- </tr>
299
- </template>
300
- <template partial='body'>
301
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
302
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
303
- </nobr> </td>
304
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
305
- <nobr>{{row.f_user_name}}</nobr>
306
- </td>
307
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
308
- <nobr>{{row.f_user_phone}}</nobr>
309
- </td>
310
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
311
- <nobr>{{row.f_idnumber}}</nobr>
312
- </td>
313
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
314
- <nobr>{{row.f_book_slice_area}}</nobr>
315
- </td>
316
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
317
- <nobr>{{row.f_balance}}</nobr>
318
- </td>
319
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
320
- <nobr>{{row.f_address}}</nobr>
321
- </td>
322
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
323
- <nobr>{{row.f_residential_area}}</nobr>
324
- </td>
325
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
326
- <nobr>{{row.f_building}}</nobr>
327
- </td>
328
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
329
- <nobr>{{row.f_unit}}</nobr>
330
- </td>
331
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
332
- <nobr>{{row.f_floor}}</nobr>
333
- </td>
334
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
335
- <nobr>{{row.f_room}}</nobr>
336
- </td>
337
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
338
- <nobr>{{row.f_user_state}}</nobr>
339
- </td>
340
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
341
- <nobr>{{row.f_createfile_date}}</nobr>
342
- </td>
343
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
344
- <nobr>{{row.f_createfile_person}}</nobr>
345
- </td>
346
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
347
- <nobr>{{row.f_cost_type}}</nobr>
348
- </td>
349
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
350
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
351
- </td>
352
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
353
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
354
- </td>
355
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
356
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
357
- </td>
358
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
359
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
360
- </td>
361
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
362
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
363
- </td>
364
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
365
- <nobr>{{row.f_comments}}</nobr>
366
- </td>
367
- <!-- <td style="text-align: center;">-->
368
- <!-- <nobr>{{row.f_depname}}</nobr>-->
369
- <!-- </td>-->
370
- <!-- <td style="text-align: center;">-->
371
- <!-- <nobr>{{row.f_orgname}}</nobr>-->
372
- <!-- </td>-->
373
- </template>
374
- <template partial='foot'>
375
- </template>
376
- </data-grid>
377
- </criteria-paged>
378
-
379
- <table class="table-hover">
380
- <tr style="position: relative" class="table-bordered">
381
- <td
382
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
383
- 汇总信息
384
- </td>
385
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
386
- 结余合计:&emsp;{{sumsmodel.f_balance}}
387
- </td>
388
- </tr>
389
- </table>
390
- </div>
391
-
392
- </div>
393
- </div>
394
- <div class="basic-main" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
395
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
396
- </div>
397
- </div>
398
- </template>
399
-
400
- <script>
401
- import {HttpResetClass, PagedList} from 'vue-client'
402
- import defaultPrint from './config/DefaultPrint'
403
- import exportConfig from './config/exportConfig'
404
-
405
- let readySomething = async function (self) {
406
- self.$MagGetSaleParam.initinputtor();
407
- self.getinputtores();
408
- // 获取区县
409
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
410
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
411
- // await self.$refs.paged.$refs.cri.search()
412
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
413
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
414
- }
415
-
416
- export default {
417
- title: '客户查询',
418
- data() {
419
- return {
420
- other:[],
421
- footer:[],
422
- model: new PagedList('rs/sql/filesQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}, {f_balance: 0}),
423
- criteriaShow: false,
424
- orgCondtionStr: '',
425
- modelval: [],
426
- printshow: false,
427
- all: false,
428
- fields: {},
429
- //排序
430
- orderitem:'f_userinfo_code desc',
431
- orderFields: {
432
- f_operate_date: 'no'
433
- },
434
- //默认打印列
435
- defaultfield: [],
436
- config: {
437
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
438
- },
439
- balance2:'',
440
- thead: '',
441
- tfoot: '',
442
- area: [],
443
- //合计数据
444
- sumsmodel: {},
445
- initres: {
446
- org:[this.$login.f.orgid],
447
- dep:[],
448
- user:[],
449
- },
450
- userdetail: {
451
- show: false,
452
- f_userinfo_code: '',
453
- f_filialeids: ''
454
- },
455
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
456
- show:false,
457
- rowdata:{},
458
- meterInfo:{},
459
- deviceInfo:{},
460
- condition2:'',
461
-
462
-
463
- weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
464
- //小区
465
- // residentialArea: [],
466
- //表册片区
467
- bookSlice:[{label: '全部',value: ''}],
468
- inputtores:[{label: '全部',value: ''}], //抄表员
469
- allorgid:[],
470
- f_filialeid: this.$login.f.f_orgid,
471
- dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
472
- }
473
- },
474
- ready() {
475
- // this.getaddress()
476
-
477
- readySomething(this).then(() => {
478
- this.$emit('ready')
479
- }).catch((error) => {
480
- this.$emit('error', error)
481
- })
482
- this.initAreas(this.$login.f.orgid)
483
- },
484
- methods: {
485
- async getinputtores () {
486
- // 获取抄表员
487
- let rs = []
488
- if (this.$login.f.f_gasman.length > 0) {
489
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
490
- let temp = {
491
- label: this.$login.f.f_gasman[i].name,
492
- value: this.$login.f.f_gasman[i].name
493
- }
494
- rs.push(temp)
495
- }
496
- }
497
- this.inputtores = [{label: '全部', value: ''}, ...rs]
498
- },
499
- async updateParams() {
500
- await this.$MagLoadParams.loadParam(this.f_filialeid)
501
- this.inputtores = [];
502
- this.inputtores.push({label: "全部", value: ""})
503
- this.initSlice(this.f_filialeid)
504
- if(this.allorgid!=null){
505
- this.allorgid.forEach((res)=>{
506
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
507
- })
508
- }
509
- },
510
- getotherfooter () {
511
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
512
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
513
- this.other = [];
514
- this.footer = [];
515
- let exportdata = this.getCondition;
516
- let otherInData = [];
517
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
518
- let footerData = [], exportfield = this.getExportField;
519
- footerData.push("合计");
520
- let self = this;
521
- for (var field in self.sumsmodel) {
522
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
523
- }
524
- this.footer.push(footerData);
525
- this.other.push(otherInData);
526
- },
527
-
528
- //把数据库查询数据转换为下拉数据
529
- calculate(rows){
530
- let data = []
531
- rows.forEach((row, n) => {
532
- data[n] = {label: row.f_residential_area, value: row.id}
533
- })
534
- return data
535
- },
536
- search(){
537
- this.$refs.paged.$refs.cri.search()
538
- },
539
- cancel(obj) {
540
- this.show = false
541
- },
542
- showmsg(obj){
543
-
544
- this.rowdata=obj
545
- this.show=true
546
- // let http = new HttpResetClass()
547
- // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
548
- // {resolveMsg: null, rejectMsg: null}).then((res) => {
549
- // this.meterInfo = res.data})
550
- // let http2 = new HttpResetClass()
551
- // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
552
- // {resolveMsg: null, rejectMsg: null}).then((res) => {
553
- // this.deviceInfo = res.data})
554
-
555
- // this.f_userinfo_id=obj.f_userinfo_id
556
- },
557
- //初始化片区
558
- async initSlice (val) {
559
- if (val) {
560
- let getAllArea = await this.$resetpost('/rs/search', {
561
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
562
- userid: this.$login.f.id
563
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
564
- let arr = getAllArea.data.filter((res) => {
565
- return res.parentid == val
566
- })
567
- this.bookSlice = []
568
- console.log('过滤之后的片区-------------------', arr)
569
- arr.forEach((res) => {
570
- this.bookSlice.push({label: res.name, value: res.name})
571
- })
572
- }
573
- },
574
- async initAreas (val) {
575
-
576
- if (val) {
577
- let getAllArea = await this.$resetpost('/rs/search', {
578
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
579
- userid: this.$login.f.id
580
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
581
-
582
- let arr = getAllArea.data.filter((res) => {
583
- return res.parentid == val
584
- })
585
- console.log('过滤之后的片区', arr)
586
- this.sliceArea = []
587
- arr.forEach((res) => {
588
- this.sliceArea.push({label: res.name, value: res.name})
589
- })
590
- }
591
- },
592
- selfSearch(args) {
593
-
594
- if (!this.orgCondtionStr) {
595
- args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
596
- } else {
597
- args.condition = `${args.condition}` + this.orgCondtionStr
598
- }
599
- this.condition2 = args.condition
600
- this.model.search(args.condition, args.model)
601
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
602
- console.log('合计字段', this.sumsmodel)
603
- },
604
- clear() {
605
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
606
- this.$refs.paged.$refs.cri.model[key] = []
607
- })
608
- },
609
- hidden() {
610
- this.criteriaShow = !this.criteriaShow
611
- },
612
- getRes(obj) {
613
- this.orgCondtionStr = obj
614
- },
615
- stamp() {
616
- this.all = false
617
- //默认选择要打印的列
618
- this.modelval = defaultPrint.config
619
- this.fields = this.getfield
620
- console.log('所有打印字段', this.fields)
621
- this.printshow = true
622
- this.put()
623
- },
624
- put() {
625
- // 对Modelval进行排序
626
- this.sortModelval()
627
- this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
628
- for (let key of this.modelval) {
629
- this.thead += '<th>' + this.fields[key] + '</th>'
630
- }
631
- this.thead += '</tr>'
632
- },
633
- print() {
634
- this.$refs.print.PrintAsFile()
635
- this.printshow = false
636
- },
637
- close() {
638
- this.printshow = false
639
- },
640
- // 对选择的列进行排序
641
- sortModelval() {
642
- let sortModel = []
643
- Object.keys(this.fields).forEach((key) => {
644
- if (this.modelval.includes(key)) {
645
- sortModel.push(key)
646
- }
647
- })
648
- this.modelval = sortModel
649
- console.log('选择的打印的字段', this.modelval)
650
- },
651
- dblclick(row, index) {
652
- console.log('双击之后数据', row, index)
653
- this.userdetail.show = true
654
- this.userdetail.f_userinfo_code = row.f_userinfo_code
655
- this.userdetail.f_filialeids = row.f_filialeids
656
- },
657
- sort (field, rule) {
658
- // 将所有排序方式设为不排序,实现相互排斥
659
- for (let key in this.orderFields) {
660
- if (key === field) {
661
- this.orderFields[key] = rule
662
- } else {
663
- this.orderFields[key] = 'no'
664
- }
665
- }
666
- // 如果新规则不排序,还原为默认排序
667
- if (rule === 'no') {
668
- this.model.paramSource.orderitem = `'${this.orderitem}'`
669
- } else {
670
- this.model.paramSource.orderitem = `'${field} ${rule}'`
671
- }
672
-
673
- this.search()
674
- }
675
- },
676
-
677
- watch: {
678
- 'all'(val) {
679
- if (val) {
680
- this.modelval = this.bodyData
681
- } else {
682
- this.modelval = defaultPrint.config
683
- this.put()
684
- }
685
- },
686
- 'modelval.length'() {
687
- this.put()
688
- },
689
- sumsmodel:{
690
- handler: function(val) {
691
- this.getotherfooter();
692
- },
693
- deep: true
694
- },
695
- 'orgCondtionStr'(val) {
696
- let res = val.match(/'(.*?)'/)
697
- console.log('正则提取:',res && res[1])
698
- if (res) {
699
- this.f_filialeid = res[1]
700
- if(res.input !=null){
701
- let resorgid = res.input.substring(res.input.indexOf("'"));
702
- if(resorgid!= null && resorgid!=''){
703
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
704
- // resorgid = resorgid.replaceAll("'","");
705
- resorgid = resorgid.replace(/'/g,"");
706
- this.allorgid = resorgid.split(",")
707
- }
708
- }
709
- this.updateParams()
710
- }
711
- },
712
- },
713
- computed: {
714
- // defaultexport() {
715
- // return exportConfig.chargeexportConfig
716
- // },
717
- authArr () {
718
- return this.$login.r ? this.$login.r : []
719
- },
720
-
721
- getCondition() {
722
- return {condition: this.condition2,orderitem:this.orderitem}
723
- },
724
- getfield() {
725
- let data = {}
726
- this.bodyData.forEach((value, index) => {
727
- data[this.bodyData[index]] = this.headData[index]
728
- })
729
- //合计字段打印
730
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
731
- if (this.sumsmodel) {
732
- Object.keys(this.sumsmodel).forEach((key) => {
733
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
734
- })
735
- } else {
736
- this.tfoot += '暂无'
737
- }
738
- this.tfoot += '</th></tr>'
739
- return data
740
- },
741
- getExportField() {
742
- return exportConfig.userConfig
743
- },
744
- inputtor () {
745
- // 获取抄表员
746
- console.log('获取抄表员', this.$login.f)
747
- let rs = []
748
- if (this.$login.f.f_gasman.length > 0) {
749
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
750
- let temp = {
751
- label: this.$login.f.f_gasman[i].name,
752
- value: this.$login.f.f_gasman[i].name
753
- }
754
- rs.push(temp)
755
- }
756
- }
757
- return [{label: '全部', value: ''}, ...rs]
758
- },
759
- userstates() {
760
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
761
- }
762
- }
763
- }
764
- </script>
765
- <style>
766
- .back-red{ /* 红色背景 */
767
- background-color: #F6C6CE;
768
- }
769
- .back-blue{ /* 蓝色背景 */
770
-
771
- }
772
- </style>
773
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" >
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 like '%{}%'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">客户电话</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
24
+ </div>
25
+ <div class="span" style="float:right;">
26
+ <button class="button_search button_spacing" @click="search()">查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
29
+
30
+ <export-excel :data="$parent.$parent.getCondition"
31
+ :field="$parent.$parent.getExportField"
32
+ :footer="$parent.$parent.footer"
33
+ :header="$parent.$parent.other"
34
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
35
+ sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
36
+ :choose-col="true"></export-excel>
37
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
38
+ :defaultfield="$parent.$parent.defaultfield"
39
+ titletable="客户查询"
40
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
41
+
42
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
46
+ <div class="col-sm-2 form-group">
47
+ <label class="font_normal_body">身份证号</label>
48
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
49
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
50
+ </div>
51
+ <div class="col-sm-2 form-group">
52
+ <label class="font_normal_body">客户状态</label>
53
+ <v-select :value.sync="model.f_user_state"
54
+ v-model="model.f_user_state"
55
+ :options='$parent.$parent.userstates' placeholder='请选择'
56
+ condition="f_user_state = '{}'"
57
+ close-on-select></v-select>
58
+ </div>
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;</label>
61
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
62
+ condition="f_people_num = '{}'" placeholder="人数">
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">微信绑定</label>
66
+ <v-select
67
+ :value.sync="model.f_wechat"
68
+ v-model="model.f_wechat"
69
+ :options='$parent.$parent.weixinSign'
70
+ placeholder='请选择'
71
+ condition="f_wechat = '{}'"
72
+ close-on-select>
73
+ </v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body" >缴费类型</label>
77
+ <v-select :value.sync="model.f_payment" multiple
78
+ v-model="model.f_payment"
79
+ :options='$parent.$parent.dypayment' placeholder='请选择'
80
+ condition="f_cost_type in {}"
81
+ close-on-select></v-select>
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">客户地址</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
86
+ condition="f_address like '%{}%'" placeholder='客户地址'>
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label for="startDate" class="font_normal_body">建档日期</label>
90
+ <datepicker placeholder="建档日期" style="width:60%"
91
+ v-model="model.f_createfile_date"
92
+ :value.sync="model.f_createfile_date"
93
+ :format="'yyyy-MM-dd'"
94
+ :show-reset-button="true"
95
+ condition="f_createfile_date >= '{} 00:00:00'">
96
+ </datepicker>
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label class="font_normal_body">建档部门</label>
100
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
101
+ condition="f_depname like '%{}%'" placeholder='建档部门'>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">报警器编码</label>
105
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
106
+ condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
107
+ </div>
108
+ <div class="col-sm-2 form-group">
109
+ <label class="font_normal_body">发票编码</label>
110
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
111
+ condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">燃气表号</label>
115
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
116
+ condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
117
+ </div>
118
+ <!-- <div class="col-sm-2">-->
119
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区名称&nbsp;&nbsp;&nbsp;</label>-->
120
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
121
+ <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
122
+ <!-- <div class="col-sm-8">&ndash;&gt;-->
123
+ <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"&ndash;&gt;-->
124
+ <!--; v-validate:f_residential_area='{required: true }'>&ndash;&gt;-->
125
+ <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"&ndash;&gt;-->
126
+ <!-- class="select_list select"&ndash;&gt;-->
127
+ <!-- :options='fresidentialarea' placeholder='请选择'&ndash;&gt;-->
128
+ <!-- close-on-select search="true">&ndash;&gt;-->
129
+ <!-- </v-select>-->
130
+ <!-- </div>-->
131
+
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
134
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
135
+ condition="f_residential_area like '%{}%'" placeholder="小区"/>
136
+ </div>
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
139
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
140
+ condition="f_building like '%{}%'" placeholder="楼栋"/>
141
+ </div>
142
+ <div class="col-sm-2 form-group">
143
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
144
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
145
+ condition="f_unit like '%{}%'" placeholder="单元"/>
146
+ </div>
147
+ <div class="col-sm-2 form-group">
148
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
149
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
150
+ condition="f_floor like '%{}%'" placeholder="楼层"/>
151
+ </div>
152
+ <div class="col-sm-2 form-group">
153
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
154
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
155
+ condition="f_room like '%{}%'" placeholder="门牌号">
156
+ </div>
157
+ <div class="col-sm-2 form-group">
158
+ <label class="font_normal_body">余额区间</label>
159
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
160
+ condition="f_balance >= '{}'" placeholder="最小值">
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
164
+ <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
165
+ condition="f_balance <= '{}'" placeholder="最大值">
166
+ </div>
167
+ <div class="col-sm-2 form-group">
168
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>
169
+ <v-select :value.sync="model.f_inputtor"
170
+ v-model="model.f_inputtor" condition="f_inputtor = '{}'"
171
+ :options='$parent.$parent.inputtores' placeholder='请选择'
172
+ multiple = "true"
173
+ close-on-select></v-select>
174
+ </div>
175
+ <!-- <div class="col-sm-2" >-->
176
+ <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
177
+ <!-- <div class="form-group">-->
178
+ <!-- <v-input id="f_balance" placeholder="账户结余"-->
179
+ <!-- :expression.sync = 'model.f_balance'-->
180
+ <!-- v-model="model.f_balance"-->
181
+ <!-- condition= "f_balance {}"-->
182
+ <!-- :show-reset-button="reset"-->
183
+ <!-- v-ref:f_balance>-->
184
+ <!-- </v-input>-->
185
+ <!-- </div>-->
186
+ <!-- </div>-->
187
+ <div class="col-sm-2 form-group">
188
+ <label for="startDate" class="font_normal_body">开始日期</label>
189
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
190
+ v-model="model.startDate"
191
+ :value.sync="model.startDate"
192
+ :format="'yyyy-MM-dd'"
193
+ :show-reset-button="true"
194
+ condition="f_createfile_date >= '{} 00:00:00'">
195
+ </datepicker>
196
+ </div>
197
+ <div class="col-sm-2 form-group">
198
+ <label for="endDate" class="font_normal_body">结束日期</label>
199
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
200
+ v-model="model.endDate"
201
+ :value.sync="model.endDate"
202
+ :format="'yyyy-MM-dd'"
203
+ :show-reset-button="true"
204
+ condition="f_createfile_date <= '{} 23:59:59'">
205
+ </datepicker>
206
+ </div>
207
+ <!--表册片区-->
208
+ <div class="col-sm-2 form-group">
209
+ <label class="font_normal_body">表册片区</label>
210
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
211
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
212
+ style="width:60%"
213
+ close-on-select
214
+ condition="f_book_slice_area = '{}'"></v-select>
215
+ </div>
216
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
217
+ </div>
218
+ </div>
219
+ </criteria>
220
+
221
+
222
+ <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
223
+ <template partial='head'>
224
+ <tr>
225
+ <th>
226
+ <nobr>客户编号</nobr>
227
+ </th>
228
+ <th>
229
+ <nobr>客户名称</nobr>
230
+ </th>
231
+ <th>
232
+ <nobr>客户电话</nobr>
233
+ </th>
234
+ <th>
235
+ <nobr>身份证号</nobr>
236
+ </th>
237
+ <th>
238
+ <nobr>表册片区</nobr>
239
+ </th>
240
+ <th>
241
+ <nobr>账户余额</nobr>
242
+ </th>
243
+ <th>
244
+ <data-order field="f_address" name="客户地址"
245
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
246
+ </th>
247
+ <th>
248
+ <nobr>小区</nobr>
249
+ </th>
250
+ <th>
251
+ <nobr>楼栋</nobr>
252
+ </th>
253
+ <th>
254
+ <nobr>单元</nobr>
255
+ </th>
256
+ <th>
257
+ <nobr>楼层</nobr>
258
+ </th>
259
+ <th>
260
+ <nobr>门牌号</nobr>
261
+ </th>
262
+ <th>
263
+ <nobr>客户状态</nobr>
264
+ </th>
265
+ <th>
266
+ <nobr>建档日期</nobr>
267
+ </th>
268
+ <th>
269
+ <nobr>建档人</nobr>
270
+ </th>
271
+ <th>
272
+ <nobr>缴费类型</nobr>
273
+ </th>
274
+ <th>
275
+ <nobr>银行户名</nobr>
276
+ </th>
277
+ <th>
278
+ <nobr>银行名称</nobr>
279
+ </th>
280
+ <th>
281
+ <nobr>银行账号</nobr>
282
+ </th>
283
+ <th>
284
+ <nobr>银行身份证号</nobr>
285
+ </th>
286
+ <th>
287
+ <nobr>缴费编号</nobr>
288
+ </th>
289
+ <th>
290
+ <nobr>备注</nobr>
291
+ </th>
292
+ <!-- <th>-->
293
+ <!-- <nobr>部门</nobr>-->
294
+ <!-- </th>-->
295
+ <!-- <th>-->
296
+ <!-- <nobr>公司</nobr>-->
297
+ <!-- </th>-->
298
+ </tr>
299
+ </template>
300
+ <template partial='body'>
301
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
302
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
303
+ </nobr> </td>
304
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
305
+ <nobr>{{row.f_user_name}}</nobr>
306
+ </td>
307
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
308
+ <nobr>{{row.f_user_phone}}</nobr>
309
+ </td>
310
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
311
+ <nobr>{{row.f_idnumber}}</nobr>
312
+ </td>
313
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
314
+ <nobr>{{row.f_book_slice_area}}</nobr>
315
+ </td>
316
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
317
+ <nobr>{{row.f_balance}}</nobr>
318
+ </td>
319
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
320
+ <nobr>{{row.f_address}}</nobr>
321
+ </td>
322
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
323
+ <nobr>{{row.f_residential_area}}</nobr>
324
+ </td>
325
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
326
+ <nobr>{{row.f_building}}</nobr>
327
+ </td>
328
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
329
+ <nobr>{{row.f_unit}}</nobr>
330
+ </td>
331
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
332
+ <nobr>{{row.f_floor}}</nobr>
333
+ </td>
334
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
335
+ <nobr>{{row.f_room}}</nobr>
336
+ </td>
337
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
338
+ <nobr>{{row.f_user_state}}</nobr>
339
+ </td>
340
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
341
+ <nobr>{{row.f_createfile_date}}</nobr>
342
+ </td>
343
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
344
+ <nobr>{{row.f_createfile_person}}</nobr>
345
+ </td>
346
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
347
+ <nobr>{{row.f_cost_type}}</nobr>
348
+ </td>
349
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
350
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
351
+ </td>
352
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
353
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
354
+ </td>
355
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
356
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
357
+ </td>
358
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
359
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
360
+ </td>
361
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
362
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
363
+ </td>
364
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
365
+ <nobr>{{row.f_comments}}</nobr>
366
+ </td>
367
+ <!-- <td style="text-align: center;">-->
368
+ <!-- <nobr>{{row.f_depname}}</nobr>-->
369
+ <!-- </td>-->
370
+ <!-- <td style="text-align: center;">-->
371
+ <!-- <nobr>{{row.f_orgname}}</nobr>-->
372
+ <!-- </td>-->
373
+ </template>
374
+ <template partial='foot'>
375
+ </template>
376
+ </data-grid>
377
+ </criteria-paged>
378
+
379
+ <table class="table-hover">
380
+ <tr style="position: relative" class="table-bordered">
381
+ <td
382
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
383
+ 汇总信息
384
+ </td>
385
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
386
+ 结余合计:&emsp;{{sumsmodel.f_balance}}
387
+ </td>
388
+ </tr>
389
+ </table>
390
+ </div>
391
+
392
+ </div>
393
+ </div>
394
+ <div class="basic-main" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
395
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
396
+ </div>
397
+ </div>
398
+ </template>
399
+
400
+ <script>
401
+ import {HttpResetClass, PagedList} from 'vue-client'
402
+ import defaultPrint from './config/DefaultPrint'
403
+ import exportConfig from './config/exportConfig'
404
+
405
+ let readySomething = async function (self) {
406
+ self.$MagGetSaleParam.initinputtor();
407
+ self.getinputtores();
408
+ // 获取区县
409
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
410
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
411
+ // await self.$refs.paged.$refs.cri.search()
412
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
413
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
414
+ }
415
+
416
+ export default {
417
+ title: '客户查询',
418
+ data() {
419
+ return {
420
+ other:[],
421
+ footer:[],
422
+ model: new PagedList('rs/sql/filesQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}, {f_balance: 0}),
423
+ criteriaShow: false,
424
+ orgCondtionStr: '',
425
+ modelval: [],
426
+ printshow: false,
427
+ all: false,
428
+ fields: {},
429
+ //排序
430
+ orderitem:'f_userinfo_code desc',
431
+ orderFields: {
432
+ f_operate_date: 'no'
433
+ },
434
+ //默认打印列
435
+ defaultfield: [],
436
+ config: {
437
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
438
+ },
439
+ balance2:'',
440
+ thead: '',
441
+ tfoot: '',
442
+ area: [],
443
+ //合计数据
444
+ sumsmodel: {},
445
+ initres: {
446
+ org:[this.$login.f.orgid],
447
+ dep:[],
448
+ user:[],
449
+ },
450
+ userdetail: {
451
+ show: false,
452
+ f_userinfo_code: '',
453
+ f_filialeids: ''
454
+ },
455
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
456
+ show:false,
457
+ rowdata:{},
458
+ meterInfo:{},
459
+ deviceInfo:{},
460
+ condition2:'',
461
+
462
+
463
+ weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
464
+ //小区
465
+ // residentialArea: [],
466
+ //表册片区
467
+ bookSlice:[{label: '全部',value: ''}],
468
+ inputtores:[{label: '全部',value: ''}], //抄表员
469
+ allorgid:[],
470
+ f_filialeid: this.$login.f.f_orgid,
471
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
472
+ }
473
+ },
474
+ ready() {
475
+ // this.getaddress()
476
+
477
+ readySomething(this).then(() => {
478
+ this.$emit('ready')
479
+ }).catch((error) => {
480
+ this.$emit('error', error)
481
+ })
482
+ this.initAreas(this.$login.f.orgid)
483
+ },
484
+ methods: {
485
+ async getinputtores () {
486
+ // 获取抄表员
487
+ let rs = []
488
+ if (this.$login.f.f_gasman.length > 0) {
489
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
490
+ let temp = {
491
+ label: this.$login.f.f_gasman[i].name,
492
+ value: this.$login.f.f_gasman[i].name
493
+ }
494
+ rs.push(temp)
495
+ }
496
+ }
497
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
498
+ },
499
+ async updateParams() {
500
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
501
+ this.inputtores = [];
502
+ this.inputtores.push({label: "全部", value: ""})
503
+ this.initSlice(this.f_filialeid)
504
+ if(this.allorgid!=null){
505
+ this.allorgid.forEach((res)=>{
506
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
507
+ })
508
+ }
509
+ },
510
+ getotherfooter () {
511
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
512
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
513
+ this.other = [];
514
+ this.footer = [];
515
+ let exportdata = this.getCondition;
516
+ let otherInData = [];
517
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
518
+ let footerData = [], exportfield = this.getExportField;
519
+ footerData.push("合计");
520
+ let self = this;
521
+ for (var field in self.sumsmodel) {
522
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
523
+ }
524
+ this.footer.push(footerData);
525
+ this.other.push(otherInData);
526
+ },
527
+
528
+ //把数据库查询数据转换为下拉数据
529
+ calculate(rows){
530
+ let data = []
531
+ rows.forEach((row, n) => {
532
+ data[n] = {label: row.f_residential_area, value: row.id}
533
+ })
534
+ return data
535
+ },
536
+ search(){
537
+ this.$refs.paged.$refs.cri.search()
538
+ },
539
+ cancel(obj) {
540
+ this.show = false
541
+ },
542
+ showmsg(obj){
543
+
544
+ this.rowdata=obj
545
+ this.show=true
546
+ // let http = new HttpResetClass()
547
+ // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
548
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
549
+ // this.meterInfo = res.data})
550
+ // let http2 = new HttpResetClass()
551
+ // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
552
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
553
+ // this.deviceInfo = res.data})
554
+
555
+ // this.f_userinfo_id=obj.f_userinfo_id
556
+ },
557
+ //初始化片区
558
+ async initSlice (val) {
559
+ if (val) {
560
+ let getAllArea = await this.$resetpost('/rs/search', {
561
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
562
+ userid: this.$login.f.id
563
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
564
+ let arr = getAllArea.data.filter((res) => {
565
+ return res.parentid == val
566
+ })
567
+ this.bookSlice = []
568
+ console.log('过滤之后的片区-------------------', arr)
569
+ arr.forEach((res) => {
570
+ this.bookSlice.push({label: res.name, value: res.name})
571
+ })
572
+ }
573
+ },
574
+ async initAreas (val) {
575
+
576
+ if (val) {
577
+ let getAllArea = await this.$resetpost('/rs/search', {
578
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
579
+ userid: this.$login.f.id
580
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
581
+
582
+ let arr = getAllArea.data.filter((res) => {
583
+ return res.parentid == val
584
+ })
585
+ console.log('过滤之后的片区', arr)
586
+ this.sliceArea = []
587
+ arr.forEach((res) => {
588
+ this.sliceArea.push({label: res.name, value: res.name})
589
+ })
590
+ }
591
+ },
592
+ selfSearch(args) {
593
+
594
+ if (!this.orgCondtionStr) {
595
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
596
+ } else {
597
+ args.condition = `${args.condition}` + this.orgCondtionStr
598
+ }
599
+ this.condition2 = args.condition
600
+ this.model.search(args.condition, args.model)
601
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
602
+ console.log('合计字段', this.sumsmodel)
603
+ },
604
+ clear() {
605
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
606
+ this.$refs.paged.$refs.cri.model[key] = []
607
+ })
608
+ },
609
+ hidden() {
610
+ this.criteriaShow = !this.criteriaShow
611
+ },
612
+ getRes(obj) {
613
+ this.orgCondtionStr = obj
614
+ },
615
+ stamp() {
616
+ this.all = false
617
+ //默认选择要打印的列
618
+ this.modelval = defaultPrint.config
619
+ this.fields = this.getfield
620
+ console.log('所有打印字段', this.fields)
621
+ this.printshow = true
622
+ this.put()
623
+ },
624
+ put() {
625
+ // 对Modelval进行排序
626
+ this.sortModelval()
627
+ this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
628
+ for (let key of this.modelval) {
629
+ this.thead += '<th>' + this.fields[key] + '</th>'
630
+ }
631
+ this.thead += '</tr>'
632
+ },
633
+ print() {
634
+ this.$refs.print.PrintAsFile()
635
+ this.printshow = false
636
+ },
637
+ close() {
638
+ this.printshow = false
639
+ },
640
+ // 对选择的列进行排序
641
+ sortModelval() {
642
+ let sortModel = []
643
+ Object.keys(this.fields).forEach((key) => {
644
+ if (this.modelval.includes(key)) {
645
+ sortModel.push(key)
646
+ }
647
+ })
648
+ this.modelval = sortModel
649
+ console.log('选择的打印的字段', this.modelval)
650
+ },
651
+ dblclick(row, index) {
652
+ console.log('双击之后数据', row, index)
653
+ this.userdetail.show = true
654
+ this.userdetail.f_userinfo_code = row.f_userinfo_code
655
+ this.userdetail.f_filialeids = row.f_filialeids
656
+ },
657
+ sort (field, rule) {
658
+ // 将所有排序方式设为不排序,实现相互排斥
659
+ for (let key in this.orderFields) {
660
+ if (key === field) {
661
+ this.orderFields[key] = rule
662
+ } else {
663
+ this.orderFields[key] = 'no'
664
+ }
665
+ }
666
+ // 如果新规则不排序,还原为默认排序
667
+ if (rule === 'no') {
668
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
669
+ } else {
670
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
671
+ }
672
+
673
+ this.search()
674
+ }
675
+ },
676
+
677
+ watch: {
678
+ 'all'(val) {
679
+ if (val) {
680
+ this.modelval = this.bodyData
681
+ } else {
682
+ this.modelval = defaultPrint.config
683
+ this.put()
684
+ }
685
+ },
686
+ 'modelval.length'() {
687
+ this.put()
688
+ },
689
+ sumsmodel:{
690
+ handler: function(val) {
691
+ this.getotherfooter();
692
+ },
693
+ deep: true
694
+ },
695
+ 'orgCondtionStr'(val) {
696
+ let res = val.match(/'(.*?)'/)
697
+ console.log('正则提取:',res && res[1])
698
+ if (res) {
699
+ this.f_filialeid = res[1]
700
+ if(res.input !=null){
701
+ let resorgid = res.input.substring(res.input.indexOf("'"));
702
+ if(resorgid!= null && resorgid!=''){
703
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
704
+ // resorgid = resorgid.replaceAll("'","");
705
+ resorgid = resorgid.replace(/'/g,"");
706
+ this.allorgid = resorgid.split(",")
707
+ }
708
+ }
709
+ this.updateParams()
710
+ }
711
+ },
712
+ },
713
+ computed: {
714
+ // defaultexport() {
715
+ // return exportConfig.chargeexportConfig
716
+ // },
717
+ authArr () {
718
+ return this.$login.r ? this.$login.r : []
719
+ },
720
+
721
+ getCondition() {
722
+ return {condition: this.condition2,orderitem:this.orderitem}
723
+ },
724
+ getfield() {
725
+ let data = {}
726
+ this.bodyData.forEach((value, index) => {
727
+ data[this.bodyData[index]] = this.headData[index]
728
+ })
729
+ //合计字段打印
730
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
731
+ if (this.sumsmodel) {
732
+ Object.keys(this.sumsmodel).forEach((key) => {
733
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
734
+ })
735
+ } else {
736
+ this.tfoot += '暂无'
737
+ }
738
+ this.tfoot += '</th></tr>'
739
+ return data
740
+ },
741
+ getExportField() {
742
+ return exportConfig.userConfig
743
+ },
744
+ inputtor () {
745
+ // 获取抄表员
746
+ console.log('获取抄表员', this.$login.f)
747
+ let rs = []
748
+ if (this.$login.f.f_gasman.length > 0) {
749
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
750
+ let temp = {
751
+ label: this.$login.f.f_gasman[i].name,
752
+ value: this.$login.f.f_gasman[i].name
753
+ }
754
+ rs.push(temp)
755
+ }
756
+ }
757
+ return [{label: '全部', value: ''}, ...rs]
758
+ },
759
+ userstates() {
760
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
761
+ }
762
+ }
763
+ }
764
+ </script>
765
+ <style>
766
+ .back-red{ /* 红色背景 */
767
+ background-color: #F6C6CE;
768
+ }
769
+ .back-blue{ /* 蓝色背景 */
770
+
771
+ }
772
+ </style>
773
+