manage-client 3.2.5 → 3.2.9

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 (467) 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 +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/AmountGas.vue +257 -257
  164. package/src/components/SellReport/BankManager.vue +146 -146
  165. package/src/components/SellReport/BonSummary.vue +244 -244
  166. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  167. package/src/components/SellReport/BusinessReport.vue +256 -256
  168. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  169. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  170. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  171. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  172. package/src/components/SellReport/ChOtherfee.vue +251 -251
  173. package/src/components/SellReport/ChSellReport.vue +251 -251
  174. package/src/components/SellReport/ChargeBill.vue +244 -244
  175. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  176. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  177. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  178. package/src/components/SellReport/CollectFee.vue +184 -184
  179. package/src/components/SellReport/Contrast.vue +188 -188
  180. package/src/components/SellReport/DayStairMoney.vue +256 -256
  181. package/src/components/SellReport/DeptHomePage.vue +299 -299
  182. package/src/components/SellReport/FenxiangSell.vue +183 -183
  183. package/src/components/SellReport/FxGasTable.vue +220 -220
  184. package/src/components/SellReport/GasCollect.vue +174 -174
  185. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  186. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  187. package/src/components/SellReport/GasSummary.vue +257 -257
  188. package/src/components/SellReport/Gasc.vue +257 -257
  189. package/src/components/SellReport/GaspriceHas.vue +141 -141
  190. package/src/components/SellReport/GetUserNum.vue +240 -240
  191. package/src/components/SellReport/HandCollect.vue +189 -189
  192. package/src/components/SellReport/HandplanBili.vue +241 -241
  193. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  194. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  195. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  196. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  197. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  198. package/src/components/SellReport/ManageBusTable.vue +207 -207
  199. package/src/components/SellReport/ManageGasFee.vue +247 -247
  200. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  201. package/src/components/SellReport/ManageGasPrice.vue +241 -241
  202. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  203. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  204. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  205. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  206. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  207. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  208. package/src/components/SellReport/ManageReceivable.vue +254 -254
  209. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  210. package/src/components/SellReport/MeterBill.vue +185 -185
  211. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  212. package/src/components/SellReport/MeterInput.vue +250 -250
  213. package/src/components/SellReport/MeterPrice.vue +244 -244
  214. package/src/components/SellReport/MeterReader.vue +231 -231
  215. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  216. package/src/components/SellReport/NonResidentGas.vue +244 -244
  217. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  218. package/src/components/SellReport/OutletTable.vue +258 -258
  219. package/src/components/SellReport/OweAging.vue +174 -174
  220. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  221. package/src/components/SellReport/PaymentMethod.vue +274 -274
  222. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  223. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  224. package/src/components/SellReport/ReportHistory.vue +80 -80
  225. package/src/components/SellReport/ReportPool.vue +60 -60
  226. package/src/components/SellReport/SellDepReport.vue +266 -266
  227. package/src/components/SellReport/Selling.vue +188 -188
  228. package/src/components/SellReport/SiteManager.vue +147 -147
  229. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  230. package/src/components/SellReport/UserSellingGas.vue +251 -251
  231. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  232. package/src/components/SellReport/UsertypePie.vue +101 -101
  233. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  234. package/src/components/SellReport/XianYangDate.vue +227 -227
  235. package/src/components/SellReport/XianYangOperator.vue +228 -228
  236. package/src/components/SellReport/XyDateCharge.vue +227 -227
  237. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  238. package/src/components/SellReport/YuShouTable.vue +298 -298
  239. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  240. package/src/components/SellReport/chargeSchedule.vue +410 -410
  241. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  242. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  243. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  244. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  245. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  246. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  247. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  248. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  249. package/src/components/SellReport/userholds.vue +257 -257
  250. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  251. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  252. package/src/components/WebReport/BatteryLow.vue +148 -148
  253. package/src/components/WebReport/BusinessHall.vue +85 -85
  254. package/src/components/WebReport/BussinessType.vue +137 -137
  255. package/src/components/WebReport/Communication.vue +131 -131
  256. package/src/components/WebReport/CompanyUser.vue +79 -79
  257. package/src/components/WebReport/EchartsBox.vue +110 -110
  258. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  259. package/src/components/WebReport/GaspriceHas.vue +141 -141
  260. package/src/components/WebReport/HandplanPrint.vue +167 -167
  261. package/src/components/WebReport/NotUpload.vue +165 -165
  262. package/src/components/WebReport/OweQuery.vue +169 -169
  263. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  264. package/src/components/WebReport/Paymentpie.vue +157 -157
  265. package/src/components/WebReport/ReportWorklist.vue +220 -220
  266. package/src/components/WebReport/SellType.vue +89 -89
  267. package/src/components/WebReport/Telemanlist.vue +221 -221
  268. package/src/components/WebReport/UserGasAll.vue +214 -214
  269. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  270. package/src/components/WebReport/UsertypePie.vue +105 -105
  271. package/src/components/WebReport/ValueEcharts.vue +99 -99
  272. package/src/components/WebReport/ValueInfo.vue +194 -194
  273. package/src/components/qinhua/BarChartLine.vue +288 -288
  274. package/src/components/qinhua/ManageMain.vue +162 -162
  275. package/src/components/qinhua/Ring.vue +165 -165
  276. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  277. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  278. package/src/components/qinhua/Scada.vue +93 -93
  279. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  280. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  281. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  282. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  283. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  284. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  285. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  286. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  287. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  288. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  289. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  290. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  291. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  292. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  293. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  294. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  295. package/src/components/sale/common/PrintData.vue +171 -171
  296. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  297. package/src/components/sale/common/PrintTable.vue +228 -228
  298. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  299. package/src/components/sale/common/TabButton.vue +155 -155
  300. package/src/components/sale/common/Tabs.vue +67 -67
  301. package/src/components/sale/common/handplanUser.vue +112 -112
  302. package/src/components/sale/config/DefaultPrint.js +6 -6
  303. package/src/components/sale/config/tableConfig.js +48 -48
  304. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  305. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  306. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  307. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  308. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  309. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  310. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  311. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  312. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  313. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  314. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  315. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  316. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  317. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  318. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  319. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  320. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  321. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  322. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  323. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  324. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  325. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  326. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  327. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  328. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  329. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  330. package/src/components/sale/report/aode/DayReport.vue +50 -50
  331. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  332. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  333. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  334. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  335. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  336. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  337. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  338. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  339. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  340. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  341. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  342. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  343. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  344. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  345. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  346. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  347. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  348. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  349. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  350. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  351. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  352. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  353. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  354. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  355. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  356. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  357. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  358. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  359. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  360. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  361. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  362. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  363. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  364. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  365. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  366. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  367. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  368. package/src/components/webmeter/DrillData/UserGasAll.vue +6 -7
  369. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  370. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  371. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  372. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  373. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  374. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  375. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  376. package/src/components/webmeter/instruction/NewQueryInstruct.vue +10 -12
  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/NewExceptionEform.vue +149 -149
  380. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  381. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  382. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -0
  383. package/src/components/webmeter/report/ReportList.vue +14 -13
  384. package/src/components/yulin/GuanWang.vue +24 -24
  385. package/src/components/yulin/SingleBarLine.vue +352 -352
  386. package/src/components/yulin/Weather.vue +157 -157
  387. package/src/expandcss.less +26 -26
  388. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  389. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  390. package/src/filiale/WEINAN/config/tableConfig.js +2 -0
  391. package/src/filiale/aode/ArchivesManage.vue +38 -38
  392. package/src/filiale/aode/BusinessManage.vue +94 -94
  393. package/src/filiale/aode/DefaultPrint.js +6 -6
  394. package/src/filiale/aode/HandplanQuery.vue +632 -632
  395. package/src/filiale/aode/Tabs.vue +67 -67
  396. package/src/filiale/aode/UserQuery.vue +599 -599
  397. package/src/filiale/aode/sale.js +17 -17
  398. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  399. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  400. package/src/filiale/ceshi/CollectManage.vue +94 -94
  401. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  402. package/src/filiale/ceshi/TabButton.vue +149 -149
  403. package/src/filiale/ceshi/Tabs.vue +69 -69
  404. package/src/filiale/ceshi/reportManage.js +5 -5
  405. package/src/filiale/ceshi/sale.js +11 -11
  406. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  407. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  408. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  409. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  410. package/src/filiale/liaoyuan/sale.js +11 -11
  411. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  412. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  413. package/src/filiale/qingtongxia/sale.js +13 -13
  414. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  415. package/src/filiale/shaoguan/RecordInfoQuery.vue +87 -79
  416. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  417. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  418. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  419. package/src/filiale/shennongjia/sale.js +10 -10
  420. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  421. package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
  422. package/src/filiale/wuhai/sale.js +10 -0
  423. package/src/main.js +1 -1
  424. package/src/plugins/GetLoginInfoService.js +505 -505
  425. package/src/plugins/LodopFuncs.js +124 -124
  426. package/src/plugins/getAllInputtor.js +29 -29
  427. package/src/safeCheck.js +63 -63
  428. package/src/stores/AppData.js +62 -62
  429. package/src/stores/DataSql.js +585 -585
  430. package/src/stores/DrillECharts.js +602 -602
  431. package/src/stores/DrillSql.js +888 -888
  432. package/src/stores/GetParames.js +15 -15
  433. package/src/stores/MagGetSaleParams.js +156 -156
  434. package/src/stores/MagLoadParams.js +63 -63
  435. package/src/stores/Util.js +132 -132
  436. package/src/stores/shanxi1.js +26 -26
  437. package/src/stores/yulin.js +27 -27
  438. package/src/webmeterManage.js +105 -105
  439. package/static/china.json +1 -1
  440. package/static/qh.json +2410 -2410
  441. package/static/res.json +58411 -58411
  442. package/static/shanxi1.json +1 -1
  443. package/static/yulin.json +1 -1
  444. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  445. package/test/unit/.eslintrc +5 -5
  446. package/test/unit/TestUtil.js +35 -35
  447. package/test/unit/context.html +20 -20
  448. package/test/unit/index.js +13 -13
  449. package/test/unit/init.js +11 -11
  450. package/test/unit/karma.conf.js +45 -45
  451. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  452. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  453. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  454. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  455. package/webstorm.config.js +13 -13
  456. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  457. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  458. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  459. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  460. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  461. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  462. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  463. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  464. package/.gradle/7.1/gc.properties +0 -0
  465. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  466. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  467. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -1,521 +1,521 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
-
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 for="startDate" class="font_normal_body">开始日期</label>
12
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
- v-model="model.startDate"
14
- :value.sync="model.startDate"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="true"
17
- condition="f_operate_date >= '{}'">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="true"
27
- condition="f_operate_date <= '{}'">
28
- </datepicker>
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户编号</label>
32
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
- </div>
35
- <div class="col-sm-2 form-group">
36
- <label class="font_normal_body">客户名称</label>
37
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
- condition="f_user_name like '%{}%'" placeholder="客户名称">
39
- </div>
40
-
41
- <div class="span" style="float:right;">
42
- <button class="button_search button_spacing" @click="search()">查询</button>
43
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
-
46
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
- sqlurl="rs/logic/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
49
- :choose-col="true"></export-excel>
50
- <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>
51
- </div>
52
- </div>
53
-
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">客户地址</label>
58
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
59
- condition="f_address like '%{}%'" placeholder='客户地址'>
60
- </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">收费类型</label>
63
- <v-select v-model="model.f_brand_spec"
64
- placeholder='请选择'
65
- condition="f_brand_spec = '{}'"
66
- :value.sync="model.f_brand_spec"
67
- :options='$parent.$parent.chargetype'
68
- @change="$parent.$parent.setTypename"
69
- close-on-select clear-button></v-select>
70
- </div>
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">品名规格</label>
73
- <v-select v-model="model.f_typename"
74
- placeholder='请选择'
75
- condition="f_typename = '{}'"
76
- :value.sync="model.f_typename"
77
- :options='$parent.$parent.typeNameList'
78
- @change="$parent.$parent.setTypenumber"
79
- close-on-select clear-button>
80
- </v-select>
81
- </div>
82
- <div class="col-sm-2 form-group">
83
- <label class="font_normal_body">型&emsp;&emsp;号</label>
84
- <v-select v-model="model.f_typenumber"
85
- placeholder='请选择'
86
- condition="f_typenumber = '{}'"
87
- :value.sync="model.f_typenumber"
88
- :options='$parent.$parent.typenumberList'
89
- close-on-select clear-button>
90
- </v-select>
91
- </div>
92
- <div class="col-sm-2 form-group">
93
- <label class="font_normal_body">用户类型</label>
94
- <v-select id="f_user_type"
95
- v-model="model.f_user_type"
96
- placeholder='请选择'
97
- condition="f_user_type ='{}'"
98
- :value.sync="model.f_user_type"
99
- @change="$parent.$parent.userTypeChange(model.f_user_type)"
100
- :options='$parent.$parent.userTypes'
101
- close-on-select clear-button></v-select>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">用气性质</label>
105
- <v-select id="f_gasproperties"
106
- v-model="model.f_gasproperties"
107
- placeholder='请选择'
108
- condition="f_gasproperties ='{}'"
109
- :value.sync="model.f_gasproperties"
110
- :options='$parent.$parent.gasproperties'
111
- close-on-select clear-button></v-select>
112
- </div>
113
- <div class="col-sm-2 form-group">
114
- <label class="font_normal_body">收费状态</label>
115
- <v-select id="f_state"
116
- v-model="model.f_state"
117
- placeholder='请选择'
118
- condition="f_state ='{}'"
119
- :value.sync="model.f_state"
120
- :options='$parent.$parent.chargeState'
121
- close-on-select clear-button>
122
- </v-select>
123
- </div>
124
-
125
- <div class="col-sm-2 form-group">
126
- <label class="font_normal_body">付款方式</label>
127
- <v-select id="f_payment"
128
- v-model="model.f_payment"
129
- placeholder='请选择'
130
- condition="f_payment ='{}'"
131
- :value.sync="model.f_payment"
132
- :options='$parent.$parent.payments'
133
- close-on-select clear-button>
134
- </v-select>
135
- </div>
136
- <div class="col-sm-2 form-group">
137
- <label class="font_normal_body">服务人员</label>
138
- <v-select id="f_service_person"
139
- v-model="model.f_service_person"
140
- placeholder='请选择'
141
- condition="f_service_person ='{}'"
142
- :value.sync="model.f_service_person"
143
- :options='$parent.$parent.service_person'
144
- close-on-select clear-button>
145
- </v-select>
146
- </div>
147
- </div>
148
- </div>
149
- </criteria>
150
-
151
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
152
- <template partial='head'>
153
- <tr>
154
- <th>
155
- <nobr>收费类型</nobr>
156
- </th>
157
- <th>
158
- <nobr>状态</nobr>
159
- </th>
160
- <th>
161
- <nobr>备注</nobr>
162
- </th>
163
- <th>
164
- <nobr>补打次数</nobr>
165
- </th>
166
- <th>
167
- <nobr>客户编号</nobr>
168
- </th>
169
- <th>
170
- <nobr>客户名称</nobr>
171
- </th>
172
- <th>
173
- <nobr>客户地址</nobr>
174
- </th>
175
- <th>
176
- <nobr>规格</nobr>
177
- </th>
178
- <th>
179
- <nobr>型号</nobr>
180
- </th>
181
- <th>
182
- <nobr>单价</nobr>
183
- </th>
184
- <th>
185
- <nobr>数量</nobr>
186
- </th>
187
- <th>
188
- <nobr>金额</nobr>
189
- </th>
190
- <th>
191
- <nobr>付款方式</nobr>
192
- </th>
193
- <th>
194
- <nobr>收费日期</nobr>
195
- </th>
196
- <th>
197
- <nobr>部门</nobr>
198
- </th>
199
- </tr>
200
- </template>
201
- <template partial='body'>
202
- <td style="text-align: center;">
203
- <nobr>{{row.f_brand_spec}}</nobr>
204
- </td>
205
- <td style="text-align: center;">
206
- <nobr>{{row.f_state}}</nobr>
207
- </td>
208
- <td style="text-align: center;">
209
- <nobr>{{row.f_comments}}</nobr>
210
- </td>
211
- <td style="text-align: center;">
212
- <nobr>{{row.filltimes}}</nobr>
213
- </td>
214
- <td style="text-align: center;"><nobr>
215
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
216
- </nobr> </td>
217
- <td style="text-align: center;">
218
- <nobr>{{row.f_user_name}}</nobr>
219
- </td>
220
- <td style="text-align: center;">
221
- <nobr>{{row.f_address}}</nobr>
222
- </td>
223
- <td style="text-align: center;">
224
- <nobr>{{row.f_typename}}</nobr>
225
- </td>
226
- <td style="text-align: center;">
227
- <nobr>{{row.f_typenumber}}</nobr>
228
- </td>
229
- <td style="text-align: center;">
230
- <nobr>{{row.f_unitprice}}</nobr>
231
- </td>
232
- <td style="text-align: center;">
233
- <nobr>{{row.f_number}}</nobr>
234
- </td>
235
- <td style="text-align: center;">
236
- <nobr>{{row.f_collection}}</nobr>
237
- </td>
238
- <td style="text-align: center;">
239
- <nobr>{{row.f_payment}}</nobr>
240
- </td>
241
- <td style="text-align: center;">
242
- <nobr>{{row.f_operate_date}}</nobr>
243
- </td>
244
- <td style="text-align: center;">
245
- <nobr>{{row.f_depname}}</nobr>
246
- </td>
247
- </template>
248
- <template partial='foot'></template>
249
- </data-grid>
250
-
251
- </criteria-paged>
252
-
253
- <table class="table-hover">
254
- <tr style="position: relative" class="table-bordered">
255
- <td
256
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
257
- 汇总信息
258
- </td>
259
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
260
- 收款合计:&emsp;{{sumsmodel.f_money}}
261
- </td>
262
- </tr>
263
- </table>
264
-
265
- </div>
266
- <div v-if="show">
267
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
268
- </div>
269
- </div>
270
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
271
- <article slot="modal-body">
272
- <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="收费" :isremark="false" style="width:auto" ></upload>
273
- </article>
274
- <footer slot="modal-footer" class="modal-footer">
275
- </footer>
276
- </modal>
277
- </div>
278
-
279
- <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
280
- <article slot="modal-body" class="modal-body">
281
- <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
282
- </article>
283
- <footer slot="modal-footer" class="modal-footer">
284
- </footer>
285
- </modal>
286
-
287
- </template>
288
-
289
- <script>
290
- import {PagedList} from 'vue-client'
291
- import defaultPrint from '../../components/sale/config/DefaultPrint'
292
- import exportConfig from '../../components/sale/config/exportConfig'
293
- import OtherChargeDetailQuery from "../../components/sale/businessquery/OtherChargeDetailQuery";
294
-
295
- let readySomething = async function (self) {
296
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
297
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
298
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
299
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
300
- // await self.$refs.paged.$refs.cri.search()
301
- await self.$MagLoadParams.loadParam()
302
-
303
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
304
- }
305
- export default {
306
- components: {
307
- OtherChargeDetailQuery
308
- },
309
- props:['data'],
310
- title: '其他收费查询',
311
- data() {
312
- return {
313
- data: {},
314
- other:[],
315
- footer:[],
316
- model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
317
- criteriaShow: false,
318
- orgCondtionStr: '',
319
- modelval: [],
320
- printshow: false,
321
- all: false,
322
- fields: {},
323
- thead: '',
324
- tfoot: '',
325
- initres: {
326
- org:[this.$login.f.orgid],
327
- dep:[],
328
- user:[],
329
- },
330
- show:false,
331
- showdetail:false,
332
- otherchargeid:'',
333
- rowdata:{},
334
- //合计数据
335
- sumsmodel: {},
336
- showupload:false,
337
- selected:{},
338
- // 用气性质
339
- gasproperties: [],
340
- // 品名规格
341
- typeNameList: [],
342
- // 型号
343
- typenumberList: []
344
- }
345
- },
346
- ready() {
347
- readySomething(this).then(() => {
348
- this.$emit('ready')
349
- }).catch((error) => {
350
- this.$emit('error', error)
351
- })
352
- },
353
- methods: {
354
- showmsg(obj){
355
- this.rowdata=obj
356
- this.show=true
357
- },
358
- view(row){
359
- this.showupload = true
360
- this.selected= row
361
- },
362
- getotherfooter(){
363
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
364
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
365
- this.other=[];
366
- this.footer=[];
367
- let exportdata = this.getCondition;
368
- let otherInData=[];
369
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
370
- let footerData=[],exportfield=this.getfield;
371
- footerData.push("合计");
372
- let self = this;
373
- for(var field in self.sumsmodel){
374
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
375
- }
376
- this.footer.push(footerData);
377
- this.other.push(otherInData);
378
- },
379
- search(){
380
- this.$refs.paged.$refs.cri.search()
381
- },
382
- selfSearch(args) {
383
- if (this.data) {
384
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
385
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
386
- }
387
- args.condition = `${args.condition}` + this.orgCondtionStr
388
- this.model.search(args.condition, args.model)
389
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
- },
391
- clear() {
392
- //清空部门和人员
393
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
394
- //部门和人员变为全选
395
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
396
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
397
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
398
- this.$refs.paged.$refs.cri.model[key] = []
399
- })
400
- },
401
- show() {
402
- this.criteriaShow = true
403
- },
404
- hidden() {
405
- this.criteriaShow = !this.criteriaShow
406
- },
407
- getRes(obj) {
408
- this.orgCondtionStr = obj
409
- },
410
- cancel() {
411
- this.show = false
412
- },
413
- dealmsg(val) {
414
- console.log('---------------dealmsg')
415
- this.rowdata=val
416
- this.show=true
417
- val.model = this.model.model
418
- this.$dispatch('deal-msg', val)
419
- },
420
- stamp() {
421
- this.all = false
422
- //默认选择要打印的列
423
- this.modelval = defaultPrint.config
424
- this.fields = this.getfield
425
- console.log('所有打印字段', this.fields)
426
- this.printshow = true
427
- this.put()
428
- },
429
- put() {
430
- // 对Modelval进行排序
431
- this.sortModelval()
432
- this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
433
- for (let key of this.modelval) {
434
- this.thead += '<th>' + this.fields[key] + '</th>'
435
- }
436
- this.thead += '</tr>'
437
- },
438
- print() {
439
- this.$refs.print.PrintAsFile()
440
- this.printshow = false
441
- },
442
- close() {
443
- this.printshow = false
444
- this.all = false
445
- },
446
- // 对选择的列进行排序
447
- sortModelval() {
448
- let sortModel = []
449
- Object.keys(this.fields).forEach((key) => {
450
- if (this.modelval.includes(key)) {
451
- sortModel.push(key)
452
- }
453
- })
454
- this.modelval = sortModel
455
- console.log('选择的打印的字段', this.modelval)
456
- },
457
- showchargedetail(row){
458
- this.showdetail=true
459
- this.otherchargeid=row.id
460
- },
461
- userTypeChange (f_user_type) {
462
- this.gasproperties = []
463
- if (f_user_type) {
464
- this.$refs.paged.$refs.cri.model.f_gasproperties = ''
465
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
466
- } else {
467
- this.gasproperties = [{label: '全部', value: ''}]
468
- }
469
- },
470
- setTypename (val) {
471
- this.typenumberList = []
472
- this.typeNameList = this.$appdata.getParam(val)
473
- },
474
- setTypenumber (val) {
475
- this.typenumberList = this.$appdata.getParam(val)
476
- }
477
- },
478
- watch: {
479
- 'all'(val) {
480
- if (val) {
481
- this.modelval = this.bodyData
482
- } else {
483
- this.modelval = defaultPrint.config
484
- this.put()
485
- }
486
- },
487
- 'modelval.length'() {
488
- this.put()
489
- },
490
- sumsmodel:{
491
- handler: function(val) {
492
- this.getotherfooter();
493
- },
494
- deep: true
495
- }
496
- },
497
- computed: {
498
- getCondition() {
499
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
500
- },
501
- service_person() {
502
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
503
- },
504
- getfield() {
505
- return exportConfig.otherchargeConfig
506
- },
507
- chargetype() {
508
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
509
- },
510
- userTypes() {
511
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
512
- },
513
- chargeState() {
514
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
515
- },
516
- payments() {
517
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
518
- }
519
- }
520
- }
521
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+
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 for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ condition="f_operate_date >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ condition="f_operate_date <= '{}'">
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">客户名称</label>
37
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
38
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
39
+ </div>
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
+
46
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
+ sqlurl="rs/logic/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
49
+ :choose-col="true"></export-excel>
50
+ <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>
51
+ </div>
52
+ </div>
53
+
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">客户地址</label>
58
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
59
+ condition="f_address like '%{}%'" placeholder='客户地址'>
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">收费类型</label>
63
+ <v-select v-model="model.f_brand_spec"
64
+ placeholder='请选择'
65
+ condition="f_brand_spec = '{}'"
66
+ :value.sync="model.f_brand_spec"
67
+ :options='$parent.$parent.chargetype'
68
+ @change="$parent.$parent.setTypename"
69
+ close-on-select clear-button></v-select>
70
+ </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">品名规格</label>
73
+ <v-select v-model="model.f_typename"
74
+ placeholder='请选择'
75
+ condition="f_typename = '{}'"
76
+ :value.sync="model.f_typename"
77
+ :options='$parent.$parent.typeNameList'
78
+ @change="$parent.$parent.setTypenumber"
79
+ close-on-select clear-button>
80
+ </v-select>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body">型&emsp;&emsp;号</label>
84
+ <v-select v-model="model.f_typenumber"
85
+ placeholder='请选择'
86
+ condition="f_typenumber = '{}'"
87
+ :value.sync="model.f_typenumber"
88
+ :options='$parent.$parent.typenumberList'
89
+ close-on-select clear-button>
90
+ </v-select>
91
+ </div>
92
+ <div class="col-sm-2 form-group">
93
+ <label class="font_normal_body">用户类型</label>
94
+ <v-select id="f_user_type"
95
+ v-model="model.f_user_type"
96
+ placeholder='请选择'
97
+ condition="f_user_type ='{}'"
98
+ :value.sync="model.f_user_type"
99
+ @change="$parent.$parent.userTypeChange(model.f_user_type)"
100
+ :options='$parent.$parent.userTypes'
101
+ close-on-select clear-button></v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">用气性质</label>
105
+ <v-select id="f_gasproperties"
106
+ v-model="model.f_gasproperties"
107
+ placeholder='请选择'
108
+ condition="f_gasproperties ='{}'"
109
+ :value.sync="model.f_gasproperties"
110
+ :options='$parent.$parent.gasproperties'
111
+ close-on-select clear-button></v-select>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">收费状态</label>
115
+ <v-select id="f_state"
116
+ v-model="model.f_state"
117
+ placeholder='请选择'
118
+ condition="f_state ='{}'"
119
+ :value.sync="model.f_state"
120
+ :options='$parent.$parent.chargeState'
121
+ close-on-select clear-button>
122
+ </v-select>
123
+ </div>
124
+
125
+ <div class="col-sm-2 form-group">
126
+ <label class="font_normal_body">付款方式</label>
127
+ <v-select id="f_payment"
128
+ v-model="model.f_payment"
129
+ placeholder='请选择'
130
+ condition="f_payment ='{}'"
131
+ :value.sync="model.f_payment"
132
+ :options='$parent.$parent.payments'
133
+ close-on-select clear-button>
134
+ </v-select>
135
+ </div>
136
+ <div class="col-sm-2 form-group">
137
+ <label class="font_normal_body">服务人员</label>
138
+ <v-select id="f_service_person"
139
+ v-model="model.f_service_person"
140
+ placeholder='请选择'
141
+ condition="f_service_person ='{}'"
142
+ :value.sync="model.f_service_person"
143
+ :options='$parent.$parent.service_person'
144
+ close-on-select clear-button>
145
+ </v-select>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ </criteria>
150
+
151
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
152
+ <template partial='head'>
153
+ <tr>
154
+ <th>
155
+ <nobr>收费类型</nobr>
156
+ </th>
157
+ <th>
158
+ <nobr>状态</nobr>
159
+ </th>
160
+ <th>
161
+ <nobr>备注</nobr>
162
+ </th>
163
+ <th>
164
+ <nobr>补打次数</nobr>
165
+ </th>
166
+ <th>
167
+ <nobr>客户编号</nobr>
168
+ </th>
169
+ <th>
170
+ <nobr>客户名称</nobr>
171
+ </th>
172
+ <th>
173
+ <nobr>客户地址</nobr>
174
+ </th>
175
+ <th>
176
+ <nobr>规格</nobr>
177
+ </th>
178
+ <th>
179
+ <nobr>型号</nobr>
180
+ </th>
181
+ <th>
182
+ <nobr>单价</nobr>
183
+ </th>
184
+ <th>
185
+ <nobr>数量</nobr>
186
+ </th>
187
+ <th>
188
+ <nobr>金额</nobr>
189
+ </th>
190
+ <th>
191
+ <nobr>付款方式</nobr>
192
+ </th>
193
+ <th>
194
+ <nobr>收费日期</nobr>
195
+ </th>
196
+ <th>
197
+ <nobr>部门</nobr>
198
+ </th>
199
+ </tr>
200
+ </template>
201
+ <template partial='body'>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.f_brand_spec}}</nobr>
204
+ </td>
205
+ <td style="text-align: center;">
206
+ <nobr>{{row.f_state}}</nobr>
207
+ </td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_comments}}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{row.filltimes}}</nobr>
213
+ </td>
214
+ <td style="text-align: center;"><nobr>
215
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
216
+ </nobr> </td>
217
+ <td style="text-align: center;">
218
+ <nobr>{{row.f_user_name}}</nobr>
219
+ </td>
220
+ <td style="text-align: center;">
221
+ <nobr>{{row.f_address}}</nobr>
222
+ </td>
223
+ <td style="text-align: center;">
224
+ <nobr>{{row.f_typename}}</nobr>
225
+ </td>
226
+ <td style="text-align: center;">
227
+ <nobr>{{row.f_typenumber}}</nobr>
228
+ </td>
229
+ <td style="text-align: center;">
230
+ <nobr>{{row.f_unitprice}}</nobr>
231
+ </td>
232
+ <td style="text-align: center;">
233
+ <nobr>{{row.f_number}}</nobr>
234
+ </td>
235
+ <td style="text-align: center;">
236
+ <nobr>{{row.f_collection}}</nobr>
237
+ </td>
238
+ <td style="text-align: center;">
239
+ <nobr>{{row.f_payment}}</nobr>
240
+ </td>
241
+ <td style="text-align: center;">
242
+ <nobr>{{row.f_operate_date}}</nobr>
243
+ </td>
244
+ <td style="text-align: center;">
245
+ <nobr>{{row.f_depname}}</nobr>
246
+ </td>
247
+ </template>
248
+ <template partial='foot'></template>
249
+ </data-grid>
250
+
251
+ </criteria-paged>
252
+
253
+ <table class="table-hover">
254
+ <tr style="position: relative" class="table-bordered">
255
+ <td
256
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
257
+ 汇总信息
258
+ </td>
259
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
260
+ 收款合计:&emsp;{{sumsmodel.f_money}}
261
+ </td>
262
+ </tr>
263
+ </table>
264
+
265
+ </div>
266
+ <div v-if="show">
267
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
268
+ </div>
269
+ </div>
270
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
271
+ <article slot="modal-body">
272
+ <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="收费" :isremark="false" style="width:auto" ></upload>
273
+ </article>
274
+ <footer slot="modal-footer" class="modal-footer">
275
+ </footer>
276
+ </modal>
277
+ </div>
278
+
279
+ <modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
280
+ <article slot="modal-body" class="modal-body">
281
+ <other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
282
+ </article>
283
+ <footer slot="modal-footer" class="modal-footer">
284
+ </footer>
285
+ </modal>
286
+
287
+ </template>
288
+
289
+ <script>
290
+ import {PagedList} from 'vue-client'
291
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
292
+ import exportConfig from '../../components/sale/config/exportConfig'
293
+ import OtherChargeDetailQuery from "../../components/sale/businessquery/OtherChargeDetailQuery";
294
+
295
+ let readySomething = async function (self) {
296
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
297
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
298
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
299
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
300
+ // await self.$refs.paged.$refs.cri.search()
301
+ await self.$MagLoadParams.loadParam()
302
+
303
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
304
+ }
305
+ export default {
306
+ components: {
307
+ OtherChargeDetailQuery
308
+ },
309
+ props:['data'],
310
+ title: '其他收费查询',
311
+ data() {
312
+ return {
313
+ data: {},
314
+ other:[],
315
+ footer:[],
316
+ model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
317
+ criteriaShow: false,
318
+ orgCondtionStr: '',
319
+ modelval: [],
320
+ printshow: false,
321
+ all: false,
322
+ fields: {},
323
+ thead: '',
324
+ tfoot: '',
325
+ initres: {
326
+ org:[this.$login.f.orgid],
327
+ dep:[],
328
+ user:[],
329
+ },
330
+ show:false,
331
+ showdetail:false,
332
+ otherchargeid:'',
333
+ rowdata:{},
334
+ //合计数据
335
+ sumsmodel: {},
336
+ showupload:false,
337
+ selected:{},
338
+ // 用气性质
339
+ gasproperties: [],
340
+ // 品名规格
341
+ typeNameList: [],
342
+ // 型号
343
+ typenumberList: []
344
+ }
345
+ },
346
+ ready() {
347
+ readySomething(this).then(() => {
348
+ this.$emit('ready')
349
+ }).catch((error) => {
350
+ this.$emit('error', error)
351
+ })
352
+ },
353
+ methods: {
354
+ showmsg(obj){
355
+ this.rowdata=obj
356
+ this.show=true
357
+ },
358
+ view(row){
359
+ this.showupload = true
360
+ this.selected= row
361
+ },
362
+ getotherfooter(){
363
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
364
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
365
+ this.other=[];
366
+ this.footer=[];
367
+ let exportdata = this.getCondition;
368
+ let otherInData=[];
369
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
370
+ let footerData=[],exportfield=this.getfield;
371
+ footerData.push("合计");
372
+ let self = this;
373
+ for(var field in self.sumsmodel){
374
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
375
+ }
376
+ this.footer.push(footerData);
377
+ this.other.push(otherInData);
378
+ },
379
+ search(){
380
+ this.$refs.paged.$refs.cri.search()
381
+ },
382
+ selfSearch(args) {
383
+ if (this.data) {
384
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
385
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
386
+ }
387
+ args.condition = `${args.condition}` + this.orgCondtionStr
388
+ this.model.search(args.condition, args.model)
389
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
+ },
391
+ clear() {
392
+ //清空部门和人员
393
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
394
+ //部门和人员变为全选
395
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
396
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
397
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
398
+ this.$refs.paged.$refs.cri.model[key] = []
399
+ })
400
+ },
401
+ show() {
402
+ this.criteriaShow = true
403
+ },
404
+ hidden() {
405
+ this.criteriaShow = !this.criteriaShow
406
+ },
407
+ getRes(obj) {
408
+ this.orgCondtionStr = obj
409
+ },
410
+ cancel() {
411
+ this.show = false
412
+ },
413
+ dealmsg(val) {
414
+ console.log('---------------dealmsg')
415
+ this.rowdata=val
416
+ this.show=true
417
+ val.model = this.model.model
418
+ this.$dispatch('deal-msg', val)
419
+ },
420
+ stamp() {
421
+ this.all = false
422
+ //默认选择要打印的列
423
+ this.modelval = defaultPrint.config
424
+ this.fields = this.getfield
425
+ console.log('所有打印字段', this.fields)
426
+ this.printshow = true
427
+ this.put()
428
+ },
429
+ put() {
430
+ // 对Modelval进行排序
431
+ this.sortModelval()
432
+ this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
433
+ for (let key of this.modelval) {
434
+ this.thead += '<th>' + this.fields[key] + '</th>'
435
+ }
436
+ this.thead += '</tr>'
437
+ },
438
+ print() {
439
+ this.$refs.print.PrintAsFile()
440
+ this.printshow = false
441
+ },
442
+ close() {
443
+ this.printshow = false
444
+ this.all = false
445
+ },
446
+ // 对选择的列进行排序
447
+ sortModelval() {
448
+ let sortModel = []
449
+ Object.keys(this.fields).forEach((key) => {
450
+ if (this.modelval.includes(key)) {
451
+ sortModel.push(key)
452
+ }
453
+ })
454
+ this.modelval = sortModel
455
+ console.log('选择的打印的字段', this.modelval)
456
+ },
457
+ showchargedetail(row){
458
+ this.showdetail=true
459
+ this.otherchargeid=row.id
460
+ },
461
+ userTypeChange (f_user_type) {
462
+ this.gasproperties = []
463
+ if (f_user_type) {
464
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
465
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
466
+ } else {
467
+ this.gasproperties = [{label: '全部', value: ''}]
468
+ }
469
+ },
470
+ setTypename (val) {
471
+ this.typenumberList = []
472
+ this.typeNameList = this.$appdata.getParam(val)
473
+ },
474
+ setTypenumber (val) {
475
+ this.typenumberList = this.$appdata.getParam(val)
476
+ }
477
+ },
478
+ watch: {
479
+ 'all'(val) {
480
+ if (val) {
481
+ this.modelval = this.bodyData
482
+ } else {
483
+ this.modelval = defaultPrint.config
484
+ this.put()
485
+ }
486
+ },
487
+ 'modelval.length'() {
488
+ this.put()
489
+ },
490
+ sumsmodel:{
491
+ handler: function(val) {
492
+ this.getotherfooter();
493
+ },
494
+ deep: true
495
+ }
496
+ },
497
+ computed: {
498
+ getCondition() {
499
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
500
+ },
501
+ service_person() {
502
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
503
+ },
504
+ getfield() {
505
+ return exportConfig.otherchargeConfig
506
+ },
507
+ chargetype() {
508
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
509
+ },
510
+ userTypes() {
511
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
512
+ },
513
+ chargeState() {
514
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
515
+ },
516
+ payments() {
517
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
518
+ }
519
+ }
520
+ }
521
+ </script>