manage-client 3.2.7 → 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 (431) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +174 -174
  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 +2 -2
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/BankManager.vue +146 -146
  164. package/src/components/SellReport/BonSummary.vue +22 -88
  165. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  166. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  167. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  168. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  169. package/src/components/SellReport/ChOtherfee.vue +251 -251
  170. package/src/components/SellReport/CollectFee.vue +184 -184
  171. package/src/components/SellReport/Contrast.vue +188 -188
  172. package/src/components/SellReport/DayStairMoney.vue +256 -256
  173. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  174. package/src/components/SellReport/FenxiangSell.vue +183 -183
  175. package/src/components/SellReport/FxGasTable.vue +220 -220
  176. package/src/components/SellReport/GasCollect.vue +174 -174
  177. package/src/components/SellReport/GaspriceHas.vue +141 -141
  178. package/src/components/SellReport/HandCollect.vue +189 -189
  179. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  181. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  182. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  183. package/src/components/SellReport/ManageBusSummary.vue +69 -92
  184. package/src/components/SellReport/ManageBusTable.vue +207 -207
  185. package/src/components/SellReport/ManageGasFee.vue +247 -247
  186. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  187. package/src/components/SellReport/ManageGasPrice.vue +20 -85
  188. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  189. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  190. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  191. package/src/components/SellReport/ManageReceivable.vue +254 -254
  192. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  193. package/src/components/SellReport/MeterBill.vue +185 -185
  194. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  195. package/src/components/SellReport/MeterInput.vue +250 -250
  196. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  197. package/src/components/SellReport/NonResidentGas.vue +27 -68
  198. package/src/components/SellReport/OutletTable.vue +1 -1
  199. package/src/components/SellReport/OweAging.vue +174 -174
  200. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  201. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +3 -1
  202. package/src/components/SellReport/ReportHistory.vue +80 -80
  203. package/src/components/SellReport/ReportPool.vue +60 -60
  204. package/src/components/SellReport/SaleMonthReport.vue +18 -92
  205. package/src/components/SellReport/Selling.vue +188 -188
  206. package/src/components/SellReport/SiteManager.vue +147 -147
  207. package/src/components/SellReport/UserSellingGas.vue +3 -77
  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 +29 -28
  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/qinhua/BarChartLine.vue +288 -288
  247. package/src/components/qinhua/ManageMain.vue +162 -162
  248. package/src/components/qinhua/Ring.vue +165 -165
  249. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  250. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  251. package/src/components/qinhua/Scada.vue +93 -93
  252. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  253. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  254. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  255. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  256. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  257. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  258. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  259. package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
  260. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  261. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  262. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  263. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  264. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  265. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  266. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  267. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  268. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  269. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  270. package/src/components/sale/common/PrintData.vue +171 -171
  271. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  272. package/src/components/sale/common/PrintTable.vue +228 -228
  273. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  274. package/src/components/sale/common/TabButton.vue +155 -155
  275. package/src/components/sale/common/Tabs.vue +67 -67
  276. package/src/components/sale/common/handplanUser.vue +112 -112
  277. package/src/components/sale/config/DefaultPrint.js +6 -6
  278. package/src/components/sale/config/exportConfig.js +887 -885
  279. package/src/components/sale/config/tableConfig.js +48 -48
  280. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  281. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  282. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  283. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  284. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  285. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  287. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  288. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  289. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  290. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  291. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  292. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  293. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  294. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  295. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  296. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  297. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  298. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  299. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  300. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  301. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  302. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  303. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  304. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  305. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  306. package/src/components/sale/report/aode/DayReport.vue +50 -50
  307. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  308. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  309. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  310. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  311. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  312. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  313. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  314. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  315. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  316. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  317. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  318. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  319. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  320. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  321. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  322. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  323. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  324. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  325. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  326. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  327. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  330. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  331. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  332. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  335. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  336. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  337. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  338. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  339. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  340. package/src/components/statistical/StatisticalAnalysis.vue +5 -0
  341. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  342. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  343. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  344. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  345. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  347. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  348. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  349. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  350. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  351. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  352. package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
  353. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  354. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  355. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  356. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  357. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  358. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -0
  359. package/src/components/yulin/GuanWang.vue +24 -24
  360. package/src/components/yulin/SingleBarLine.vue +352 -352
  361. package/src/components/yulin/Weather.vue +157 -157
  362. package/src/expandcss.less +26 -26
  363. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  364. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  365. package/src/filiale/WEINAN/UserGasList.vue +438 -0
  366. package/src/filiale/WEINAN/sale.js +4 -1
  367. package/src/filiale/aode/ArchivesManage.vue +38 -38
  368. package/src/filiale/aode/BusinessManage.vue +94 -94
  369. package/src/filiale/aode/DefaultPrint.js +6 -6
  370. package/src/filiale/aode/HandplanQuery.vue +632 -632
  371. package/src/filiale/aode/Tabs.vue +67 -67
  372. package/src/filiale/aode/UserQuery.vue +599 -599
  373. package/src/filiale/aode/sale.js +17 -17
  374. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  375. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  376. package/src/filiale/ceshi/CollectManage.vue +94 -94
  377. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  378. package/src/filiale/ceshi/TabButton.vue +149 -149
  379. package/src/filiale/ceshi/Tabs.vue +69 -69
  380. package/src/filiale/ceshi/reportManage.js +5 -5
  381. package/src/filiale/ceshi/sale.js +11 -11
  382. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  383. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  384. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  385. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  386. package/src/filiale/liaoyuan/sale.js +11 -11
  387. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  388. package/src/filiale/meihekou/UserQuery.vue +773 -773
  389. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  390. package/src/filiale/qingtongxia/sale.js +13 -13
  391. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  392. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  393. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +5 -0
  394. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  395. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  396. package/src/filiale/shennongjia/sale.js +10 -10
  397. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  398. package/src/filiale/wuhai/sale.js +10 -0
  399. package/src/main.js +66 -66
  400. package/src/plugins/GetLoginInfoService.js +505 -505
  401. package/src/plugins/LodopFuncs.js +124 -124
  402. package/src/plugins/getAllInputtor.js +29 -29
  403. package/src/safeCheck.js +63 -63
  404. package/src/stores/AppData.js +62 -62
  405. package/src/stores/DataSql.js +585 -585
  406. package/src/stores/DrillECharts.js +602 -602
  407. package/src/stores/DrillSql.js +888 -888
  408. package/src/stores/GetParames.js +15 -15
  409. package/src/stores/MagGetSaleParams.js +156 -156
  410. package/src/stores/MagLoadParams.js +63 -63
  411. package/src/stores/Util.js +132 -132
  412. package/src/stores/shanxi1.js +26 -26
  413. package/src/stores/yulin.js +27 -27
  414. package/src/webmeterManage.js +105 -105
  415. package/static/china.json +1 -1
  416. package/static/qh.json +2410 -2410
  417. package/static/res.json +58411 -58411
  418. package/static/shanxi1.json +1 -1
  419. package/static/yulin.json +1 -1
  420. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  421. package/test/unit/.eslintrc +5 -5
  422. package/test/unit/TestUtil.js +35 -35
  423. package/test/unit/context.html +20 -20
  424. package/test/unit/index.js +13 -13
  425. package/test/unit/init.js +11 -11
  426. package/test/unit/karma.conf.js +45 -45
  427. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  428. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  429. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  430. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  431. package/webstorm.config.js +13 -13
@@ -1,718 +1,718 @@
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
- :footer="$parent.$parent.footer"
33
- :header="$parent.$parent.other"
34
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
35
- sqlurl="rs/logic/exportfile" sql-name="meterQuery" template-name='表具查询导出'
36
- :choose-col="true"></export-excel>
37
-
38
-
39
-
40
- <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>
41
- </div>
42
- </div>
43
- <div class="row" v-show="$parent.$parent.criteriaShow">
44
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
45
- <div class="col-sm-2 form-group">
46
- <label class="font_normal_body">客户地址</label>
47
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
48
- condition="f_address like '%{}%'" placeholder='客户地址'>
49
- </div>
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
52
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
53
- condition="f_meternumber like '%{}%'" placeholder='表号'>
54
- </div>
55
-
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;卡号&nbsp;&nbsp;&nbsp;</label>
58
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
59
- condition="f_card_id like '%{}%'" placeholder='卡号'>
60
- </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">抄&ensp;表&ensp;员</label>
63
- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
64
- style="width:60%"
65
- :multiple="true"
66
- :options='$parent.$parent.inputtores' placeholder='抄表员'
67
- close-on-select
68
- v-el:cc></v-select>
69
- </div>
70
- <div class="col-sm-2 form-group">
71
- <label class="font_normal_body">客户类型</label>
72
- <v-select :value.sync="model.f_user_type"
73
- :options='$parent.$parent.usertypes'
74
- @change="$parent.$parent.userTypeChange()"
75
- placeholder='请选择' v-model="model.f_user_type"
76
- condition="f_user_type = '{}'"
77
- close-on-select></v-select>
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">用气性质</label>
81
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
82
- :options='$parent.$parent.gasproperties' placeholder='请选择'
83
- condition="f_gasproperties = '{}'"
84
- close-on-select></v-select>
85
- </div>
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">气价类型</label>
88
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
89
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
90
- condition="f_price_type = '{}'"
91
- close-on-select v-ref:type>
92
- </v-select>
93
- </div>
94
- <div class="col-sm-2 form-group">
95
- <label class="font_normal_body">气价名称</label>
96
- <v-select :value.sync="model.f_price_name"
97
- v-model="model.f_price_name"
98
- :options="$parent.$parent.getPricenames"
99
- placeholder='请选择'
100
- condition="f_price_name = '{}'"
101
- close-on-select></v-select>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">气表分类</label>
105
- <v-select :value.sync="model.f_meter_classify"
106
- v-model="model.f_meter_classify"
107
- :options='$parent.$parent.metertypes' placeholder='请选择'
108
- condition="f_meter_classify = '{}'"
109
- close-on-select></v-select>
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body">气表品牌</label>
113
- <v-select :value.sync="model.f_meter_brand"
114
- v-model="model.f_meter_brand"
115
- :options='$parent.$parent.meterbrands' placeholder='请选择'
116
- condition="f_meter_brand = '{}'"
117
- close-on-select></v-select>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body">气表型号</label>
121
- <v-select :value.sync="model.f_meter_style"
122
- v-model="model.f_meter_style"
123
- :options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
124
- condition="f_meter_style = '{}'"
125
- close-on-select></v-select>
126
- </div>
127
- <div class="col-sm-2 form-group">
128
- <label class="font_normal_body">气表状态</label>
129
- <v-select :value.sync="model.f_table_state"
130
- v-model="model.f_table_state"
131
- :options='$parent.$parent.tablestate' placeholder='请选择'
132
- condition="f_table_state = '{}'"
133
- close-on-select></v-select>
134
- </div>
135
- <div class="col-sm-2 form-group">
136
- <label for="startDate" class="font_normal_body">建表日期</label>
137
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
138
- v-model="model.startDate"
139
- :value.sync="model.startDate"
140
- :format="'yyyy-MM-dd'"
141
- :show-reset-button="true"
142
- condition="f_input_date >= '{} 00:00:00'">
143
- </datepicker>
144
- </div>
145
- <div class="col-sm-2 form-group">
146
- <label for="endDate" class="font_normal_body">建表日期</label>
147
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
148
- v-model="model.endDate"
149
- :value.sync="model.endDate"
150
- :format="'yyyy-MM-dd'"
151
- :show-reset-button="true"
152
- condition="f_input_date <= '{} 23:59:59'">
153
- </datepicker>
154
- </div>
155
- <div class="col-sm-2 form-group">
156
- <label for="startDate" class="font_normal_body">通气日期</label>
157
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
158
- v-model="model.startTQDate"
159
- :value.sync="model.startTQDate"
160
- :format="'yyyy-MM-dd'"
161
- :show-reset-button="true"
162
- condition="f_gas_date >= '{} 00:00:00'">
163
- </datepicker>
164
- </div>
165
- <div class="col-sm-2 form-group">
166
- <label for="endDate" class="font_normal_body">通气日期</label>
167
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
168
- v-model="model.endTQDate"
169
- :value.sync="model.endTQDate"
170
- :format="'yyyy-MM-dd'"
171
- :show-reset-button="true"
172
- condition="f_gas_date <= '{} 23:59:59'">
173
- </datepicker>
174
- </div>
175
- <div class="col-sm-2 form-group">
176
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
177
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
178
- :options='$parent.$parent.bgl' placeholder='请选择'
179
- condition="isbgl = '{}'"
180
- close-on-select></v-select>
181
- </div>
182
- <div class="col-sm-2 form-group">
183
- <label class="font_normal_body">用户等级</label>
184
- <v-select :value.sync="model.f_user_grade"
185
- v-model="model.f_user_grade"
186
- :options='$parent.$parent.usergrade' placeholder='请选择'
187
- condition="f_user_grade = '{}'"
188
- close-on-select></v-select>
189
- </div>
190
- </div>
191
- </div>
192
- </criteria>
193
-
194
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
195
- <template partial='head'>
196
- <tr>
197
- <th>
198
- <nobr>客户编号</nobr>
199
- </th>
200
- <th>
201
- <nobr>客户名称</nobr>
202
- </th>
203
- <th>
204
- <nobr>客户电话</nobr>
205
- </th>
206
- <th>
207
- <nobr>客户地址</nobr>
208
- </th>
209
- <th>
210
- <nobr>表上余额</nobr>
211
- </th>
212
- <th>
213
- <nobr>客户类型</nobr>
214
- </th>
215
- <th>
216
- <nobr>用气性质</nobr>
217
- </th>
218
- <th>
219
- <nobr>表号</nobr>
220
- </th>
221
- <th>
222
- <nobr>卡号</nobr>
223
- </th>
224
- <th>
225
- <nobr>气价名称</nobr>
226
- </th>
227
- <th>
228
- <nobr>气价详情</nobr>
229
- </th>
230
- <th>
231
- <nobr>气表品牌</nobr>
232
- </th>
233
- <th>
234
- <nobr>气表型号</nobr>
235
- </th>
236
- <th>
237
- <nobr>户管员</nobr>
238
- </th>
239
- <th>
240
- <nobr>通气人</nobr>
241
- </th>
242
- <th>
243
- <nobr>通气时间</nobr>
244
- </th>
245
- <th>
246
- <nobr>建表时间</nobr>
247
- </th>
248
- <th>
249
- <nobr>气表状态</nobr>
250
- </th>
251
- <th>
252
- <nobr>是否壁挂炉</nobr>
253
- </th>
254
- </tr>
255
- </template>
256
- <template partial='body'>
257
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
258
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
259
- </nobr> </td>
260
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
261
- <nobr>{{row.f_user_name}}</nobr>
262
- </td>
263
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
264
- <nobr>{{row.f_user_phone}}</nobr>
265
- </td>
266
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
267
- <nobr>{{row.f_address}}</nobr>
268
- </td>
269
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
270
- <nobr>{{row.f_balance_amount}}</nobr>
271
- </td>
272
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
273
- <nobr>{{row.f_user_type}}</nobr>
274
- </td>
275
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
276
- <nobr>{{row.f_gasproperties}}</nobr>
277
- </td>
278
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
279
- <nobr>{{row.f_meternumber}}</nobr>
280
- </td>
281
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
282
- <nobr>{{row.f_card_id}}</nobr>
283
- </td>
284
-
285
-
286
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
287
- <nobr>{{row.f_price_name}}</nobr>
288
- </td>
289
- <th :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
290
- <nobr>{{row.value}}</nobr>
291
- </th>
292
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
293
- <nobr>{{row.f_meter_brand}}</nobr>
294
- </td>
295
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
296
- <nobr>{{row.f_meter_style}}</nobr>
297
- </td>
298
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
299
- <nobr>{{row.f_inputtor}}</nobr>
300
- </td>
301
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
302
- <nobr>{{row.f_gas_person}}</nobr>
303
- </td>
304
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
305
- <nobr>{{row.f_gas_date}}</nobr>
306
- </td>
307
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
308
- <nobr>{{row.f_input_date}}</nobr>
309
- </td>
310
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
311
- <nobr>{{row.f_table_state}}</nobr>
312
- </td>
313
- <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
314
- <nobr>{{row.isbgl}}</nobr>
315
- </td>
316
- </template>
317
- <template partial='foot'>
318
- </template>
319
- </data-grid>
320
- </criteria-paged>
321
-
322
- <table class="table-hover">
323
- <tr style="position: relative" class="table-bordered">
324
- <td
325
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
326
- 汇总信息
327
- </td>
328
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
329
- 表上余额合计&emsp;{{sumsmodel.f_balance_amount}}
330
- </td>
331
- </tr>
332
- </table>
333
-
334
- <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
335
- <!--<header slot="modal-header" class="modal-header text-center">-->
336
- <!--<h4 class="modal-title">打印列选择</h4>-->
337
- <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
338
- <!--<label for="f_generations" class="font-size">全选</label>-->
339
- <!--</header>-->
340
- <!--<article slot="modal-body">-->
341
- <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
342
- <!--<div class="col-sm-3" v-for="f in fields">-->
343
- <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
344
- <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
345
- <!--</div>-->
346
- <!--</div>-->
347
- <!--</article>-->
348
- <!--<footer slot="modal-footer" class="modal-footer">-->
349
- <!--<center>-->
350
- <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
351
- <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
352
- <!--<print-table :model='model' v-show="false" v-ref:print-->
353
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
354
- <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
355
- <!--:fields="modelval" :printpage="true">-->
356
- <!--</print-table>-->
357
- <!--</center>-->
358
- <!--</footer>-->
359
- <!--</modal>-->
360
- </div>
361
- <div v-if="show">
362
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
363
- </div>
364
- </div>
365
- </div>
366
- </div>
367
- </template>
368
-
369
- <script>ßß
370
- import {PagedList} from 'vue-client'
371
- import exportConfig from '../../../../components/sale/config/exportConfig'
372
-
373
- let readySomething = async function (self) {
374
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
375
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
376
- // await self.$refs.paged.$refs.cri.search()
377
- await self.$MagLoadParams.loadParam()
378
- self.initParams()
379
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
380
- }
381
-
382
- export default {
383
- data() {
384
- return {
385
- other:[],
386
- footer:[],
387
- model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
388
- criteriaShow: false,
389
- orgCondtionStr: '',
390
-
391
- modelval: [],
392
- printshow: false,
393
- all: false,
394
- fields: {},
395
- thead: '',
396
- tfoot: '',
397
- initres: {
398
- org:[this.$login.f.orgid],
399
- dep:[],
400
- user:[],
401
- },
402
- show:false,
403
- rowdata:{},
404
- meterbrands: [],
405
- // 气表型号
406
- meterstyle: {},
407
- pricenames: [],
408
- gasproperties:[],
409
- inputtouPerson: [],
410
- prices: [],
411
- //合计数据
412
- sumsmodel: {},
413
- f_filialeid: this.$login.f.f_orgid,
414
- }
415
- },
416
- ready() {
417
- readySomething(this).then(() => {
418
- this.$emit('ready')
419
- }).catch((error) => {
420
- this.$emit('error', error)
421
- })
422
- },
423
- methods: {
424
- getotherfooter () {
425
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
426
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
427
- this.other = [];
428
- this.footer = [];
429
- let exportdata = this.getCondition;
430
- let otherInData = [];
431
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
432
- let footerData = [], exportfield = this.getExportField;
433
- footerData.push("合计");
434
- let self = this;
435
- for (var field in self.sumsmodel) {
436
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
437
- }
438
- this.footer.push(footerData);
439
- this.other.push(otherInData);
440
- },
441
- search(){
442
- this.$refs.paged.$refs.cri.search()
443
- },
444
- cancel() {
445
- this.show = false
446
- },
447
- showmsg(obj){
448
- this.rowdata=obj
449
- this.show=true
450
- },
451
- selfSearch(args) {
452
- //抄表员查询条件
453
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
454
- if(this.inputtouPerson.length !== 0){
455
- let str = JSON.stringify(this.inputtouPerson)
456
- str = str.replace(/"/g,`'`)
457
- str = str.replace(/\[/g,``)
458
- str = str.replace(/\]/g,``)
459
- console.log("=====抄表员model22222222222绑定====",str)
460
- //查询多个抄表员时条件
461
- args.condition += ` and f_inputtor in ( ${str} )`
462
- }
463
- if (!this.orgCondtionStr) {
464
- args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
465
- } else {
466
- args.condition = `${args.condition}` + this.orgCondtionStr
467
- }
468
- this.model.search(args.condition, args.model)
469
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
470
- },
471
- clear() {
472
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
473
- this.$refs.paged.$refs.cri.model[key] = []
474
- })
475
- },
476
- hidden() {
477
- this.criteriaShow = !this.criteriaShow
478
- },
479
- getRes(condition) {
480
- this.orgCondtionStr = condition
481
- },
482
- stamp() {
483
- this.all = false
484
- //默认选择要打印的列
485
- this.modelval = defaultPrint.config
486
- this.fields = this.getfield
487
- console.log('所有打印字段', this.fields)
488
- this.printshow = true
489
- this.put()
490
- },
491
- put() {
492
- // 对Modelval进行排序
493
- this.sortModelval()
494
- this.thead = `<tr><th colspan=${this.modelval.length}>表具查询统计报表</th></tr><tr>`
495
- for (let key of this.modelval) {
496
- this.thead += '<th>' + this.fields[key] + '</th>'
497
- }
498
- this.thead += '</tr>'
499
- },
500
- print() {
501
- this.$refs.print.PrintAsFile()
502
- this.printshow = false
503
- },
504
- close() {
505
- this.printshow = false
506
- this.all = false
507
- },
508
- userTypeChange () {
509
- this.gasproperties=[]
510
- if(this.$refs.paged.$refs.cri.model !==null) {
511
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
512
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
513
- }
514
- else{
515
- this.gasproperties =[{label: '全部', value: ''}]
516
- }
517
- },
518
- initParams() {
519
- // 初始化气表品牌
520
- let brandArr = []
521
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
522
- let temp = {}
523
- temp.label = item.label
524
- temp.value = item.value.f_meter_brand
525
- brandArr.push(temp)
526
- // 取出对应气表型号
527
- let styleArr = []
528
- for (let row of item.value.gasmodel) {
529
- styleArr.push({label: row.label,value: row.value.f_meter_style})
530
- }
531
- this.meterstyle[temp.value] = styleArr
532
- })
533
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
534
- //初始化气表价格
535
- this.prices = this.$MagGetSaleParam.getPrices();
536
- },
537
- // 对选择的列进行排序
538
- sortModelval() {
539
- let sortModel = []
540
- Object.keys(this.fields).forEach((key) => {
541
- if (this.modelval.includes(key)) {
542
- sortModel.push(key)
543
- }
544
- })
545
- this.modelval = sortModel
546
- console.log('选择的打印的字段', this.modelval)
547
- },
548
- async updateParams() {
549
- await this.$MagLoadParams.loadParam(this.f_filialeid)
550
- this.initParams()
551
- },
552
- },
553
- watch: {
554
- 'all'(val) {
555
- if (val) {
556
- this.modelval = this.bodyData
557
- } else {
558
- this.modelval = defaultPrint.config
559
- this.put()
560
- }
561
- },
562
- sumsmodel:{
563
- handler: function(val) {
564
- this.getotherfooter();
565
- },
566
- deep: true
567
- },
568
- 'modelval.length'() {
569
- this.put()
570
- },
571
- 'orgCondtionStr'(val) {
572
- let res = val.match(/'(.*?)'/)
573
- console.log('正则提取:',res && res[1])
574
- if (res) {
575
- this.f_filialeid = res[1]
576
- this.updateParams()
577
- }
578
- }
579
- },
580
- computed: {
581
- authArr () {
582
- return this.$login.r ? this.$login.r : []
583
- },
584
-
585
- inputtores () {
586
- // 获取抄表员
587
- console.log('获取抄表员', this.$login.f)
588
- let rs = []
589
- if (this.$login.f.f_gasman.length > 0) {
590
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
591
- let temp = {
592
- label: this.$login.f.f_gasman[i].name,
593
- value: this.$login.f.f_gasman[i].name
594
- }
595
- rs.push(temp)
596
- }
597
- }
598
-
599
- return [{label: '全部', value: ''}, ...rs]
600
- },
601
-
602
- getPricenames() {
603
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
604
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
605
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
606
- // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
607
- if(this.$refs.paged.$refs.cri.model !==null) {
608
- let rs = []
609
- let priceArr = []
610
- if ( pricetype.length >0) {
611
- let params = {
612
- f_price_type: pricetype[0],
613
- filter: this.f_filialeid,
614
- prices: this.prices
615
- }
616
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
617
- let temp = {}
618
- temp.label = item.label
619
- temp.value = item.value.f_price_name
620
- priceArr.push(temp)
621
- })
622
- rs = [{label: '全部', value: ''}, ...priceArr]
623
- }
624
- if (rs.length === 0) {
625
- console.log('rs读出来是空')
626
- this.$refs.paged.$refs.cri.model.f_price_name = ''
627
- }
628
- return rs
629
- }
630
- },
631
- getCondition() {
632
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
633
- },
634
- getfield() {
635
- let data = {}
636
- this.bodyData.forEach((value, index) => {
637
- data[this.bodyData[index]] = this.headData[index]
638
- })
639
- //合计字段打印
640
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
641
- if (this.sumsmodel) {
642
- Object.keys(this.sumsmodel).forEach((key) => {
643
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
644
- })
645
- } else {
646
- this.tfoot += '暂无'
647
- }
648
- this.tfoot += '</th></tr>'
649
- return data
650
- },
651
- getExportField() {
652
- return exportConfig.meterConfig
653
- },
654
- areas() {
655
- let rs = []
656
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
657
- let temp = {
658
- label: this.$login.f.f_allArea[i].label,
659
- value: this.$login.f.f_allArea[i].label
660
- }
661
- rs.push(temp)
662
- }
663
- return [{label: '全部', value: ''}, ...rs]
664
- },
665
- sliceArea() {
666
- let rs = []
667
- if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
668
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
669
- if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
670
- rs = this.$login.f.f_allArea[i].value
671
- }
672
- }
673
- }
674
- return [{label: '全部', value: ''}, ...rs]
675
- },
676
- usertypes() {
677
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
678
- },
679
- // gasproperties() {
680
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
681
- // },
682
-
683
- metertypes() {
684
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
685
- },
686
- // meterbrands() {
687
- // let arr = []
688
- // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
689
- // let temp = {}
690
- // temp.label = item.label
691
- // temp.value = item.value.f_meter_brand
692
- // arr.push(temp)
693
- // })
694
- // return [{label: '全部', value: ''}, ...arr]
695
- // },
696
- pricetypes() {
697
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
698
- },
699
- tablestate() {
700
- return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
701
- },
702
- bgl(){
703
- return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
704
- },
705
- usergrade(){
706
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
707
- }
708
- }
709
- }
710
- </script>
711
- <style>
712
- .back-red{ /* 红色背景 */
713
- background-color: #F6C6CE;
714
- }
715
- .back-blue{ /* 蓝色背景 */
716
-
717
- }
718
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">客户编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code = '{}' " 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="meterQuery" template-name='表具查询导出'
36
+ :choose-col="true"></export-excel>
37
+
38
+
39
+
40
+ <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>
41
+ </div>
42
+ </div>
43
+ <div class="row" v-show="$parent.$parent.criteriaShow">
44
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">客户地址</label>
47
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
48
+ condition="f_address like '%{}%'" placeholder='客户地址'>
49
+ </div>
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
52
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
53
+ condition="f_meternumber like '%{}%'" placeholder='表号'>
54
+ </div>
55
+
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;卡号&nbsp;&nbsp;&nbsp;</label>
58
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
59
+ condition="f_card_id like '%{}%'" placeholder='卡号'>
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">抄&ensp;表&ensp;员</label>
63
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
64
+ style="width:60%"
65
+ :multiple="true"
66
+ :options='$parent.$parent.inputtores' placeholder='抄表员'
67
+ close-on-select
68
+ v-el:cc></v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label class="font_normal_body">客户类型</label>
72
+ <v-select :value.sync="model.f_user_type"
73
+ :options='$parent.$parent.usertypes'
74
+ @change="$parent.$parent.userTypeChange()"
75
+ placeholder='请选择' v-model="model.f_user_type"
76
+ condition="f_user_type = '{}'"
77
+ close-on-select></v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">用气性质</label>
81
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
82
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
83
+ condition="f_gasproperties = '{}'"
84
+ close-on-select></v-select>
85
+ </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">气价类型</label>
88
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
89
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
90
+ condition="f_price_type = '{}'"
91
+ close-on-select v-ref:type>
92
+ </v-select>
93
+ </div>
94
+ <div class="col-sm-2 form-group">
95
+ <label class="font_normal_body">气价名称</label>
96
+ <v-select :value.sync="model.f_price_name"
97
+ v-model="model.f_price_name"
98
+ :options="$parent.$parent.getPricenames"
99
+ placeholder='请选择'
100
+ condition="f_price_name = '{}'"
101
+ close-on-select></v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">气表分类</label>
105
+ <v-select :value.sync="model.f_meter_classify"
106
+ v-model="model.f_meter_classify"
107
+ :options='$parent.$parent.metertypes' placeholder='请选择'
108
+ condition="f_meter_classify = '{}'"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">气表品牌</label>
113
+ <v-select :value.sync="model.f_meter_brand"
114
+ v-model="model.f_meter_brand"
115
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
116
+ condition="f_meter_brand = '{}'"
117
+ close-on-select></v-select>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body">气表型号</label>
121
+ <v-select :value.sync="model.f_meter_style"
122
+ v-model="model.f_meter_style"
123
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
124
+ condition="f_meter_style = '{}'"
125
+ close-on-select></v-select>
126
+ </div>
127
+ <div class="col-sm-2 form-group">
128
+ <label class="font_normal_body">气表状态</label>
129
+ <v-select :value.sync="model.f_table_state"
130
+ v-model="model.f_table_state"
131
+ :options='$parent.$parent.tablestate' placeholder='请选择'
132
+ condition="f_table_state = '{}'"
133
+ close-on-select></v-select>
134
+ </div>
135
+ <div class="col-sm-2 form-group">
136
+ <label for="startDate" class="font_normal_body">建表日期</label>
137
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
138
+ v-model="model.startDate"
139
+ :value.sync="model.startDate"
140
+ :format="'yyyy-MM-dd'"
141
+ :show-reset-button="true"
142
+ condition="f_input_date >= '{} 00:00:00'">
143
+ </datepicker>
144
+ </div>
145
+ <div class="col-sm-2 form-group">
146
+ <label for="endDate" class="font_normal_body">建表日期</label>
147
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
148
+ v-model="model.endDate"
149
+ :value.sync="model.endDate"
150
+ :format="'yyyy-MM-dd'"
151
+ :show-reset-button="true"
152
+ condition="f_input_date <= '{} 23:59:59'">
153
+ </datepicker>
154
+ </div>
155
+ <div class="col-sm-2 form-group">
156
+ <label for="startDate" class="font_normal_body">通气日期</label>
157
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
158
+ v-model="model.startTQDate"
159
+ :value.sync="model.startTQDate"
160
+ :format="'yyyy-MM-dd'"
161
+ :show-reset-button="true"
162
+ condition="f_gas_date >= '{} 00:00:00'">
163
+ </datepicker>
164
+ </div>
165
+ <div class="col-sm-2 form-group">
166
+ <label for="endDate" class="font_normal_body">通气日期</label>
167
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
168
+ v-model="model.endTQDate"
169
+ :value.sync="model.endTQDate"
170
+ :format="'yyyy-MM-dd'"
171
+ :show-reset-button="true"
172
+ condition="f_gas_date <= '{} 23:59:59'">
173
+ </datepicker>
174
+ </div>
175
+ <div class="col-sm-2 form-group">
176
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
177
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
178
+ :options='$parent.$parent.bgl' placeholder='请选择'
179
+ condition="isbgl = '{}'"
180
+ close-on-select></v-select>
181
+ </div>
182
+ <div class="col-sm-2 form-group">
183
+ <label class="font_normal_body">用户等级</label>
184
+ <v-select :value.sync="model.f_user_grade"
185
+ v-model="model.f_user_grade"
186
+ :options='$parent.$parent.usergrade' placeholder='请选择'
187
+ condition="f_user_grade = '{}'"
188
+ close-on-select></v-select>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </criteria>
193
+
194
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
195
+ <template partial='head'>
196
+ <tr>
197
+ <th>
198
+ <nobr>客户编号</nobr>
199
+ </th>
200
+ <th>
201
+ <nobr>客户名称</nobr>
202
+ </th>
203
+ <th>
204
+ <nobr>客户电话</nobr>
205
+ </th>
206
+ <th>
207
+ <nobr>客户地址</nobr>
208
+ </th>
209
+ <th>
210
+ <nobr>表上余额</nobr>
211
+ </th>
212
+ <th>
213
+ <nobr>客户类型</nobr>
214
+ </th>
215
+ <th>
216
+ <nobr>用气性质</nobr>
217
+ </th>
218
+ <th>
219
+ <nobr>表号</nobr>
220
+ </th>
221
+ <th>
222
+ <nobr>卡号</nobr>
223
+ </th>
224
+ <th>
225
+ <nobr>气价名称</nobr>
226
+ </th>
227
+ <th>
228
+ <nobr>气价详情</nobr>
229
+ </th>
230
+ <th>
231
+ <nobr>气表品牌</nobr>
232
+ </th>
233
+ <th>
234
+ <nobr>气表型号</nobr>
235
+ </th>
236
+ <th>
237
+ <nobr>户管员</nobr>
238
+ </th>
239
+ <th>
240
+ <nobr>通气人</nobr>
241
+ </th>
242
+ <th>
243
+ <nobr>通气时间</nobr>
244
+ </th>
245
+ <th>
246
+ <nobr>建表时间</nobr>
247
+ </th>
248
+ <th>
249
+ <nobr>气表状态</nobr>
250
+ </th>
251
+ <th>
252
+ <nobr>是否壁挂炉</nobr>
253
+ </th>
254
+ </tr>
255
+ </template>
256
+ <template partial='body'>
257
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
258
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
259
+ </nobr> </td>
260
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
261
+ <nobr>{{row.f_user_name}}</nobr>
262
+ </td>
263
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
264
+ <nobr>{{row.f_user_phone}}</nobr>
265
+ </td>
266
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
267
+ <nobr>{{row.f_address}}</nobr>
268
+ </td>
269
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
270
+ <nobr>{{row.f_balance_amount}}</nobr>
271
+ </td>
272
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
273
+ <nobr>{{row.f_user_type}}</nobr>
274
+ </td>
275
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
276
+ <nobr>{{row.f_gasproperties}}</nobr>
277
+ </td>
278
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
279
+ <nobr>{{row.f_meternumber}}</nobr>
280
+ </td>
281
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
282
+ <nobr>{{row.f_card_id}}</nobr>
283
+ </td>
284
+
285
+
286
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
287
+ <nobr>{{row.f_price_name}}</nobr>
288
+ </td>
289
+ <th :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
290
+ <nobr>{{row.value}}</nobr>
291
+ </th>
292
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
293
+ <nobr>{{row.f_meter_brand}}</nobr>
294
+ </td>
295
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
296
+ <nobr>{{row.f_meter_style}}</nobr>
297
+ </td>
298
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
299
+ <nobr>{{row.f_inputtor}}</nobr>
300
+ </td>
301
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
302
+ <nobr>{{row.f_gas_person}}</nobr>
303
+ </td>
304
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
305
+ <nobr>{{row.f_gas_date}}</nobr>
306
+ </td>
307
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
308
+ <nobr>{{row.f_input_date}}</nobr>
309
+ </td>
310
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
311
+ <nobr>{{row.f_table_state}}</nobr>
312
+ </td>
313
+ <td :class="row.f_table_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
314
+ <nobr>{{row.isbgl}}</nobr>
315
+ </td>
316
+ </template>
317
+ <template partial='foot'>
318
+ </template>
319
+ </data-grid>
320
+ </criteria-paged>
321
+
322
+ <table class="table-hover">
323
+ <tr style="position: relative" class="table-bordered">
324
+ <td
325
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
326
+ 汇总信息
327
+ </td>
328
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
329
+ 表上余额合计&emsp;{{sumsmodel.f_balance_amount}}
330
+ </td>
331
+ </tr>
332
+ </table>
333
+
334
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
335
+ <!--<header slot="modal-header" class="modal-header text-center">-->
336
+ <!--<h4 class="modal-title">打印列选择</h4>-->
337
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
338
+ <!--<label for="f_generations" class="font-size">全选</label>-->
339
+ <!--</header>-->
340
+ <!--<article slot="modal-body">-->
341
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
342
+ <!--<div class="col-sm-3" v-for="f in fields">-->
343
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
344
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
345
+ <!--</div>-->
346
+ <!--</div>-->
347
+ <!--</article>-->
348
+ <!--<footer slot="modal-footer" class="modal-footer">-->
349
+ <!--<center>-->
350
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
351
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
352
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
353
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
354
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
355
+ <!--:fields="modelval" :printpage="true">-->
356
+ <!--</print-table>-->
357
+ <!--</center>-->
358
+ <!--</footer>-->
359
+ <!--</modal>-->
360
+ </div>
361
+ <div v-if="show">
362
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
363
+ </div>
364
+ </div>
365
+ </div>
366
+ </div>
367
+ </template>
368
+
369
+ <script>ßß
370
+ import {PagedList} from 'vue-client'
371
+ import exportConfig from '../../../../components/sale/config/exportConfig'
372
+
373
+ let readySomething = async function (self) {
374
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
375
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
376
+ // await self.$refs.paged.$refs.cri.search()
377
+ await self.$MagLoadParams.loadParam()
378
+ self.initParams()
379
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
380
+ }
381
+
382
+ export default {
383
+ data() {
384
+ return {
385
+ other:[],
386
+ footer:[],
387
+ model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
388
+ criteriaShow: false,
389
+ orgCondtionStr: '',
390
+
391
+ modelval: [],
392
+ printshow: false,
393
+ all: false,
394
+ fields: {},
395
+ thead: '',
396
+ tfoot: '',
397
+ initres: {
398
+ org:[this.$login.f.orgid],
399
+ dep:[],
400
+ user:[],
401
+ },
402
+ show:false,
403
+ rowdata:{},
404
+ meterbrands: [],
405
+ // 气表型号
406
+ meterstyle: {},
407
+ pricenames: [],
408
+ gasproperties:[],
409
+ inputtouPerson: [],
410
+ prices: [],
411
+ //合计数据
412
+ sumsmodel: {},
413
+ f_filialeid: this.$login.f.f_orgid,
414
+ }
415
+ },
416
+ ready() {
417
+ readySomething(this).then(() => {
418
+ this.$emit('ready')
419
+ }).catch((error) => {
420
+ this.$emit('error', error)
421
+ })
422
+ },
423
+ methods: {
424
+ getotherfooter () {
425
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
426
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
427
+ this.other = [];
428
+ this.footer = [];
429
+ let exportdata = this.getCondition;
430
+ let otherInData = [];
431
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
432
+ let footerData = [], exportfield = this.getExportField;
433
+ footerData.push("合计");
434
+ let self = this;
435
+ for (var field in self.sumsmodel) {
436
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
437
+ }
438
+ this.footer.push(footerData);
439
+ this.other.push(otherInData);
440
+ },
441
+ search(){
442
+ this.$refs.paged.$refs.cri.search()
443
+ },
444
+ cancel() {
445
+ this.show = false
446
+ },
447
+ showmsg(obj){
448
+ this.rowdata=obj
449
+ this.show=true
450
+ },
451
+ selfSearch(args) {
452
+ //抄表员查询条件
453
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
454
+ if(this.inputtouPerson.length !== 0){
455
+ let str = JSON.stringify(this.inputtouPerson)
456
+ str = str.replace(/"/g,`'`)
457
+ str = str.replace(/\[/g,``)
458
+ str = str.replace(/\]/g,``)
459
+ console.log("=====抄表员model22222222222绑定====",str)
460
+ //查询多个抄表员时条件
461
+ args.condition += ` and f_inputtor in ( ${str} )`
462
+ }
463
+ if (!this.orgCondtionStr) {
464
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
465
+ } else {
466
+ args.condition = `${args.condition}` + this.orgCondtionStr
467
+ }
468
+ this.model.search(args.condition, args.model)
469
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
470
+ },
471
+ clear() {
472
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
473
+ this.$refs.paged.$refs.cri.model[key] = []
474
+ })
475
+ },
476
+ hidden() {
477
+ this.criteriaShow = !this.criteriaShow
478
+ },
479
+ getRes(condition) {
480
+ this.orgCondtionStr = condition
481
+ },
482
+ stamp() {
483
+ this.all = false
484
+ //默认选择要打印的列
485
+ this.modelval = defaultPrint.config
486
+ this.fields = this.getfield
487
+ console.log('所有打印字段', this.fields)
488
+ this.printshow = true
489
+ this.put()
490
+ },
491
+ put() {
492
+ // 对Modelval进行排序
493
+ this.sortModelval()
494
+ this.thead = `<tr><th colspan=${this.modelval.length}>表具查询统计报表</th></tr><tr>`
495
+ for (let key of this.modelval) {
496
+ this.thead += '<th>' + this.fields[key] + '</th>'
497
+ }
498
+ this.thead += '</tr>'
499
+ },
500
+ print() {
501
+ this.$refs.print.PrintAsFile()
502
+ this.printshow = false
503
+ },
504
+ close() {
505
+ this.printshow = false
506
+ this.all = false
507
+ },
508
+ userTypeChange () {
509
+ this.gasproperties=[]
510
+ if(this.$refs.paged.$refs.cri.model !==null) {
511
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
512
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
513
+ }
514
+ else{
515
+ this.gasproperties =[{label: '全部', value: ''}]
516
+ }
517
+ },
518
+ initParams() {
519
+ // 初始化气表品牌
520
+ let brandArr = []
521
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
522
+ let temp = {}
523
+ temp.label = item.label
524
+ temp.value = item.value.f_meter_brand
525
+ brandArr.push(temp)
526
+ // 取出对应气表型号
527
+ let styleArr = []
528
+ for (let row of item.value.gasmodel) {
529
+ styleArr.push({label: row.label,value: row.value.f_meter_style})
530
+ }
531
+ this.meterstyle[temp.value] = styleArr
532
+ })
533
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
534
+ //初始化气表价格
535
+ this.prices = this.$MagGetSaleParam.getPrices();
536
+ },
537
+ // 对选择的列进行排序
538
+ sortModelval() {
539
+ let sortModel = []
540
+ Object.keys(this.fields).forEach((key) => {
541
+ if (this.modelval.includes(key)) {
542
+ sortModel.push(key)
543
+ }
544
+ })
545
+ this.modelval = sortModel
546
+ console.log('选择的打印的字段', this.modelval)
547
+ },
548
+ async updateParams() {
549
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
550
+ this.initParams()
551
+ },
552
+ },
553
+ watch: {
554
+ 'all'(val) {
555
+ if (val) {
556
+ this.modelval = this.bodyData
557
+ } else {
558
+ this.modelval = defaultPrint.config
559
+ this.put()
560
+ }
561
+ },
562
+ sumsmodel:{
563
+ handler: function(val) {
564
+ this.getotherfooter();
565
+ },
566
+ deep: true
567
+ },
568
+ 'modelval.length'() {
569
+ this.put()
570
+ },
571
+ 'orgCondtionStr'(val) {
572
+ let res = val.match(/'(.*?)'/)
573
+ console.log('正则提取:',res && res[1])
574
+ if (res) {
575
+ this.f_filialeid = res[1]
576
+ this.updateParams()
577
+ }
578
+ }
579
+ },
580
+ computed: {
581
+ authArr () {
582
+ return this.$login.r ? this.$login.r : []
583
+ },
584
+
585
+ inputtores () {
586
+ // 获取抄表员
587
+ console.log('获取抄表员', this.$login.f)
588
+ let rs = []
589
+ if (this.$login.f.f_gasman.length > 0) {
590
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
591
+ let temp = {
592
+ label: this.$login.f.f_gasman[i].name,
593
+ value: this.$login.f.f_gasman[i].name
594
+ }
595
+ rs.push(temp)
596
+ }
597
+ }
598
+
599
+ return [{label: '全部', value: ''}, ...rs]
600
+ },
601
+
602
+ getPricenames() {
603
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
604
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
605
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
606
+ // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
607
+ if(this.$refs.paged.$refs.cri.model !==null) {
608
+ let rs = []
609
+ let priceArr = []
610
+ if ( pricetype.length >0) {
611
+ let params = {
612
+ f_price_type: pricetype[0],
613
+ filter: this.f_filialeid,
614
+ prices: this.prices
615
+ }
616
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
617
+ let temp = {}
618
+ temp.label = item.label
619
+ temp.value = item.value.f_price_name
620
+ priceArr.push(temp)
621
+ })
622
+ rs = [{label: '全部', value: ''}, ...priceArr]
623
+ }
624
+ if (rs.length === 0) {
625
+ console.log('rs读出来是空')
626
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
627
+ }
628
+ return rs
629
+ }
630
+ },
631
+ getCondition() {
632
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
633
+ },
634
+ getfield() {
635
+ let data = {}
636
+ this.bodyData.forEach((value, index) => {
637
+ data[this.bodyData[index]] = this.headData[index]
638
+ })
639
+ //合计字段打印
640
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
641
+ if (this.sumsmodel) {
642
+ Object.keys(this.sumsmodel).forEach((key) => {
643
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
644
+ })
645
+ } else {
646
+ this.tfoot += '暂无'
647
+ }
648
+ this.tfoot += '</th></tr>'
649
+ return data
650
+ },
651
+ getExportField() {
652
+ return exportConfig.meterConfig
653
+ },
654
+ areas() {
655
+ let rs = []
656
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
657
+ let temp = {
658
+ label: this.$login.f.f_allArea[i].label,
659
+ value: this.$login.f.f_allArea[i].label
660
+ }
661
+ rs.push(temp)
662
+ }
663
+ return [{label: '全部', value: ''}, ...rs]
664
+ },
665
+ sliceArea() {
666
+ let rs = []
667
+ if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
668
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
669
+ if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
670
+ rs = this.$login.f.f_allArea[i].value
671
+ }
672
+ }
673
+ }
674
+ return [{label: '全部', value: ''}, ...rs]
675
+ },
676
+ usertypes() {
677
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
678
+ },
679
+ // gasproperties() {
680
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
681
+ // },
682
+
683
+ metertypes() {
684
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
685
+ },
686
+ // meterbrands() {
687
+ // let arr = []
688
+ // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
689
+ // let temp = {}
690
+ // temp.label = item.label
691
+ // temp.value = item.value.f_meter_brand
692
+ // arr.push(temp)
693
+ // })
694
+ // return [{label: '全部', value: ''}, ...arr]
695
+ // },
696
+ pricetypes() {
697
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
698
+ },
699
+ tablestate() {
700
+ return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
701
+ },
702
+ bgl(){
703
+ return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
704
+ },
705
+ usergrade(){
706
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
707
+ }
708
+ }
709
+ }
710
+ </script>
711
+ <style>
712
+ .back-red{ /* 红色背景 */
713
+ background-color: #F6C6CE;
714
+ }
715
+ .back-blue{ /* 蓝色背景 */
716
+
717
+ }
718
+ </style>