manage-client 3.1.52 → 3.1.53-zk

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 (283) hide show
  1. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  2. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  3. package/build/dev-server.js +170 -188
  4. package/client.iml +15 -0
  5. package/package.json +3 -3
  6. package/src/components/Scard/NewScardSellReport.vue +232 -0
  7. package/src/components/Scard/ScardSellReport.vue +232 -0
  8. package/src/components/SellReport/ChargeDayReport.vue +88 -25
  9. package/src/components/SellReport/CivilGasReport.vue +194 -0
  10. package/src/components/SellReport/GasPrice.vue +4 -4
  11. package/src/components/SellReport/ManageBusSummary.vue +16 -25
  12. package/src/components/SellReport/ManageHandInputtor.vue +4 -4
  13. package/src/components/SellReport/ManageOtherCharge.vue +1 -1
  14. package/src/components/SellReport/ManageSellType.vue +4 -4
  15. package/src/components/SellReport/ManageUserCount.vue +1 -1
  16. package/src/components/SellReport/Othertypetotal.vue +231 -0
  17. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +66 -381
  18. package/src/components/SellReport/SaleMonthReport.vue +1 -1
  19. package/src/components/SellReport/UnCivilGasReport.vue +194 -0
  20. package/src/components/SellReport/UserSellingcaiwub.vue +231 -0
  21. package/src/components/SellReport/Usersellinbaoj.vue +231 -0
  22. package/src/components/SellReport/Usersellingbigua.vue +231 -0
  23. package/src/components/SellReport/Usersellingday.vue +231 -0
  24. package/src/components/SellReport/Usersellinggass.vue +231 -0
  25. package/src/components/SellReport/Usersellingother.vue +231 -0
  26. package/src/components/SellReport/usersellingcaiwup.vue +231 -0
  27. package/src/components/daping/CallCenter.vue +7 -7
  28. package/src/components/daping/DataManagement.vue +253 -87
  29. package/src/components/daping/ManageMain.vue +17 -32
  30. package/src/components/daping/Ring.vue +14 -9
  31. package/src/components/daping/SafeCheckRing.vue +50 -56
  32. package/src/components/daping/SafecheckBarChart.vue +123 -62
  33. package/src/components/qinhua/BarChart.vue +22 -24
  34. package/src/components/qinhua/Pie.vue +15 -38
  35. package/src/components/qinhua/SellEcharts.vue +7 -28
  36. package/src/components/qinhua/qinHuaMap.vue +338 -362
  37. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +6 -10
  38. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +6 -13
  39. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +30 -67
  40. package/src/components/sale/businessquery/AreaGeneralQuery.vue +16 -14
  41. package/src/components/sale/businessquery/ArrearsQuery.vue +28 -14
  42. package/src/components/sale/businessquery/BusinessManage.vue +7 -12
  43. package/src/components/sale/businessquery/CardHandplanQuery.vue +230 -217
  44. package/src/components/sale/businessquery/ChangeMeterQuery.vue +6 -16
  45. package/src/components/sale/businessquery/ChargeQuery.vue +726 -675
  46. package/src/components/sale/businessquery/CollectManage.vue +2 -2
  47. package/src/components/sale/businessquery/DisableQuery.vue +31 -10
  48. package/src/components/sale/businessquery/EnableQuery.vue +31 -11
  49. package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
  50. package/src/components/sale/businessquery/FillGasQuery.vue +1 -35
  51. package/src/{filiale/shaoguan/sale/businessquery/ExemptQuery.vue → components/sale/businessquery/HandplanMothSaleQuery.vue} +298 -314
  52. package/src/components/sale/businessquery/HandplanQuery.vue +637 -619
  53. package/src/components/sale/businessquery/InspectListGas.vue +12 -0
  54. package/src/components/sale/businessquery/NBHandplanQuery.vue +1304 -0
  55. package/src/components/sale/businessquery/NoBusinessQuery.vue +25 -22
  56. package/src/components/sale/businessquery/OtherChargeQuery.vue +275 -251
  57. package/src/components/sale/businessquery/ReceiptQuery.vue +23 -70
  58. package/src/components/sale/businessquery/ResidentialQuery.vue +21 -16
  59. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  60. package/src/components/sale/businessquery/SpecialCharge.vue +319 -0
  61. package/src/components/sale/businessquery/TransferQuery.vue +185 -185
  62. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +334 -308
  63. package/src/components/sale/config/exportConfig.js +37 -36
  64. package/src/components/sale/filesquery/DeviceQuery.vue +11 -45
  65. package/src/components/sale/filesquery/MeterQuery.vue +39 -5
  66. package/src/components/sale/filesquery/RecordInfoQuery.vue +553 -536
  67. package/src/components/sale/filesquery/UserDeviceQuery.vue +15 -15
  68. package/src/components/sale/filesquery/UserQuery.vue +35 -48
  69. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  70. package/src/components/statistical/StatisticalAnalysis.vue +2 -0
  71. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -2
  72. package/src/components/webmeter/DrillData/UserGasAll.vue +2 -3
  73. package/src/components/webmeter/DrillData/UserGasEcharts.vue +6 -16
  74. package/src/components/webmeter/instruction/NewQueryInstruct.vue +23 -64
  75. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
  76. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +657 -46
  77. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +3 -4
  78. package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +374 -0
  79. package/src/components/webmeter/newwebmeter/PriceInstructList.vue +332 -0
  80. package/src/components/webmeter/newwebmeter/PriceInstructManage.vue +44 -0
  81. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +32 -63
  82. package/src/components/webmeter/newwebmeter/UserGasList.vue +5 -3
  83. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +46 -2
  84. package/src/components/webmeter/newwebmeter/UserInstructList.vue +5 -5
  85. package/src/components/webmeter/reportdata/ReportDataQuery.vue +53 -25
  86. package/src/main.js +66 -66
  87. package/src/newmanage.js +0 -21
  88. package/src/reportManage.js +52 -36
  89. package/src/saleManage.js +17 -38
  90. package/src/webmeterManage.js +17 -8
  91. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  92. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  93. package/.gradle/5.4.1/gc.properties +0 -0
  94. package/src/.idea/misc.xml +0 -9
  95. package/src/.idea/modules.xml +0 -8
  96. package/src/.idea/src.iml +0 -9
  97. package/src/.idea/vcs.xml +0 -6
  98. package/src/.idea/workspace.xml +0 -93
  99. package/src/components/SellReport/BusinessClassify.vue +0 -317
  100. package/src/components/SellReport/ChargePrick.vue +0 -284
  101. package/src/components/SellReport/DepartmentPrick.vue +0 -288
  102. package/src/components/SellReport/MarketMonth.vue +0 -297
  103. package/src/components/SellReport/OperatorCheckoutReport.vue +0 -237
  104. package/src/components/SellReport/OperatorCheckoutTwo.vue +0 -237
  105. package/src/components/SellReport/SellDepReport.vue +0 -266
  106. package/src/components/SellReport/UserClassify.vue +0 -271
  107. package/src/components/daping/NetWork.vue +0 -238
  108. package/src/components/daping/RedactDaPing.vue +0 -486
  109. package/src/components/daping/SafeCheck.vue +0 -446
  110. package/src/components/daping/WuHaiMap.vue +0 -420
  111. package/src/components/sale/businessquery/InfoOperateRecord.vue +0 -291
  112. package/src/components/sale/businessquery/PrickBillQuery.vue +0 -332
  113. package/src/components/sale/businessquery/ProceedsOper.vue +0 -377
  114. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +0 -398
  115. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +0 -171
  116. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +0 -111
  117. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +0 -209
  118. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +0 -213
  119. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +0 -240
  120. package/src/filiale/WEINAN/BusinessManage.vue +0 -152
  121. package/src/filiale/WEINAN/ChangeMeterQuery.vue +0 -606
  122. package/src/filiale/WEINAN/ChargeQuery.vue +0 -849
  123. package/src/filiale/WEINAN/FillGasQuery.vue +0 -457
  124. package/src/filiale/WEINAN/InspectListUser.vue +0 -492
  125. package/src/filiale/WEINAN/MeterQuery.vue +0 -946
  126. package/src/filiale/WEINAN/OtherChargeQuery.vue +0 -521
  127. package/src/filiale/WEINAN/RecordInfoQuery.vue +0 -1195
  128. package/src/filiale/WEINAN/ReportDataQuery.vue +0 -249
  129. package/src/filiale/WEINAN/config/DefaultPrint.js +0 -6
  130. package/src/filiale/WEINAN/config/exportConfig.js +0 -817
  131. package/src/filiale/WEINAN/config/tableConfig.js +0 -36
  132. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +0 -606
  133. package/src/filiale/WEINAN/sale.js +0 -29
  134. package/src/filiale/alashan/SellingTable.vue +0 -234
  135. package/src/filiale/alashan/reportManage.js +0 -10
  136. package/src/filiale/aode/ArchivesManage.vue +0 -38
  137. package/src/filiale/aode/BusinessManage.vue +0 -94
  138. package/src/filiale/aode/DefaultPrint.js +0 -6
  139. package/src/filiale/aode/HandplanQuery.vue +0 -632
  140. package/src/filiale/aode/Tabs.vue +0 -67
  141. package/src/filiale/aode/UserQuery.vue +0 -599
  142. package/src/filiale/aode/exportConfig.js +0 -249
  143. package/src/filiale/aode/sale.js +0 -17
  144. package/src/filiale/ceshi/ArrearsQuery.vue +0 -642
  145. package/src/filiale/ceshi/ChManageBusSummary.vue +0 -293
  146. package/src/filiale/ceshi/CollectManage.vue +0 -94
  147. package/src/filiale/ceshi/MeterRateQuery.vue +0 -633
  148. package/src/filiale/ceshi/TabButton.vue +0 -149
  149. package/src/filiale/ceshi/Tabs.vue +0 -69
  150. package/src/filiale/ceshi/exportConfig.js +0 -267
  151. package/src/filiale/ceshi/reportManage.js +0 -5
  152. package/src/filiale/ceshi/sale.js +0 -11
  153. package/src/filiale/gaomi/ChargeQuery.vue +0 -1221
  154. package/src/filiale/gaomi/DisableQuery.vue +0 -426
  155. package/src/filiale/gaomi/MeterQuery.vue +0 -848
  156. package/src/filiale/gaomi/RecordInfoQuery.vue +0 -988
  157. package/src/filiale/gaomi/UserQuery.vue +0 -815
  158. package/src/filiale/gaomi/config/DefaultPrint.js +0 -6
  159. package/src/filiale/gaomi/config/exportConfig.js +0 -791
  160. package/src/filiale/gaomi/config/tableConfig.js +0 -47
  161. package/src/filiale/gaomi/sale.js +0 -17
  162. package/src/filiale/gaomi/usergas.vue +0 -342
  163. package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +0 -709
  164. package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +0 -128
  165. package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -627
  166. package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +0 -565
  167. package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +0 -1103
  168. package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +0 -459
  169. package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +0 -591
  170. package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +0 -597
  171. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +0 -17
  172. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +0 -718
  173. package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +0 -884
  174. package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -703
  175. package/src/filiale/gongyi/sale.js +0 -27
  176. package/src/filiale/jingwei/ChargeQuery.vue +0 -1241
  177. package/src/filiale/jingwei/RecordInfoQuery.vue +0 -1142
  178. package/src/filiale/jingwei/sale.js +0 -8
  179. package/src/filiale/jingzhou/ChargeQuery.vue +0 -1243
  180. package/src/filiale/jingzhou/HandplanQuery.vue +0 -1286
  181. package/src/filiale/jingzhou/config/DefaultPrint.js +0 -6
  182. package/src/filiale/jingzhou/config/exportConfig.js +0 -861
  183. package/src/filiale/jingzhou/config/tableConfig.js +0 -48
  184. package/src/filiale/jingzhou/sale.js +0 -12
  185. package/src/filiale/konggang/exportConfig.js +0 -26
  186. package/src/filiale/konggang/sale/DayReportList.vue +0 -370
  187. package/src/filiale/konggang/sale/DayReportListPrint.vue +0 -260
  188. package/src/filiale/konggang/sale/DayReportSummary.vue +0 -75
  189. package/src/filiale/konggang/sale.js +0 -9
  190. package/src/filiale/liaoyuan/ArrearsQuery.vue +0 -945
  191. package/src/filiale/liaoyuan/ChargeQuery.vue +0 -1284
  192. package/src/filiale/liaoyuan/MeterQuery.vue +0 -905
  193. package/src/filiale/liaoyuan/RecordInfoQuery.vue +0 -1161
  194. package/src/filiale/liaoyuan/ReportList.vue +0 -421
  195. package/src/filiale/liaoyuan/exportConfig.js +0 -718
  196. package/src/filiale/liaoyuan/sale.js +0 -11
  197. package/src/filiale/macheng/ArrearsQuery.vue +0 -823
  198. package/src/filiale/macheng/ChargeQuery.vue +0 -1071
  199. package/src/filiale/macheng/HandplanQuery.vue +0 -1057
  200. package/src/filiale/macheng/MeterQuery.vue +0 -921
  201. package/src/filiale/macheng/RecordInfoQuery.vue +0 -1029
  202. package/src/filiale/macheng/config/DefaultPrint.js +0 -12
  203. package/src/filiale/macheng/config/exportConfig.js +0 -60
  204. package/src/filiale/macheng/sale.js +0 -10
  205. package/src/filiale/meihekou/ArrearsQuery.vue +0 -915
  206. package/src/filiale/meihekou/BusinessManage.vue +0 -151
  207. package/src/filiale/meihekou/CardHandplanQuery.vue +0 -541
  208. package/src/filiale/meihekou/ChargeQuery.vue +0 -1260
  209. package/src/filiale/meihekou/HandplanQuery.vue +0 -1229
  210. package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
  211. package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
  212. package/src/filiale/meihekou/RecordInfoQuery.vue +0 -1158
  213. package/src/filiale/meihekou/UserGasEform.vue +0 -267
  214. package/src/filiale/meihekou/UserQuery.vue +0 -773
  215. package/src/filiale/meihekou/config/DefaultPrint.js +0 -6
  216. package/src/filiale/meihekou/config/exportConfig.js +0 -804
  217. package/src/filiale/meihekou/config/tableConfig.js +0 -48
  218. package/src/filiale/meihekou/sale.js +0 -26
  219. package/src/filiale/pingxiang/ChangeUserQuery.vue +0 -342
  220. package/src/filiale/pingxiang/config/DefaultPrint.js +0 -6
  221. package/src/filiale/pingxiang/config/exportConfig.js +0 -814
  222. package/src/filiale/pingxiang/sale.js +0 -9
  223. package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -825
  224. package/src/filiale/qingtongxia/ChargeQuery.vue +0 -1199
  225. package/src/filiale/qingtongxia/MeterQuery.vue +0 -851
  226. package/src/filiale/qingtongxia/RecordInfoQuery.vue +0 -980
  227. package/src/filiale/qingtongxia/SellPeopleQuery.vue +0 -680
  228. package/src/filiale/qingtongxia/config/DefaultPrint.js +0 -6
  229. package/src/filiale/qingtongxia/config/exportConfig.js +0 -712
  230. package/src/filiale/qingtongxia/sale.js +0 -13
  231. package/src/filiale/rongcheng/ArrearsQuery.vue +0 -729
  232. package/src/filiale/rongcheng/ChargeQuery.vue +0 -1035
  233. package/src/filiale/rongcheng/MonthGasQuery.vue +0 -463
  234. package/src/filiale/rongcheng/RecordInfoQuery.vue +0 -874
  235. package/src/filiale/rongcheng/UserQuery.vue +0 -827
  236. package/src/filiale/rongcheng/exportConfig.js +0 -257
  237. package/src/filiale/rongcheng/sale.js +0 -19
  238. package/src/filiale/rongchuang/ChargeQuery.vue +0 -1237
  239. package/src/filiale/rongchuang/SellingTable.vue +0 -250
  240. package/src/filiale/rongchuang/exportConfig.js +0 -808
  241. package/src/filiale/rongchuang/reportManage.js +0 -11
  242. package/src/filiale/rongchuang/sale.js +0 -11
  243. package/src/filiale/shaoguan/ArrearsQuery.vue +0 -840
  244. package/src/filiale/shaoguan/BusinessManage.vue +0 -162
  245. package/src/filiale/shaoguan/ChargeQuery.vue +0 -1034
  246. package/src/filiale/shaoguan/HandplanQuery.vue +0 -1308
  247. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +0 -74
  248. package/src/filiale/shaoguan/OtherChargeQuery.vue +0 -596
  249. package/src/filiale/shaoguan/RecordInfoQuery.vue +0 -1100
  250. package/src/filiale/shaoguan/TransferQuery.vue +0 -403
  251. package/src/filiale/shaoguan/config/DefaultPrint.js +0 -6
  252. package/src/filiale/shaoguan/config/exportConfig.js +0 -433
  253. package/src/filiale/shaoguan/errorHandplanQuery.vue +0 -366
  254. package/src/filiale/shaoguan/overDueQuery.vue +0 -418
  255. package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +0 -357
  256. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +0 -687
  257. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +0 -338
  258. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +0 -426
  259. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +0 -41
  260. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +0 -290
  261. package/src/filiale/shaoguan/sale.js +0 -35
  262. package/src/filiale/shennongjia/ChargeQuery.vue +0 -1095
  263. package/src/filiale/shennongjia/config/DefaultPrint.js +0 -6
  264. package/src/filiale/shennongjia/config/exportConfig.js +0 -401
  265. package/src/filiale/shennongjia/config/tableConfig.js +0 -47
  266. package/src/filiale/shennongjia/sale.js +0 -10
  267. package/src/filiale/tongchuan/ChargeQuery.vue +0 -1252
  268. package/src/filiale/tongchuan/FillGasQuery.vue +0 -508
  269. package/src/filiale/tongchuan/ManageBusSummary.vue +0 -302
  270. package/src/filiale/tongchuan/ReportList.vue +0 -456
  271. package/src/filiale/tongchuan/ResSelectGroupNew.vue +0 -181
  272. package/src/filiale/tongchuan/ResSelectNew.vue +0 -144
  273. package/src/filiale/tongchuan/UserQuery.vue +0 -846
  274. package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
  275. package/src/filiale/tongchuan/config/exportConfig.js +0 -857
  276. package/src/filiale/tongchuan/reportManage.js +0 -6
  277. package/src/filiale/tongchuan/sale.js +0 -14
  278. package/src/filiale/wuan/ChargeQuery.vue +0 -1234
  279. package/src/filiale/wuan/sale.js +0 -10
  280. package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
  281. package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
  282. package/src/filiale/zhoukou/TransferQuery.vue +0 -404
  283. package/src/filiale/zhoukou/sale.js +0 -15
@@ -1,2 +1,2 @@
1
- #Mon Oct 26 16:02:57 CST 2020
2
- gradle.version=6.1.1
1
+ #Thu Apr 07 11:59:45 CST 2022
2
+ gradle.version=4.9
@@ -1,188 +1,170 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- //韶关
15
- // var fuwu='http://119.146.1.106:8300/'
16
- var qtx='http://36.103.222.144:6300/'
17
- var bendi = 'http://127.0.0.1:8083/'
18
- var fuwu_login = 'http://192.168.50.4:8400'
19
- //公司
20
- var fuwu='http://192.168.50.4:8400/'
21
- var fuwu='http://172.168.1.11:9001/'
22
- //经纬
23
- // var fuwu='http://60.222.250.39:8300/'
24
- //192.168.
25
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
26
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
27
- var proxyTable = {
28
- '/rs/logic/exportfile': {
29
- target: bendi
30
- },
31
- '/rs/entity':{
32
- target:'http://127.0.0.1:8080'
33
- },
34
- '/files': {
35
- target: fuwu
36
- },
37
- // 查找资源服务数据
38
- '/rs/search': {
39
- target: fuwu
40
- },
41
- // 查找资源服务数据
42
- '/rs/logic/getLogin': {
43
- target: fuwu
44
- },
45
- // 查找资源服务数据
46
- '/rs/logic/getInitData': {
47
- target: fuwu
48
- },
49
- '/rs/logic/getSaleInitData':{
50
- target: fuwu
51
- },
52
- // 用户登录服务地址
53
- '/rs/user': {
54
- target: fuwu
55
- },
56
- '/rs/path/getParams': {
57
- target: fuwu
58
- },
59
- '/rs/data': {
60
- target: fuwu
61
- },
62
- '/rs/license': {
63
- target: fuwu
64
- },
65
- '/rs/db': {
66
- target: fuwu
67
- },
68
- '/excel': {
69
- target: fuwu
70
- },
71
- '/rs/config': {
72
- target: fuwu
73
- },
74
- '/rs/sql/getLicenseById': {
75
- target: fuwu
76
- },
77
- '/rs/report': {
78
- target: bendi
79
- },
80
- '/rs/vue': {
81
- target: fuwu
82
- },
83
- '/rs/file': {
84
- target: fuwu
85
- },
86
- '/rs/logic/SumSettleFileImport': {
87
- target: 'http://127.0.0.1:8080'
88
- },
89
- '/rs/logic/getBatchOperaPro':{
90
- target: 'http://127.0.0.1:8080'
91
- },
92
- '/rs/logic/machineChargePay':{
93
- target: 'http://127.0.0.1:8080'
94
- },
95
- '/rs': {
96
- target: fuwu
97
- }
98
- }
99
-
100
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
101
- publicPath: config.output.publicPath,
102
- stats: {
103
- colors: true,
104
- chunks: false
105
- }
106
- })
107
-
108
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
109
- // force page reload when html-webpack-plugin template changes
110
- compiler.plugin('compilation', function (compilation) {
111
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
112
- hotMiddleware.publish({action: 'reload'})
113
- cb()
114
- })
115
- })
116
-
117
- // proxy api requests
118
- Object.keys(proxyTable).forEach(function (context) {
119
- var options = proxyTable[context]
120
- if (typeof options === 'string') {
121
- options = {target: options}
122
- }
123
- app.use(proxyMiddleware(context, options))
124
- })
125
-
126
- // handle fallback for HTML5 history API
127
- app.use(require('connect-history-api-fallback')())
128
- // app.use(function (req, res, next) {
129
- // res.header('Access-Control-Allow-Origin', '*')
130
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
131
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
132
- // res.header('X-Powered-By', '3,2,1')
133
- // res.header('Access-Control-Allow-Credentials', 'true')
134
- // res.header('Content-Type', 'application/json;charset=utf-8')
135
- // next()
136
- // })
137
-
138
- // serve webpack bundle output
139
- app.use(devMiddleware)
140
-
141
- // enable hot-reload and state-preserving
142
- // compilation error display
143
- app.use(hotMiddleware)
144
-
145
- // serve pure static assets
146
- app.use('/static', express.static('./static'))
147
-
148
- // app.all('/rs/*', function (req, res) {
149
- // proxy.web(req, res, {
150
- // target: 'http://127.0.0.1:8081/reports'
151
- // })
152
- // })
153
-
154
- // app.all('/rs/*', function (req, res) {
155
- // proxy.web(req, res, {
156
- // target: 'http://127.0.0.1:8081/ldap'
157
- // })
158
- // })
159
- // app.all('/excel/*', function (req, res) {
160
- // proxy.web(req, res, {
161
- // target: 'http://127.0.0.1:8081/charge'
162
- // })
163
- // })
164
-
165
- // app.all('/rs/*', function (req, res) {
166
- // proxy.web(req, res, {
167
- // target: 'http://127.0.0.1:82/charge'
168
- // })
169
- // })
170
-
171
- // app.all('/*', function (req, res) {
172
- // proxy.web(req, res, {
173
- // target: 'http://127.0.0.1:82'
174
- // })
175
- // })
176
- // app.all('/rs/user', function (req, res) {
177
- // proxy.web(req, res, {
178
- // target: 'http://127.0.0.1:82'
179
- // })
180
- // })
181
-
182
- module.exports = app.listen(8085, function (err) {
183
- if (err) {
184
- console.log(err)
185
- return
186
- }
187
- console.log('Listening at http://localhost:8085')
188
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var bendi = 'http://127.0.0.1:8081/'
14
+ var fuwu = 'http://192.168.20.28:8400/'
15
+ var proxyTable = {
16
+ '/files': {
17
+ target: fuwu
18
+ },
19
+ '/rs/logic/exportfile': {
20
+ target: bendi
21
+ },
22
+ // 查找资源服务数据
23
+ '/rs/search': {
24
+ target: fuwu
25
+ },
26
+ // 查找资源服务数据
27
+ '/rs/logic/getLogin': {
28
+ target: fuwu
29
+ },
30
+ // 查找资源服务数据
31
+ '/rs/logic/getInitData': {
32
+ target: fuwu
33
+ },
34
+ '/rs/logic/getSaleInitData':{
35
+ target: fuwu
36
+ },
37
+ // 用户登录服务地址
38
+ '/rs/user': {
39
+ target: fuwu
40
+ },
41
+ '/rs/path/getParams': {
42
+ target: fuwu
43
+ },
44
+ '/rs/data': {
45
+ target: fuwu
46
+ },
47
+ '/rs/license': {
48
+ target: fuwu
49
+ },
50
+ '/rs/db': {
51
+ target: fuwu
52
+ },
53
+ '/excel': {
54
+ target: fuwu
55
+ },
56
+ '/rs/config': {
57
+ target: fuwu
58
+ },
59
+ '/rs/sql/getLicenseById': {
60
+ target: fuwu
61
+ },
62
+ '/rs/report': {
63
+ target: fuwu
64
+ },
65
+ '/rs/sql': {
66
+ target: bendi
67
+ },
68
+ '/rs/vue': {
69
+ target: fuwu
70
+ },
71
+ '/rs/file': {
72
+ target: fuwu
73
+ },
74
+ '/rs/logic/SumSettleFileImport': {
75
+ target: 'http://127.0.0.1:8080'
76
+ },
77
+ '/rs': {
78
+ target: fuwu
79
+ }
80
+ }
81
+
82
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
83
+ publicPath: config.output.publicPath,
84
+ stats: {
85
+ colors: true,
86
+ chunks: false
87
+ }
88
+ })
89
+
90
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
91
+ // force page reload when html-webpack-plugin template changes
92
+ compiler.plugin('compilation', function (compilation) {
93
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
94
+ hotMiddleware.publish({action: 'reload'})
95
+ cb()
96
+ })
97
+ })
98
+
99
+ // proxy api requests
100
+ Object.keys(proxyTable).forEach(function (context) {
101
+ var options = proxyTable[context]
102
+ if (typeof options === 'string') {
103
+ options = {target: options}
104
+ }
105
+ app.use(proxyMiddleware(context, options))
106
+ })
107
+
108
+ // handle fallback for HTML5 history API
109
+ app.use(require('connect-history-api-fallback')())
110
+ // app.use(function (req, res, next) {
111
+ // res.header('Access-Control-Allow-Origin', '*')
112
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
113
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
114
+ // res.header('X-Powered-By', '3,2,1')
115
+ // res.header('Access-Control-Allow-Credentials', 'true')
116
+ // res.header('Content-Type', 'application/json;charset=utf-8')
117
+ // next()
118
+ // })
119
+
120
+ // serve webpack bundle output
121
+ app.use(devMiddleware)
122
+
123
+ // enable hot-reload and state-preserving
124
+ // compilation error display
125
+ app.use(hotMiddleware)
126
+
127
+ // serve pure static assets
128
+ app.use('/static', express.static('./static'))
129
+
130
+ // app.all('/rs/*', function (req, res) {
131
+ // proxy.web(req, res, {
132
+ // target: 'http://127.0.0.1:8081/reports'
133
+ // })
134
+ // })
135
+
136
+ // app.all('/rs/*', function (req, res) {
137
+ // proxy.web(req, res, {
138
+ // target: 'http://127.0.0.1:8081/ldap'
139
+ // })
140
+ // })
141
+ // app.all('/excel/*', function (req, res) {
142
+ // proxy.web(req, res, {
143
+ // target: 'http://127.0.0.1:8081/charge'
144
+ // })
145
+ // })
146
+
147
+ // app.all('/rs/*', function (req, res) {
148
+ // proxy.web(req, res, {
149
+ // target: 'http://127.0.0.1:82/charge'
150
+ // })
151
+ // })
152
+
153
+ // app.all('/*', function (req, res) {
154
+ // proxy.web(req, res, {
155
+ // target: 'http://127.0.0.1:82'
156
+ // })
157
+ // })
158
+ // app.all('/rs/user', function (req, res) {
159
+ // proxy.web(req, res, {
160
+ // target: 'http://127.0.0.1:82'
161
+ // })
162
+ // })
163
+
164
+ module.exports = app.listen(8085, function (err) {
165
+ if (err) {
166
+ console.log(err)
167
+ return
168
+ }
169
+ console.log('Listening at http://localhost:8085')
170
+ })
package/client.iml ADDED
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="EclipseModuleManager">
4
+ <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
+ <src_description expected_position="0" />
6
+ </component>
7
+ <component name="NewModuleRootManager">
8
+ <output url="file://$MODULE_DIR$/bin" />
9
+ <exclude-output />
10
+ <content url="file://$MODULE_DIR$" />
11
+ <orderEntry type="sourceFolder" forTests="false" />
12
+ <orderEntry type="inheritedJdk" />
13
+ <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
+ </component>
15
+ </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.1.52",
3
+ "version": "3.1.53-zk",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -63,10 +63,10 @@
63
63
  "sinon-chai": "^2.8.0",
64
64
  "style": "0.0.3",
65
65
  "style-loader": "^0.20.3",
66
- "system-clients": "3.1.89-20",
66
+ "system-clients": "3.1.89-18",
67
67
  "url-loader": "^0.5.7",
68
68
  "vue-amap": "0.5.10",
69
- "vue-client": "1.24.21",
69
+ "vue-client": "1.24.35",
70
70
  "vue-hot-reload-api": "^1.2.0",
71
71
  "vue-html-loader": "^1.0.0",
72
72
  "vue-loader": "8.2.1",
@@ -0,0 +1,232 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 98%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <p class="bg-info text-center" style="padding: 8px;">加气站scard汇总报表</p>
6
+ <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-4" >
10
+ <label class="font_normal_body" for="startDate">开始日期:</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :disabled-days-of-Week="[]"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-4" >
20
+ <label class="font_normal_body" for="endDate">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+
30
+ </div>
31
+ <div class="span" style = "float:right;">
32
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
33
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
34
+ <report-excel id='gasprice'></report-excel>
35
+ </div>
36
+ </div>
37
+ </criteria>
38
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
39
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
40
+ <thead>
41
+ <tr>
42
+ <th colspan='9' style="font-weight: normal; text-align: left;">
43
+ <h3 style="text-align: center">加气站scard汇总报表</h3>
44
+ </th>
45
+ </tr>
46
+ <tr>
47
+ <th colspan='9' style="font-weight: normal; text-align: center;">
48
+ 开始时间:{{model.model.startDate}}<br>
49
+ 结束时间:{{ model.model.endDate }}<br>
50
+ 打印时间:{{{$parent.printTime}}}
51
+ </th>
52
+ </tr>
53
+
54
+ </thead>
55
+ <tr>
56
+ <td colspan='9'>
57
+ {{{ model.data.substring(26,model.data.length-8) }}}
58
+ </td>
59
+ </tr>
60
+
61
+ </table>
62
+ {{{ $parent.reportStr}}}
63
+ </div>
64
+ </criteria-paged>
65
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
66
+ <header slot="modal-header" class="modal-header">
67
+ <h4 class="modal-title">输入文件名称</h4>
68
+ </header>
69
+ <article slot="modal-body" class="modal-body">
70
+ <div class="form-group">
71
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
72
+ </div>
73
+ </article>
74
+ <footer slot="modal-footer" class="modal-footer">
75
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
76
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
77
+ </footer>
78
+ </modal>
79
+ </div>
80
+ </template>
81
+
82
+ <script>
83
+ import { DataModel } from 'vue-client'
84
+ import co from 'co'
85
+ let saveFile = function * (self) {
86
+ // 线验证文件是否重名
87
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
88
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
89
+ {resolveMsg: null, rejectMsg: null})
90
+ if (count.data.length > 0) {
91
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
92
+ return
93
+ }
94
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
95
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
96
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
97
+ f_outlets: this.$login.f.depname})
98
+ if (saveBack.data.status === 'succeed') {
99
+ self.show = false
100
+ self.filename = ''
101
+ // 后台保存完成,通知刷新
102
+ self.$dispatch('save-success', self.filename)
103
+ }
104
+ }
105
+ export default {
106
+ title: '加气站收费汇总报表',
107
+ props: ['data'],
108
+ data () {
109
+ return {
110
+ printTime: this.$login.toStandardTimeString(),
111
+ depresid: [],
112
+ userresid: [],
113
+ f_orgid: this.$login.f.orgid,
114
+ f_depid: this.$login.f.depids,
115
+ f_operatorid: this.$login.f.id,
116
+ operatorid: [],
117
+ depid: [],
118
+ orgname: '',
119
+ depname: '',
120
+ operatorname: '',
121
+ orgCondtionStr: '1=1',
122
+ model: new DataModel('rs/report/NewScardSellReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
123
+ reportStr: null,
124
+ show: false,
125
+ }
126
+ },
127
+ ready () {
128
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
129
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
130
+ // this.$refs.paged.$refs.criteria.search()
131
+ console.log(this.$login.f)
132
+ },
133
+ methods: {
134
+ searchData () {
135
+ this.$refs.paged.$refs.criteria.search()
136
+ },
137
+ selfSearch (args) {
138
+ this.printTime = this.$login.toStandardTimeString()
139
+ console.log( "condition:" + args.condition)
140
+ let orgcondition = '1=1'
141
+ if (this.f_orgid[0]) {
142
+ orgcondition += ' and f_orgid = ' + this.f_orgid
143
+ }
144
+ let deps = ''
145
+ let i = 0
146
+ let depss = ''
147
+ if (this.f_depid[0]) {
148
+ for ( i; i< this.f_depid.length; i++ )
149
+ deps += `'${this.f_depid[i]}',`
150
+ depss = deps.toString().substring(1,deps.length-2)
151
+ orgcondition += " and f_depid in ( '" + depss + "' ) "
152
+ }else {
153
+ depss = ''
154
+ }
155
+ console.log("所选部门:" + depss)
156
+
157
+ let opes = ''
158
+ let j = 0
159
+ let opess = ''
160
+ if(this.f_operatorid[0]) {
161
+ for ( j; j< this.f_operatorid.length; j++ )
162
+ opes += `'${this.f_operatorid[j]}',`
163
+ opess = opes.toString().substring(1,opes.length-2)
164
+ orgcondition += "and f_operatorid in ( '" + opess + "' ) "
165
+ }else {
166
+ opess = ''
167
+ }
168
+ console.log("所选人员:" + opess)
169
+
170
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + " and " + args.condition
171
+ this.$refs.paged.search(args)
172
+ },
173
+ getRes (obj) {
174
+ this.orgname = obj.res[0]
175
+ this.depresid = obj.resids
176
+ this.f_orgid = obj.resids
177
+ this.userresid = obj.resids
178
+ },
179
+ getdep (obj, val) {
180
+ this.depname = val
181
+ // this.userresid = obj
182
+ this.f_depid = obj
183
+ },
184
+ getuser ( obj, val) {
185
+ this.operatorname = val
186
+ this.f_operatorid = obj
187
+ },
188
+
189
+ // 根据文件路径获取储存的报表内容
190
+ getFileContent (path) {
191
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
192
+ this.reportStr = res.data.filecontent
193
+ this.model.state = '正确'
194
+ })
195
+ },
196
+ confirm () {
197
+ if (!this.filename || this.filename === '') {
198
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
199
+ }
200
+ let saveGen = saveFile(this)
201
+ co(saveGen)
202
+ },
203
+ close () {
204
+ this.show = false
205
+ },
206
+ // 将报表保存成文件
207
+ confirmReport () {
208
+ this.show = true
209
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
210
+ },
211
+ },
212
+ watch: {
213
+ 'data' (val) {
214
+ if (val.f_files_path) {
215
+ this.getFileContent(val.f_files_path)
216
+ } else {
217
+ this.reportStr = null
218
+ }
219
+ }
220
+ },
221
+ computed: {
222
+ metertypes() {
223
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
224
+ }
225
+ }
226
+ }
227
+ </script>
228
+ <style scoped>
229
+ .noborder{
230
+ border: none;
231
+ }
232
+ </style>