sale-client 3.5.183 → 3.5.185

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.
@@ -1,2 +1,2 @@
1
- #Mon Mar 06 19:09:37 CST 2023
2
- gradle.version=7.5.1
1
+ #Thu Mar 09 16:10:35 CST 2023
2
+ gradle.version=5.2.1
Binary file
@@ -1,67 +1,201 @@
1
- const express = require('express')
2
- const webpack = require('webpack')
3
- const config = require('./webpack.dev.conf')
4
- const proxyMiddleware = require('http-proxy-middleware')
5
- const app = express()
6
- const compiler = webpack(config)
7
-
8
- // 自己改了这里不要提交 来回覆盖挺麻烦的
9
- const [local, server] = ['http://127.0.0.1:8080', 'http://192.168.50.4:8400']
10
- const port = 8089
11
-
12
- const proxyTable = {
13
- '/text': {
14
- target: local
15
- },
16
- '/files': {
17
- target: server
18
- },
19
- '/excel': {
20
- target: server
21
- },
22
- '/webmeter': {
23
- target: server
24
- },
25
- '/rs/logic': {
26
- target: server
27
- },
28
- '/rs': {
29
- target: server
30
- }
31
- }
32
-
33
- const devMiddleware = require('webpack-dev-middleware')(compiler, {
34
- publicPath: config.output.publicPath,
35
- stats: {
36
- colors: true,
37
- chunks: false
38
- }
39
- })
40
-
41
- const hotMiddleware = require('webpack-hot-middleware')(compiler)
42
- compiler.plugin('compilation', function (compilation) {
43
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
44
- hotMiddleware.publish({action: 'reload'})
45
- cb()
46
- })
47
- })
48
-
49
- Object.keys(proxyTable).forEach(function (context) {
50
- let options = proxyTable[context]
51
- if (typeof options === 'string') {
52
- options = {target: options}
53
- }
54
- app.use(proxyMiddleware(context, options))
55
- })
56
- app.use(require('connect-history-api-fallback')())
57
- app.use(devMiddleware)
58
- app.use(hotMiddleware)
59
- app.use('/static', express.static('./static'))
60
-
61
- module.exports = app.listen(port, function (err) {
62
- if (err) {
63
- console.log(err)
64
- return
65
- }
66
- console.log('Listening at http://localhost:' + port)
67
- })
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:8450'
16
+ // 梅河口
17
+ // var fuwu = 'http://139.214.92.34:8301'
18
+ // 单县
19
+ // var fuwu = 'http://119.187.112.234:8400'
20
+ // 中盛
21
+ // var fuwu = 'http://39.99.85.14:8400'
22
+ // 燎原
23
+ var fuwu = 'http://121.36.106.17:8400'
24
+ // 葛华
25
+ // var fuwu = 'http://219.138.226.181:8401'
26
+ // 乌海
27
+ // var fuwu = 'http://203.57.101.233:8400'
28
+ // 铜川
29
+ // var fuwu = 'http://61.134.55.234:9999/'
30
+ // var fuwu = 'http://60.222.250.39:8300/'
31
+ // 韶关
32
+ // var fuwu = 'http://119.146.1.106:8300/'
33
+ // 巩义测试服务
34
+ // var fuwu = 'http://192.168.0.227:8400'
35
+ // 燎原测试服务
36
+ // var fuwu = 'http://121.41.19.238:8400 '
37
+ // var fuwu = 'http://121.41.19.238:9001/'
38
+
39
+ // var fuwu = 'http://139.214.92.34:8301/'
40
+
41
+ var proxyTable = {
42
+ // '/'
43
+ // '/rs/logic/stopBasicLivingNew':{
44
+ // target:'http://127.0.0.1:8080'
45
+ // },
46
+ // '/rs/logic/getBatchOperaPro':{
47
+ // target:'http://127.0.0.1:8080'
48
+ // },
49
+ // '/rs/sql/sale_getUser':{
50
+ // target:'http://127.0.0.1:8080'
51
+ // },
52
+ // '/rs/logic/getOperBtns':{
53
+ // target:'http://127.0.0.1:8080'
54
+ // },
55
+ // '/rs/file/uploadFile':{
56
+ // target:'http://127.0.0.1:8080'
57
+ // },
58
+ // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
59
+ // target:'http://127.0.0.1:8080'
60
+ // },
61
+ // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
62
+ // target:'http:127.0.0.1:8080'
63
+ // },
64
+ // '/rs/sql/getDownPlan':{
65
+ // target:'http:127.0.0.1:8080'
66
+ // },
67
+ // '/rs/logic/saleExport': {
68
+ // target: fuwu
69
+ // },
70
+ // '/rs/logic/saleGetExportProgress': {
71
+ // target: fuwu
72
+ // },
73
+ // '/rs/logic/getWarningMsg': {
74
+ // target: 'http://localhost:8080/'
75
+ // },
76
+ '/rs/file': {
77
+ target: fuwu
78
+ },
79
+ '/files': {
80
+ target: fuwu
81
+ },
82
+ // 查找资源服务数据
83
+ '/rs/search': {
84
+ target: fuwu
85
+ },
86
+ // 查找资源服务数据
87
+ '/rs/logic/getLogin': {
88
+ target: fuwu
89
+ },
90
+ // 查找资源服务数据
91
+ '/rs/logic/getInitData': {
92
+ target: fuwu
93
+ },
94
+ '/rs/logic/getSaleInitData': {
95
+ target: fuwu
96
+ },
97
+ '/invoice': {
98
+ target: fuwu
99
+ },
100
+ // 用户登录服务地址
101
+ '/rs/user': {
102
+ target: fuwu
103
+ },
104
+ '/rs/path/getParams': {
105
+ target: fuwu
106
+ },
107
+ '/rs/data': {
108
+ target: fuwu
109
+ },
110
+ '/rs/license': {
111
+ target: fuwu
112
+ },
113
+ '/rs/db': {
114
+ target: fuwu
115
+ },
116
+ '/excel': {
117
+ target: fuwu
118
+ },
119
+ '/rs/config': {
120
+ target: fuwu
121
+ },
122
+ '/rs/sql/getLicenseById': {
123
+ target: fuwu
124
+ },
125
+ '/rs/sql/manage_getarealist': {
126
+ target: fuwu
127
+ },
128
+ '/rs/sql/manage_getstreetlist': {
129
+ target: fuwu
130
+ },
131
+ '/rs/report': {
132
+ target: 'http://121.36.106.17:8400/'
133
+ },
134
+ '/rs/vue': {
135
+ target: fuwu
136
+ },
137
+ '/webmeter': {
138
+ target: 'http://192.168.50.4:8450'
139
+ },
140
+ '/rs': {
141
+ // target: 'http://192.168.30.63:8081/'
142
+ // target: 'http://121.36.106.17:8400/'
143
+ target: fuwu
144
+ }
145
+ }
146
+
147
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
148
+ publicPath: config.output.publicPath,
149
+ stats: {
150
+ colors: true,
151
+ chunks: false
152
+ }
153
+ })
154
+
155
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
156
+ // force page reload when html-webpack-plugin template changes
157
+ compiler.plugin('compilation', function (compilation) {
158
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
159
+ hotMiddleware.publish({action: 'reload'})
160
+ cb()
161
+ })
162
+ })
163
+
164
+ // proxy api requests
165
+ Object.keys(proxyTable).forEach(function (context) {
166
+ var options = proxyTable[context]
167
+ if (typeof options === 'string') {
168
+ options = {target: options}
169
+ }
170
+ app.use(proxyMiddleware(context, options))
171
+ })
172
+
173
+ // handle fallback for HTML5 history API
174
+ app.use(require('connect-history-api-fallback')())
175
+ // app.use(function (req, res, next) {
176
+ // res.header('Access-Control-Allow-Origin', '*')
177
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
178
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
179
+ // res.header('X-Powered-By', '3,2,1')
180
+ // res.header('Access-Control-Allow-Credentials', 'true')
181
+ // res.header('Content-Type', 'application/json;charset=utf-8')
182
+ // next()
183
+ // })
184
+
185
+ // serve webpack bundle output
186
+ app.use(devMiddleware)
187
+
188
+ // enable hot-reload and state-preserving
189
+ // compilation error display
190
+ app.use(hotMiddleware)
191
+
192
+ // serve pure static assets
193
+ app.use('/static', express.static('./static'))
194
+
195
+ module.exports = app.listen(8089, function (err) {
196
+ if (err) {
197
+ console.log(err)
198
+ return
199
+ }
200
+ console.log('Listening at http://localhost:8089')
201
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.183",
3
+ "version": "3.5.185",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -100,7 +100,7 @@
100
100
  :value.sync="model.f_create_start_date"
101
101
  :disabled-days-of-Week="[]"
102
102
  style="width: 60%"
103
- condition="convert(varchar(10),f_createdate,120) >= '{}'"
103
+ condition="f_createdate >= '{}'"
104
104
  :format="'yyyy-MM-dd'"
105
105
  :show-reset-button="reset">
106
106
  </datepicker>
@@ -112,7 +112,7 @@
112
112
  :value.sync="model.f_create_end_date"
113
113
  :disabled-days-of-Week="[]"
114
114
  style="width: 60%"
115
- condition="convert(varchar(10),f_createdate,120) <= '{}'"
115
+ condition="f_createdate <= '{}'"
116
116
  :format="'yyyy-MM-dd'"
117
117
  :show-reset-button="reset">
118
118
  </datepicker>
@@ -124,7 +124,7 @@
124
124
  :value.sync="model.f_send_start_date"
125
125
  :disabled-days-of-Week="[]"
126
126
  style="width: 60%"
127
- condition="convert(varchar(10),f_sendtime,120) >= '{}'"
127
+ condition="f_sendtime >= '{}'"
128
128
  :format="'yyyy-MM-dd'"
129
129
  :show-reset-button="reset">
130
130
  </datepicker>
@@ -136,7 +136,7 @@
136
136
  :value.sync="model.f_send_end_date"
137
137
  :disabled-days-of-Week="[]"
138
138
  style="width: 60%"
139
- condition="convert(varchar(10),f_sendtime,120) <= '{}'"
139
+ condition="f_sendtime <= '{}'"
140
140
  :format="'yyyy-MM-dd'"
141
141
  :show-reset-button="reset">
142
142
  </datepicker>