address-client 3.0.23-3 → 3.0.23-3-fx

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
- #Fri Nov 22 09:37:34 CST 2019
2
- gradle.version=5.2.1
1
+ #Mon Nov 12 14:18:19 CST 2018
2
+ gradle.version=3.5.1
@@ -1,125 +1,122 @@
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 str = 'http://127.0.0.1:8091/ldap', str2= 'http://127.0.0.1:8300'
14
- var str = 'http://112.6.230.117:6300', str2= 'http://112.6.230.117:6300'
15
- var proxyTable = {
16
-
17
- '/rs/logic/getLogin': {
18
- target: str2
19
- },
20
- '/rs/user': {
21
- target: str2
22
- },
23
- '/rs/db': {
24
- target: str2
25
- },
26
- '/rs/search': {
27
- target: str2
28
- },
29
- '/rs/data': {
30
- target: str2
31
- },
32
- '/rs/logic/getInitData': {
33
- target: str2
34
- },
35
- '/rs/logic/getSaleInitData': {
36
- // target: 'http://127.0.0.1:8090/product'
37
- target: str
38
- },
39
- '/rs': {
40
- // target: 'http://192.168.50.199:8300'
41
- target: str
42
- // target: 'http://127.0.0.1:8092/address'
43
- }
44
- }
45
-
46
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
47
- publicPath: config.output.publicPath,
48
- stats: {
49
- colors: true,
50
- chunks: false
51
- }
52
- })
53
-
54
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
55
- // force page reload when html-webpack-plugin template changes
56
- compiler.plugin('compilation', function (compilation) {
57
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
58
- hotMiddleware.publish({ action: 'reload' })
59
- cb()
60
- })
61
- })
62
-
63
- // proxy api requests
64
- Object.keys(proxyTable).forEach(function (context) {
65
- var options = proxyTable[context]
66
- if (typeof options === 'string') {
67
- options = { target: options }
68
- }
69
- app.use(proxyMiddleware(context, options))
70
- })
71
-
72
- // handle fallback for HTML5 history API
73
- app.use(require('connect-history-api-fallback')())
74
-
75
- // serve webpack bundle output
76
- app.use(devMiddleware)
77
-
78
- // enable hot-reload and state-preserving
79
- // compilation error display
80
- app.use(hotMiddleware)
81
-
82
- // serve pure static assets
83
- app.use('/static', express.static('./static'))
84
-
85
- // app.all('/rs/*', function (req, res) {
86
- // proxy.web(req, res, {
87
- // target: 'http://127.0.0.1:8081/reports'
88
- // })
89
- // })
90
-
91
- // app.all('/rs/*', function (req, res) {
92
- // proxy.web(req, res, {
93
- // target: 'http://127.0.0.1:8081/ldap'
94
- // })
95
- // })
96
- // app.all('/excel/*', function (req, res) {
97
- // proxy.web(req, res, {
98
- // target: 'http://127.0.0.1:8081/charge'
99
- // })
100
- // })
101
-
102
- // app.all('/rs/*', function (req, res) {
103
- // proxy.web(req, res, {
104
- // target: 'http://127.0.0.1:82/charge'
105
- // })
106
- // })
107
-
108
- // app.all('/*', function (req, res) {
109
- // proxy.web(req, res, {
110
- // target: 'http://127.0.0.1:82'
111
- // })
112
- // })
113
- // app.all('/rs/user', function (req, res) {
114
- // proxy.web(req, res, {
115
- // target: 'http://127.0.0.1:82'
116
- // })
117
- // })
118
-
119
- module.exports = app.listen(8085, function (err) {
120
- if (err) {
121
- console.log(err)
122
- return
123
- }
124
- console.log('Listening at http://localhost:8085')
125
- })
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 str = 'http://61.163.115.30:8300/', str2= 'http://61.163.115.30:8300/'
14
+ var proxyTable = {
15
+
16
+ '/rs/logic/getLogin': {
17
+ target: str2
18
+ },
19
+ '/rs/user': {
20
+ target: str2
21
+ },
22
+ '/rs/db': {
23
+ target: str2
24
+ },
25
+ '/rs/search': {
26
+ target: str2
27
+ },
28
+ '/rs/data': {
29
+ target: str2
30
+ },
31
+ '/rs/logic/getInitData': {
32
+ target: str2
33
+ },
34
+ '/rs/logic/getSaleInitData': {
35
+ target: 'http://61.163.115.30:8300/'
36
+ },
37
+ '/rs': {
38
+ // target: 'http://192.168.50.199:8300'
39
+ target: 'http://61.163.115.30:8300/'
40
+ }
41
+ }
42
+
43
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
44
+ publicPath: config.output.publicPath,
45
+ stats: {
46
+ colors: true,
47
+ chunks: false
48
+ }
49
+ })
50
+
51
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
52
+ // force page reload when html-webpack-plugin template changes
53
+ compiler.plugin('compilation', function (compilation) {
54
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
55
+ hotMiddleware.publish({ action: 'reload' })
56
+ cb()
57
+ })
58
+ })
59
+
60
+ // proxy api requests
61
+ Object.keys(proxyTable).forEach(function (context) {
62
+ var options = proxyTable[context]
63
+ if (typeof options === 'string') {
64
+ options = { target: options }
65
+ }
66
+ app.use(proxyMiddleware(context, options))
67
+ })
68
+
69
+ // handle fallback for HTML5 history API
70
+ app.use(require('connect-history-api-fallback')())
71
+
72
+ // serve webpack bundle output
73
+ app.use(devMiddleware)
74
+
75
+ // enable hot-reload and state-preserving
76
+ // compilation error display
77
+ app.use(hotMiddleware)
78
+
79
+ // serve pure static assets
80
+ app.use('/static', express.static('./static'))
81
+
82
+ // app.all('/rs/*', function (req, res) {
83
+ // proxy.web(req, res, {
84
+ // target: 'http://127.0.0.1:8081/reports'
85
+ // })
86
+ // })
87
+
88
+ // app.all('/rs/*', function (req, res) {
89
+ // proxy.web(req, res, {
90
+ // target: 'http://127.0.0.1:8081/ldap'
91
+ // })
92
+ // })
93
+ // app.all('/excel/*', function (req, res) {
94
+ // proxy.web(req, res, {
95
+ // target: 'http://127.0.0.1:8081/charge'
96
+ // })
97
+ // })
98
+
99
+ // app.all('/rs/*', function (req, res) {
100
+ // proxy.web(req, res, {
101
+ // target: 'http://127.0.0.1:82/charge'
102
+ // })
103
+ // })
104
+
105
+ // app.all('/*', function (req, res) {
106
+ // proxy.web(req, res, {
107
+ // target: 'http://127.0.0.1:82'
108
+ // })
109
+ // })
110
+ // app.all('/rs/user', function (req, res) {
111
+ // proxy.web(req, res, {
112
+ // target: 'http://127.0.0.1:82'
113
+ // })
114
+ // })
115
+
116
+ module.exports = app.listen(8085, function (err) {
117
+ if (err) {
118
+ console.log(err)
119
+ return
120
+ }
121
+ console.log('Listening at http://localhost:8085')
122
+ })
package/package.json CHANGED
@@ -1,97 +1,99 @@
1
- {
2
- "name": "address-client",
3
- "version": "3.0.23-3",
4
- "description": "地址管理前台组件",
5
- "author": "wanbochao",
6
- "license": "ISC",
7
- "main": "src/index.js",
8
- "keywords": [
9
- "sale"
10
- ],
11
- "scripts": {
12
- "unit": "karma start test/unit/karma.conf.js",
13
- "example": "node build/example-server.js",
14
- "dev": "node build/dev-server.js",
15
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
- "e2e": "node test/e2e/runner.js",
18
- "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
- "release": "bash build/release.sh"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://gitee.com/aote/address_management.git"
24
- },
25
- "dependencies": {
26
- "less-loader": "^2.2.3",
27
- "vue": "^1.0.17"
28
- },
29
- "devDependencies": {
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "co": "^4.6.0",
37
- "connect-history-api-fallback": "^1.1.0",
38
- "cross-env": "^1.0.7",
39
- "cross-spawn": "^2.1.5",
40
- "css-loader": "^0.23.0",
41
- "echarts": "^4.1.0",
42
- "eslint": "^2.0.0",
43
- "eslint-config-standard": "^5.1.0",
44
- "eslint-friendly-formatter": "^1.2.2",
45
- "eslint-loader": "^1.3.0",
46
- "eslint-plugin-html": "^1.3.0",
47
- "eslint-plugin-promise": "^1.0.8",
48
- "eslint-plugin-standard": "^1.3.2",
49
- "eslint-plugin-vue": "^0.1.1",
50
- "eventsource-polyfill": "^0.9.6",
51
- "express": "^4.13.3",
52
- "extract-text-webpack-plugin": "^1.0.1",
53
- "file-loader": "^0.8.4",
54
- "function-bind": "^1.0.2",
55
- "html-webpack-plugin": "^2.8.1",
56
- "http-proxy-middleware": "^0.11.0",
57
- "inject-loader": "^2.0.1",
58
- "isparta-loader": "^2.0.0",
59
- "jasmine-core": "^2.4.1",
60
- "jquery": "^3.3.1",
61
- "json-loader": "^0.5.4",
62
- "karma": "^1.4.1",
63
- "karma-chrome-launcher": "^2.2.0",
64
- "karma-coverage": "^1.1.1",
65
- "karma-mocha": "^1.3.0",
66
- "karma-sinon-chai": "^1.3.1",
67
- "karma-sourcemap-loader": "^0.3.7",
68
- "karma-spec-reporter": "0.0.31",
69
- "karma-webpack": "^2.0.2",
70
- "less": "^2.7.3",
71
- "mkdirp": "^0.5.1",
72
- "mocha": "^3.2.0",
73
- "ncp": "^2.0.0",
74
- "rimraf": "^2.5.0",
75
- "sale-client": "^3.0.0",
76
- "selenium-server": "2.52.0",
77
- "sinon": "^2.1.0",
78
- "sinon-chai": "^2.8.0",
79
- "style": "0.0.3",
80
- "style-loader": "^0.20.3",
81
- "system-clients": "3.0.6",
82
- "url-loader": "^0.5.7",
83
- "vue-client": "1.21.47",
84
- "vue-hot-reload-api": "^1.2.0",
85
- "vue-html-loader": "^1.0.0",
86
- "vue-loader": "^8.2.1",
87
- "vue-resource": "^1.5.0",
88
- "vue-router": "^0.7.13",
89
- "vue-strap": "^1.0.9",
90
- "vue-style-loader": "^1.0.0",
91
- "vue-validator": "2.1.7",
92
- "webpack": "^1.12.2",
93
- "webpack-dev-middleware": "^1.4.0",
94
- "webpack-hot-middleware": "^2.6.0",
95
- "webpack-merge": "^0.8.3"
96
- }
97
- }
1
+ {
2
+ "name": "address-client",
3
+ "version": "3.0.23-3-fx",
4
+ "description": "地址管理前台组件",
5
+ "author": "wanbochao",
6
+ "license": "ISC",
7
+ "main": "src/index.js",
8
+ "keywords": [
9
+ "sale"
10
+ ],
11
+ "scripts": {
12
+ "unit": "karma start test/unit/karma.conf.js",
13
+ "example": "node build/example-server.js",
14
+ "dev": "node build/dev-server.js",
15
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
+ "e2e": "node test/e2e/runner.js",
18
+ "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
+ "release": "bash build/release.sh"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://gitee.com/aote/address_management.git"
24
+ },
25
+ "dependencies": {
26
+ "less-loader": "^2.2.3",
27
+ "vue": "^1.0.17"
28
+ },
29
+ "devDependencies": {
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "co": "^4.6.0",
37
+ "connect-history-api-fallback": "^1.1.0",
38
+ "cross-env": "^1.0.7",
39
+ "axios": "0.15.3",
40
+ "cross-spawn": "^2.1.5",
41
+ "css-loader": "^0.23.0",
42
+ "echarts": "^4.1.0",
43
+ "eslint": "^2.0.0",
44
+ "eslint-config-standard": "^5.1.0",
45
+ "eslint-friendly-formatter": "^1.2.2",
46
+ "eslint-loader": "^1.3.0",
47
+ "eslint-plugin-html": "^1.3.0",
48
+ "eslint-plugin-promise": "^1.0.8",
49
+ "eslint-plugin-standard": "^1.3.2",
50
+ "eslint-plugin-vue": "^0.1.1",
51
+ "eventsource-polyfill": "^0.9.6",
52
+ "express": "^4.13.3",
53
+ "extract-text-webpack-plugin": "^1.0.1",
54
+ "file-loader": "^0.8.4",
55
+ "function-bind": "^1.0.2",
56
+ "html-webpack-plugin": "^2.8.1",
57
+ "http-proxy-middleware": "^0.11.0",
58
+ "inject-loader": "^2.0.1",
59
+ "isparta-loader": "^2.0.0",
60
+ "jasmine-core": "^2.4.1",
61
+ "jquery": "^3.3.1",
62
+ "json-loader": "^0.5.4",
63
+ "karma": "^1.4.1",
64
+ "karma-chrome-launcher": "^2.2.0",
65
+ "karma-coverage": "^1.1.1",
66
+ "karma-mocha": "^1.3.0",
67
+ "karma-sinon-chai": "^1.3.1",
68
+ "karma-sourcemap-loader": "^0.3.7",
69
+ "karma-spec-reporter": "0.0.31",
70
+ "karma-webpack": "^2.0.2",
71
+ "less": "^2.7.3",
72
+ "mkdirp": "^0.5.1",
73
+ "mocha": "^3.2.0",
74
+ "moment": "2.24.0",
75
+ "ncp": "^2.0.0",
76
+ "rimraf": "^2.5.0",
77
+ "sale-client": "3.1.2-50-fanxian",
78
+ "selenium-server": "2.52.0",
79
+ "sinon": "^2.1.0",
80
+ "sinon-chai": "^2.8.0",
81
+ "style": "0.0.3",
82
+ "style-loader": "^0.20.3",
83
+ "system-clients": "3.0.47-fanxian",
84
+ "url-loader": "^0.5.7",
85
+ "vue-client": "1.22.7",
86
+ "vue-hot-reload-api": "^1.2.0",
87
+ "vue-html-loader": "^1.0.0",
88
+ "vue-loader": "^8.2.1",
89
+ "vue-resource": "^1.5.0",
90
+ "vue-router": "^0.7.13",
91
+ "vue-strap": "^1.0.9",
92
+ "vue-style-loader": "^1.0.0",
93
+ "vue-validator": "2.1.7",
94
+ "webpack": "^1.12.2",
95
+ "webpack-dev-middleware": "^1.4.0",
96
+ "webpack-hot-middleware": "^2.6.0",
97
+ "webpack-merge": "^0.8.3"
98
+ }
99
+ }