manage-client 3.3.188 → 3.3.189

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.
Binary file
@@ -1,190 +1,190 @@
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://220.194.141.253:8600/'
17
- // var bendi = 'http://203.57.101.233:9001'
18
- // var bendi = 'http://172.168.1.11:9001/'
19
- // var bendi = 'http://203.57.101.233:8400/'
20
- // var bendi = 'http://121.36.106.17:8400/'
21
- // var fuwu = 'http://203.57.101.233:9001'
22
- var bendi = 'http://192.168.50.4:8400/'
23
- // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://192.168.50.4:8400/'
25
- // 192.168.
26
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
28
- var proxyTable = {
29
- '/rs/logic/exportfile': {
30
- target: bendi
31
- },
32
- '/api': {
33
- target: 'http://192.168.50.4:8400'
34
-
35
- },
36
- '/rs/sql/chargeQuery_by_gasproperties': {
37
- target: 'http://localhost:8084/'
38
- },
39
- '/rs/logic/chargeQuery_by_gasproperties_line': {
40
- target: 'http://localhost:8084/'
41
- },
42
- '/files': {
43
- target: bendi
44
- },
45
- // 查找资源服务数据
46
- '/rs/search': {
47
- target: bendi
48
- },
49
- // 查找资源服务数据
50
- '/rs/logic/getLogin': {
51
- target: bendi
52
- },
53
- // 查找资源服务数据
54
- '/rs/logic/getInitData': {
55
- target: bendi
56
- },
57
- '/rs/logic/getSaleInitData': {
58
- target: bendi
59
- },
60
- // 用户登录服务地址
61
- '/rs/user': {
62
- target: bendi
63
- },
64
- '/rs/path/getParams': {
65
- target: bendi
66
- },
67
- '/rs/data': {
68
- target: bendi
69
- },
70
- '/rs/license': {
71
- target: bendi
72
- },
73
- '/rs/db': {
74
- target: bendi
75
- },
76
- '/excel': {
77
- target: bendi
78
- },
79
- '/rs/config': {
80
- target: bendi
81
- },
82
- '/rs/sql/getLicenseById': {
83
- target: bendi
84
- },
85
- '/rs/report': {
86
- target: bendi
87
- },
88
- '/rs/vue': {
89
- target: bendi
90
- },
91
- '/rs/file': {
92
- target: bendi
93
- },
94
- '/rs/sql/singleTable': {
95
- target: bendi
96
- },
97
- '/rs': {
98
- target: wode
99
- }
100
- }
101
-
102
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
103
- publicPath: config.output.publicPath,
104
- stats: {
105
- colors: true,
106
- chunks: false
107
- }
108
- })
109
-
110
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
111
- // force page reload when html-webpack-plugin template changes
112
- compiler.plugin('compilation', function (compilation) {
113
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
114
- hotMiddleware.publish({action: 'reload'})
115
- cb()
116
- })
117
- })
118
-
119
- // proxy api requests
120
- Object.keys(proxyTable).forEach(function (context) {
121
- var options = proxyTable[context]
122
- if (typeof options === 'string') {
123
- options = {target: options}
124
- }
125
- app.use(proxyMiddleware(context, options))
126
- })
127
-
128
- // handle fallback for HTML5 history API
129
- app.use(require('connect-history-api-fallback')())
130
- // app.use(function (req, res, next) {
131
- // res.header('Access-Control-Allow-Origin', '*')
132
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
133
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
134
- // res.header('X-Powered-By', '3,2,1')
135
- // res.header('Access-Control-Allow-Credentials', 'true')
136
- // res.header('Content-Type', 'application/json;charset=utf-8')
137
- // next()
138
- // })
139
-
140
- // serve webpack bundle output
141
- app.use(devMiddleware)
142
-
143
- // enable hot-reload and state-preserving
144
- // compilation error display
145
- app.use(hotMiddleware)
146
-
147
- // serve pure static assets
148
- app.use('/static', express.static('./static'))
149
-
150
- // app.all('/rs/*', function (req, res) {
151
- // proxy.web(req, res, {
152
- // target: 'http://127.0.0.1:8081/reports'
153
- // })
154
- // })
155
-
156
- // app.all('/rs/*', function (req, res) {
157
- // proxy.web(req, res, {
158
- // target: 'http://127.0.0.1:8081/ldap'
159
- // })
160
- // })
161
- // app.all('/excel/*', function (req, res) {
162
- // proxy.web(req, res, {
163
- // target: 'http://127.0.0.1:8081/charge'
164
- // })
165
- // })
166
-
167
- // app.all('/rs/*', function (req, res) {
168
- // proxy.web(req, res, {
169
- // target: 'http://127.0.0.1:82/charge'
170
- // })
171
- // })
172
-
173
- // app.all('/*', function (req, res) {
174
- // proxy.web(req, res, {
175
- // target: 'http://127.0.0.1:82'
176
- // })
177
- // })
178
- // app.all('/rs/user', function (req, res) {
179
- // proxy.web(req, res, {
180
- // target: 'http://127.0.0.1:82'
181
- // })
182
- // })
183
-
184
- module.exports = app.listen(8015, function (err) {
185
- if (err) {
186
- console.log(err)
187
- return
188
- }
189
- console.log('Listening at http://localhost:8015')
190
- })
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://220.194.141.253:8600/'
17
+ // var bendi = 'http://203.57.101.233:9001'
18
+ // var bendi = 'http://172.168.1.11:9001/'
19
+ // var bendi = 'http://203.57.101.233:8400/'
20
+ // var bendi = 'http://121.36.106.17:8400/'
21
+ // var fuwu = 'http://203.57.101.233:9001'
22
+ var bendi = 'http://192.168.50.4:8400/'
23
+ // var bendi = 'http://119.187.112.234:8400/'
24
+ var wode = 'http://192.168.50.4:8400/'
25
+ // 192.168.
26
+ // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
+ // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
28
+ var proxyTable = {
29
+ '/rs/logic/exportfile': {
30
+ target: bendi
31
+ },
32
+ '/api': {
33
+ target: 'http://192.168.50.4:8400'
34
+
35
+ },
36
+ '/rs/sql/chargeQuery_by_gasproperties': {
37
+ target: 'http://localhost:8084/'
38
+ },
39
+ '/rs/logic/chargeQuery_by_gasproperties_line': {
40
+ target: 'http://localhost:8084/'
41
+ },
42
+ '/files': {
43
+ target: bendi
44
+ },
45
+ // 查找资源服务数据
46
+ '/rs/search': {
47
+ target: bendi
48
+ },
49
+ // 查找资源服务数据
50
+ '/rs/logic/getLogin': {
51
+ target: bendi
52
+ },
53
+ // 查找资源服务数据
54
+ '/rs/logic/getInitData': {
55
+ target: bendi
56
+ },
57
+ '/rs/logic/getSaleInitData': {
58
+ target: bendi
59
+ },
60
+ // 用户登录服务地址
61
+ '/rs/user': {
62
+ target: bendi
63
+ },
64
+ '/rs/path/getParams': {
65
+ target: bendi
66
+ },
67
+ '/rs/data': {
68
+ target: bendi
69
+ },
70
+ '/rs/license': {
71
+ target: bendi
72
+ },
73
+ '/rs/db': {
74
+ target: bendi
75
+ },
76
+ '/excel': {
77
+ target: bendi
78
+ },
79
+ '/rs/config': {
80
+ target: bendi
81
+ },
82
+ '/rs/sql/getLicenseById': {
83
+ target: bendi
84
+ },
85
+ '/rs/report': {
86
+ target: bendi
87
+ },
88
+ '/rs/vue': {
89
+ target: bendi
90
+ },
91
+ '/rs/file': {
92
+ target: bendi
93
+ },
94
+ '/rs/sql/singleTable': {
95
+ target: bendi
96
+ },
97
+ '/rs': {
98
+ target: wode
99
+ }
100
+ }
101
+
102
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
103
+ publicPath: config.output.publicPath,
104
+ stats: {
105
+ colors: true,
106
+ chunks: false
107
+ }
108
+ })
109
+
110
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
111
+ // force page reload when html-webpack-plugin template changes
112
+ compiler.plugin('compilation', function (compilation) {
113
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
114
+ hotMiddleware.publish({action: 'reload'})
115
+ cb()
116
+ })
117
+ })
118
+
119
+ // proxy api requests
120
+ Object.keys(proxyTable).forEach(function (context) {
121
+ var options = proxyTable[context]
122
+ if (typeof options === 'string') {
123
+ options = {target: options}
124
+ }
125
+ app.use(proxyMiddleware(context, options))
126
+ })
127
+
128
+ // handle fallback for HTML5 history API
129
+ app.use(require('connect-history-api-fallback')())
130
+ // app.use(function (req, res, next) {
131
+ // res.header('Access-Control-Allow-Origin', '*')
132
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
133
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
134
+ // res.header('X-Powered-By', '3,2,1')
135
+ // res.header('Access-Control-Allow-Credentials', 'true')
136
+ // res.header('Content-Type', 'application/json;charset=utf-8')
137
+ // next()
138
+ // })
139
+
140
+ // serve webpack bundle output
141
+ app.use(devMiddleware)
142
+
143
+ // enable hot-reload and state-preserving
144
+ // compilation error display
145
+ app.use(hotMiddleware)
146
+
147
+ // serve pure static assets
148
+ app.use('/static', express.static('./static'))
149
+
150
+ // app.all('/rs/*', function (req, res) {
151
+ // proxy.web(req, res, {
152
+ // target: 'http://127.0.0.1:8081/reports'
153
+ // })
154
+ // })
155
+
156
+ // app.all('/rs/*', function (req, res) {
157
+ // proxy.web(req, res, {
158
+ // target: 'http://127.0.0.1:8081/ldap'
159
+ // })
160
+ // })
161
+ // app.all('/excel/*', function (req, res) {
162
+ // proxy.web(req, res, {
163
+ // target: 'http://127.0.0.1:8081/charge'
164
+ // })
165
+ // })
166
+
167
+ // app.all('/rs/*', function (req, res) {
168
+ // proxy.web(req, res, {
169
+ // target: 'http://127.0.0.1:82/charge'
170
+ // })
171
+ // })
172
+
173
+ // app.all('/*', function (req, res) {
174
+ // proxy.web(req, res, {
175
+ // target: 'http://127.0.0.1:82'
176
+ // })
177
+ // })
178
+ // app.all('/rs/user', function (req, res) {
179
+ // proxy.web(req, res, {
180
+ // target: 'http://127.0.0.1:82'
181
+ // })
182
+ // })
183
+
184
+ module.exports = app.listen(8015, function (err) {
185
+ if (err) {
186
+ console.log(err)
187
+ return
188
+ }
189
+ console.log('Listening at http://localhost:8015')
190
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.188",
3
+ "version": "3.3.189",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -294,7 +294,7 @@
294
294
  </div>
295
295
  <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
296
296
  <article slot="modal-body">
297
- <upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="补气" :isremark="false" style="width:auto" ></upload>
297
+ <upload :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="补气" :isremark="false" style="width:auto" ></upload>
298
298
  </article>
299
299
  <footer slot="modal-footer" class="modal-footer">
300
300
  </footer>
@@ -32,7 +32,7 @@
32
32
  @res-select="getRes"
33
33
  :initresid="model.id">
34
34
  </res-select>
35
- <button class="button_search button_spacing" @click="changePage()">下一页</button>
35
+ <button class="button_search button_spacing" @click="changePage()">下一页</button>
36
36
  </div>
37
37
  </div>
38
38
  </div>
@@ -67,7 +67,7 @@
67
67
  </div>
68
68
  </div>
69
69
  <div style="height: 97%;" v-if="showPage === 2">
70
- <iframe src="http://119.187.112.234:9528/#/delink?link=Y8I%2FK%2FiIq6HlCQCQx8xG%2FeAj2GQ%2Fg1nl7jXauckQJhZrEPV%2BRkyF3HthpF4LVC8pS6MDn5%2BLiEM7mYEgROEQtQ&user=qDn45GDQ0K0EVNcpZy2VoQxHult9RhbeRPXLrq%2BCQz152dmng0uyBYBWn7EjcF2YwD44XdF0gda5h6oFHwJqkg"
70
+ <iframe src="http://119.187.112.234:9528/#/delink?link=Xun1W4ColEjaBrsR7uQqq%2FlLRaqpur8ZLnbuwSovQJxkK%2F%2Bqs7bEbonCchQM%2BGwmojs%2BbvtBuc9zdBl3miXOZQ&user=yrh0a7xtbSypdtka86RCIhSxZUjIWE688Z%2BWgADSW%2BqCmrEPVvMXYtymOZkdto39pSXjNdw%2BOe25pTYGZkNuMw"
71
71
  width="100%" height="100%" style="border: none;" ></iframe>
72
72
  <!-- <div class="flex-row" style="flex: 1;height: 96%">-->
73
73
  <!-- <div style="flex: 1">-->
@@ -261,6 +261,12 @@
261
261
  <th><nobr>最后抄表日期</nobr></th>
262
262
  <th><nobr>用气量</nobr></th>
263
263
  <th><nobr>用气金额</nobr></th>
264
+ <th><nobr>一阶气量</nobr></th>
265
+ <th><nobr>一阶金额</nobr></th>
266
+ <th><nobr>二阶气量</nobr></th>
267
+ <th><nobr>二阶金额</nobr></th>
268
+ <th><nobr>三阶气量</nobr></th>
269
+ <th><nobr>三阶金额</nobr></th>
264
270
  <th><nobr>欠费月数</nobr></th>
265
271
  <th><nobr>欠费条数</nobr></th>
266
272
  <th><nobr>欠费月平均气量</nobr></th>
@@ -291,6 +297,14 @@
291
297
  <th style="text-align: center;"><nobr>{{row.end_time}}</nobr></th>
292
298
  <th style="text-align: center;"><nobr>{{row.f_oughtamount}}</nobr></th>
293
299
  <th style="text-align: center;"><nobr>{{row.f_oughtfee}}</nobr></th>
300
+
301
+ <th style="text-align: center;"><nobr>{{row.f_stair_gas1}}</nobr></th>
302
+ <th style="text-align: center;"><nobr>{{row.f_stair_money1}}</nobr></th>
303
+ <th style="text-align: center;"><nobr>{{row.f_stair_gas2}}</nobr></th>
304
+ <th style="text-align: center;"><nobr>{{row.f_stair_money2}}</nobr></th>
305
+ <th style="text-align: center;"><nobr>{{row.f_stair_gas3}}</nobr></th>
306
+ <th style="text-align: center;"><nobr>{{row.f_stair_money3}}</nobr></th>
307
+
294
308
  <th style="text-align: center;"><nobr>{{row.qianfei_month_num}}</nobr></th>
295
309
  <th style="text-align: center;"><nobr>{{row.qianfei_num}}</nobr></th>
296
310
  <th style="text-align: center;"><nobr>{{row.qianfei_avg_gas}}</nobr></th>
@@ -304,6 +318,14 @@
304
318
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
305
319
  <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">总用气量:&emsp;&emsp;{{sumsmodel.f_oughtamount}}</td>
306
320
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总用气金额:&emsp;&emsp;{{sumsmodel.f_oughtfee}}</td>
321
+
322
+ <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">一阶气量:&emsp;&emsp;{{sumsmodel.f_stair_gas1}}</td>
323
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">一阶金额:&emsp;&emsp;{{sumsmodel.f_stair_money1}}</td>
324
+ <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">二阶气量:&emsp;&emsp;{{sumsmodel.f_stair_gas2}}</td>
325
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">二阶金额:&emsp;&emsp;{{sumsmodel.f_stair_money2}}</td>
326
+ <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">三阶气量:&emsp;&emsp;{{sumsmodel.f_stair_gas3}}</td>
327
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">三阶金额:&emsp;&emsp;{{sumsmodel.f_stair_money3}}</td>
328
+
307
329
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费条数:&emsp;&emsp;{{sumsmodel.qianfei_num}}</td>
308
330
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费气量:&emsp;{{sumsmodel.f_totalowe_gas}}</td>
309
331
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费金额:&emsp;{{sumsmodel.f_totalowe_fee}}</td>
@@ -348,6 +370,12 @@
348
370
  model: new PagedList('api/af-revenue/sql/getGasInspection', 50,{mycondition:'this.model.model.mycondition'},{
349
371
  f_oughtamount:0,
350
372
  f_oughtfee:0,
373
+ f_stair_gas1:0,
374
+ f_stair_money1:0,
375
+ f_stair_gas2:0,
376
+ f_stair_money2:0,
377
+ f_stair_gas3:0,
378
+ f_stair_money3:0,
351
379
  qianfei_num:0,
352
380
  f_totalowe_gas:0,
353
381
  f_totalowe_fee:0
@@ -622,6 +650,12 @@
622
650
  'f_meter_base': '表底数',
623
651
  'f_oughtamount': '用气量',
624
652
  'f_oughtfee': '用气金额',
653
+ 'f_stair_gas1': '一阶气量',
654
+ 'f_stair_money1': '一阶金额',
655
+ 'f_stair_gas2': '二阶气量',
656
+ 'f_stair_money2': '二阶金额',
657
+ 'f_stair_gas3': '三阶气量',
658
+ 'f_stair_money3': '三阶金额',
625
659
  'qianfei_month_num': '欠费月数',
626
660
  'qianfei_num': '欠费条数',
627
661
  'qianfei_avg_gas': '欠费月平均气量',
@@ -1,2 +0,0 @@
1
- #Wed Apr 17 11:12:27 CST 2024
2
- gradle.version=7.4