manage-client 3.2.33 → 3.2.37

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 (466) 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 -176
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/LineChart.vue +243 -243
  30. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  31. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  32. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  33. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  34. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  35. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  36. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  37. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  38. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  39. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  40. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  41. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  42. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  43. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  44. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  45. package/src/components/ManageHome/Home/Home.vue +138 -138
  46. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  47. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  48. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  49. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  50. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  51. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  52. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  53. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  54. package/src/components/ManageHome/ManageHome.vue +292 -292
  55. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  56. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  57. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  58. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  59. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  60. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  61. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  62. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  63. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  64. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  65. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  66. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  67. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  68. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  69. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  70. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  71. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  72. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  73. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  74. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  75. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  76. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  77. package/src/components/ManageHome/User/UseHome.vue +155 -155
  78. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  79. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  80. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  81. package/src/components/ManageHome/loading.vue +23 -23
  82. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  83. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  84. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  85. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  86. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  87. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  88. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  89. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  90. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  91. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  92. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  93. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  94. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  95. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  96. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  97. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  98. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  99. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  100. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  101. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  102. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  103. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  104. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  105. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  106. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  107. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  108. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  109. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  110. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  111. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  112. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  113. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  114. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  115. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  116. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  117. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  118. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  119. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  120. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  121. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  122. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  123. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  124. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  125. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  126. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  127. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  128. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  129. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  130. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  131. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  132. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  133. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  134. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  135. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  136. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  137. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  138. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  139. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  140. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  141. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  142. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  143. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  144. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  145. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  146. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  147. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  148. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  149. package/src/components/ManageHomeCS/loading.vue +39 -39
  150. package/src/components/ManageHomeCS/test.vue +88 -88
  151. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  152. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  153. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  154. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  155. package/src/components/MeterManage/HandQuery.vue +72 -72
  156. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  157. package/src/components/MeterManage/MeterList.vue +336 -336
  158. package/src/components/MeterManage/MeterMsg.vue +181 -181
  159. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  160. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  161. package/src/components/MeterManage/TransferQuery.vue +72 -72
  162. package/src/components/SellReport/BankManager.vue +146 -146
  163. package/src/components/SellReport/BonSummary.vue +178 -178
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/ChargePrick.vue +205 -205
  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/FenxiangSell.vue +183 -183
  174. package/src/components/SellReport/FxGasTable.vue +220 -220
  175. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  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 +219 -219
  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 +176 -176
  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 +203 -203
  198. package/src/components/SellReport/OutletTable.vue +258 -258
  199. package/src/components/SellReport/OweAging.vue +174 -174
  200. package/src/components/SellReport/QibiaoShouqi.vue +242 -242
  201. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  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 +153 -153
  205. package/src/components/SellReport/Selling.vue +188 -188
  206. package/src/components/SellReport/SellingTable.vue +220 -220
  207. package/src/components/SellReport/SiteManager.vue +147 -147
  208. package/src/components/SellReport/UserSellingGas.vue +228 -228
  209. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  210. package/src/components/SellReport/UsertypePie.vue +101 -101
  211. package/src/components/SellReport/XianYangDate.vue +227 -227
  212. package/src/components/SellReport/XianYangOperator.vue +228 -228
  213. package/src/components/SellReport/XyDateCharge.vue +227 -227
  214. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  215. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  216. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  217. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  218. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  219. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  220. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  221. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  222. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  223. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  224. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  225. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  226. package/src/components/WebReport/BatteryLow.vue +148 -148
  227. package/src/components/WebReport/BusinessHall.vue +85 -85
  228. package/src/components/WebReport/BussinessType.vue +137 -137
  229. package/src/components/WebReport/Communication.vue +131 -131
  230. package/src/components/WebReport/CompanyUser.vue +79 -79
  231. package/src/components/WebReport/EchartsBox.vue +110 -110
  232. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  233. package/src/components/WebReport/GaspriceHas.vue +141 -141
  234. package/src/components/WebReport/HandplanPrint.vue +167 -167
  235. package/src/components/WebReport/NotUpload.vue +165 -165
  236. package/src/components/WebReport/OweQuery.vue +169 -169
  237. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  238. package/src/components/WebReport/Paymentpie.vue +157 -157
  239. package/src/components/WebReport/ReportWorklist.vue +220 -220
  240. package/src/components/WebReport/SellType.vue +89 -89
  241. package/src/components/WebReport/Telemanlist.vue +221 -221
  242. package/src/components/WebReport/UserGasAll.vue +214 -214
  243. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  244. package/src/components/WebReport/UsertypePie.vue +105 -105
  245. package/src/components/WebReport/ValueEcharts.vue +99 -99
  246. package/src/components/WebReport/ValueInfo.vue +194 -194
  247. package/src/components/daping/GMap.vue +636 -636
  248. package/src/components/qinhua/BarChartLine.vue +288 -288
  249. package/src/components/qinhua/ManageMain.vue +162 -162
  250. package/src/components/qinhua/Ring.vue +165 -165
  251. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  252. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  253. package/src/components/qinhua/Scada.vue +93 -93
  254. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  255. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  256. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  257. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  258. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  259. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  260. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  261. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  262. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  263. package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -0
  264. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  265. package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1245
  266. package/src/components/sale/businessquery/CollectManage.vue +3 -0
  267. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  268. package/src/components/sale/businessquery/InspectListUser.vue +412 -412
  269. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  270. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  271. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  272. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  273. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  274. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  275. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  276. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  277. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  278. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  279. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  280. package/src/components/sale/businessquery/usergas.vue +311 -311
  281. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  282. package/src/components/sale/common/PrintData.vue +171 -171
  283. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  284. package/src/components/sale/common/PrintTable.vue +228 -228
  285. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  286. package/src/components/sale/common/TabButton.vue +155 -155
  287. package/src/components/sale/common/Tabs.vue +67 -67
  288. package/src/components/sale/common/handplanUser.vue +112 -112
  289. package/src/components/sale/config/DefaultPrint.js +6 -6
  290. package/src/components/sale/config/exportConfig.js +3 -0
  291. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  292. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  293. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  294. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  295. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  296. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  297. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  298. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  299. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  300. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  301. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  302. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  303. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  304. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  305. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  306. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  307. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  308. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  309. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  310. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  311. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  312. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  313. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  314. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  315. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  316. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  317. package/src/components/sale/report/aode/DayReport.vue +50 -50
  318. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  319. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  320. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  321. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  322. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  323. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  324. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  325. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  326. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  327. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  328. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  329. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  330. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  331. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  332. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  333. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  334. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  335. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  336. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  337. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  338. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  339. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  340. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  341. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  342. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  343. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  344. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  345. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  346. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  347. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  348. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  349. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  350. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  351. package/src/components/statistical/DendrogramManage.vue +36 -1
  352. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  353. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  354. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  355. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  356. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  357. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  358. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  359. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  360. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  361. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  362. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  363. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  364. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  365. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  366. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  367. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  368. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  369. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  370. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  371. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  372. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  373. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  374. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  375. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  376. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  377. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  378. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  379. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  380. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  381. package/src/components/yulin/GuanWang.vue +24 -24
  382. package/src/components/yulin/SingleBarLine.vue +352 -352
  383. package/src/components/yulin/Weather.vue +157 -157
  384. package/src/expandcss.less +26 -26
  385. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  386. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  387. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  388. package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
  389. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  390. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  391. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  392. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  393. package/src/filiale/WEINAN/reportManage.js +12 -12
  394. package/src/filiale/WEINAN/sale.js +36 -36
  395. package/src/filiale/alashan/reportManage.js +10 -10
  396. package/src/filiale/aode/ArchivesManage.vue +38 -38
  397. package/src/filiale/aode/BusinessManage.vue +94 -94
  398. package/src/filiale/aode/DefaultPrint.js +6 -6
  399. package/src/filiale/aode/HandplanQuery.vue +632 -632
  400. package/src/filiale/aode/Tabs.vue +67 -67
  401. package/src/filiale/aode/UserQuery.vue +599 -599
  402. package/src/filiale/aode/sale.js +17 -17
  403. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  404. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  405. package/src/filiale/ceshi/CollectManage.vue +94 -94
  406. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  407. package/src/filiale/ceshi/TabButton.vue +149 -149
  408. package/src/filiale/ceshi/Tabs.vue +69 -69
  409. package/src/filiale/ceshi/reportManage.js +5 -5
  410. package/src/filiale/ceshi/sale.js +11 -11
  411. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  412. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  413. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  414. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  415. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  416. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  417. package/src/filiale/liaoyuan/sale.js +11 -11
  418. package/src/filiale/macheng/MeterQuery.vue +921 -921
  419. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  420. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  421. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  422. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  423. package/src/filiale/qingtongxia/sale.js +13 -13
  424. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  425. package/src/filiale/rongchuang/reportManage.js +11 -11
  426. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  427. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  428. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  429. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  430. package/src/filiale/shennongjia/sale.js +10 -10
  431. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  432. package/src/filiale/tongchuan/reportManage.js +5 -5
  433. package/src/main.js +2 -2
  434. package/src/plugins/GetLoginInfoService.js +505 -505
  435. package/src/plugins/LodopFuncs.js +124 -124
  436. package/src/plugins/getAllInputtor.js +29 -29
  437. package/src/safeCheck.js +63 -63
  438. package/src/saleManage.js +4 -0
  439. package/src/stores/AppData.js +62 -62
  440. package/src/stores/DataSql.js +585 -585
  441. package/src/stores/DrillECharts.js +602 -602
  442. package/src/stores/DrillSql.js +888 -888
  443. package/src/stores/GetParames.js +15 -15
  444. package/src/stores/MagGetSaleParams.js +156 -156
  445. package/src/stores/MagLoadParams.js +63 -63
  446. package/src/stores/Util.js +132 -132
  447. package/src/stores/shanxi1.js +26 -26
  448. package/src/stores/yulin.js +27 -27
  449. package/static/china.json +1 -1
  450. package/static/qh.json +2410 -2410
  451. package/static/res.json +58411 -58411
  452. package/static/shanxi1.json +1 -1
  453. package/static/wuhai.json +1610 -1610
  454. package/static/yulin.json +1 -1
  455. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  456. package/test/unit/.eslintrc +5 -5
  457. package/test/unit/TestUtil.js +35 -35
  458. package/test/unit/context.html +20 -20
  459. package/test/unit/index.js +13 -13
  460. package/test/unit/init.js +11 -11
  461. package/test/unit/karma.conf.js +45 -45
  462. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  463. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  464. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  465. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  466. package/webstorm.config.js +13 -13
@@ -1,504 +1,504 @@
1
- <template>
2
- <div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
3
- <div class="basic-main">
4
- <div class="flex">
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 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_input_date >= '{}'">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label 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_input_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"
47
- :field="$parent.$parent.getfield"
48
- :footer="$parent.$parent.footer"
49
- :header="$parent.$parent.other"
50
- sqlurl="rs/logic/exportfile"
51
- sql-name="getExpectGasListExcel"
52
- template-name='气费应收账款导出'
53
- :choose-col="true"></export-excel>
54
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
55
- :defaultfield="$parent.$parent.defaultfield"
56
- titletable="气费应收账款"
57
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
58
-
59
- <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>
60
- </div>
61
- </div>
62
- <div class="row" v-show="$parent.$parent.criteriaShow">
63
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">客户电话</label>
66
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
67
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
68
- </div>
69
- <div class="col-sm-2 form-group">
70
- <label class="font_normal_body">客户地址</label>
71
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
72
- condition="f_address like '%{}%'" placeholder='客户地址'>
73
- </div>
74
- <!--表册片区-->
75
- <div class="col-sm-2 form-group">
76
- <label class="font_normal_body">表册片区</label>
77
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
78
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
79
- style="width:60%"
80
- close-on-select
81
- condition="f_book_slice_area = '{}'"></v-select>
82
- </div>
83
- </div>
84
- </div>
85
- </criteria>
86
-
87
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
88
- <template partial='head'>
89
- <tr><th rowspan=2><nobr>月份</nobr></th>
90
- <th rowspan=2><nobr>公司</nobr></th>
91
- <th colspan="4"><nobr>户数</nobr></th>
92
- <th rowspan=2><nobr>冲正户数</nobr></th>
93
- <th rowspan=2><nobr>小计</nobr></th>
94
- <th colspan="4"><nobr>用气量</nobr></th>
95
- <th rowspan=2><nobr>冲正气量</nobr></th>
96
- <th rowspan=2><nobr>小计</nobr></th>
97
- <th colspan="4"><nobr>用气金额</nobr></th>
98
- <th rowspan=2><nobr>冲正金额</nobr></th>
99
- <th rowspan=2><nobr>小计</nobr></th>
100
- </tr>
101
- <tr>
102
- <th>
103
- <nobr>工业</nobr>
104
- </th>
105
- <th>
106
- <nobr>民用</nobr>
107
- </th>
108
- <th>
109
- <nobr>集体</nobr>
110
- </th>
111
- <th>
112
- <nobr>商业</nobr>
113
- </th>
114
- <th>
115
- <nobr>工业</nobr>
116
- </th>
117
- <th>
118
- <nobr>民用</nobr>
119
- </th>
120
- <th>
121
- <nobr>集体</nobr>
122
- </th>
123
- <th>
124
- <nobr>商业</nobr>
125
- </th>
126
- <th>
127
- <nobr>工业</nobr>
128
- </th>
129
- <th>
130
- <nobr>民用</nobr>
131
- </th>
132
- <th>
133
- <nobr>集体</nobr>
134
- </th>
135
- <th>
136
- <nobr>商业</nobr>
137
- </th>
138
- </tr>
139
-
140
- </template>
141
- <template partial='body'>
142
- <td style="text-align: center;"><nobr>
143
- <span ><a>{{row.f_month}}</a></span>
144
- </nobr> </td>
145
- <td style="text-align: center;"><nobr>
146
- <span ><a>{{row.f_orgname}}</a></span>
147
- </nobr> </td>
148
- <td style="text-align: center;">
149
- <nobr>{{row.f_gy_num}}</nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_my_num}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_jt_num}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{row.f_sy_num}}</nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr>{{row.f_old_num}}</nobr>
162
- </td>
163
-
164
- <td style="text-align: center;">
165
- <nobr>{{row.f_sum_num}}</nobr>
166
- </td>
167
-
168
- <td style="text-align: center;">
169
- <nobr>{{row.f_gy_gas}}</nobr>
170
- </td>
171
- <td style="text-align: center;">
172
- <nobr>{{row.f_my_gas}}</nobr>
173
- </td>
174
- <td style="text-align: center;">
175
- <nobr>{{row.f_jt_gas}}</nobr>
176
- </td>
177
- <td style="text-align: center;">
178
- <nobr>{{row.f_sy_gas}}</nobr>
179
- </td>
180
- <td style="text-align: center;">
181
- <nobr>{{row.f_old_gas}}</nobr>
182
- </td>
183
- <td style="text-align: center;">
184
- <nobr>{{row.f_sum_gas}}</nobr>
185
- </td>
186
-
187
- <td style="text-align: center;">
188
- <nobr>{{row.f_gy_account}}</nobr>
189
- </td>
190
- <td style="text-align: center;">
191
- <nobr>{{row.f_my_account}}</nobr>
192
- </td>
193
- <td style="text-align: center;">
194
- <nobr>{{row.f_jt_account}}</nobr>
195
- </td>
196
- <td style="text-align: center;">
197
- <nobr>{{row.f_sy_account}}</nobr>
198
- </td>
199
- <td style="text-align: center;">
200
- <nobr>{{row.f_old_fee}}</nobr>
201
- </td>
202
- <td style="text-align: center;">
203
- <nobr>{{row.f_sum_account}}</nobr>
204
- </td>
205
- </template>
206
- <template partial='foot'>
207
- <td style="text-align: center;background-color: mistyrose" colspan="2"><nobr>
208
- <span >合计</span>
209
- </nobr> </td>
210
- <td style="text-align: center;background-color: mistyrose">
211
- <nobr>{{model.sums.f_gy_num}}</nobr>
212
- </td>
213
- <td style="text-align: center;background-color: mistyrose">
214
- <nobr>{{model.sums.f_my_num}}</nobr>
215
- </td>
216
- <td style="text-align: center;background-color: mistyrose">
217
- <nobr>{{model.sums.f_jt_num}}</nobr>
218
- </td>
219
- <td style="text-align: center;background-color: mistyrose">
220
- <nobr>{{model.sums.f_sy_num}}</nobr>
221
- </td>
222
- <td style="text-align: center;background-color: mistyrose">
223
- <nobr>{{model.sums.f_old_num}}</nobr>
224
- </td>
225
-
226
- <td style="text-align: center;background-color: mistyrose">
227
- <nobr>{{model.sums.f_sum_num}}</nobr>
228
- </td>
229
-
230
- <td style="text-align: center;background-color: mistyrose">
231
- <nobr>{{model.sums.f_gy_gas}}</nobr>
232
- </td>
233
- <td style="text-align: center;background-color: mistyrose">
234
- <nobr>{{model.sums.f_my_gas}}</nobr>
235
- </td>
236
- <td style="text-align: center;background-color: mistyrose">
237
- <nobr>{{model.sums.f_jt_gas}}</nobr>
238
- </td>
239
- <td style="text-align: center;background-color: mistyrose">
240
- <nobr>{{model.sums.f_sy_gas}}</nobr>
241
- </td>
242
- <td style="text-align: center;background-color: mistyrose">
243
- <nobr>{{model.sums.f_old_gas}}</nobr>
244
- </td>
245
- <td style="text-align: center;background-color: mistyrose">
246
- <nobr>{{model.sums.f_sum_gas}}</nobr>
247
- </td>
248
-
249
- <td style="text-align: center;background-color: mistyrose">
250
- <nobr>{{model.sums.f_gy_account}}</nobr>
251
- </td>
252
- <td style="text-align: center;background-color: mistyrose">
253
- <nobr>{{model.sums.f_my_account}}</nobr>
254
- </td>
255
- <td style="text-align: center;background-color: mistyrose">
256
- <nobr>{{model.sums.f_jt_account}}</nobr>
257
- </td>
258
- <td style="text-align: center;background-color: mistyrose">
259
- <nobr>{{model.sums.f_sy_account}}</nobr>
260
- </td>
261
- <td style="text-align: center;background-color: mistyrose">
262
- <nobr>{{model.sums.f_old_fee}}</nobr>
263
- </td>
264
- <td style="text-align: center;background-color: mistyrose">
265
- <nobr>{{model.sums.f_sum_account}}</nobr>
266
- </td>
267
- </template>
268
- </data-grid>
269
- </criteria-paged>
270
-
271
- </div>
272
- </div>
273
- </div>
274
- </template>
275
-
276
- <script>
277
- import {HttpResetClass, PagedList} from 'vue-client'
278
- import defaultPrint from '../../config/DefaultPrint'
279
- import exportConfig from '../../config/exportConfig'
280
-
281
- let readySomething = async function (self) {
282
-
283
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
284
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
285
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
286
- }
287
- export default {
288
- title: '气费应收账款汇总',
289
- data() {
290
- return {
291
- data: {},
292
- other:[],
293
- //默认打印列
294
- defaultfield: [],
295
- config: {
296
- defaultPrint: ['f_gy_gas', 'f_sum_gas', 'f_sum_num', 'f_my_gas']
297
- },
298
- footer:[],
299
- model: new PagedList('rs/sql/getExpectGasListExcel', 20,{id: 'this.model.id'},{
300
- f_gy_num:0,f_my_num:0,f_jt_num:0,f_sy_num:0,f_old_num:0,f_sum_num:0,
301
- f_gy_gas:0,f_my_gas:0,f_jt_gas:0,f_sy_gas:0,f_old_gas:0,f_sum_gas:0,
302
- f_gy_account:0,f_my_account:0,f_jt_account:0,f_sy_account:0,f_old_fee:0,f_sum_account:0
303
- }),
304
- sumsmodel:{},
305
- criteriaShow: false,
306
- orgCondtionStr: '',
307
- modelval: [],
308
- printshow: false,
309
- all: false,
310
- fields: {},
311
- //表册片区
312
- bookSlice:[{label: '全部',value: ''}],
313
- initres: {
314
- org:[this.$login.f.orgid],
315
- dep:[],
316
- user:[],
317
- },
318
- thead: '',
319
- tfoot: '',
320
-
321
- // tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
322
-
323
-
324
- }
325
- },
326
- ready() {
327
- readySomething(this)
328
- },
329
- methods: {
330
- getotherfooter(){
331
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
332
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
333
- this.other=[];
334
- this.footer=[];
335
- let exportdata = this.getCondition;
336
- let otherInData=[];
337
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
338
- let footerData=[],exportfield=this.getfield;
339
- footerData.push("合计");
340
- let self =this;
341
- for(var field in self.sumsmodel){
342
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
343
- }
344
- this.footer.push(footerData);
345
- this.other.push(otherInData);
346
- },
347
- search(){
348
- // this.$refs.paged.$refs.cri.search()
349
- },
350
-
351
-
352
- selfSearch(args) {
353
- args.condition = `${args.condition}` + this.orgCondtionStr
354
- args.model.id = this.$login.f.id
355
- new HttpResetClass().load('POST','rs/logic/getExpectGasListLogic',{condition: args.condition,id: args.model.id}).then(res =>{
356
- this.model.search(args.condition, args.model)
357
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
358
- })
359
-
360
- // console.log('this.model====>>>>', this.model)
361
- },
362
- clear() {
363
- //清空部门和人员
364
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
365
- //部门和人员变为全选
366
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
367
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
368
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
369
- this.$refs.paged.$refs.cri.model[key] = []
370
- })
371
- },
372
- show() {
373
- this.criteriaShow = true
374
- },
375
- hidden() {
376
- this.criteriaShow = !this.criteriaShow
377
- },
378
- getRes(obj) {
379
- console.log(obj,"========")
380
- this.orgCondtionStr = obj
381
- },
382
- stamp() {
383
- this.all = false
384
- //默认选择要打印的列
385
- this.modelval = defaultPrint.config
386
- this.fields = this.getfield
387
- console.log('所有打印字段', this.fields)
388
- this.printshow = true
389
- this.put()
390
- },
391
- dealmsg(val) {
392
- console.log('---------------dealmsg')
393
- val.model = this.model.model
394
- this.$dispatch('deal-msg', val)
395
- },
396
- put() {
397
- // 对Modelval进行排序
398
- this.sortModelval()
399
- this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
400
- for (let key of this.modelval) {
401
- this.thead += '<th>' + this.fields[key] + '</th>'
402
- }
403
- this.thead += '</tr>'
404
- },
405
- print() {
406
- this.$refs.print.PrintAsFile()
407
- this.printshow = false
408
- },
409
- close() {
410
- this.printshow = false
411
- this.all = false
412
- },
413
- // 对选择的列进行排序
414
- sortModelval() {
415
- let sortModel = []
416
- Object.keys(this.fields).forEach((key) => {
417
- if (this.modelval.includes(key)) {
418
- sortModel.push(key)
419
- }
420
- })
421
- this.modelval = sortModel
422
- console.log('选择的打印的字段', this.modelval)
423
- },
424
- async updateParams() {
425
- await this.$MagLoadParams.loadParam(this.f_filialeid)
426
- this.inputtores = [];
427
- this.inputtores.push({label: "全部", value: ""})
428
- this.initSlice(this.f_filialeid)
429
- if(this.allorgid!=null){
430
- this.allorgid.forEach((res)=>{
431
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
432
- })
433
- }
434
- },
435
- //初始化片区
436
- async initSlice (val) {
437
- if (val) {
438
- let getAllArea = await this.$resetpost('/rs/search', {
439
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
440
- userid: this.$login.f.id
441
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
442
- let arr = getAllArea.data.filter((res) => {
443
- return res.parentid == val
444
- })
445
- this.bookSlice = []
446
- console.log('过滤之后的片区-------------------', arr)
447
- arr.forEach((res) => {
448
- this.bookSlice.push({label: res.name, value: res.name})
449
- })
450
- }
451
- },
452
- },
453
-
454
- watch: {
455
- 'all'(val) {
456
- if (val) {
457
- this.modelval = this.bodyData
458
- } else {
459
- this.modelval = defaultPrint.config
460
- this.put()
461
- }
462
- },
463
- 'modelval.length'() {
464
- this.put()
465
- },
466
- sumsmodel:{
467
- handler: function(val) {
468
- this.getotherfooter();
469
- },
470
- deep: true
471
- },
472
- 'orgCondtionStr'(val) {
473
- this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
474
- let res = val.match(/'(.*?)'/)
475
- console.log('正则提取:',res && res[1])
476
- if (res) {
477
- this.f_filialeid = res[1]
478
- if(res.input !=null){
479
- let resorgid = res.input.substring(res.input.indexOf("'"));
480
- if(resorgid!= null && resorgid!=''){
481
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
482
- // resorgid = resorgid.replaceAll("'","");
483
- resorgid = resorgid.replace(/'/g,"");
484
- this.allorgid = resorgid.split(",")
485
- }
486
- }
487
- this.updateParams()
488
- }
489
- },
490
- },
491
- computed: {
492
- getCondition() {
493
- return {
494
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
495
- id: this.$refs.paged.$refs.cri.model.id
496
- }
497
- },
498
- getfield() {
499
- return exportConfig.expectgasConfig
500
- }
501
-
502
- }
503
- }
504
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
3
+ <div class="basic-main">
4
+ <div class="flex">
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 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_input_date >= '{}'">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label 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_input_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"
47
+ :field="$parent.$parent.getfield"
48
+ :footer="$parent.$parent.footer"
49
+ :header="$parent.$parent.other"
50
+ sqlurl="rs/logic/exportfile"
51
+ sql-name="getExpectGasListExcel"
52
+ template-name='气费应收账款导出'
53
+ :choose-col="true"></export-excel>
54
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
55
+ :defaultfield="$parent.$parent.defaultfield"
56
+ titletable="气费应收账款"
57
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
58
+
59
+ <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>
60
+ </div>
61
+ </div>
62
+ <div class="row" v-show="$parent.$parent.criteriaShow">
63
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户电话</label>
66
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
67
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
68
+ </div>
69
+ <div class="col-sm-2 form-group">
70
+ <label class="font_normal_body">客户地址</label>
71
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
72
+ condition="f_address like '%{}%'" placeholder='客户地址'>
73
+ </div>
74
+ <!--表册片区-->
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body">表册片区</label>
77
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
78
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
79
+ style="width:60%"
80
+ close-on-select
81
+ condition="f_book_slice_area = '{}'"></v-select>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </criteria>
86
+
87
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
88
+ <template partial='head'>
89
+ <tr><th rowspan=2><nobr>月份</nobr></th>
90
+ <th rowspan=2><nobr>公司</nobr></th>
91
+ <th colspan="4"><nobr>户数</nobr></th>
92
+ <th rowspan=2><nobr>冲正户数</nobr></th>
93
+ <th rowspan=2><nobr>小计</nobr></th>
94
+ <th colspan="4"><nobr>用气量</nobr></th>
95
+ <th rowspan=2><nobr>冲正气量</nobr></th>
96
+ <th rowspan=2><nobr>小计</nobr></th>
97
+ <th colspan="4"><nobr>用气金额</nobr></th>
98
+ <th rowspan=2><nobr>冲正金额</nobr></th>
99
+ <th rowspan=2><nobr>小计</nobr></th>
100
+ </tr>
101
+ <tr>
102
+ <th>
103
+ <nobr>工业</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>民用</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>集体</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>商业</nobr>
113
+ </th>
114
+ <th>
115
+ <nobr>工业</nobr>
116
+ </th>
117
+ <th>
118
+ <nobr>民用</nobr>
119
+ </th>
120
+ <th>
121
+ <nobr>集体</nobr>
122
+ </th>
123
+ <th>
124
+ <nobr>商业</nobr>
125
+ </th>
126
+ <th>
127
+ <nobr>工业</nobr>
128
+ </th>
129
+ <th>
130
+ <nobr>民用</nobr>
131
+ </th>
132
+ <th>
133
+ <nobr>集体</nobr>
134
+ </th>
135
+ <th>
136
+ <nobr>商业</nobr>
137
+ </th>
138
+ </tr>
139
+
140
+ </template>
141
+ <template partial='body'>
142
+ <td style="text-align: center;"><nobr>
143
+ <span ><a>{{row.f_month}}</a></span>
144
+ </nobr> </td>
145
+ <td style="text-align: center;"><nobr>
146
+ <span ><a>{{row.f_orgname}}</a></span>
147
+ </nobr> </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_gy_num}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_my_num}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_jt_num}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_sy_num}}</nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr>{{row.f_old_num}}</nobr>
162
+ </td>
163
+
164
+ <td style="text-align: center;">
165
+ <nobr>{{row.f_sum_num}}</nobr>
166
+ </td>
167
+
168
+ <td style="text-align: center;">
169
+ <nobr>{{row.f_gy_gas}}</nobr>
170
+ </td>
171
+ <td style="text-align: center;">
172
+ <nobr>{{row.f_my_gas}}</nobr>
173
+ </td>
174
+ <td style="text-align: center;">
175
+ <nobr>{{row.f_jt_gas}}</nobr>
176
+ </td>
177
+ <td style="text-align: center;">
178
+ <nobr>{{row.f_sy_gas}}</nobr>
179
+ </td>
180
+ <td style="text-align: center;">
181
+ <nobr>{{row.f_old_gas}}</nobr>
182
+ </td>
183
+ <td style="text-align: center;">
184
+ <nobr>{{row.f_sum_gas}}</nobr>
185
+ </td>
186
+
187
+ <td style="text-align: center;">
188
+ <nobr>{{row.f_gy_account}}</nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr>{{row.f_my_account}}</nobr>
192
+ </td>
193
+ <td style="text-align: center;">
194
+ <nobr>{{row.f_jt_account}}</nobr>
195
+ </td>
196
+ <td style="text-align: center;">
197
+ <nobr>{{row.f_sy_account}}</nobr>
198
+ </td>
199
+ <td style="text-align: center;">
200
+ <nobr>{{row.f_old_fee}}</nobr>
201
+ </td>
202
+ <td style="text-align: center;">
203
+ <nobr>{{row.f_sum_account}}</nobr>
204
+ </td>
205
+ </template>
206
+ <template partial='foot'>
207
+ <td style="text-align: center;background-color: mistyrose" colspan="2"><nobr>
208
+ <span >合计</span>
209
+ </nobr> </td>
210
+ <td style="text-align: center;background-color: mistyrose">
211
+ <nobr>{{model.sums.f_gy_num}}</nobr>
212
+ </td>
213
+ <td style="text-align: center;background-color: mistyrose">
214
+ <nobr>{{model.sums.f_my_num}}</nobr>
215
+ </td>
216
+ <td style="text-align: center;background-color: mistyrose">
217
+ <nobr>{{model.sums.f_jt_num}}</nobr>
218
+ </td>
219
+ <td style="text-align: center;background-color: mistyrose">
220
+ <nobr>{{model.sums.f_sy_num}}</nobr>
221
+ </td>
222
+ <td style="text-align: center;background-color: mistyrose">
223
+ <nobr>{{model.sums.f_old_num}}</nobr>
224
+ </td>
225
+
226
+ <td style="text-align: center;background-color: mistyrose">
227
+ <nobr>{{model.sums.f_sum_num}}</nobr>
228
+ </td>
229
+
230
+ <td style="text-align: center;background-color: mistyrose">
231
+ <nobr>{{model.sums.f_gy_gas}}</nobr>
232
+ </td>
233
+ <td style="text-align: center;background-color: mistyrose">
234
+ <nobr>{{model.sums.f_my_gas}}</nobr>
235
+ </td>
236
+ <td style="text-align: center;background-color: mistyrose">
237
+ <nobr>{{model.sums.f_jt_gas}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;background-color: mistyrose">
240
+ <nobr>{{model.sums.f_sy_gas}}</nobr>
241
+ </td>
242
+ <td style="text-align: center;background-color: mistyrose">
243
+ <nobr>{{model.sums.f_old_gas}}</nobr>
244
+ </td>
245
+ <td style="text-align: center;background-color: mistyrose">
246
+ <nobr>{{model.sums.f_sum_gas}}</nobr>
247
+ </td>
248
+
249
+ <td style="text-align: center;background-color: mistyrose">
250
+ <nobr>{{model.sums.f_gy_account}}</nobr>
251
+ </td>
252
+ <td style="text-align: center;background-color: mistyrose">
253
+ <nobr>{{model.sums.f_my_account}}</nobr>
254
+ </td>
255
+ <td style="text-align: center;background-color: mistyrose">
256
+ <nobr>{{model.sums.f_jt_account}}</nobr>
257
+ </td>
258
+ <td style="text-align: center;background-color: mistyrose">
259
+ <nobr>{{model.sums.f_sy_account}}</nobr>
260
+ </td>
261
+ <td style="text-align: center;background-color: mistyrose">
262
+ <nobr>{{model.sums.f_old_fee}}</nobr>
263
+ </td>
264
+ <td style="text-align: center;background-color: mistyrose">
265
+ <nobr>{{model.sums.f_sum_account}}</nobr>
266
+ </td>
267
+ </template>
268
+ </data-grid>
269
+ </criteria-paged>
270
+
271
+ </div>
272
+ </div>
273
+ </div>
274
+ </template>
275
+
276
+ <script>
277
+ import {HttpResetClass, PagedList} from 'vue-client'
278
+ import defaultPrint from '../../config/DefaultPrint'
279
+ import exportConfig from '../../config/exportConfig'
280
+
281
+ let readySomething = async function (self) {
282
+
283
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
284
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
285
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
286
+ }
287
+ export default {
288
+ title: '气费应收账款汇总',
289
+ data() {
290
+ return {
291
+ data: {},
292
+ other:[],
293
+ //默认打印列
294
+ defaultfield: [],
295
+ config: {
296
+ defaultPrint: ['f_gy_gas', 'f_sum_gas', 'f_sum_num', 'f_my_gas']
297
+ },
298
+ footer:[],
299
+ model: new PagedList('rs/sql/getExpectGasListExcel', 20,{id: 'this.model.id'},{
300
+ f_gy_num:0,f_my_num:0,f_jt_num:0,f_sy_num:0,f_old_num:0,f_sum_num:0,
301
+ f_gy_gas:0,f_my_gas:0,f_jt_gas:0,f_sy_gas:0,f_old_gas:0,f_sum_gas:0,
302
+ f_gy_account:0,f_my_account:0,f_jt_account:0,f_sy_account:0,f_old_fee:0,f_sum_account:0
303
+ }),
304
+ sumsmodel:{},
305
+ criteriaShow: false,
306
+ orgCondtionStr: '',
307
+ modelval: [],
308
+ printshow: false,
309
+ all: false,
310
+ fields: {},
311
+ //表册片区
312
+ bookSlice:[{label: '全部',value: ''}],
313
+ initres: {
314
+ org:[this.$login.f.orgid],
315
+ dep:[],
316
+ user:[],
317
+ },
318
+ thead: '',
319
+ tfoot: '',
320
+
321
+ // tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
322
+
323
+
324
+ }
325
+ },
326
+ ready() {
327
+ readySomething(this)
328
+ },
329
+ methods: {
330
+ getotherfooter(){
331
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
332
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
333
+ this.other=[];
334
+ this.footer=[];
335
+ let exportdata = this.getCondition;
336
+ let otherInData=[];
337
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
338
+ let footerData=[],exportfield=this.getfield;
339
+ footerData.push("合计");
340
+ let self =this;
341
+ for(var field in self.sumsmodel){
342
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
343
+ }
344
+ this.footer.push(footerData);
345
+ this.other.push(otherInData);
346
+ },
347
+ search(){
348
+ // this.$refs.paged.$refs.cri.search()
349
+ },
350
+
351
+
352
+ selfSearch(args) {
353
+ args.condition = `${args.condition}` + this.orgCondtionStr
354
+ args.model.id = this.$login.f.id
355
+ new HttpResetClass().load('POST','rs/logic/getExpectGasListLogic',{condition: args.condition,id: args.model.id}).then(res =>{
356
+ this.model.search(args.condition, args.model)
357
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
358
+ })
359
+
360
+ // console.log('this.model====>>>>', this.model)
361
+ },
362
+ clear() {
363
+ //清空部门和人员
364
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
365
+ //部门和人员变为全选
366
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
367
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
368
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
369
+ this.$refs.paged.$refs.cri.model[key] = []
370
+ })
371
+ },
372
+ show() {
373
+ this.criteriaShow = true
374
+ },
375
+ hidden() {
376
+ this.criteriaShow = !this.criteriaShow
377
+ },
378
+ getRes(obj) {
379
+ console.log(obj,"========")
380
+ this.orgCondtionStr = obj
381
+ },
382
+ stamp() {
383
+ this.all = false
384
+ //默认选择要打印的列
385
+ this.modelval = defaultPrint.config
386
+ this.fields = this.getfield
387
+ console.log('所有打印字段', this.fields)
388
+ this.printshow = true
389
+ this.put()
390
+ },
391
+ dealmsg(val) {
392
+ console.log('---------------dealmsg')
393
+ val.model = this.model.model
394
+ this.$dispatch('deal-msg', val)
395
+ },
396
+ put() {
397
+ // 对Modelval进行排序
398
+ this.sortModelval()
399
+ this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
400
+ for (let key of this.modelval) {
401
+ this.thead += '<th>' + this.fields[key] + '</th>'
402
+ }
403
+ this.thead += '</tr>'
404
+ },
405
+ print() {
406
+ this.$refs.print.PrintAsFile()
407
+ this.printshow = false
408
+ },
409
+ close() {
410
+ this.printshow = false
411
+ this.all = false
412
+ },
413
+ // 对选择的列进行排序
414
+ sortModelval() {
415
+ let sortModel = []
416
+ Object.keys(this.fields).forEach((key) => {
417
+ if (this.modelval.includes(key)) {
418
+ sortModel.push(key)
419
+ }
420
+ })
421
+ this.modelval = sortModel
422
+ console.log('选择的打印的字段', this.modelval)
423
+ },
424
+ async updateParams() {
425
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
426
+ this.inputtores = [];
427
+ this.inputtores.push({label: "全部", value: ""})
428
+ this.initSlice(this.f_filialeid)
429
+ if(this.allorgid!=null){
430
+ this.allorgid.forEach((res)=>{
431
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
432
+ })
433
+ }
434
+ },
435
+ //初始化片区
436
+ async initSlice (val) {
437
+ if (val) {
438
+ let getAllArea = await this.$resetpost('/rs/search', {
439
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
440
+ userid: this.$login.f.id
441
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
442
+ let arr = getAllArea.data.filter((res) => {
443
+ return res.parentid == val
444
+ })
445
+ this.bookSlice = []
446
+ console.log('过滤之后的片区-------------------', arr)
447
+ arr.forEach((res) => {
448
+ this.bookSlice.push({label: res.name, value: res.name})
449
+ })
450
+ }
451
+ },
452
+ },
453
+
454
+ watch: {
455
+ 'all'(val) {
456
+ if (val) {
457
+ this.modelval = this.bodyData
458
+ } else {
459
+ this.modelval = defaultPrint.config
460
+ this.put()
461
+ }
462
+ },
463
+ 'modelval.length'() {
464
+ this.put()
465
+ },
466
+ sumsmodel:{
467
+ handler: function(val) {
468
+ this.getotherfooter();
469
+ },
470
+ deep: true
471
+ },
472
+ 'orgCondtionStr'(val) {
473
+ this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
474
+ let res = val.match(/'(.*?)'/)
475
+ console.log('正则提取:',res && res[1])
476
+ if (res) {
477
+ this.f_filialeid = res[1]
478
+ if(res.input !=null){
479
+ let resorgid = res.input.substring(res.input.indexOf("'"));
480
+ if(resorgid!= null && resorgid!=''){
481
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
482
+ // resorgid = resorgid.replaceAll("'","");
483
+ resorgid = resorgid.replace(/'/g,"");
484
+ this.allorgid = resorgid.split(",")
485
+ }
486
+ }
487
+ this.updateParams()
488
+ }
489
+ },
490
+ },
491
+ computed: {
492
+ getCondition() {
493
+ return {
494
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
495
+ id: this.$refs.paged.$refs.cri.model.id
496
+ }
497
+ },
498
+ getfield() {
499
+ return exportConfig.expectgasConfig
500
+ }
501
+
502
+ }
503
+ }
504
+ </script>