manage-client 3.2.11 → 3.2.15

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 (444) 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/5.4.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/5.4.1/gc.properties +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  9. package/.project +18 -18
  10. package/CHANGELOG.md +15 -15
  11. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  12. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  13. package/ManageClient.iml +13 -13
  14. package/README.md +38 -38
  15. package/build/dev-server.js +25 -8
  16. package/build/webpack.base.conf.js +82 -82
  17. package/build.gradle +13 -13
  18. package/config/dev.env.js +6 -6
  19. package/config/index.js +40 -40
  20. package/config/prod.env.js +3 -3
  21. package/config/test.env.js +6 -6
  22. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  23. package/gradlew.bat +100 -100
  24. package/index.html +28 -28
  25. package/package.json +1 -1
  26. package/release.bat +5 -5
  27. package/src/.idea/misc.xml +9 -0
  28. package/src/.idea/modules.xml +8 -0
  29. package/src/.idea/src.iml +9 -0
  30. package/src/.idea/vcs.xml +6 -0
  31. package/src/.idea/workspace.xml +93 -0
  32. package/src/ManageHome.js +269 -269
  33. package/src/Staff/StaffCompileList.vue +334 -334
  34. package/src/Staff/StaffList.vue +161 -161
  35. package/src/Staff/StaffListManage.vue +49 -49
  36. package/src/Util.js +367 -367
  37. package/src/components/BasisEcharts/BarChart.vue +247 -247
  38. package/src/components/BasisEcharts/LineChart.vue +243 -243
  39. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  40. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  41. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  42. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  43. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  44. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  45. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  46. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  47. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  48. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  49. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  50. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  51. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  52. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  53. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  54. package/src/components/ManageHome/Home/Home.vue +138 -138
  55. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  56. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  57. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  58. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  59. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  60. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  61. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  62. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  63. package/src/components/ManageHome/ManageHome.vue +292 -292
  64. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  65. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  66. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  67. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  68. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  69. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  70. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  71. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  72. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  73. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  74. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  75. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  76. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  77. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  78. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  79. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  80. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  81. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  82. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  83. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  84. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  85. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  86. package/src/components/ManageHome/User/UseHome.vue +155 -155
  87. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  88. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  89. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  90. package/src/components/ManageHome/loading.vue +23 -23
  91. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  92. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  93. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  94. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  95. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  96. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  97. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  98. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  99. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  100. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  101. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  102. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  103. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  104. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  105. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  106. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  107. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  108. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  109. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  110. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  111. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  112. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  113. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  114. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  115. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  116. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  117. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  118. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  119. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  120. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  121. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  122. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  123. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  124. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  125. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  126. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  127. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  128. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  129. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  130. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  131. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  132. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  133. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  134. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  135. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  136. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  137. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  138. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  139. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  140. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  141. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  142. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  143. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  144. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  145. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  146. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  147. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  148. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  149. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  150. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  151. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  152. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  153. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  154. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  155. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  156. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  157. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  158. package/src/components/ManageHomeCS/loading.vue +39 -39
  159. package/src/components/ManageHomeCS/test.vue +88 -88
  160. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  161. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  162. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  163. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  164. package/src/components/MeterManage/HandQuery.vue +72 -72
  165. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  166. package/src/components/MeterManage/MeterList.vue +336 -336
  167. package/src/components/MeterManage/MeterMsg.vue +181 -181
  168. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  169. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  170. package/src/components/MeterManage/TransferQuery.vue +72 -72
  171. package/src/components/SellReport/BankManager.vue +146 -146
  172. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  173. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  174. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  175. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  176. package/src/components/SellReport/ChOtherfee.vue +251 -251
  177. package/src/components/SellReport/CivilGasReport.vue +194 -0
  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/FenxiangSell.vue +183 -183
  182. package/src/components/SellReport/FxGasTable.vue +220 -220
  183. package/src/components/SellReport/GasCollect.vue +174 -174
  184. package/src/components/SellReport/GaspriceHas.vue +141 -141
  185. package/src/components/SellReport/HandCollect.vue +189 -189
  186. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  187. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  188. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  189. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  190. package/src/components/SellReport/ManageBusTable.vue +207 -207
  191. package/src/components/SellReport/ManageGasFee.vue +247 -247
  192. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  193. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  194. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  195. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  196. package/src/components/SellReport/ManageReceivable.vue +254 -254
  197. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  198. package/src/components/SellReport/MeterBill.vue +185 -185
  199. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  200. package/src/components/SellReport/MeterInput.vue +250 -250
  201. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  202. package/src/components/SellReport/OweAging.vue +174 -174
  203. package/src/components/SellReport/QibiaoShouqi.vue +282 -282
  204. package/src/components/SellReport/ReportHistory.vue +80 -80
  205. package/src/components/SellReport/ReportPool.vue +60 -60
  206. package/src/components/SellReport/Selling.vue +188 -188
  207. package/src/components/SellReport/SiteManager.vue +147 -147
  208. package/src/components/SellReport/UnCivilGasReport.vue +194 -0
  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/WebReport/AbnormalInfo.vue +197 -197
  224. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  225. package/src/components/WebReport/BatteryLow.vue +148 -148
  226. package/src/components/WebReport/BusinessHall.vue +85 -85
  227. package/src/components/WebReport/BussinessType.vue +137 -137
  228. package/src/components/WebReport/Communication.vue +131 -131
  229. package/src/components/WebReport/CompanyUser.vue +79 -79
  230. package/src/components/WebReport/EchartsBox.vue +110 -110
  231. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  232. package/src/components/WebReport/GaspriceHas.vue +141 -141
  233. package/src/components/WebReport/HandplanPrint.vue +167 -167
  234. package/src/components/WebReport/NotUpload.vue +165 -165
  235. package/src/components/WebReport/OweQuery.vue +169 -169
  236. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  237. package/src/components/WebReport/Paymentpie.vue +157 -157
  238. package/src/components/WebReport/ReportWorklist.vue +220 -220
  239. package/src/components/WebReport/SellType.vue +89 -89
  240. package/src/components/WebReport/Telemanlist.vue +221 -221
  241. package/src/components/WebReport/UserGasAll.vue +214 -214
  242. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  243. package/src/components/WebReport/UsertypePie.vue +105 -105
  244. package/src/components/WebReport/ValueEcharts.vue +99 -99
  245. package/src/components/WebReport/ValueInfo.vue +194 -194
  246. package/src/components/qinhua/BarChartLine.vue +288 -288
  247. package/src/components/qinhua/ManageMain.vue +162 -162
  248. package/src/components/qinhua/Ring.vue +165 -165
  249. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  250. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  251. package/src/components/qinhua/Scada.vue +93 -93
  252. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  253. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  254. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  255. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  256. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  257. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  258. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  259. package/src/components/sale/businessquery/BusinesQuery.vue +2 -3
  260. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  261. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  262. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  263. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  264. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  265. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  266. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  267. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  268. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  269. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  270. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  271. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  272. package/src/components/sale/common/PrintData.vue +171 -171
  273. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  274. package/src/components/sale/common/PrintTable.vue +228 -228
  275. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  276. package/src/components/sale/common/TabButton.vue +155 -155
  277. package/src/components/sale/common/Tabs.vue +67 -67
  278. package/src/components/sale/common/handplanUser.vue +112 -112
  279. package/src/components/sale/config/DefaultPrint.js +6 -6
  280. package/src/components/sale/config/exportConfig.js +887 -887
  281. package/src/components/sale/config/tableConfig.js +48 -48
  282. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  283. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  284. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  285. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  287. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  288. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  289. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  290. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  291. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  292. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  293. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  294. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  295. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  296. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  297. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  298. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  299. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  300. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  301. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  302. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  303. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  304. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  305. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  306. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  307. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  308. package/src/components/sale/report/aode/DayReport.vue +50 -50
  309. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  310. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  311. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  312. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  313. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  314. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  315. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  316. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  317. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  318. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  319. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  320. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  321. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  322. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  323. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  324. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  325. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  326. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  327. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  330. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  331. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  332. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  335. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  336. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  337. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  338. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  339. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  340. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  341. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  342. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  343. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  344. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  345. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  347. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  348. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  349. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  350. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  351. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  352. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  353. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  354. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  355. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  356. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +4 -5
  357. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  358. package/src/components/yulin/GuanWang.vue +24 -24
  359. package/src/components/yulin/SingleBarLine.vue +352 -352
  360. package/src/components/yulin/Weather.vue +157 -157
  361. package/src/expandcss.less +26 -26
  362. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  363. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  364. package/src/filiale/WEINAN/UserGasAll.vue +577 -0
  365. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
  366. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  367. package/src/filiale/WEINAN/sale.js +5 -1
  368. package/src/filiale/aode/ArchivesManage.vue +38 -38
  369. package/src/filiale/aode/BusinessManage.vue +94 -94
  370. package/src/filiale/aode/DefaultPrint.js +6 -6
  371. package/src/filiale/aode/HandplanQuery.vue +632 -632
  372. package/src/filiale/aode/Tabs.vue +67 -67
  373. package/src/filiale/aode/UserQuery.vue +599 -599
  374. package/src/filiale/aode/sale.js +17 -17
  375. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  376. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  377. package/src/filiale/ceshi/CollectManage.vue +94 -94
  378. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  379. package/src/filiale/ceshi/TabButton.vue +149 -149
  380. package/src/filiale/ceshi/Tabs.vue +69 -69
  381. package/src/filiale/ceshi/reportManage.js +5 -5
  382. package/src/filiale/ceshi/sale.js +11 -11
  383. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  384. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  385. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  386. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  387. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  388. package/src/filiale/liaoyuan/sale.js +11 -11
  389. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  390. package/src/filiale/meihekou/CardHandplanQuery.vue +618 -541
  391. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  392. package/src/filiale/meihekou/UserQuery.vue +773 -773
  393. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  394. package/src/filiale/pingxiang/sale.js +9 -9
  395. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  396. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  397. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  398. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  399. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  400. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  401. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  402. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  403. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  404. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  405. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  406. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  407. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  408. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  409. package/src/filiale/shennongjia/sale.js +10 -10
  410. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  411. package/src/main.js +4 -4
  412. package/src/plugins/GetLoginInfoService.js +505 -505
  413. package/src/plugins/LodopFuncs.js +124 -124
  414. package/src/plugins/getAllInputtor.js +29 -29
  415. package/src/reportManage.js +8 -0
  416. package/src/safeCheck.js +63 -63
  417. package/src/stores/AppData.js +62 -62
  418. package/src/stores/DataSql.js +585 -585
  419. package/src/stores/DrillECharts.js +602 -602
  420. package/src/stores/DrillSql.js +888 -888
  421. package/src/stores/GetParames.js +15 -15
  422. package/src/stores/MagGetSaleParams.js +156 -156
  423. package/src/stores/MagLoadParams.js +63 -63
  424. package/src/stores/Util.js +132 -132
  425. package/src/stores/shanxi1.js +26 -26
  426. package/src/stores/yulin.js +27 -27
  427. package/src/webmeterManage.js +105 -105
  428. package/static/china.json +1 -1
  429. package/static/qh.json +2410 -2410
  430. package/static/res.json +58411 -58411
  431. package/static/shanxi1.json +1 -1
  432. package/static/yulin.json +1 -1
  433. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  434. package/test/unit/.eslintrc +5 -5
  435. package/test/unit/TestUtil.js +35 -35
  436. package/test/unit/context.html +20 -20
  437. package/test/unit/index.js +13 -13
  438. package/test/unit/init.js +11 -11
  439. package/test/unit/karma.conf.js +45 -45
  440. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  441. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  442. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  443. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  444. package/webstorm.config.js +13 -13
@@ -1,225 +1,225 @@
1
- <template>
2
- <button class="button_export button_spacing" @click='printData()'>打印</button>
3
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
4
- <header slot="modal-header" class="modal-header text-center">
5
- <h4 class="modal-title">打印列选择</h4>
6
- <input type="checkbox" class="" id="f_generations" v-model="all">
7
- <label for="f_generations" class="font-size">全选</label>
8
- </header>
9
- <article slot="modal-body">
10
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
11
- <div class="col-sm-3" v-for="f in fields">
12
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
13
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
14
- </div>
15
- </div>
16
- </article>
17
- <footer slot="modal-footer" class="modal-footer">
18
- <center>
19
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
20
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
21
- <print-table-self :model='model' v-show="false" v-ref:print
22
- :top='40' :left='1' :right='1' :bottom='40' :printName="printName"
23
- :thead="thead" :tfoot='tfoot' :attach="attach" :sumhtml="sumhtml" :sumhtml1="sumhtml1"
24
- :startDate="startDate" :endDate="endDate" :sumhtml2="sumhtml2" :sumhtml3="sumhtml3"
25
- :fields="modelval" :is-selected="isSelected" :printpage="printpage">
26
- </print-table-self>
27
- </center>
28
- </footer>
29
- </modal>
30
- </template>
31
-
32
- <script>
33
- import co from 'co'
34
-
35
- export default {
36
- // data:sql需要的替换字段
37
- // sqlurl:导出Excel查询的sql语句
38
- // field:需要导出Excel的字段名和对应中文名或hbm配置文件名(全名)
39
- // total:统计字段(统计行)
40
- // props: ['data', 'sqlurl', 'field', 'total', 'bean', 'chooseCol'],
41
- data () {
42
- return {
43
- printshow: false,
44
- all: true,
45
- fields: {},
46
- modelval: [],
47
- thead: '',
48
- tfoot: '',
49
- //合计数据
50
- sumsmodel: {},
51
- // 合计超文本
52
- sumhtml: '',
53
- sumhtml1: '',
54
- sumhtml2: '',
55
- sumhtml3: ''
56
- }
57
- },
58
- props: {
59
- model: {},
60
- field: {},
61
- printName: {},
62
- // 默认列
63
- defaultfield: {},
64
- // 合计数据
65
- sumsmodel: {},
66
- // 合计数据的列名称配置(当没有找到对应合计的名称时,会从field中找)
67
- sumField: {},
68
- startDate:"",
69
- endDate:"",
70
- // 单页合计
71
- pageSum: null,
72
- isSelected: {
73
- type:Boolean,
74
- default:false
75
- },
76
- printpage: {
77
- type:Boolean,
78
- default:false
79
- },
80
- // 合计默认在第一页展示
81
- sumone: {
82
- type:Boolean,
83
- default:true
84
- },
85
- attach: {
86
- type: String,
87
- default: 'name'
88
- },
89
- chooserow: {
90
- type: Boolean,
91
- default: false
92
- }
93
- },
94
- methods: {
95
-
96
- async printData () {
97
- console.log('打印。。。', this.model, this.field, this.printName, this.sumsmodel)
98
-
99
- if (this.model.rows.length === 0) {
100
- this.$showAlert('请查询需要打印的数据!!', 'warning', 2000)
101
- return
102
- }
103
- this.all = true
104
- //默认选择要打印的列
105
- this.modelval = this.defaultfield
106
- this.fields = this.field
107
- console.log('所有打印字段',this.fields)
108
- // this.printshow = true
109
- await this.put()
110
- this.print()
111
-
112
- },
113
-
114
- put () {
115
- // 对Modelval进行排序
116
- this.sortModelval()
117
- this.getfield()
118
- // 组织头数据
119
- this.thead = `<tr>
120
- <th style="width: 70px;">用户编号</th>
121
- <th style="width: 130px;">用户名称</th>
122
- <th style="width: 130px;">用户地址</th>
123
- <th style="width: 70px;">购气气量</th>
124
- <th style="width: 65px;">阶一</th>
125
- <th style="width: 65px;">阶二</th>
126
- <th style="width: 65px;">阶三</th>
127
- <th style="width: 65px;">收费金额</th>
128
- <th style="width: 65px;">用户类型</th>
129
- <th style="width: 80px;">收费类型</th>
130
- <th style="width: 130px;">日期</th>
131
- <th style="width: 80px;">操作员</th>
132
- </tr>`
133
- },
134
- // 对选择的列进行排序
135
- sortModelval () {
136
- console.log('选择列进行排序。。。', this.fields, this.modelval)
137
- let sortModel = []
138
- Object.keys(this.fields).forEach((key) => {
139
- // if (this.modelval.includes(key)) {
140
- sortModel.push(key)
141
- // }
142
- })
143
- this.modelval = sortModel
144
- console.log('选择的打印的字段', this.modelval)
145
- },
146
-
147
- close () {
148
- this.all = true
149
- this.modelval = []
150
- // this.printshow = false
151
- this.$dispatch('print-close')
152
- },
153
-
154
- print () {
155
- this.$refs.print.PrintAsFile()
156
- // this.printshow = false
157
- this.$dispatch('print-data')
158
- },
159
- getfield(){
160
- //合计字段打印
161
- this.tfoot = ''
162
- this.sumhtml2 = `营业厅明细报表`
163
- if(this.sumsmodel){
164
- if (this.sumone) {
165
- this.sumhtml1 = `<tr><th colspan=${this.modelval.length}>报表统计时间:`
166
- if(this.startDate == this.endDate){
167
- this.sumhtml1 += this.startDate + '</th></tr>'
168
- }else{
169
- this.sumhtml1 += this.startDate + '至' + this.endDate + '</th></tr>'
170
- }
171
- this.sumhtml = `<tr><th colspan=${this.modelval.length}>报表汇总信息: `
172
- // Object.keys(this.sumsmodel).forEach((key) => {
173
- // let keyName = this.sumField[key] ? this.sumField[key] : this.fields[key]
174
- // this.sumhtml += keyName + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
175
- // })
176
- // this.sumhtml += '</th></tr>'
177
- this.sumhtml += '卡费合计: ' + `<font color="blue">${this.sumsmodel['cardfee']} </font>`
178
- this.sumhtml += '方量合计: ' + `<font color="blue">${this.sumsmodel['f_pregas']} </font>`
179
- this.sumhtml += '金额合计: ' + `<font color="blue">${this.sumsmodel['f_preamount']} </font>`
180
- this.sumhtml += '</th></tr>'
181
- this.sumhtml3 = `<tr><th colspan=${this.modelval.length}>&emsp;&emsp;&emsp;小&emsp;计:`
182
- this.sumhtml3 += '现金合计: ' + `<font color="blue">${this.sumsmodel['xianjin']} </font>`
183
- this.sumhtml3 += '转账合计: ' + `<font color="blue">${this.sumsmodel['zhuanzhang']} </font>`
184
- this.sumhtml3 += '</th></tr>'
185
- } else {
186
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
187
- Object.keys(this.sumsmodel).forEach((key) => {
188
- let keyName = this.sumField[key] ? this.sumField[key] : this.fields[key]
189
- this.tfoot += keyName + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
190
- })
191
- this.tfoot += '</th></tr>'
192
- }
193
- }
194
- if (this.pageSum) {
195
- this.tfoot += `<tr>`
196
- for (let row of this.modelval) {
197
- let format = this.pageSum[row]
198
- if (format) {
199
- this.tfoot += `<td tdata="SubSum" format="${format}">######</td>`
200
- } else {
201
- this.tfoot += `<td></td>`
202
- }
203
- }
204
- this.tfoot += `</tr>`
205
- }
206
- this.tfoot += `<tr><th colspan=${this.modelval.length}>打印时间: ${this.$login.toStandardTimeString()}</th></tr>`
207
- },
208
- },
209
- watch: {
210
- 'all' (val) {
211
- if (val) {
212
- this.modelval = Object.keys(this.fields)
213
- } else {
214
- this.modelval = []
215
- }
216
- },
217
- 'modelval.length' () {
218
- this.put()
219
- }
220
- },
221
- computed: {
222
-
223
- }
224
- }
225
- </script>
1
+ <template>
2
+ <button class="button_export button_spacing" @click='printData()'>打印</button>
3
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
4
+ <header slot="modal-header" class="modal-header text-center">
5
+ <h4 class="modal-title">打印列选择</h4>
6
+ <input type="checkbox" class="" id="f_generations" v-model="all">
7
+ <label for="f_generations" class="font-size">全选</label>
8
+ </header>
9
+ <article slot="modal-body">
10
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
11
+ <div class="col-sm-3" v-for="f in fields">
12
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
13
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
14
+ </div>
15
+ </div>
16
+ </article>
17
+ <footer slot="modal-footer" class="modal-footer">
18
+ <center>
19
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
20
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
21
+ <print-table-self :model='model' v-show="false" v-ref:print
22
+ :top='40' :left='1' :right='1' :bottom='40' :printName="printName"
23
+ :thead="thead" :tfoot='tfoot' :attach="attach" :sumhtml="sumhtml" :sumhtml1="sumhtml1"
24
+ :startDate="startDate" :endDate="endDate" :sumhtml2="sumhtml2" :sumhtml3="sumhtml3"
25
+ :fields="modelval" :is-selected="isSelected" :printpage="printpage">
26
+ </print-table-self>
27
+ </center>
28
+ </footer>
29
+ </modal>
30
+ </template>
31
+
32
+ <script>
33
+ import co from 'co'
34
+
35
+ export default {
36
+ // data:sql需要的替换字段
37
+ // sqlurl:导出Excel查询的sql语句
38
+ // field:需要导出Excel的字段名和对应中文名或hbm配置文件名(全名)
39
+ // total:统计字段(统计行)
40
+ // props: ['data', 'sqlurl', 'field', 'total', 'bean', 'chooseCol'],
41
+ data () {
42
+ return {
43
+ printshow: false,
44
+ all: true,
45
+ fields: {},
46
+ modelval: [],
47
+ thead: '',
48
+ tfoot: '',
49
+ //合计数据
50
+ sumsmodel: {},
51
+ // 合计超文本
52
+ sumhtml: '',
53
+ sumhtml1: '',
54
+ sumhtml2: '',
55
+ sumhtml3: ''
56
+ }
57
+ },
58
+ props: {
59
+ model: {},
60
+ field: {},
61
+ printName: {},
62
+ // 默认列
63
+ defaultfield: {},
64
+ // 合计数据
65
+ sumsmodel: {},
66
+ // 合计数据的列名称配置(当没有找到对应合计的名称时,会从field中找)
67
+ sumField: {},
68
+ startDate:"",
69
+ endDate:"",
70
+ // 单页合计
71
+ pageSum: null,
72
+ isSelected: {
73
+ type:Boolean,
74
+ default:false
75
+ },
76
+ printpage: {
77
+ type:Boolean,
78
+ default:false
79
+ },
80
+ // 合计默认在第一页展示
81
+ sumone: {
82
+ type:Boolean,
83
+ default:true
84
+ },
85
+ attach: {
86
+ type: String,
87
+ default: 'name'
88
+ },
89
+ chooserow: {
90
+ type: Boolean,
91
+ default: false
92
+ }
93
+ },
94
+ methods: {
95
+
96
+ async printData () {
97
+ console.log('打印。。。', this.model, this.field, this.printName, this.sumsmodel)
98
+
99
+ if (this.model.rows.length === 0) {
100
+ this.$showAlert('请查询需要打印的数据!!', 'warning', 2000)
101
+ return
102
+ }
103
+ this.all = true
104
+ //默认选择要打印的列
105
+ this.modelval = this.defaultfield
106
+ this.fields = this.field
107
+ console.log('所有打印字段',this.fields)
108
+ // this.printshow = true
109
+ await this.put()
110
+ this.print()
111
+
112
+ },
113
+
114
+ put () {
115
+ // 对Modelval进行排序
116
+ this.sortModelval()
117
+ this.getfield()
118
+ // 组织头数据
119
+ this.thead = `<tr>
120
+ <th style="width: 70px;">用户编号</th>
121
+ <th style="width: 130px;">用户名称</th>
122
+ <th style="width: 130px;">用户地址</th>
123
+ <th style="width: 70px;">购气气量</th>
124
+ <th style="width: 65px;">阶一</th>
125
+ <th style="width: 65px;">阶二</th>
126
+ <th style="width: 65px;">阶三</th>
127
+ <th style="width: 65px;">收费金额</th>
128
+ <th style="width: 65px;">用户类型</th>
129
+ <th style="width: 80px;">收费类型</th>
130
+ <th style="width: 130px;">日期</th>
131
+ <th style="width: 80px;">操作员</th>
132
+ </tr>`
133
+ },
134
+ // 对选择的列进行排序
135
+ sortModelval () {
136
+ console.log('选择列进行排序。。。', this.fields, this.modelval)
137
+ let sortModel = []
138
+ Object.keys(this.fields).forEach((key) => {
139
+ // if (this.modelval.includes(key)) {
140
+ sortModel.push(key)
141
+ // }
142
+ })
143
+ this.modelval = sortModel
144
+ console.log('选择的打印的字段', this.modelval)
145
+ },
146
+
147
+ close () {
148
+ this.all = true
149
+ this.modelval = []
150
+ // this.printshow = false
151
+ this.$dispatch('print-close')
152
+ },
153
+
154
+ print () {
155
+ this.$refs.print.PrintAsFile()
156
+ // this.printshow = false
157
+ this.$dispatch('print-data')
158
+ },
159
+ getfield(){
160
+ //合计字段打印
161
+ this.tfoot = ''
162
+ this.sumhtml2 = `营业厅明细报表`
163
+ if(this.sumsmodel){
164
+ if (this.sumone) {
165
+ this.sumhtml1 = `<tr><th colspan=${this.modelval.length}>报表统计时间:`
166
+ if(this.startDate == this.endDate){
167
+ this.sumhtml1 += this.startDate + '</th></tr>'
168
+ }else{
169
+ this.sumhtml1 += this.startDate + '至' + this.endDate + '</th></tr>'
170
+ }
171
+ this.sumhtml = `<tr><th colspan=${this.modelval.length}>报表汇总信息: `
172
+ // Object.keys(this.sumsmodel).forEach((key) => {
173
+ // let keyName = this.sumField[key] ? this.sumField[key] : this.fields[key]
174
+ // this.sumhtml += keyName + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
175
+ // })
176
+ // this.sumhtml += '</th></tr>'
177
+ this.sumhtml += '卡费合计: ' + `<font color="blue">${this.sumsmodel['cardfee']} </font>`
178
+ this.sumhtml += '方量合计: ' + `<font color="blue">${this.sumsmodel['f_pregas']} </font>`
179
+ this.sumhtml += '金额合计: ' + `<font color="blue">${this.sumsmodel['f_preamount']} </font>`
180
+ this.sumhtml += '</th></tr>'
181
+ this.sumhtml3 = `<tr><th colspan=${this.modelval.length}>&emsp;&emsp;&emsp;小&emsp;计:`
182
+ this.sumhtml3 += '现金合计: ' + `<font color="blue">${this.sumsmodel['xianjin']} </font>`
183
+ this.sumhtml3 += '转账合计: ' + `<font color="blue">${this.sumsmodel['zhuanzhang']} </font>`
184
+ this.sumhtml3 += '</th></tr>'
185
+ } else {
186
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
187
+ Object.keys(this.sumsmodel).forEach((key) => {
188
+ let keyName = this.sumField[key] ? this.sumField[key] : this.fields[key]
189
+ this.tfoot += keyName + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
190
+ })
191
+ this.tfoot += '</th></tr>'
192
+ }
193
+ }
194
+ if (this.pageSum) {
195
+ this.tfoot += `<tr>`
196
+ for (let row of this.modelval) {
197
+ let format = this.pageSum[row]
198
+ if (format) {
199
+ this.tfoot += `<td tdata="SubSum" format="${format}">######</td>`
200
+ } else {
201
+ this.tfoot += `<td></td>`
202
+ }
203
+ }
204
+ this.tfoot += `</tr>`
205
+ }
206
+ this.tfoot += `<tr><th colspan=${this.modelval.length}>打印时间: ${this.$login.toStandardTimeString()}</th></tr>`
207
+ },
208
+ },
209
+ watch: {
210
+ 'all' (val) {
211
+ if (val) {
212
+ this.modelval = Object.keys(this.fields)
213
+ } else {
214
+ this.modelval = []
215
+ }
216
+ },
217
+ 'modelval.length' () {
218
+ this.put()
219
+ }
220
+ },
221
+ computed: {
222
+
223
+ }
224
+ }
225
+ </script>