manage-client 3.1.35 → 3.1.36-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 (223) hide show
  1. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  2. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  3. package/ManageClient.iml +13 -13
  4. package/build/dev-server.js +170 -174
  5. package/package.json +2 -2
  6. package/src/components/SellReport/ChargeDayReport.vue +88 -25
  7. package/src/components/SellReport/{MarketMonth.vue → GasMoneyReport.vue} +19 -16
  8. package/src/components/SellReport/GasPrice.vue +4 -4
  9. package/src/components/SellReport/ManageBusSummary.vue +16 -25
  10. package/src/components/SellReport/ManageHandInputtor.vue +4 -4
  11. package/src/components/SellReport/ManageOtherCharge.vue +1 -1
  12. package/src/components/SellReport/ManageSellType.vue +4 -4
  13. package/src/components/SellReport/ManageUserCount.vue +1 -1
  14. package/src/components/SellReport/SaleMonthReport.vue +1 -1
  15. package/src/components/daping/CallCenter.vue +7 -7
  16. package/src/components/daping/DataManagement.vue +255 -89
  17. package/src/components/daping/ManageMain.vue +17 -32
  18. package/src/components/daping/Ring.vue +14 -9
  19. package/src/components/daping/SafeCheckRing.vue +50 -56
  20. package/src/components/daping/SafecheckBarChart.vue +123 -62
  21. package/src/components/qinhua/Pie.vue +8 -24
  22. package/src/components/qinhua/SellEcharts.vue +7 -28
  23. package/src/components/qinhua/qinHuaMap.vue +338 -362
  24. package/src/components/sale/businessquery/BusinessManage.vue +0 -8
  25. package/src/components/sale/businessquery/CardHandplanQuery.vue +229 -216
  26. package/src/components/sale/businessquery/ChangeMeterQuery.vue +6 -16
  27. package/src/components/sale/businessquery/ChargeQuery.vue +704 -671
  28. package/src/components/sale/businessquery/CollectManage.vue +2 -2
  29. package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
  30. package/src/components/sale/businessquery/FillGasQuery.vue +1 -35
  31. package/src/{filiale/shaoguan/sale/businessquery/ExemptQuery.vue → components/sale/businessquery/HandplanMothSaleQuery.vue} +112 -126
  32. package/src/components/sale/businessquery/HandplanQuery.vue +619 -606
  33. package/src/components/sale/businessquery/OtherChargeQuery.vue +275 -251
  34. package/src/components/sale/businessquery/TransferQuery.vue +185 -185
  35. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +165 -139
  36. package/src/components/sale/config/exportConfig.js +17 -27
  37. package/src/components/sale/filesquery/MeterQuery.vue +21 -3
  38. package/src/components/sale/filesquery/RecordInfoQuery.vue +544 -529
  39. package/src/components/sale/filesquery/UserQuery.vue +0 -16
  40. package/src/components/statistical/StatisticalAnalysis.vue +2 -0
  41. package/src/components/webmeter/instruction/NewQueryInstruct.vue +399 -445
  42. package/src/main.js +6 -6
  43. package/src/newmanage.js +0 -21
  44. package/src/reportManage.js +11 -27
  45. package/src/saleManage.js +11 -37
  46. package/src/webmeterManage.js +7 -7
  47. package/.gradle/5.5/fileChanges/last-build.bin +0 -0
  48. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  49. package/.gradle/5.5/gc.properties +0 -0
  50. package/.npmignore +0 -10
  51. package/build/.npmignore +0 -1
  52. package/package-lock.json +0 -11184
  53. package/src/components/SellReport/BusinessClassify.vue +0 -251
  54. package/src/components/SellReport/ChargePrick.vue +0 -279
  55. package/src/components/SellReport/DepartmentPrick.vue +0 -261
  56. package/src/components/SellReport/UserClassify.vue +0 -251
  57. package/src/components/daping/NetWork.vue +0 -238
  58. package/src/components/daping/RedactDaPing.vue +0 -468
  59. package/src/components/daping/SafeCheck.vue +0 -446
  60. package/src/components/daping/WuHaiMap.vue +0 -418
  61. package/src/components/sale/businessquery/InfoOperateRecord.vue +0 -291
  62. package/src/components/sale/businessquery/ProceedsOper.vue +0 -377
  63. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +0 -398
  64. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +0 -170
  65. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +0 -111
  66. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +0 -209
  67. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +0 -238
  68. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +0 -266
  69. package/src/filiale/WEINAN/BusinessManage.vue +0 -152
  70. package/src/filiale/WEINAN/ChangeMeterQuery.vue +0 -606
  71. package/src/filiale/WEINAN/ChargeQuery.vue +0 -848
  72. package/src/filiale/WEINAN/FillGasQuery.vue +0 -457
  73. package/src/filiale/WEINAN/InspectListUser.vue +0 -492
  74. package/src/filiale/WEINAN/MeterQuery.vue +0 -946
  75. package/src/filiale/WEINAN/OtherChargeQuery.vue +0 -521
  76. package/src/filiale/WEINAN/RecordInfoQuery.vue +0 -1195
  77. package/src/filiale/WEINAN/config/DefaultPrint.js +0 -6
  78. package/src/filiale/WEINAN/config/exportConfig.js +0 -817
  79. package/src/filiale/WEINAN/config/tableConfig.js +0 -48
  80. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +0 -606
  81. package/src/filiale/WEINAN/sale.js +0 -27
  82. package/src/filiale/alashan/SellingTable.vue +0 -234
  83. package/src/filiale/alashan/reportManage.js +0 -10
  84. package/src/filiale/aode/ArchivesManage.vue +0 -38
  85. package/src/filiale/aode/BusinessManage.vue +0 -94
  86. package/src/filiale/aode/DefaultPrint.js +0 -6
  87. package/src/filiale/aode/HandplanQuery.vue +0 -632
  88. package/src/filiale/aode/Tabs.vue +0 -67
  89. package/src/filiale/aode/UserQuery.vue +0 -599
  90. package/src/filiale/aode/exportConfig.js +0 -249
  91. package/src/filiale/aode/sale.js +0 -17
  92. package/src/filiale/ceshi/ArrearsQuery.vue +0 -642
  93. package/src/filiale/ceshi/ChManageBusSummary.vue +0 -293
  94. package/src/filiale/ceshi/CollectManage.vue +0 -94
  95. package/src/filiale/ceshi/MeterRateQuery.vue +0 -633
  96. package/src/filiale/ceshi/TabButton.vue +0 -149
  97. package/src/filiale/ceshi/Tabs.vue +0 -69
  98. package/src/filiale/ceshi/exportConfig.js +0 -267
  99. package/src/filiale/ceshi/reportManage.js +0 -5
  100. package/src/filiale/ceshi/sale.js +0 -11
  101. package/src/filiale/gaomi/ChargeQuery.vue +0 -1221
  102. package/src/filiale/gaomi/DisableQuery.vue +0 -426
  103. package/src/filiale/gaomi/MeterQuery.vue +0 -848
  104. package/src/filiale/gaomi/RecordInfoQuery.vue +0 -988
  105. package/src/filiale/gaomi/UserQuery.vue +0 -815
  106. package/src/filiale/gaomi/config/DefaultPrint.js +0 -6
  107. package/src/filiale/gaomi/config/exportConfig.js +0 -791
  108. package/src/filiale/gaomi/config/tableConfig.js +0 -47
  109. package/src/filiale/gaomi/sale.js +0 -17
  110. package/src/filiale/gaomi/usergas.vue +0 -342
  111. package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +0 -709
  112. package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +0 -128
  113. package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -627
  114. package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +0 -565
  115. package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +0 -1103
  116. package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +0 -459
  117. package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +0 -591
  118. package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +0 -597
  119. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +0 -17
  120. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +0 -718
  121. package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +0 -884
  122. package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -703
  123. package/src/filiale/gongyi/sale.js +0 -27
  124. package/src/filiale/jingwei/RecordInfoQuery.vue +0 -1131
  125. package/src/filiale/jingwei/sale.js +0 -6
  126. package/src/filiale/jingzhou/ChargeQuery.vue +0 -1243
  127. package/src/filiale/jingzhou/HandplanQuery.vue +0 -1286
  128. package/src/filiale/jingzhou/config/DefaultPrint.js +0 -6
  129. package/src/filiale/jingzhou/config/exportConfig.js +0 -861
  130. package/src/filiale/jingzhou/config/tableConfig.js +0 -48
  131. package/src/filiale/jingzhou/sale.js +0 -12
  132. package/src/filiale/konggang/exportConfig.js +0 -26
  133. package/src/filiale/konggang/sale/DayReportList.vue +0 -370
  134. package/src/filiale/konggang/sale/DayReportListPrint.vue +0 -260
  135. package/src/filiale/konggang/sale/DayReportSummary.vue +0 -75
  136. package/src/filiale/konggang/sale.js +0 -9
  137. package/src/filiale/liaoyuan/ArrearsQuery.vue +0 -945
  138. package/src/filiale/liaoyuan/ChargeQuery.vue +0 -1278
  139. package/src/filiale/liaoyuan/MeterQuery.vue +0 -905
  140. package/src/filiale/liaoyuan/RecordInfoQuery.vue +0 -1161
  141. package/src/filiale/liaoyuan/ReportList.vue +0 -421
  142. package/src/filiale/liaoyuan/exportConfig.js +0 -718
  143. package/src/filiale/liaoyuan/sale.js +0 -11
  144. package/src/filiale/macheng/ArrearsQuery.vue +0 -823
  145. package/src/filiale/macheng/ChargeQuery.vue +0 -1071
  146. package/src/filiale/macheng/HandplanQuery.vue +0 -1057
  147. package/src/filiale/macheng/MeterQuery.vue +0 -921
  148. package/src/filiale/macheng/RecordInfoQuery.vue +0 -1029
  149. package/src/filiale/macheng/config/DefaultPrint.js +0 -12
  150. package/src/filiale/macheng/config/exportConfig.js +0 -60
  151. package/src/filiale/macheng/sale.js +0 -10
  152. package/src/filiale/meihekou/ArrearsQuery.vue +0 -915
  153. package/src/filiale/meihekou/BusinessManage.vue +0 -151
  154. package/src/filiale/meihekou/CardHandplanQuery.vue +0 -541
  155. package/src/filiale/meihekou/ChargeQuery.vue +0 -1260
  156. package/src/filiale/meihekou/HandplanQuery.vue +0 -1229
  157. package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
  158. package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
  159. package/src/filiale/meihekou/RecordInfoQuery.vue +0 -1158
  160. package/src/filiale/meihekou/UserGasEform.vue +0 -267
  161. package/src/filiale/meihekou/UserQuery.vue +0 -773
  162. package/src/filiale/meihekou/config/DefaultPrint.js +0 -6
  163. package/src/filiale/meihekou/config/exportConfig.js +0 -804
  164. package/src/filiale/meihekou/config/tableConfig.js +0 -48
  165. package/src/filiale/meihekou/sale.js +0 -26
  166. package/src/filiale/pingxiang/ChangeUserQuery.vue +0 -342
  167. package/src/filiale/pingxiang/config/DefaultPrint.js +0 -6
  168. package/src/filiale/pingxiang/config/exportConfig.js +0 -814
  169. package/src/filiale/pingxiang/sale.js +0 -9
  170. package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -825
  171. package/src/filiale/qingtongxia/ChargeQuery.vue +0 -1199
  172. package/src/filiale/qingtongxia/MeterQuery.vue +0 -851
  173. package/src/filiale/qingtongxia/RecordInfoQuery.vue +0 -980
  174. package/src/filiale/qingtongxia/SellPeopleQuery.vue +0 -680
  175. package/src/filiale/qingtongxia/config/DefaultPrint.js +0 -6
  176. package/src/filiale/qingtongxia/config/exportConfig.js +0 -712
  177. package/src/filiale/qingtongxia/sale.js +0 -13
  178. package/src/filiale/rongcheng/ArrearsQuery.vue +0 -729
  179. package/src/filiale/rongcheng/ChargeQuery.vue +0 -1035
  180. package/src/filiale/rongcheng/MonthGasQuery.vue +0 -463
  181. package/src/filiale/rongcheng/RecordInfoQuery.vue +0 -874
  182. package/src/filiale/rongcheng/UserQuery.vue +0 -827
  183. package/src/filiale/rongcheng/exportConfig.js +0 -257
  184. package/src/filiale/rongcheng/sale.js +0 -19
  185. package/src/filiale/rongchuang/ChargeQuery.vue +0 -1237
  186. package/src/filiale/rongchuang/SellingTable.vue +0 -250
  187. package/src/filiale/rongchuang/exportConfig.js +0 -808
  188. package/src/filiale/rongchuang/reportManage.js +0 -11
  189. package/src/filiale/rongchuang/sale.js +0 -11
  190. package/src/filiale/shaoguan/ArrearsQuery.vue +0 -840
  191. package/src/filiale/shaoguan/BusinessManage.vue +0 -162
  192. package/src/filiale/shaoguan/ChargeQuery.vue +0 -1029
  193. package/src/filiale/shaoguan/HandplanQuery.vue +0 -1308
  194. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +0 -74
  195. package/src/filiale/shaoguan/OtherChargeQuery.vue +0 -590
  196. package/src/filiale/shaoguan/RecordInfoQuery.vue +0 -1100
  197. package/src/filiale/shaoguan/TransferQuery.vue +0 -403
  198. package/src/filiale/shaoguan/config/DefaultPrint.js +0 -6
  199. package/src/filiale/shaoguan/config/exportConfig.js +0 -433
  200. package/src/filiale/shaoguan/errorHandplanQuery.vue +0 -366
  201. package/src/filiale/shaoguan/overDueQuery.vue +0 -418
  202. package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +0 -357
  203. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +0 -687
  204. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +0 -338
  205. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +0 -426
  206. package/src/filiale/shaoguan/sale.js +0 -33
  207. package/src/filiale/shennongjia/ChargeQuery.vue +0 -1095
  208. package/src/filiale/shennongjia/config/DefaultPrint.js +0 -6
  209. package/src/filiale/shennongjia/config/exportConfig.js +0 -401
  210. package/src/filiale/shennongjia/config/tableConfig.js +0 -47
  211. package/src/filiale/shennongjia/sale.js +0 -10
  212. package/src/filiale/tongchuan/ResSelectGroupNew.vue +0 -176
  213. package/src/filiale/tongchuan/ResSelectNew.vue +0 -144
  214. package/src/filiale/tongchuan/UserQuery.vue +0 -846
  215. package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
  216. package/src/filiale/tongchuan/config/exportConfig.js +0 -857
  217. package/src/filiale/tongchuan/sale.js +0 -12
  218. package/src/filiale/wuan/ChargeQuery.vue +0 -1234
  219. package/src/filiale/wuan/sale.js +0 -10
  220. package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
  221. package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
  222. package/src/filiale/zhoukou/TransferQuery.vue +0 -404
  223. package/src/filiale/zhoukou/sale.js +0 -15
@@ -1,2 +1,2 @@
1
- #Wed Oct 20 10:54:09 CST 2021
2
- gradle.version=5.5
1
+ #Mon Oct 26 16:02:57 CST 2020
2
+ gradle.version=6.1.1
package/ManageClient.iml CHANGED
@@ -1,13 +1,13 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id="ManageClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="3.1.0-17" type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$">
6
- <excludeFolder url="file://$MODULE_DIR$/.gradle" />
7
- <excludeFolder url="file://$MODULE_DIR$/build" />
8
- <excludeFolder url="file://$MODULE_DIR$/out" />
9
- </content>
10
- <orderEntry type="inheritedJdk" />
11
- <orderEntry type="sourceFolder" forTests="false" />
12
- </component>
13
- </module>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.linked.project.id="ManageClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="3.1.0-17" type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$">
6
+ <excludeFolder url="file://$MODULE_DIR$/.gradle" />
7
+ <excludeFolder url="file://$MODULE_DIR$/build" />
8
+ <excludeFolder url="file://$MODULE_DIR$/out" />
9
+ </content>
10
+ <orderEntry type="inheritedJdk" />
11
+ <orderEntry type="sourceFolder" forTests="false" />
12
+ </component>
13
+ </module>
@@ -1,174 +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
- var shaoguan='http://119.146.1.106:8300/'
15
- var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://127.0.0.1:8086/', fuwu_login = 'http://192.168.50.4:8400'
17
- var fuwu = 'http://192.168.50.4:8400'
18
- var system = 'http://192.168.50.4:8400'
19
- //192.168.
20
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
21
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
22
- var proxyTable = {
23
- '/rs/logic/exportfile': {
24
- target: fuwu
25
- },
26
- '/files': {
27
- target: fuwu
28
- },
29
- // 查找资源服务数据
30
- '/rs/search': {
31
- target: fuwu
32
- },
33
- // 查找资源服务数据
34
- '/rs/logic/getLogin': {
35
- target: fuwu
36
- },
37
- // 查找资源服务数据
38
- '/rs/logic/getInitData': {
39
- target: fuwu
40
- },
41
- '/rs/logic/getSaleInitData':{
42
- target: fuwu
43
- },
44
- // 用户登录服务地址
45
- '/rs/user': {
46
- target: fuwu
47
- },
48
- '/rs/path/getParams': {
49
- target: fuwu
50
- },
51
- '/rs/data': {
52
- target: fuwu
53
- },
54
- '/rs/license': {
55
- target: fuwu
56
- },
57
- '/rs/db': {
58
- target: fuwu
59
- },
60
- '/excel': {
61
- target: fuwu
62
- },
63
- '/rs/config': {
64
- target: fuwu
65
- },
66
- '/rs/sql/getLicenseById': {
67
- target: fuwu
68
- },
69
- '/rs/report': {
70
- target: fuwu
71
- },
72
- '/rs/vue': {
73
- target: fuwu
74
- },
75
- '/rs/file': {
76
- target: fuwu
77
- },
78
- '/rs/logic/SumSettleFileImport': {
79
- target: 'http://127.0.0.1:8080'
80
- },
81
- '/rs': {
82
- target: fuwu
83
- }
84
- }
85
-
86
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
87
- publicPath: config.output.publicPath,
88
- stats: {
89
- colors: true,
90
- chunks: false
91
- }
92
- })
93
-
94
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
95
- // force page reload when html-webpack-plugin template changes
96
- compiler.plugin('compilation', function (compilation) {
97
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
98
- hotMiddleware.publish({action: 'reload'})
99
- cb()
100
- })
101
- })
102
-
103
- // proxy api requests
104
- Object.keys(proxyTable).forEach(function (context) {
105
- var options = proxyTable[context]
106
- if (typeof options === 'string') {
107
- options = {target: options}
108
- }
109
- app.use(proxyMiddleware(context, options))
110
- })
111
-
112
- // handle fallback for HTML5 history API
113
- app.use(require('connect-history-api-fallback')())
114
- // app.use(function (req, res, next) {
115
- // res.header('Access-Control-Allow-Origin', '*')
116
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
117
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
118
- // res.header('X-Powered-By', '3,2,1')
119
- // res.header('Access-Control-Allow-Credentials', 'true')
120
- // res.header('Content-Type', 'application/json;charset=utf-8')
121
- // next()
122
- // })
123
-
124
- // serve webpack bundle output
125
- app.use(devMiddleware)
126
-
127
- // enable hot-reload and state-preserving
128
- // compilation error display
129
- app.use(hotMiddleware)
130
-
131
- // serve pure static assets
132
- app.use('/static', express.static('./static'))
133
-
134
- // app.all('/rs/*', function (req, res) {
135
- // proxy.web(req, res, {
136
- // target: 'http://127.0.0.1:8081/reports'
137
- // })
138
- // })
139
-
140
- // app.all('/rs/*', function (req, res) {
141
- // proxy.web(req, res, {
142
- // target: 'http://127.0.0.1:8081/ldap'
143
- // })
144
- // })
145
- // app.all('/excel/*', function (req, res) {
146
- // proxy.web(req, res, {
147
- // target: 'http://127.0.0.1:8081/charge'
148
- // })
149
- // })
150
-
151
- // app.all('/rs/*', function (req, res) {
152
- // proxy.web(req, res, {
153
- // target: 'http://127.0.0.1:82/charge'
154
- // })
155
- // })
156
-
157
- // app.all('/*', function (req, res) {
158
- // proxy.web(req, res, {
159
- // target: 'http://127.0.0.1:82'
160
- // })
161
- // })
162
- // app.all('/rs/user', function (req, res) {
163
- // proxy.web(req, res, {
164
- // target: 'http://127.0.0.1:82'
165
- // })
166
- // })
167
-
168
- module.exports = app.listen(8085, function (err) {
169
- if (err) {
170
- console.log(err)
171
- return
172
- }
173
- console.log('Listening at http://localhost:8085')
174
- })
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://192.168.20.27:8400/'
14
+ var fuwu = 'http://192.168.20.27: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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.1.35",
3
+ "version": "3.1.36-zk",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -63,7 +63,7 @@
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
69
  "vue-client": "1.24.21",
@@ -25,15 +25,66 @@
25
25
  </datepicker>
26
26
  </div>
27
27
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel :show-component="$parent.$parent.showself"></res-select-group>
28
+ <!-- <div class="col-sm-2 form-group">-->
29
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>-->
30
+ <!-- <v-select :value.sync="model.f_residential_area"-->
31
+ <!-- class="select_list select"-->
32
+ <!-- enter-push-->
33
+ <!-- multiple = "true"-->
34
+ <!-- v-model="model.f_residential_area"-->
35
+ <!-- style="width: 60%"-->
36
+ <!-- :options='$parent.$parent.residentialArea' placeholder='选择小区'-->
37
+ <!-- close-on-select>-->
38
+
39
+ <!-- </v-select>-->
40
+ <!-- </div>-->
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">&nbsp;付款方式&nbsp;</label>
43
+ <v-select :value.sync="model.f_payment"
44
+ class="select_list select"
45
+ multiple
46
+ :search="false"
47
+ v-model="model.f_payment"
48
+ style="width: 60%"
49
+ :options='$parent.$parent.payment'
50
+ placeholder='付款方式'
51
+ close-on-select>
52
+
53
+ </v-select>
54
+ </div>
55
+ <div class="col-sm-2 form-group">
56
+ <label class="font_normal_body">客户编号</label>
57
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
58
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">客户名称</label>
62
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
63
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">&nbsp;收费状态&nbsp;</label>
67
+ <v-select :value.sync="model.f_state"
68
+ class="select_list select"
69
+ :search="false"
70
+ v-model="model.f_state"
71
+ style="width: 60%"
72
+ :options='$parent.$parent.sellstate'
73
+ placeholder='收费状态'
74
+ condition="f_state in {}"
75
+ close-on-select>
76
+
77
+ </v-select>
78
+ </div>
28
79
  <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
30
- <v-select :value.sync="model.f_residential_area"
80
+ <label class="font_normal_body">&nbsp;收费类型&nbsp;</label>
81
+ <v-select :value.sync="model.f_type"
31
82
  class="select_list select"
32
- enter-push
33
- multiple = "true"
34
- v-model="model.f_residential_area"
83
+ :search="false"
84
+ v-model="model.f_type"
35
85
  style="width: 60%"
36
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
86
+ :options='$parent.$parent.selltype'
87
+ placeholder='收费类型'
37
88
  close-on-select>
38
89
 
39
90
  </v-select>
@@ -87,9 +138,9 @@
87
138
  <th>
88
139
  <nobr>客户地址</nobr>
89
140
  </th>
90
- <th>
91
- <nobr>气量</nobr>
92
- </th>
141
+ <!-- <th>-->
142
+ <!-- <nobr>气量</nobr>-->
143
+ <!-- </th>-->
93
144
  <th>
94
145
  <nobr>收款</nobr>
95
146
  </th>
@@ -129,11 +180,11 @@
129
180
  <td style="text-align: center;">
130
181
  <nobr>{{row.f_address}}</nobr>
131
182
  </td>
183
+ <!-- <td style="text-align: center;">-->
184
+ <!-- <nobr>{{row.f_pregas}}</nobr>-->
185
+ <!-- </td>-->
132
186
  <td style="text-align: center;">
133
- <nobr>{{row.f_pregas}}</nobr>
134
- </td>
135
- <td style="text-align: center;">
136
- <nobr>{{row.f_preamount}}</nobr>
187
+ <nobr>{{row.f_collection}}</nobr>
137
188
  </td>
138
189
  <td style="text-align: center;">
139
190
  <nobr>{{row.price}}</nobr>
@@ -172,11 +223,11 @@
172
223
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
173
224
  汇总信息
174
225
  </td>
226
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
227
+ <!-- 总气量:&emsp;{{sumsmodel.f_pregas}}-->
228
+ <!-- </td>-->
175
229
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
176
- 总气量:&emsp;{{sumsmodel.f_pregas}}
177
- </td>
178
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
179
- 总金额:&emsp;{{sumsmodel.f_preamount}}
230
+ 总金额:&emsp;{{sumsmodel.f_collection}}
180
231
  </td>
181
232
  </tr>
182
233
  </table>
@@ -188,7 +239,6 @@
188
239
  import {PagedList, HttpResetClass} from 'vue-client'
189
240
  import defaultPrint from '../sale/config/DefaultPrint'
190
241
  import exportConfig from '../sale/config/exportConfig'
191
- import PrintDataSelf from '../sale/common/PrintDataSelf'
192
242
 
193
243
  let readySomething = async function (self) {
194
244
  self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
@@ -204,9 +254,9 @@
204
254
  data: {},
205
255
  other:[],
206
256
  footer:[],
207
- model: new PagedList('rs/sql/chargeDayReport', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},{
257
+ model: new PagedList('rs/sql/chargeDayReport', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', sellType: 'this.model.sellType'},{
208
258
  f_pregas:0,
209
- f_preamount:0
259
+ f_collection:0
210
260
  }),
211
261
  gasproperties:[],
212
262
  initres: {
@@ -229,17 +279,16 @@
229
279
  fields: {},
230
280
  thead: '',
231
281
  tfoot: '',
232
-
233
282
  // 下拉框
234
283
 
235
284
  //合计数据
236
285
  sumsmodel: {},
237
286
  sumField: {
238
- 'f_pregas': '方量', 'f_preamount': '金额'
287
+ 'f_pregas': '方量', 'f_collection': '金额'
239
288
  },
240
289
  pageSum: {
241
290
  'f_pregas': '0.00',
242
- 'f_preamount': '0.00',
291
+ 'f_collection': '0.00',
243
292
  },
244
293
  defaultfield: [],
245
294
  config: {
@@ -249,6 +298,7 @@
249
298
  }
250
299
  },
251
300
  ready() {
301
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
252
302
  this.getaddress()
253
303
  readySomething(this).then(() => {
254
304
  this.$emit('ready')
@@ -281,15 +331,19 @@
281
331
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
282
332
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
283
333
  args.condition = `${args.condition} ` +' and '+this.orgCondtionStr.trim().substring(4)
334
+ args.model.sellType = `1=1`
335
+ if(args.model.f_type.length !== 0){
336
+ args.model.sellType += ` and f_type in ('${args.model.f_type.toString().replace(/,/g,"','")}')`
337
+ }
284
338
  //小区查询条件
285
- this.area = this.$refs.paged.$refs.cri.model.f_residential_area
339
+ this.area = this.$refs.paged.$refs.cri.model.f_payment
286
340
  if(this.area.length !== 0){
287
341
  let str = JSON.stringify(this.area)
288
342
  str = str.replace(/"/g,`'`)
289
343
  str = str.replace(/\[/g,``)
290
344
  str = str.replace(/\]/g,``)
291
345
  //查询多个小区时条件
292
- args.condition += ` and f_residential_area in ( ${str} )`
346
+ args.condition += ` and f_payment in ( ${str} )`
293
347
  }
294
348
  this.model.search(args.condition, args.model)
295
349
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
@@ -409,6 +463,15 @@
409
463
  condition: this.$refs.paged.model.condition
410
464
  }
411
465
  },
466
+ payment() {
467
+ return [...this.$appdata.getParam('付款方式查询')]
468
+ },
469
+ sellstate(){
470
+ return [...this.$appdata.getParam('收费状态')]
471
+ },
472
+ selltype(){
473
+ return [{label: '补卡费', value: '补卡费'},{label: '过户费', value: '过户费'},...this.$appdata.getParam('收费类型')]
474
+ },
412
475
  getfield() {
413
476
  return exportConfig.ChargeDayReportConfig
414
477
  },