address-client 3.0.34-aode → 3.0.34-aodeToV4

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 (35) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/AddressClient.iml +12 -12
  3. package/CHANGELOG.md +12 -12
  4. package/build/dev-server.js +128 -128
  5. package/build/webpack.base.conf.js +81 -81
  6. package/examples/showAdd/App.vue +40 -40
  7. package/index.html +40 -40
  8. package/package.json +1 -1
  9. package/src/address.js +58 -58
  10. package/src/components/AddAreaMsg.vue +599 -599
  11. package/src/components/AddStreetOrPcd.vue +231 -231
  12. package/src/components/AddressAddAddress.vue +479 -479
  13. package/src/components/AddressFiles.vue +156 -156
  14. package/src/components/AddressList.vue +323 -307
  15. package/src/components/AddressManage.vue +117 -117
  16. package/src/components/AddressTree.vue +501 -501
  17. package/src/components/AreaFiles.vue +73 -73
  18. package/src/components/AreaList.vue +28 -5
  19. package/src/components/AreaManage.vue +101 -101
  20. package/src/components/AreaTree.vue +508 -508
  21. package/src/components/Basch.vue +72 -72
  22. package/src/components/BatchOrders.vue +328 -328
  23. package/src/components/CityManage.vue +76 -76
  24. package/src/components/NewAddressInfo.vue +432 -432
  25. package/src/components/OneCodeList.vue +251 -251
  26. package/src/components/StreetList.vue +184 -184
  27. package/src/components/UserAddress.vue +780 -780
  28. package/src/components/UserAddressChange.vue +58 -58
  29. package/src/components/addressts/AddressListts.vue +307 -307
  30. package/src/components/addressts/AddressManagets.vue +117 -117
  31. package/src/components/addressts/UserAddressChangets.vue +58 -58
  32. package/src/components/addressts/UserAddressts.vue +739 -739
  33. package/src/components/areauser/AreaUser.vue +233 -233
  34. package/src/components/selectAddress/BatchList.vue +326 -326
  35. package/src/main.js +23 -23
@@ -1,2 +1,2 @@
1
- #Fri Jul 10 10:01:08 CST 2020
2
- gradle.version=3.5
1
+ #Fri Jul 10 10:01:08 CST 2020
2
+ gradle.version=3.5
package/AddressClient.iml CHANGED
@@ -1,13 +1,13 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id="AddressClient" 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.0.11" type="JAVA_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>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.linked.project.id="AddressClient" 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.0.11" type="JAVA_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
13
  </module>
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
- # Change Log
2
- 所有关于本产品的变化都在该文档里。
3
-
4
- ## 1.3.2-2018-11-12 @刘江涛
5
- - 地址查询修改
6
-
7
- ## 1.3.1-2018-11-11 @何宁社
8
- - 地址管理完成
9
- - 地址查询完成
10
-
11
- ## 1.2.0-2018-11-11 @何宁社
12
- - 删除样式
1
+ # Change Log
2
+ 所有关于本产品的变化都在该文档里。
3
+
4
+ ## 1.3.2-2018-11-12 @刘江涛
5
+ - 地址查询修改
6
+
7
+ ## 1.3.1-2018-11-11 @何宁社
8
+ - 地址管理完成
9
+ - 地址查询完成
10
+
11
+ ## 1.2.0-2018-11-11 @何宁社
12
+ - 删除样式
@@ -1,128 +1,128 @@
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:8025/', str2= 'http://192.168.10.233:8300'
14
- var proxyTable = {
15
-
16
- '/rs/logic/getLogin': {
17
- target: str2
18
- },
19
- '/rs/logic/deleteAreaAll': {
20
- target: str
21
- },
22
- '/rs/logic/address_updateuseraddress': {
23
- target: str
24
- },
25
- '/rs/user': {
26
- target: str2
27
- },
28
- '/rs/db': {
29
- target: str2
30
- },
31
- '/rs/search': {
32
- target: str2
33
- },
34
- '/rs/data': {
35
- target: str2
36
- },
37
- '/rs/logic/getInitData': {
38
- target: str2
39
- },
40
- '/rs/logic/getSaleInitData': {
41
- target: str2
42
- },
43
- '/rs': {
44
- // target: 'http://192.168.50.199:8300'
45
- target: str2
46
- }
47
- }
48
-
49
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
50
- publicPath: config.output.publicPath,
51
- stats: {
52
- colors: true,
53
- chunks: false
54
- }
55
- })
56
-
57
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
58
- // force page reload when html-webpack-plugin template changes
59
- compiler.plugin('compilation', function (compilation) {
60
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
61
- hotMiddleware.publish({ action: 'reload' })
62
- cb()
63
- })
64
- })
65
-
66
- // proxy api requests
67
- Object.keys(proxyTable).forEach(function (context) {
68
- var options = proxyTable[context]
69
- if (typeof options === 'string') {
70
- options = { target: options }
71
- }
72
- app.use(proxyMiddleware(context, options))
73
- })
74
-
75
- // handle fallback for HTML5 history API
76
- app.use(require('connect-history-api-fallback')())
77
-
78
- // serve webpack bundle output
79
- app.use(devMiddleware)
80
-
81
- // enable hot-reload and state-preserving
82
- // compilation error display
83
- app.use(hotMiddleware)
84
-
85
- // serve pure static assets
86
- app.use('/static', express.static('./static'))
87
-
88
- // app.all('/rs/*', function (req, res) {
89
- // proxy.web(req, res, {
90
- // target: 'http://127.0.0.1:8081/reports'
91
- // })
92
- // })
93
-
94
- // app.all('/rs/*', function (req, res) {
95
- // proxy.web(req, res, {
96
- // target: 'http://127.0.0.1:8081/ldap'
97
- // })
98
- // })
99
- // app.all('/excel/*', function (req, res) {
100
- // proxy.web(req, res, {
101
- // target: 'http://127.0.0.1:8081/charge'
102
- // })
103
- // })
104
-
105
- // app.all('/rs/*', function (req, res) {
106
- // proxy.web(req, res, {
107
- // target: 'http://127.0.0.1:82/charge'
108
- // })
109
- // })
110
-
111
- // app.all('/*', function (req, res) {
112
- // proxy.web(req, res, {
113
- // target: 'http://127.0.0.1:82'
114
- // })
115
- // })
116
- // app.all('/rs/user', function (req, res) {
117
- // proxy.web(req, res, {
118
- // target: 'http://127.0.0.1:82'
119
- // })
120
- // })
121
-
122
- module.exports = app.listen(8085, function (err) {
123
- if (err) {
124
- console.log(err)
125
- return
126
- }
127
- console.log('Listening at http://localhost:8085')
128
- })
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:8025/', str2= 'http://192.168.10.233:8300'
14
+ var proxyTable = {
15
+
16
+ '/rs/logic/getLogin': {
17
+ target: str2
18
+ },
19
+ '/rs/logic/deleteAreaAll': {
20
+ target: str
21
+ },
22
+ '/rs/logic/address_updateuseraddress': {
23
+ target: str
24
+ },
25
+ '/rs/user': {
26
+ target: str2
27
+ },
28
+ '/rs/db': {
29
+ target: str2
30
+ },
31
+ '/rs/search': {
32
+ target: str2
33
+ },
34
+ '/rs/data': {
35
+ target: str2
36
+ },
37
+ '/rs/logic/getInitData': {
38
+ target: str2
39
+ },
40
+ '/rs/logic/getSaleInitData': {
41
+ target: str2
42
+ },
43
+ '/rs': {
44
+ // target: 'http://192.168.50.199:8300'
45
+ target: str2
46
+ }
47
+ }
48
+
49
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
50
+ publicPath: config.output.publicPath,
51
+ stats: {
52
+ colors: true,
53
+ chunks: false
54
+ }
55
+ })
56
+
57
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
58
+ // force page reload when html-webpack-plugin template changes
59
+ compiler.plugin('compilation', function (compilation) {
60
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
61
+ hotMiddleware.publish({ action: 'reload' })
62
+ cb()
63
+ })
64
+ })
65
+
66
+ // proxy api requests
67
+ Object.keys(proxyTable).forEach(function (context) {
68
+ var options = proxyTable[context]
69
+ if (typeof options === 'string') {
70
+ options = { target: options }
71
+ }
72
+ app.use(proxyMiddleware(context, options))
73
+ })
74
+
75
+ // handle fallback for HTML5 history API
76
+ app.use(require('connect-history-api-fallback')())
77
+
78
+ // serve webpack bundle output
79
+ app.use(devMiddleware)
80
+
81
+ // enable hot-reload and state-preserving
82
+ // compilation error display
83
+ app.use(hotMiddleware)
84
+
85
+ // serve pure static assets
86
+ app.use('/static', express.static('./static'))
87
+
88
+ // app.all('/rs/*', function (req, res) {
89
+ // proxy.web(req, res, {
90
+ // target: 'http://127.0.0.1:8081/reports'
91
+ // })
92
+ // })
93
+
94
+ // app.all('/rs/*', function (req, res) {
95
+ // proxy.web(req, res, {
96
+ // target: 'http://127.0.0.1:8081/ldap'
97
+ // })
98
+ // })
99
+ // app.all('/excel/*', function (req, res) {
100
+ // proxy.web(req, res, {
101
+ // target: 'http://127.0.0.1:8081/charge'
102
+ // })
103
+ // })
104
+
105
+ // app.all('/rs/*', function (req, res) {
106
+ // proxy.web(req, res, {
107
+ // target: 'http://127.0.0.1:82/charge'
108
+ // })
109
+ // })
110
+
111
+ // app.all('/*', function (req, res) {
112
+ // proxy.web(req, res, {
113
+ // target: 'http://127.0.0.1:82'
114
+ // })
115
+ // })
116
+ // app.all('/rs/user', function (req, res) {
117
+ // proxy.web(req, res, {
118
+ // target: 'http://127.0.0.1:82'
119
+ // })
120
+ // })
121
+
122
+ module.exports = app.listen(8085, function (err) {
123
+ if (err) {
124
+ console.log(err)
125
+ return
126
+ }
127
+ console.log('Listening at http://localhost:8085')
128
+ })
@@ -1,81 +1,81 @@
1
- var path = require('path')
2
- var cssLoaders = require('./css-loaders')
3
- var projectRoot = path.resolve(__dirname, '../')
4
-
5
- module.exports = {
6
- entry: {
7
- app: './src/main.js'
8
- },
9
- chainWebpack: config => {
10
- config.plugins.delete("prefetch")//只加载当前页面需要的js
11
- },
12
- output: {
13
- path: path.resolve(__dirname, '../dist/static'),
14
- publicPath: 'static/',
15
- filename: '[name].js'
16
- },
17
- resolve: {
18
- extensions: ['', '.js', '.vue'],
19
- fallback: [path.join(__dirname, '../node_modules')],
20
- alias: {
21
- 'src': path.resolve(__dirname, '../src'),
22
- 'test': path.resolve(__dirname, '../test')
23
- }
24
- },
25
- resolveLoader: {
26
- fallback: [path.join(__dirname, '../node_modules')]
27
- },
28
- module: {
29
- loaders: [
30
- {
31
- test: /\.vue$/,
32
- loader: 'vue'
33
- },
34
- {
35
- test: /\.js$/,
36
- loader: 'babel',
37
- include: [
38
- `${projectRoot}\\src`,
39
- `${projectRoot}\\build`,
40
- `${projectRoot}\\examples`,
41
- `${projectRoot}\\test`,
42
- `${projectRoot}\\node_modules\\vue-client\\src`,
43
- `${projectRoot}\\node_modules\\vue-strap\\src`,
44
- `${projectRoot}\\node_modules\\system-clients\\src`,
45
- `${projectRoot}\\node_modules\\ldap-clients\\src`,
46
- `${projectRoot}\\node_modules\\sale-client\\src`,
47
- ]
48
- },
49
- {
50
- test: /\.json$/,
51
- loader: 'json'
52
- },
53
- {
54
- test: /\.html$/,
55
- loader: 'vue-html'
56
- },
57
- {
58
- test: /\.less$/,
59
- loader: 'style!css!less'
60
- },
61
- {
62
- test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
63
- loader: 'url',
64
- query: {
65
- limit: 10000,
66
- name: '[name].[ext]?[hash:7]'
67
- }
68
- }
69
- ]
70
- },
71
- vue: {
72
- loaders: cssLoaders({
73
- sourceMap: false,
74
- extract: false
75
- })
76
- },
77
- plugins: [],
78
- eslint: {
79
- formatter: require('eslint-friendly-formatter')
80
- }
81
- }
1
+ var path = require('path')
2
+ var cssLoaders = require('./css-loaders')
3
+ var projectRoot = path.resolve(__dirname, '../')
4
+
5
+ module.exports = {
6
+ entry: {
7
+ app: './src/main.js'
8
+ },
9
+ chainWebpack: config => {
10
+ config.plugins.delete("prefetch")//只加载当前页面需要的js
11
+ },
12
+ output: {
13
+ path: path.resolve(__dirname, '../dist/static'),
14
+ publicPath: 'static/',
15
+ filename: '[name].js'
16
+ },
17
+ resolve: {
18
+ extensions: ['', '.js', '.vue'],
19
+ fallback: [path.join(__dirname, '../node_modules')],
20
+ alias: {
21
+ 'src': path.resolve(__dirname, '../src'),
22
+ 'test': path.resolve(__dirname, '../test')
23
+ }
24
+ },
25
+ resolveLoader: {
26
+ fallback: [path.join(__dirname, '../node_modules')]
27
+ },
28
+ module: {
29
+ loaders: [
30
+ {
31
+ test: /\.vue$/,
32
+ loader: 'vue'
33
+ },
34
+ {
35
+ test: /\.js$/,
36
+ loader: 'babel',
37
+ include: [
38
+ `${projectRoot}\\src`,
39
+ `${projectRoot}\\build`,
40
+ `${projectRoot}\\examples`,
41
+ `${projectRoot}\\test`,
42
+ `${projectRoot}\\node_modules\\vue-client\\src`,
43
+ `${projectRoot}\\node_modules\\vue-strap\\src`,
44
+ `${projectRoot}\\node_modules\\system-clients\\src`,
45
+ `${projectRoot}\\node_modules\\ldap-clients\\src`,
46
+ `${projectRoot}\\node_modules\\sale-client\\src`,
47
+ ]
48
+ },
49
+ {
50
+ test: /\.json$/,
51
+ loader: 'json'
52
+ },
53
+ {
54
+ test: /\.html$/,
55
+ loader: 'vue-html'
56
+ },
57
+ {
58
+ test: /\.less$/,
59
+ loader: 'style!css!less'
60
+ },
61
+ {
62
+ test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
63
+ loader: 'url',
64
+ query: {
65
+ limit: 10000,
66
+ name: '[name].[ext]?[hash:7]'
67
+ }
68
+ }
69
+ ]
70
+ },
71
+ vue: {
72
+ loaders: cssLoaders({
73
+ sourceMap: false,
74
+ extract: false
75
+ })
76
+ },
77
+ plugins: [],
78
+ eslint: {
79
+ formatter: require('eslint-friendly-formatter')
80
+ }
81
+ }