manage-client 3.1.36 → 3.1.40

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 (463) 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/3.5.1/file-changes/last-build.bin +0 -0
  6. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  7. package/.gradle/buildOutputCleanup/built.bin +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  9. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  10. package/.project +18 -18
  11. package/CHANGELOG.md +15 -15
  12. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  13. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  14. package/ManageClient.iml +13 -13
  15. package/README.md +38 -38
  16. package/build/dev-server.js +174 -174
  17. package/build/webpack.base.conf.js +82 -82
  18. package/build.gradle +13 -13
  19. package/config/dev.env.js +6 -6
  20. package/config/index.js +40 -40
  21. package/config/prod.env.js +3 -3
  22. package/config/test.env.js +6 -6
  23. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  24. package/gradlew.bat +100 -100
  25. package/index.html +28 -28
  26. package/package.json +1 -1
  27. package/release.bat +5 -5
  28. package/src/ManageHome.js +269 -269
  29. package/src/Staff/StaffCompileList.vue +334 -334
  30. package/src/Staff/StaffList.vue +161 -161
  31. package/src/Staff/StaffListManage.vue +49 -49
  32. package/src/Util.js +367 -367
  33. package/src/components/BasisEcharts/BarChart.vue +247 -247
  34. package/src/components/BasisEcharts/LineChart.vue +243 -243
  35. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  36. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  37. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  38. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  39. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  40. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  41. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  42. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  43. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  44. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  45. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  46. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  47. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  48. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  49. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  50. package/src/components/ManageHome/Home/Home.vue +138 -138
  51. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  52. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  53. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  54. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  55. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  56. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  57. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  58. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  59. package/src/components/ManageHome/ManageHome.vue +292 -292
  60. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  61. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  62. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  63. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  64. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  65. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  66. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  67. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  68. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  69. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  70. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  71. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  72. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  73. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  74. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  75. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  76. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  77. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  78. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  79. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  80. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  81. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  82. package/src/components/ManageHome/User/UseHome.vue +155 -155
  83. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  84. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  85. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  86. package/src/components/ManageHome/loading.vue +23 -23
  87. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  88. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  89. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  90. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  91. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  92. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  93. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  94. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  95. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  96. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  97. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  98. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  99. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  100. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  101. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  102. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  103. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  104. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  105. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  106. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  107. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  108. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  109. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  110. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  111. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  112. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  113. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  114. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  115. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  116. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  117. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  118. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  119. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  120. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  121. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  122. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  123. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  124. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  125. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  126. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  127. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  128. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  129. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  130. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  131. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  132. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  133. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  134. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  135. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  136. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  137. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  138. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  139. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  140. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  141. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  142. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  143. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  144. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  145. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  146. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  147. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  148. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  149. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  150. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  151. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  152. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  153. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  154. package/src/components/ManageHomeCS/loading.vue +39 -39
  155. package/src/components/ManageHomeCS/test.vue +88 -88
  156. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  157. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  158. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  159. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  160. package/src/components/MeterManage/HandQuery.vue +72 -72
  161. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  162. package/src/components/MeterManage/MeterList.vue +336 -336
  163. package/src/components/MeterManage/MeterMsg.vue +181 -181
  164. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  165. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  166. package/src/components/MeterManage/TransferQuery.vue +72 -72
  167. package/src/components/SellReport/AmountGas.vue +257 -257
  168. package/src/components/SellReport/BankManager.vue +146 -146
  169. package/src/components/SellReport/BonSummary.vue +244 -244
  170. package/src/components/SellReport/BusinessClassify.vue +76 -34
  171. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  172. package/src/components/SellReport/BusinessReport.vue +256 -256
  173. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  174. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  175. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  176. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  177. package/src/components/SellReport/ChOtherfee.vue +251 -251
  178. package/src/components/SellReport/ChSellReport.vue +251 -251
  179. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  180. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  181. package/src/components/SellReport/ChargePrick.vue +8 -3
  182. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  183. package/src/components/SellReport/CollectFee.vue +184 -184
  184. package/src/components/SellReport/Contrast.vue +188 -188
  185. package/src/components/SellReport/DayStairMoney.vue +256 -256
  186. package/src/components/SellReport/DepartmentPrick.vue +61 -34
  187. package/src/components/SellReport/DeptHomePage.vue +299 -299
  188. package/src/components/SellReport/FenxiangSell.vue +183 -183
  189. package/src/components/SellReport/FxGasTable.vue +220 -220
  190. package/src/components/SellReport/GasCollect.vue +174 -174
  191. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  192. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  193. package/src/components/SellReport/GasSummary.vue +257 -257
  194. package/src/components/SellReport/Gasc.vue +257 -257
  195. package/src/components/SellReport/GaspriceHas.vue +141 -141
  196. package/src/components/SellReport/GetUserNum.vue +240 -240
  197. package/src/components/SellReport/HandCollect.vue +189 -189
  198. package/src/components/SellReport/HandplanBili.vue +241 -241
  199. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  200. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  201. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  202. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  203. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  204. package/src/components/SellReport/ManageBusTable.vue +207 -207
  205. package/src/components/SellReport/ManageGasFee.vue +247 -247
  206. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  207. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  208. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  209. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  210. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  211. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  212. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  213. package/src/components/SellReport/ManageReceivable.vue +254 -254
  214. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  215. package/src/components/SellReport/MarketMonth.vue +60 -34
  216. package/src/components/SellReport/MeterBill.vue +185 -185
  217. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  218. package/src/components/SellReport/MeterInput.vue +250 -250
  219. package/src/components/SellReport/MeterPrice.vue +244 -244
  220. package/src/components/SellReport/MeterReader.vue +231 -231
  221. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  222. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  223. package/src/components/SellReport/OutletTable.vue +258 -258
  224. package/src/components/SellReport/OweAging.vue +174 -174
  225. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  226. package/src/components/SellReport/PaymentMethod.vue +274 -274
  227. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  228. package/src/components/SellReport/ReportHistory.vue +80 -80
  229. package/src/components/SellReport/ReportPool.vue +60 -60
  230. package/src/components/SellReport/Selling.vue +188 -188
  231. package/src/components/SellReport/SiteManager.vue +147 -147
  232. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  233. package/src/components/SellReport/UsertypePie.vue +101 -101
  234. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  235. package/src/components/SellReport/XianYangDate.vue +227 -227
  236. package/src/components/SellReport/XianYangOperator.vue +228 -228
  237. package/src/components/SellReport/XyDateCharge.vue +227 -227
  238. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  239. package/src/components/SellReport/YuShouTable.vue +298 -298
  240. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  241. package/src/components/SellReport/chargeSchedule.vue +410 -410
  242. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  243. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  244. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  245. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  246. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  247. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  248. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  249. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  250. package/src/components/SellReport/userholds.vue +257 -257
  251. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  252. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  253. package/src/components/WebReport/BatteryLow.vue +148 -148
  254. package/src/components/WebReport/BusinessHall.vue +85 -85
  255. package/src/components/WebReport/BussinessType.vue +137 -137
  256. package/src/components/WebReport/Communication.vue +131 -131
  257. package/src/components/WebReport/CompanyUser.vue +79 -79
  258. package/src/components/WebReport/EchartsBox.vue +110 -110
  259. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  260. package/src/components/WebReport/GaspriceHas.vue +141 -141
  261. package/src/components/WebReport/HandplanPrint.vue +167 -167
  262. package/src/components/WebReport/NotUpload.vue +165 -165
  263. package/src/components/WebReport/OweQuery.vue +169 -169
  264. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  265. package/src/components/WebReport/Paymentpie.vue +157 -157
  266. package/src/components/WebReport/ReportWorklist.vue +220 -220
  267. package/src/components/WebReport/SellType.vue +89 -89
  268. package/src/components/WebReport/Telemanlist.vue +221 -221
  269. package/src/components/WebReport/UserGasAll.vue +214 -214
  270. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  271. package/src/components/WebReport/UsertypePie.vue +105 -105
  272. package/src/components/WebReport/ValueEcharts.vue +99 -99
  273. package/src/components/WebReport/ValueInfo.vue +194 -194
  274. package/src/components/qinhua/BarChartLine.vue +288 -288
  275. package/src/components/qinhua/ManageMain.vue +162 -162
  276. package/src/components/qinhua/Ring.vue +165 -165
  277. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  278. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  279. package/src/components/qinhua/Scada.vue +93 -93
  280. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  281. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  282. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  283. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  284. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  285. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  286. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  287. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  288. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  289. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  290. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  291. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  292. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  293. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  294. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  295. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  296. package/src/components/sale/common/PrintData.vue +171 -171
  297. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  298. package/src/components/sale/common/PrintTable.vue +228 -228
  299. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  300. package/src/components/sale/common/TabButton.vue +155 -155
  301. package/src/components/sale/common/Tabs.vue +67 -67
  302. package/src/components/sale/common/handplanUser.vue +112 -112
  303. package/src/components/sale/config/DefaultPrint.js +6 -6
  304. package/src/components/sale/config/tableConfig.js +48 -48
  305. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  306. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  307. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  308. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  309. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  310. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  311. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  312. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  313. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  314. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  315. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  316. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  317. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  318. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  319. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  320. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  321. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  322. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  323. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  324. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  325. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  326. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  327. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  328. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  329. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  330. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  331. package/src/components/sale/report/aode/DayReport.vue +50 -50
  332. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  333. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  334. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  335. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  336. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  337. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  338. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  339. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  340. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  341. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  342. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  343. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  344. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  345. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  346. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  347. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  348. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  349. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  350. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  351. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  352. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  353. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  354. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  355. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  356. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  357. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  358. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  359. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  360. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  361. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  362. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  363. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  364. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  365. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  366. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  367. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  368. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  369. package/src/components/webmeter/DrillData/UserGasAll.vue +3 -2
  370. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  371. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  372. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  373. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  374. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  375. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  376. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  377. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  378. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  379. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +1 -1
  380. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +8 -4
  381. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  382. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  383. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  384. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +3 -2
  385. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +2 -36
  386. package/src/components/webmeter/newwebmeter/UserGasList.vue +2 -4
  387. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  388. package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
  389. package/src/components/yulin/GuanWang.vue +24 -24
  390. package/src/components/yulin/SingleBarLine.vue +352 -352
  391. package/src/components/yulin/Weather.vue +157 -157
  392. package/src/expandcss.less +26 -26
  393. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  394. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  395. package/src/filiale/aode/ArchivesManage.vue +38 -38
  396. package/src/filiale/aode/BusinessManage.vue +94 -94
  397. package/src/filiale/aode/DefaultPrint.js +6 -6
  398. package/src/filiale/aode/HandplanQuery.vue +632 -632
  399. package/src/filiale/aode/Tabs.vue +67 -67
  400. package/src/filiale/aode/UserQuery.vue +599 -599
  401. package/src/filiale/aode/sale.js +17 -17
  402. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  403. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  404. package/src/filiale/ceshi/CollectManage.vue +94 -94
  405. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  406. package/src/filiale/ceshi/TabButton.vue +149 -149
  407. package/src/filiale/ceshi/Tabs.vue +69 -69
  408. package/src/filiale/ceshi/reportManage.js +5 -5
  409. package/src/filiale/ceshi/sale.js +11 -11
  410. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  411. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  412. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  413. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  414. package/src/filiale/jingwei/ChargeQuery.vue +1235 -0
  415. package/src/filiale/jingwei/sale.js +2 -0
  416. package/src/filiale/liaoyuan/sale.js +11 -11
  417. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  418. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  419. package/src/filiale/qingtongxia/sale.js +13 -13
  420. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  421. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  422. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  423. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  424. package/src/filiale/shennongjia/sale.js +10 -10
  425. package/src/filiale/tongchuan/FillGasQuery.vue +508 -508
  426. package/src/filiale/tongchuan/ManageBusSummary.vue +301 -0
  427. package/src/filiale/tongchuan/ResSelectGroupNew.vue +7 -2
  428. package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
  429. package/src/filiale/tongchuan/reportManage.js +5 -0
  430. package/src/filiale/tongchuan/sale.js +13 -13
  431. package/src/plugins/GetLoginInfoService.js +505 -505
  432. package/src/plugins/LodopFuncs.js +124 -124
  433. package/src/plugins/getAllInputtor.js +29 -29
  434. package/src/safeCheck.js +63 -63
  435. package/src/saleManage.js +521 -522
  436. package/src/stores/AppData.js +62 -62
  437. package/src/stores/DataSql.js +585 -585
  438. package/src/stores/DrillECharts.js +602 -602
  439. package/src/stores/DrillSql.js +888 -888
  440. package/src/stores/GetParames.js +15 -15
  441. package/src/stores/MagGetSaleParams.js +156 -156
  442. package/src/stores/MagLoadParams.js +63 -63
  443. package/src/stores/Util.js +132 -132
  444. package/src/stores/shanxi1.js +26 -26
  445. package/src/stores/yulin.js +27 -27
  446. package/src/webmeterManage.js +105 -105
  447. package/static/china.json +1 -1
  448. package/static/qh.json +2410 -2410
  449. package/static/res.json +58411 -58411
  450. package/static/shanxi1.json +1 -1
  451. package/static/yulin.json +1 -1
  452. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  453. package/test/unit/.eslintrc +5 -5
  454. package/test/unit/TestUtil.js +35 -35
  455. package/test/unit/context.html +20 -20
  456. package/test/unit/index.js +13 -13
  457. package/test/unit/init.js +11 -11
  458. package/test/unit/karma.conf.js +45 -45
  459. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  460. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  461. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  462. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  463. package/webstorm.config.js +13 -13
@@ -1,599 +1,599 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" v-if="!show">
6
- <criteria-paged :model="model" v-ref:paged>
7
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">客户编号</label>
12
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
- condition="f_userinfo_code = '{}' " 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
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
33
- sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
34
- :choose-col="true"></export-excel>
35
-
36
- <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>
37
- </div>
38
- </div>
39
- <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="col-sm-2 form-group">
41
- <label class="font_normal_body">身份证号</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
43
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
44
- </div>
45
- <div class="col-sm-2 form-group">
46
- <label class="font_normal_body">客户状态</label>
47
- <v-select :value.sync="model.f_user_state"
48
- v-model="model.f_user_state"
49
- :options='$parent.$parent.userstates' placeholder='请选择'
50
- condition="f_user_state = '{}'"
51
- close-on-select></v-select>
52
- </div>
53
- <div class="col-sm-2 form-group">
54
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;</label>
55
- <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
56
- condition="f_people_num = '{}'" placeholder="人数">
57
- </div>
58
- <!--<div class="col-sm-2">
59
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;片区&nbsp;&nbsp;&nbsp;</label>
60
- <v-select
61
- :value.sync="model.f_slice_area"
62
- v-model="model.f_slice_area"
63
- :options='$parent.$parent.sliceArea'
64
- placeholder='请选择'
65
- condition="f_slice_area = '{}'"
66
- close-on-select></v-select>
67
- </div>-->
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">微信绑定</label>
70
- <v-select
71
- :value.sync="model.f_wechat"
72
- v-model="model.f_wechat"
73
- :options='$parent.$parent.weixinSign'
74
- placeholder='请选择'
75
- condition="f_wechat = '{}'"
76
- close-on-select>
77
- </v-select>
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">客户地址</label>
81
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
- condition="f_address like '%{}%'" placeholder='客户地址'>
83
- </div>
84
-
85
- <!-- <div class="col-sm-2">-->
86
- <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>-->
87
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
88
- <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
89
- <!-- <div class="col-sm-8">-->
90
- <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"-->
91
- <!-- v-validate:f_residential_area='{required: true }'>-->
92
- <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"-->
93
- <!-- class="select_list select"-->
94
- <!-- :options='fresidentialarea' placeholder='请选择'-->
95
- <!-- close-on-select search="true">-->
96
- <!-- </v-select>-->
97
- <!-- </div>-->
98
- <!-- </div>-->
99
- <div class="col-sm-2 form-group">
100
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;&nbsp;</label>
101
- <v-select :value.sync="model.f_residential_area"
102
- class="select_list select"
103
- enter-push
104
- v-model="model.f_residential_area"
105
- style="width: 60%"
106
- multiple="true"
107
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
108
- close-on-select>
109
- </v-select>
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
113
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
114
- condition="f_building = '{}'" placeholder="楼栋"/>
115
- </div>
116
- <div class="col-sm-2 form-group">
117
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
118
- <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
119
- condition="f_unit = '{}'" placeholder="单元"/>
120
- </div>
121
- <div class="col-sm-2 form-group">
122
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;&nbsp;</label>
123
- <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
124
- condition="f_floor = '{}'" placeholder="楼层"/>
125
- </div>
126
- <div class="col-sm-2 form-group">
127
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
128
- <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
129
- condition="f_room = '{}'" placeholder="门牌号">
130
- </div>
131
- <!-- <div class="col-sm-2" >-->
132
- <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
133
- <!-- <div class="form-group">-->
134
- <!-- <v-input id="f_balance" placeholder="账户结余"-->
135
- <!-- :expression.sync = 'model.f_balance'-->
136
- <!-- v-model="model.f_balance"-->
137
- <!-- condition= "f_balance {}"-->
138
- <!-- :show-reset-button="reset"-->
139
- <!-- v-ref:f_balance>-->
140
- <!-- </v-input>-->
141
- <!-- </div>-->
142
- <!-- </div>-->
143
- <div class="col-sm-2 form-group">
144
- <label for="startDate" class="font_normal_body">开始日期</label>
145
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
146
- v-model="model.startDate"
147
- :value.sync="model.startDate"
148
- :format="'yyyy-MM-dd'"
149
- :show-reset-button="true"
150
- condition="f_createfile_date >= '{} 00:00:00'">
151
- </datepicker>
152
- </div>
153
- <div class="col-sm-2 form-group">
154
- <label for="endDate" class="font_normal_body">结束日期</label>
155
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
156
- v-model="model.endDate"
157
- :value.sync="model.endDate"
158
- :format="'yyyy-MM-dd'"
159
- :show-reset-button="true"
160
- condition="f_createfile_date <= '{} 23:59:59'">
161
- </datepicker>
162
- </div>
163
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
164
- </div>
165
- </div>
166
- </criteria>
167
-
168
- <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
169
- <template partial='head'>
170
- <tr>
171
- <th>
172
- <nobr>客户编号</nobr>
173
- </th>
174
- <th>
175
- <nobr>客户名称</nobr>
176
- </th>
177
- <th>
178
- <nobr>客户电话</nobr>
179
- </th>
180
- <th>
181
- <nobr>身份证号</nobr>
182
- </th>
183
- <th>
184
- <nobr>账户余额</nobr>
185
- </th>
186
- <th>
187
- <nobr>客户地址</nobr>
188
- </th>
189
- <th>
190
- <nobr>小区</nobr>
191
- </th>
192
- <th>
193
- <nobr>楼栋</nobr>
194
- </th>
195
- <th>
196
- <nobr>单元</nobr>
197
- </th>
198
- <th>
199
- <nobr>楼层</nobr>
200
- </th>
201
- <th>
202
- <nobr>门牌号</nobr>
203
- </th>
204
- <th>
205
- <nobr>客户状态</nobr>
206
- </th>
207
- <th>
208
- <nobr>建档日期</nobr>
209
- </th>
210
- <th>
211
- <nobr>建档人</nobr>
212
- </th>
213
- <th>
214
- <nobr>备注</nobr>
215
- </th>
216
- <!-- <th>-->
217
- <!-- <nobr>部门</nobr>-->
218
- <!-- </th>-->
219
- <!-- <th>-->
220
- <!-- <nobr>公司</nobr>-->
221
- <!-- </th>-->
222
- </tr>
223
- </template>
224
- <template partial='body'>
225
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
226
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
227
- </nobr> </td>
228
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
229
- <nobr>{{row.f_user_name}}</nobr>
230
- </td>
231
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
232
- <nobr>{{row.f_user_phone}}</nobr>
233
- </td>
234
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
235
- <nobr>{{row.f_idnumber}}</nobr>
236
- </td>
237
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
238
- <nobr>{{row.f_balance}}</nobr>
239
- </td>
240
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
241
- <nobr>{{row.f_address}}</nobr>
242
- </td>
243
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
244
- <nobr>{{row.f_residential_area}}</nobr>
245
- </td>
246
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
247
- <nobr>{{row.f_building}}</nobr>
248
- </td>
249
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
250
- <nobr>{{row.f_unit}}</nobr>
251
- </td>
252
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
253
- <nobr>{{row.f_floor}}</nobr>
254
- </td>
255
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
256
- <nobr>{{row.f_room}}</nobr>
257
- </td>
258
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
259
- <nobr>{{row.f_user_state}}</nobr>
260
- </td>
261
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
262
- <nobr>{{row.f_createfile_date}}</nobr>
263
- </td>
264
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
265
- <nobr>{{row.f_createfile_person}}</nobr>
266
- </td>
267
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
268
- <nobr>{{row.f_comments}}</nobr>
269
- </td>
270
- <!-- <td style="text-align: center;">-->
271
- <!-- <nobr>{{row.f_depname}}</nobr>-->
272
- <!-- </td>-->
273
- <!-- <td style="text-align: center;">-->
274
- <!-- <nobr>{{row.f_orgname}}</nobr>-->
275
- <!-- </td>-->
276
- </template>
277
- <template partial='foot'>
278
- </template>
279
- </data-grid>
280
- </criteria-paged>
281
-
282
- <table class="table-hover">
283
- <tr style="position: relative" class="table-bordered">
284
- <td
285
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
286
- 汇总信息
287
- </td>
288
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
289
- 结余合计:&emsp;{{sumsmodel.f_balance}}
290
- </td>
291
- </tr>
292
- </table>
293
-
294
- <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
295
- <!--<header slot="modal-header" class="modal-header text-center">-->
296
- <!--<h4 class="modal-title">打印列选择</h4>-->
297
- <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
298
- <!--<label for="f_generations" class="font-size">全选</label>-->
299
- <!--</header>-->
300
- <!--<article slot="modal-body">-->
301
- <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
302
- <!--<div class="col-sm-3" v-for="f in fields">-->
303
- <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
304
- <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
305
- <!--</div>-->
306
- <!--</div>-->
307
- <!--</article>-->
308
- <!--<footer slot="modal-footer" class="modal-footer">-->
309
- <!--<center>-->
310
- <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
311
- <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
312
- <!--<print-table :model='model' v-show="false" v-ref:print-->
313
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
314
- <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
315
- <!--:fields="modelval" :printpage="true">-->
316
- <!--</print-table>-->
317
- <!--</center>-->
318
- <!--</footer>-->
319
- <!--</modal>-->
320
- <!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
321
- </div>
322
- <div v-if="show">
323
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
324
- </div>
325
- </div>
326
- </div>
327
- </div>
328
- </template>
329
-
330
- <script>
331
- import {HttpResetClass, PagedList} from 'vue-client'
332
- import defaultPrint from './DefaultPrint'
333
- import exportConfig from './exportConfig'
334
-
335
- let readySomething = async function (self) {
336
- // 获取区县
337
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
338
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
339
- // await self.$refs.paged.$refs.cri.search()
340
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
341
- }
342
-
343
- export default {
344
- data() {
345
- return {
346
- model: new PagedList('rs/sql/filesQuery', 20, {}, {f_balance: 0}),
347
- criteriaShow: false,
348
- orgCondtionStr: '',
349
- modelval: [],
350
- printshow: false,
351
- all: false,
352
- fields: {},
353
- thead: '',
354
- tfoot: '',
355
- area: [],
356
- //合计数据
357
- sumsmodel: {},
358
- initres: {
359
- org:[this.$login.f.orgid],
360
- dep:[],
361
- user:[],
362
- },
363
- userdetail: {
364
- show: false,
365
- f_userinfo_code: '',
366
- f_filialeids: ''
367
- },
368
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
369
- show:false,
370
- rowdata:{},
371
- meterInfo:{},
372
- deviceInfo:{},
373
- sliceArea: [],
374
- weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
375
- //小区
376
- residentialArea: []
377
- }
378
- },
379
- ready() {
380
- this.getaddress()
381
-
382
- readySomething(this).then(() => {
383
- this.$emit('ready')
384
- }).catch((error) => {
385
- this.$emit('error', error)
386
- })
387
- this.initAreas(this.$login.f.orgid)
388
- },
389
- methods: {
390
- async getaddress(){
391
- console.log('开始获取小区')
392
- let HttpReset = new HttpResetClass()
393
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
394
- data: {
395
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
396
- }
397
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
398
- console.log('小区',data)
399
- let house = []
400
- for (let row of data.data){
401
- console.log('开始保存小区')
402
- house.push({label: row.f_residential_area, value: row.f_residential_area})
403
- }
404
- this.residentialArea = house
405
- },
406
-
407
- //把数据库查询数据转换为下拉数据
408
- calculate(rows){
409
- let data = []
410
- rows.forEach((row, n) => {
411
- data[n] = {label: row.f_residential_area, value: row.id}
412
- })
413
- return data
414
- },
415
- search(){
416
- this.$refs.paged.$refs.cri.search()
417
- },
418
- cancel(obj) {
419
- this.show = false
420
- },
421
- showmsg(obj){
422
-
423
- this.rowdata=obj
424
- this.show=true
425
- // let http = new HttpResetClass()
426
- // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
427
- // {resolveMsg: null, rejectMsg: null}).then((res) => {
428
- // this.meterInfo = res.data})
429
- // let http2 = new HttpResetClass()
430
- // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
431
- // {resolveMsg: null, rejectMsg: null}).then((res) => {
432
- // this.deviceInfo = res.data})
433
-
434
- // this.f_userinfo_id=obj.f_userinfo_id
435
- },
436
- async initAreas (val) {
437
-
438
- if (val) {
439
- let getAllArea = await this.$resetpost('/rs/search', {
440
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
441
- userid: this.$login.f.id
442
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
443
-
444
- let arr = getAllArea.data.filter((res) => {
445
- return res.parentid == val
446
- })
447
- console.log('过滤之后的片区', arr)
448
- this.sliceArea = []
449
- this.sliceArea.push({label: "全部", value: ""})
450
- arr.forEach((res) => {
451
- this.sliceArea.push({label: res.name, value: res.name})
452
- })
453
- console.log(this.sliceArea)
454
- }
455
- },
456
- selfSearch(args) {
457
- //小区查询条件
458
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
459
- console.log("=====小区model绑定====",this.area)
460
- if(this.area.length !== 0){
461
- let str = JSON.stringify(this.area)
462
- str = str.replace(/"/g,`'`)
463
- str = str.replace(/\[/g,``)
464
- str = str.replace(/\]/g,``)
465
- console.log("=====小区model22222222222绑定====",str)
466
- //查询多个小区时条件
467
- args.condition += ` and f_residential_area in ( ${str} )`
468
- }
469
-
470
- if (!this.orgCondtionStr) {
471
- args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
472
- } else {
473
- args.condition = `${args.condition}` + this.orgCondtionStr
474
- }
475
- this.model.search(args.condition, args.model)
476
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
477
- console.log('合计字段', this.sumsmodel)
478
- },
479
- clear() {
480
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
481
- this.$refs.paged.$refs.cri.model[key] = []
482
- })
483
- },
484
- hidden() {
485
- this.criteriaShow = !this.criteriaShow
486
- },
487
- getRes(obj) {
488
- this.orgCondtionStr = obj
489
- },
490
- stamp() {
491
- this.all = false
492
- //默认选择要打印的列
493
- this.modelval = defaultPrint.config
494
- this.fields = this.getfield
495
- console.log('所有打印字段', this.fields)
496
- this.printshow = true
497
- this.put()
498
- },
499
- put() {
500
- // 对Modelval进行排序
501
- this.sortModelval()
502
- this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
503
- for (let key of this.modelval) {
504
- this.thead += '<th>' + this.fields[key] + '</th>'
505
- }
506
- this.thead += '</tr>'
507
- },
508
- print() {
509
- this.$refs.print.PrintAsFile()
510
- this.printshow = false
511
- },
512
- close() {
513
- this.printshow = false
514
- },
515
- // 对选择的列进行排序
516
- sortModelval() {
517
- let sortModel = []
518
- Object.keys(this.fields).forEach((key) => {
519
- if (this.modelval.includes(key)) {
520
- sortModel.push(key)
521
- }
522
- })
523
- this.modelval = sortModel
524
- console.log('选择的打印的字段', this.modelval)
525
- },
526
- dblclick(row, index) {
527
- console.log('双击之后数据', row, index)
528
- this.userdetail.show = true
529
- this.userdetail.f_userinfo_code = row.f_userinfo_code
530
- this.userdetail.f_filialeids = row.f_filialeids
531
- }
532
- },
533
- watch: {
534
- 'all'(val) {
535
- if (val) {
536
- this.modelval = this.bodyData
537
- } else {
538
- this.modelval = defaultPrint.config
539
- this.put()
540
- }
541
- },
542
- 'modelval.length'() {
543
- this.put()
544
- },
545
- },
546
- computed: {
547
- authArr () {
548
- return this.$login.r ? this.$login.r : []
549
- },
550
-
551
- getCondition() {
552
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
553
- },
554
- getfield() {
555
- let data = {}
556
- this.bodyData.forEach((value, index) => {
557
- data[this.bodyData[index]] = this.headData[index]
558
- })
559
- //合计字段打印
560
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
561
- if (this.sumsmodel) {
562
- Object.keys(this.sumsmodel).forEach((key) => {
563
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
564
- })
565
- } else {
566
- this.tfoot += '暂无'
567
- }
568
- this.tfoot += '</th></tr>'
569
- return data
570
- },
571
- getExportField() {
572
- return exportConfig.userConfig
573
- },
574
- userstates() {
575
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
576
- }
577
- // sliceArea() {
578
- // let rs = new Array()
579
- // for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
580
- // let temp = {
581
- // label: this.$login.f.f_allArea[i].label,
582
- // value: this.$login.f.f_allArea[i].label
583
- // }
584
- // rs.push(temp)
585
- // }
586
- // return [{label: '全部', value: ''}, ...rs]
587
- // }
588
- }
589
- }
590
- </script>
591
- <style>
592
- .back-red{ /* 红色背景 */
593
- background-color: #F6C6CE;
594
- }
595
- .back-blue{ /* 蓝色背景 */
596
-
597
- }
598
- </style>
599
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">客户编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code = '{}' " 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
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
33
+ sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
34
+ :choose-col="true"></export-excel>
35
+
36
+ <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>
37
+ </div>
38
+ </div>
39
+ <div class="row" v-show="$parent.$parent.criteriaShow">
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">身份证号</label>
42
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
43
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
44
+ </div>
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">客户状态</label>
47
+ <v-select :value.sync="model.f_user_state"
48
+ v-model="model.f_user_state"
49
+ :options='$parent.$parent.userstates' placeholder='请选择'
50
+ condition="f_user_state = '{}'"
51
+ close-on-select></v-select>
52
+ </div>
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;</label>
55
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
56
+ condition="f_people_num = '{}'" placeholder="人数">
57
+ </div>
58
+ <!--<div class="col-sm-2">
59
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;片区&nbsp;&nbsp;&nbsp;</label>
60
+ <v-select
61
+ :value.sync="model.f_slice_area"
62
+ v-model="model.f_slice_area"
63
+ :options='$parent.$parent.sliceArea'
64
+ placeholder='请选择'
65
+ condition="f_slice_area = '{}'"
66
+ close-on-select></v-select>
67
+ </div>-->
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">微信绑定</label>
70
+ <v-select
71
+ :value.sync="model.f_wechat"
72
+ v-model="model.f_wechat"
73
+ :options='$parent.$parent.weixinSign'
74
+ placeholder='请选择'
75
+ condition="f_wechat = '{}'"
76
+ close-on-select>
77
+ </v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">客户地址</label>
81
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
+ condition="f_address like '%{}%'" placeholder='客户地址'>
83
+ </div>
84
+
85
+ <!-- <div class="col-sm-2">-->
86
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>-->
87
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
88
+ <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
89
+ <!-- <div class="col-sm-8">-->
90
+ <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"-->
91
+ <!-- v-validate:f_residential_area='{required: true }'>-->
92
+ <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"-->
93
+ <!-- class="select_list select"-->
94
+ <!-- :options='fresidentialarea' placeholder='请选择'-->
95
+ <!-- close-on-select search="true">-->
96
+ <!-- </v-select>-->
97
+ <!-- </div>-->
98
+ <!-- </div>-->
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;&nbsp;</label>
101
+ <v-select :value.sync="model.f_residential_area"
102
+ class="select_list select"
103
+ enter-push
104
+ v-model="model.f_residential_area"
105
+ style="width: 60%"
106
+ multiple="true"
107
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
108
+ close-on-select>
109
+ </v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
113
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
114
+ condition="f_building = '{}'" placeholder="楼栋"/>
115
+ </div>
116
+ <div class="col-sm-2 form-group">
117
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
118
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
119
+ condition="f_unit = '{}'" placeholder="单元"/>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;&nbsp;</label>
123
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
124
+ condition="f_floor = '{}'" placeholder="楼层"/>
125
+ </div>
126
+ <div class="col-sm-2 form-group">
127
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
128
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
129
+ condition="f_room = '{}'" placeholder="门牌号">
130
+ </div>
131
+ <!-- <div class="col-sm-2" >-->
132
+ <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
133
+ <!-- <div class="form-group">-->
134
+ <!-- <v-input id="f_balance" placeholder="账户结余"-->
135
+ <!-- :expression.sync = 'model.f_balance'-->
136
+ <!-- v-model="model.f_balance"-->
137
+ <!-- condition= "f_balance {}"-->
138
+ <!-- :show-reset-button="reset"-->
139
+ <!-- v-ref:f_balance>-->
140
+ <!-- </v-input>-->
141
+ <!-- </div>-->
142
+ <!-- </div>-->
143
+ <div class="col-sm-2 form-group">
144
+ <label for="startDate" class="font_normal_body">开始日期</label>
145
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
146
+ v-model="model.startDate"
147
+ :value.sync="model.startDate"
148
+ :format="'yyyy-MM-dd'"
149
+ :show-reset-button="true"
150
+ condition="f_createfile_date >= '{} 00:00:00'">
151
+ </datepicker>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label for="endDate" class="font_normal_body">结束日期</label>
155
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
156
+ v-model="model.endDate"
157
+ :value.sync="model.endDate"
158
+ :format="'yyyy-MM-dd'"
159
+ :show-reset-button="true"
160
+ condition="f_createfile_date <= '{} 23:59:59'">
161
+ </datepicker>
162
+ </div>
163
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
164
+ </div>
165
+ </div>
166
+ </criteria>
167
+
168
+ <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
169
+ <template partial='head'>
170
+ <tr>
171
+ <th>
172
+ <nobr>客户编号</nobr>
173
+ </th>
174
+ <th>
175
+ <nobr>客户名称</nobr>
176
+ </th>
177
+ <th>
178
+ <nobr>客户电话</nobr>
179
+ </th>
180
+ <th>
181
+ <nobr>身份证号</nobr>
182
+ </th>
183
+ <th>
184
+ <nobr>账户余额</nobr>
185
+ </th>
186
+ <th>
187
+ <nobr>客户地址</nobr>
188
+ </th>
189
+ <th>
190
+ <nobr>小区</nobr>
191
+ </th>
192
+ <th>
193
+ <nobr>楼栋</nobr>
194
+ </th>
195
+ <th>
196
+ <nobr>单元</nobr>
197
+ </th>
198
+ <th>
199
+ <nobr>楼层</nobr>
200
+ </th>
201
+ <th>
202
+ <nobr>门牌号</nobr>
203
+ </th>
204
+ <th>
205
+ <nobr>客户状态</nobr>
206
+ </th>
207
+ <th>
208
+ <nobr>建档日期</nobr>
209
+ </th>
210
+ <th>
211
+ <nobr>建档人</nobr>
212
+ </th>
213
+ <th>
214
+ <nobr>备注</nobr>
215
+ </th>
216
+ <!-- <th>-->
217
+ <!-- <nobr>部门</nobr>-->
218
+ <!-- </th>-->
219
+ <!-- <th>-->
220
+ <!-- <nobr>公司</nobr>-->
221
+ <!-- </th>-->
222
+ </tr>
223
+ </template>
224
+ <template partial='body'>
225
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
226
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
227
+ </nobr> </td>
228
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
229
+ <nobr>{{row.f_user_name}}</nobr>
230
+ </td>
231
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
232
+ <nobr>{{row.f_user_phone}}</nobr>
233
+ </td>
234
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
235
+ <nobr>{{row.f_idnumber}}</nobr>
236
+ </td>
237
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
238
+ <nobr>{{row.f_balance}}</nobr>
239
+ </td>
240
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
241
+ <nobr>{{row.f_address}}</nobr>
242
+ </td>
243
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
244
+ <nobr>{{row.f_residential_area}}</nobr>
245
+ </td>
246
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
247
+ <nobr>{{row.f_building}}</nobr>
248
+ </td>
249
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
250
+ <nobr>{{row.f_unit}}</nobr>
251
+ </td>
252
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
253
+ <nobr>{{row.f_floor}}</nobr>
254
+ </td>
255
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
256
+ <nobr>{{row.f_room}}</nobr>
257
+ </td>
258
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
259
+ <nobr>{{row.f_user_state}}</nobr>
260
+ </td>
261
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
262
+ <nobr>{{row.f_createfile_date}}</nobr>
263
+ </td>
264
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
265
+ <nobr>{{row.f_createfile_person}}</nobr>
266
+ </td>
267
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
268
+ <nobr>{{row.f_comments}}</nobr>
269
+ </td>
270
+ <!-- <td style="text-align: center;">-->
271
+ <!-- <nobr>{{row.f_depname}}</nobr>-->
272
+ <!-- </td>-->
273
+ <!-- <td style="text-align: center;">-->
274
+ <!-- <nobr>{{row.f_orgname}}</nobr>-->
275
+ <!-- </td>-->
276
+ </template>
277
+ <template partial='foot'>
278
+ </template>
279
+ </data-grid>
280
+ </criteria-paged>
281
+
282
+ <table class="table-hover">
283
+ <tr style="position: relative" class="table-bordered">
284
+ <td
285
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
286
+ 汇总信息
287
+ </td>
288
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
289
+ 结余合计:&emsp;{{sumsmodel.f_balance}}
290
+ </td>
291
+ </tr>
292
+ </table>
293
+
294
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
295
+ <!--<header slot="modal-header" class="modal-header text-center">-->
296
+ <!--<h4 class="modal-title">打印列选择</h4>-->
297
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
298
+ <!--<label for="f_generations" class="font-size">全选</label>-->
299
+ <!--</header>-->
300
+ <!--<article slot="modal-body">-->
301
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
302
+ <!--<div class="col-sm-3" v-for="f in fields">-->
303
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
304
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
305
+ <!--</div>-->
306
+ <!--</div>-->
307
+ <!--</article>-->
308
+ <!--<footer slot="modal-footer" class="modal-footer">-->
309
+ <!--<center>-->
310
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
311
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
312
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
313
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
314
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
315
+ <!--:fields="modelval" :printpage="true">-->
316
+ <!--</print-table>-->
317
+ <!--</center>-->
318
+ <!--</footer>-->
319
+ <!--</modal>-->
320
+ <!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
321
+ </div>
322
+ <div v-if="show">
323
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
324
+ </div>
325
+ </div>
326
+ </div>
327
+ </div>
328
+ </template>
329
+
330
+ <script>
331
+ import {HttpResetClass, PagedList} from 'vue-client'
332
+ import defaultPrint from './DefaultPrint'
333
+ import exportConfig from './exportConfig'
334
+
335
+ let readySomething = async function (self) {
336
+ // 获取区县
337
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
338
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
339
+ // await self.$refs.paged.$refs.cri.search()
340
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
341
+ }
342
+
343
+ export default {
344
+ data() {
345
+ return {
346
+ model: new PagedList('rs/sql/filesQuery', 20, {}, {f_balance: 0}),
347
+ criteriaShow: false,
348
+ orgCondtionStr: '',
349
+ modelval: [],
350
+ printshow: false,
351
+ all: false,
352
+ fields: {},
353
+ thead: '',
354
+ tfoot: '',
355
+ area: [],
356
+ //合计数据
357
+ sumsmodel: {},
358
+ initres: {
359
+ org:[this.$login.f.orgid],
360
+ dep:[],
361
+ user:[],
362
+ },
363
+ userdetail: {
364
+ show: false,
365
+ f_userinfo_code: '',
366
+ f_filialeids: ''
367
+ },
368
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
369
+ show:false,
370
+ rowdata:{},
371
+ meterInfo:{},
372
+ deviceInfo:{},
373
+ sliceArea: [],
374
+ weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
375
+ //小区
376
+ residentialArea: []
377
+ }
378
+ },
379
+ ready() {
380
+ this.getaddress()
381
+
382
+ readySomething(this).then(() => {
383
+ this.$emit('ready')
384
+ }).catch((error) => {
385
+ this.$emit('error', error)
386
+ })
387
+ this.initAreas(this.$login.f.orgid)
388
+ },
389
+ methods: {
390
+ async getaddress(){
391
+ console.log('开始获取小区')
392
+ let HttpReset = new HttpResetClass()
393
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
394
+ data: {
395
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
396
+ }
397
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
398
+ console.log('小区',data)
399
+ let house = []
400
+ for (let row of data.data){
401
+ console.log('开始保存小区')
402
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
403
+ }
404
+ this.residentialArea = house
405
+ },
406
+
407
+ //把数据库查询数据转换为下拉数据
408
+ calculate(rows){
409
+ let data = []
410
+ rows.forEach((row, n) => {
411
+ data[n] = {label: row.f_residential_area, value: row.id}
412
+ })
413
+ return data
414
+ },
415
+ search(){
416
+ this.$refs.paged.$refs.cri.search()
417
+ },
418
+ cancel(obj) {
419
+ this.show = false
420
+ },
421
+ showmsg(obj){
422
+
423
+ this.rowdata=obj
424
+ this.show=true
425
+ // let http = new HttpResetClass()
426
+ // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
427
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
428
+ // this.meterInfo = res.data})
429
+ // let http2 = new HttpResetClass()
430
+ // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
431
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
432
+ // this.deviceInfo = res.data})
433
+
434
+ // this.f_userinfo_id=obj.f_userinfo_id
435
+ },
436
+ async initAreas (val) {
437
+
438
+ if (val) {
439
+ let getAllArea = await this.$resetpost('/rs/search', {
440
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
441
+ userid: this.$login.f.id
442
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
443
+
444
+ let arr = getAllArea.data.filter((res) => {
445
+ return res.parentid == val
446
+ })
447
+ console.log('过滤之后的片区', arr)
448
+ this.sliceArea = []
449
+ this.sliceArea.push({label: "全部", value: ""})
450
+ arr.forEach((res) => {
451
+ this.sliceArea.push({label: res.name, value: res.name})
452
+ })
453
+ console.log(this.sliceArea)
454
+ }
455
+ },
456
+ selfSearch(args) {
457
+ //小区查询条件
458
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
459
+ console.log("=====小区model绑定====",this.area)
460
+ if(this.area.length !== 0){
461
+ let str = JSON.stringify(this.area)
462
+ str = str.replace(/"/g,`'`)
463
+ str = str.replace(/\[/g,``)
464
+ str = str.replace(/\]/g,``)
465
+ console.log("=====小区model22222222222绑定====",str)
466
+ //查询多个小区时条件
467
+ args.condition += ` and f_residential_area in ( ${str} )`
468
+ }
469
+
470
+ if (!this.orgCondtionStr) {
471
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
472
+ } else {
473
+ args.condition = `${args.condition}` + this.orgCondtionStr
474
+ }
475
+ this.model.search(args.condition, args.model)
476
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
477
+ console.log('合计字段', this.sumsmodel)
478
+ },
479
+ clear() {
480
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
481
+ this.$refs.paged.$refs.cri.model[key] = []
482
+ })
483
+ },
484
+ hidden() {
485
+ this.criteriaShow = !this.criteriaShow
486
+ },
487
+ getRes(obj) {
488
+ this.orgCondtionStr = obj
489
+ },
490
+ stamp() {
491
+ this.all = false
492
+ //默认选择要打印的列
493
+ this.modelval = defaultPrint.config
494
+ this.fields = this.getfield
495
+ console.log('所有打印字段', this.fields)
496
+ this.printshow = true
497
+ this.put()
498
+ },
499
+ put() {
500
+ // 对Modelval进行排序
501
+ this.sortModelval()
502
+ this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
503
+ for (let key of this.modelval) {
504
+ this.thead += '<th>' + this.fields[key] + '</th>'
505
+ }
506
+ this.thead += '</tr>'
507
+ },
508
+ print() {
509
+ this.$refs.print.PrintAsFile()
510
+ this.printshow = false
511
+ },
512
+ close() {
513
+ this.printshow = false
514
+ },
515
+ // 对选择的列进行排序
516
+ sortModelval() {
517
+ let sortModel = []
518
+ Object.keys(this.fields).forEach((key) => {
519
+ if (this.modelval.includes(key)) {
520
+ sortModel.push(key)
521
+ }
522
+ })
523
+ this.modelval = sortModel
524
+ console.log('选择的打印的字段', this.modelval)
525
+ },
526
+ dblclick(row, index) {
527
+ console.log('双击之后数据', row, index)
528
+ this.userdetail.show = true
529
+ this.userdetail.f_userinfo_code = row.f_userinfo_code
530
+ this.userdetail.f_filialeids = row.f_filialeids
531
+ }
532
+ },
533
+ watch: {
534
+ 'all'(val) {
535
+ if (val) {
536
+ this.modelval = this.bodyData
537
+ } else {
538
+ this.modelval = defaultPrint.config
539
+ this.put()
540
+ }
541
+ },
542
+ 'modelval.length'() {
543
+ this.put()
544
+ },
545
+ },
546
+ computed: {
547
+ authArr () {
548
+ return this.$login.r ? this.$login.r : []
549
+ },
550
+
551
+ getCondition() {
552
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
553
+ },
554
+ getfield() {
555
+ let data = {}
556
+ this.bodyData.forEach((value, index) => {
557
+ data[this.bodyData[index]] = this.headData[index]
558
+ })
559
+ //合计字段打印
560
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
561
+ if (this.sumsmodel) {
562
+ Object.keys(this.sumsmodel).forEach((key) => {
563
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
564
+ })
565
+ } else {
566
+ this.tfoot += '暂无'
567
+ }
568
+ this.tfoot += '</th></tr>'
569
+ return data
570
+ },
571
+ getExportField() {
572
+ return exportConfig.userConfig
573
+ },
574
+ userstates() {
575
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
576
+ }
577
+ // sliceArea() {
578
+ // let rs = new Array()
579
+ // for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
580
+ // let temp = {
581
+ // label: this.$login.f.f_allArea[i].label,
582
+ // value: this.$login.f.f_allArea[i].label
583
+ // }
584
+ // rs.push(temp)
585
+ // }
586
+ // return [{label: '全部', value: ''}, ...rs]
587
+ // }
588
+ }
589
+ }
590
+ </script>
591
+ <style>
592
+ .back-red{ /* 红色背景 */
593
+ background-color: #F6C6CE;
594
+ }
595
+ .back-blue{ /* 蓝色背景 */
596
+
597
+ }
598
+ </style>
599
+