sale-client 3.5.147 → 3.5.148-1

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Nov 10 15:53:56 CST 2022
2
+ gradle.version=5.2.1
File without changes
@@ -1,195 +1,197 @@
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://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
- // 公司测试服务
15
- // var fuwu = 'http://192.168.50.4:8400'
16
- // var fuwu = 'http://39.99.85.14:8400'
17
- var fuwu = 'http://39.108.82.124:8400'
18
- // var fuwu = 'http://47.93.217.125:8400'
19
- // var fuwu = 'http://121.36.106.17:8400/'
20
- // 铜川正式
21
- // var fuwu = 'http://61.134.55.234:9999/'
22
- // 铜川测试
23
- // var fuwu = 'http://61.134.55.234:9999/'
24
- // var fuwu = 'http://60.222.250.39:8300/'
25
- // 韶关
26
- // var fuwu = 'http://119.146.1.106:8300/'
27
- // 巩义测试服务
28
- // var fuwu = 'http://192.168.0.227:8400'
29
- // 燎原测试服务
30
- // var fuwu = 'http://121.41.19.238:8400 '
31
- // var fuwu = 'http://121.41.19.238:9001/'
32
-
33
- // var fuwu = 'http://139.214.92.34:8301/'
34
-
35
- var proxyTable = {
36
- // '/'
37
- // '/rs/logic/stopBasicLivingNew':{
38
- // target:'http://127.0.0.1:8080'
39
- // },
40
- // '/rs/logic/getBatchOperaPro':{
41
- // target:'http://127.0.0.1:8080'
42
- // },
43
- // '/rs/sql/sale_getUser':{
44
- // target:'http://127.0.0.1:8080'
45
- // },
46
- // '/rs/logic/getOperBtns':{
47
- // target:'http://127.0.0.1:8080'
48
- // },
49
- // '/rs/file/uploadFile':{
50
- // target:'http://127.0.0.1:8080'
51
- // },
52
- // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
53
- // target:'http://127.0.0.1:8080'
54
- // },
55
- // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
56
- // target:'http:127.0.0.1:8080'
57
- // },
58
- // '/rs/sql/getDownPlan':{
59
- // target:'http:127.0.0.1:8080'
60
- // },
61
- // '/rs/logic/saleExport': {
62
- // target: fuwu
63
- // },
64
- // '/rs/logic/saleGetExportProgress': {
65
- // target: fuwu
66
- // },
67
- // '/rs/logic/getWarningMsg': {
68
- // target: 'http://localhost:8080/'
69
- // },
70
- '/rs/file': {
71
- target: fuwu
72
- },
73
- '/files': {
74
- target: fuwu
75
- },
76
- // 查找资源服务数据
77
- '/rs/search': {
78
- target: fuwu
79
- },
80
- // 查找资源服务数据
81
- '/rs/logic/getLogin': {
82
- target: fuwu
83
- },
84
- // 查找资源服务数据
85
- '/rs/logic/getInitData': {
86
- target: fuwu
87
- },
88
- '/rs/logic/getSaleInitData': {
89
- target: fuwu
90
- },
91
- '/invoice': {
92
- target: fuwu
93
- },
94
- // 用户登录服务地址
95
- '/rs/user': {
96
- target: fuwu
97
- },
98
- '/rs/path/getParams': {
99
- target: fuwu
100
- },
101
- '/rs/data': {
102
- target: fuwu
103
- },
104
- '/rs/license': {
105
- target: fuwu
106
- },
107
- '/rs/db': {
108
- target: fuwu
109
- },
110
- '/excel': {
111
- target: fuwu
112
- },
113
- '/rs/config': {
114
- target: fuwu
115
- },
116
- '/rs/sql/getLicenseById': {
117
- target: fuwu
118
- },
119
- '/rs/sql/manage_getarealist': {
120
- target: fuwu
121
- },
122
- '/rs/sql/manage_getstreetlist': {
123
- target: fuwu
124
- },
125
- '/rs/report': {
126
- target: 'http://121.36.106.17:8400/'
127
- },
128
- '/rs/vue': {
129
- target: fuwu
130
- },
131
- '/webmeter': {
132
- target: 'http://192.168.50.4:8450'
133
- },
134
- '/rs': {
135
- // target: 'http://192.168.30.63:8081/'
136
- // target: 'http://121.36.106.17:8400/'
137
- target: fuwu
138
- }
139
- }
140
-
141
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
142
- publicPath: config.output.publicPath,
143
- stats: {
144
- colors: true,
145
- chunks: false
146
- }
147
- })
148
-
149
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
150
- // force page reload when html-webpack-plugin template changes
151
- compiler.plugin('compilation', function (compilation) {
152
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
153
- hotMiddleware.publish({action: 'reload'})
154
- cb()
155
- })
156
- })
157
-
158
- // proxy api requests
159
- Object.keys(proxyTable).forEach(function (context) {
160
- var options = proxyTable[context]
161
- if (typeof options === 'string') {
162
- options = {target: options}
163
- }
164
- app.use(proxyMiddleware(context, options))
165
- })
166
-
167
- // handle fallback for HTML5 history API
168
- app.use(require('connect-history-api-fallback')())
169
- // app.use(function (req, res, next) {
170
- // res.header('Access-Control-Allow-Origin', '*')
171
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
172
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
173
- // res.header('X-Powered-By', '3,2,1')
174
- // res.header('Access-Control-Allow-Credentials', 'true')
175
- // res.header('Content-Type', 'application/json;charset=utf-8')
176
- // next()
177
- // })
178
-
179
- // serve webpack bundle output
180
- app.use(devMiddleware)
181
-
182
- // enable hot-reload and state-preserving
183
- // compilation error display
184
- app.use(hotMiddleware)
185
-
186
- // serve pure static assets
187
- app.use('/static', express.static('./static'))
188
-
189
- module.exports = app.listen(8089, function (err) {
190
- if (err) {
191
- console.log(err)
192
- return
193
- }
194
- console.log('Listening at http://localhost:8089')
195
- })
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://121.36.106.17:8400'
14
+ // 公司测试服务
15
+ // var fuwu = 'http://192.168.50.4:8400'
16
+ // var fuwu = 'http://39.99.85.14:8400'
17
+ // var fuwu = 'http://39.108.82.124:8400'
18
+ //var fuwu = 'http://219.138.226.181:8401'
19
+ //中邑服务
20
+ var fuwu = 'http://47.93.217.125:8400'
21
+ // var fuwu = 'http://121.36.106.17:8400/'
22
+ // 铜川正式
23
+ // var fuwu = 'http://61.134.55.234:9999/'
24
+ // 铜川测试
25
+ // var fuwu = 'http://61.134.55.234:9999/'
26
+ // var fuwu = 'http://60.222.250.39:8300/'
27
+ // 韶关
28
+ // var fuwu = 'http://119.146.1.106:8300/'
29
+ // 巩义测试服务
30
+ // var fuwu = 'http://192.168.0.227:8400'
31
+ // 燎原测试服务
32
+ // var fuwu = 'http://121.41.19.238:8400 '
33
+ // var fuwu = 'http://121.41.19.238:9001/'
34
+
35
+ // var fuwu = 'http://139.214.92.34:8301/'
36
+
37
+ var proxyTable = {
38
+ // '/'
39
+ // '/rs/logic/stopBasicLivingNew':{
40
+ // target:'http://127.0.0.1:8080'
41
+ // },
42
+ // '/rs/logic/getBatchOperaPro':{
43
+ // target:'http://127.0.0.1:8080'
44
+ // },
45
+ // '/rs/sql/sale_getUser':{
46
+ // target:'http://127.0.0.1:8080'
47
+ // },
48
+ // '/rs/logic/getOperBtns':{
49
+ // target:'http://127.0.0.1:8080'
50
+ // },
51
+ // '/rs/file/uploadFile':{
52
+ // target:'http://127.0.0.1:8080'
53
+ // },
54
+ // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
55
+ // target:'http://127.0.0.1:8080'
56
+ // },
57
+ // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
58
+ // target:'http:127.0.0.1:8080'
59
+ // },
60
+ // '/rs/sql/getDownPlan':{
61
+ // target:'http:127.0.0.1:8080'
62
+ // },
63
+ // '/rs/logic/saleExport': {
64
+ // target: fuwu
65
+ // },
66
+ // '/rs/logic/saleGetExportProgress': {
67
+ // target: fuwu
68
+ // },
69
+ // '/rs/logic/getWarningMsg': {
70
+ // target: 'http://localhost:8080/'
71
+ // },
72
+ '/rs/file': {
73
+ target: fuwu
74
+ },
75
+ '/files': {
76
+ target: fuwu
77
+ },
78
+ // 查找资源服务数据
79
+ '/rs/search': {
80
+ target: fuwu
81
+ },
82
+ // 查找资源服务数据
83
+ '/rs/logic/getLogin': {
84
+ target: fuwu
85
+ },
86
+ // 查找资源服务数据
87
+ '/rs/logic/getInitData': {
88
+ target: fuwu
89
+ },
90
+ '/rs/logic/getSaleInitData': {
91
+ target: fuwu
92
+ },
93
+ '/invoice': {
94
+ target: fuwu
95
+ },
96
+ // 用户登录服务地址
97
+ '/rs/user': {
98
+ target: fuwu
99
+ },
100
+ '/rs/path/getParams': {
101
+ target: fuwu
102
+ },
103
+ '/rs/data': {
104
+ target: fuwu
105
+ },
106
+ '/rs/license': {
107
+ target: fuwu
108
+ },
109
+ '/rs/db': {
110
+ target: fuwu
111
+ },
112
+ '/excel': {
113
+ target: fuwu
114
+ },
115
+ '/rs/config': {
116
+ target: fuwu
117
+ },
118
+ '/rs/sql/getLicenseById': {
119
+ target: fuwu
120
+ },
121
+ '/rs/sql/manage_getarealist': {
122
+ target: fuwu
123
+ },
124
+ '/rs/sql/manage_getstreetlist': {
125
+ target: fuwu
126
+ },
127
+ '/rs/report': {
128
+ target: 'http://121.36.106.17:8400/'
129
+ },
130
+ '/rs/vue': {
131
+ target: fuwu
132
+ },
133
+ '/webmeter': {
134
+ target: 'http://192.168.50.4:8450'
135
+ },
136
+ '/rs': {
137
+ // target: 'http://192.168.30.63:8081/'
138
+ // target: 'http://121.36.106.17:8400/'
139
+ target: fuwu
140
+ }
141
+ }
142
+
143
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
144
+ publicPath: config.output.publicPath,
145
+ stats: {
146
+ colors: true,
147
+ chunks: false
148
+ }
149
+ })
150
+
151
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
152
+ // force page reload when html-webpack-plugin template changes
153
+ compiler.plugin('compilation', function (compilation) {
154
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
155
+ hotMiddleware.publish({action: 'reload'})
156
+ cb()
157
+ })
158
+ })
159
+
160
+ // proxy api requests
161
+ Object.keys(proxyTable).forEach(function (context) {
162
+ var options = proxyTable[context]
163
+ if (typeof options === 'string') {
164
+ options = {target: options}
165
+ }
166
+ app.use(proxyMiddleware(context, options))
167
+ })
168
+
169
+ // handle fallback for HTML5 history API
170
+ app.use(require('connect-history-api-fallback')())
171
+ // app.use(function (req, res, next) {
172
+ // res.header('Access-Control-Allow-Origin', '*')
173
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
174
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
175
+ // res.header('X-Powered-By', '3,2,1')
176
+ // res.header('Access-Control-Allow-Credentials', 'true')
177
+ // res.header('Content-Type', 'application/json;charset=utf-8')
178
+ // next()
179
+ // })
180
+
181
+ // serve webpack bundle output
182
+ app.use(devMiddleware)
183
+
184
+ // enable hot-reload and state-preserving
185
+ // compilation error display
186
+ app.use(hotMiddleware)
187
+
188
+ // serve pure static assets
189
+ app.use('/static', express.static('./static'))
190
+
191
+ module.exports = app.listen(8089, function (err) {
192
+ if (err) {
193
+ console.log(err)
194
+ return
195
+ }
196
+ console.log('Listening at http://localhost:8089')
197
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.147",
3
+ "version": "3.5.148-1",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -5,7 +5,7 @@
5
5
  <div style="margin-top: 2%;">
6
6
  <a style="font-size: 16px;font-weight: 500;">表具信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
7
7
  </div>
8
- <div class="row">
8
+ <div class="row" >
9
9
  <div class="col-sm-4 form-group" v-if="isiot" :class="[$m.f_meternumber.required ? 'has-error' : '']">
10
10
  <label for="f_meternumber" class="font_normal_body">&ensp;表&emsp;&emsp;号</label>
11
11
  <input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
@@ -32,7 +32,7 @@
32
32
  <input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
33
33
  :disabled="!jurisdiction.includes('档案信息查询修改')" :readonly="!row.f_userfiles_id">
34
34
  </div>
35
- <div class="col-sm-4 form-group">
35
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
36
36
  <label for="f_meter_base" class="font_normal_body">&ensp;初始底数</label>
37
37
  <input type="number" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
38
38
  :disabled="!jurisdiction.includes('档案信息查询修改')">
@@ -53,32 +53,32 @@
53
53
  close-on-select
54
54
  v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
55
55
  </div>
56
- <div class="col-sm-4 form-group">
56
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
57
57
  <label for="f_meter_base" class="font_normal_body">&ensp;累购气量</label>
58
58
  <input type="number" class="input_search" style="width:60%" v-model="row.f_total_gas" placeholder='累购气量'
59
59
  :disabled="!jurisdiction.includes('档案信息查询修改')">
60
60
  </div>
61
- <div class="col-sm-4 form-group">
61
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
62
62
  <label for="f_meter_base" class="font_normal_body">表写卡累购气量</label>
63
63
  <input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalgas" placeholder='表写卡累购气量'
64
64
  :disabled="!jurisdiction.includes('档案信息查询修改')">
65
65
  </div>
66
- <div class="col-sm-4 form-group">
66
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
67
67
  <label for="f_meter_base" class="font_normal_body">&ensp;累购金额</label>
68
68
  <input type="number" class="input_search" style="width:60%" v-model="row.f_total_fee" placeholder='累购金额'
69
69
  :disabled="!jurisdiction.includes('档案信息查询修改')">
70
70
  </div>
71
- <div class="col-sm-4 form-group">
71
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
72
72
  <label for="f_meter_base" class="font_normal_body">表写卡累购金额</label>
73
73
  <input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalfee" placeholder='表写卡累购金额'
74
74
  :disabled="!jurisdiction.includes('档案信息查询修改')">
75
75
  </div>
76
- <div class="col-sm-4 form-group" v-show="row.f_meter_classify != '机表'">
76
+ <div class="col-sm-4 form-group" v-show="row.f_meter_classify != '机表'" title="涉及权限:【档案信息查询修改】">
77
77
  <label for="f_times" class="font_normal_body">&ensp;写卡次数</label>
78
78
  <input type="number" class="input_search" style="width:60%" v-model="row.f_times" placeholder='写卡次数'
79
79
  :disabled="!jurisdiction.includes('档案信息查询修改')">
80
80
  </div>
81
- <div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'">
81
+ <div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'" title="涉及权限:【档案信息查询修改】">
82
82
  <label for="f_times" class="font_normal_body">物联网写卡次数</label>
83
83
  <input type="number" class="input_search" style="width:60%" v-model="row.f_iot_times" placeholder='物联网次数'
84
84
  :disabled="!jurisdiction.includes('档案信息查询修改')">