address-client 1.3.55 → 1.3.57-2
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.
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server.js +134 -134
- package/build/webpack.base.conf.js +78 -78
- package/build.gradle +14 -14
- package/package.json +1 -1
- package/src/address.js +48 -48
- package/src/components/AddAreaMsg.vue +564 -544
- package/src/components/AddStreetOrPcd.vue +235 -237
- package/src/components/AddressList.vue +226 -211
- package/src/components/AddressManage.vue +113 -92
- package/src/components/AreaFiles.vue +80 -80
- package/src/components/AreaList.vue +189 -180
- package/src/components/AreaManage.vue +75 -75
- package/src/components/NewAddressInfo.vue +435 -434
- package/src/components/StreetList.vue +153 -146
- package/src/components/UserAddress.vue +641 -626
- package/src/main.js +25 -25
- package/.npmignore +0 -9
- package/build/.npmignore +0 -1
- package/yarn.lock +0 -7463
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -1,134 +1,134 @@
|
|
|
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 proxyTable = {
|
|
14
|
-
'/images': {
|
|
15
|
-
// target: 'http://localhost:8086'
|
|
16
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
17
|
-
},
|
|
18
|
-
// 查找资源服务数据
|
|
19
|
-
'/rs/search': {
|
|
20
|
-
// target: 'http://192.168.50.202:8099'
|
|
21
|
-
// target: 'http://192.168.20.2:8081'
|
|
22
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
23
|
-
// target: 'http://192.168.20.191:8011'
|
|
24
|
-
},
|
|
25
|
-
// 用户登录服务地址
|
|
26
|
-
'/rs/user': {
|
|
27
|
-
// target: 'http://192.168.50.202:8099'
|
|
28
|
-
// target: 'http://192.168.2.77:8081'
|
|
29
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
30
|
-
// target: 'http://192.168.20.191:8011'
|
|
31
|
-
},
|
|
32
|
-
'/rs/data': {
|
|
33
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
34
|
-
},
|
|
35
|
-
'/rs/license': {
|
|
36
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
37
|
-
},
|
|
38
|
-
'/rs/db': {
|
|
39
|
-
target: 'http://127.0.0.1:8090/ldap'
|
|
40
|
-
// target: 'http://127.0.0.1:8012'
|
|
41
|
-
// target: 'http://192.168.20.191:s8011'
|
|
42
|
-
},
|
|
43
|
-
'/excel': {
|
|
44
|
-
// target: 'http://127.0.0.1:9090/product'
|
|
45
|
-
target: 'http://192.168.50.222:8300'
|
|
46
|
-
},
|
|
47
|
-
'/rs/file': {
|
|
48
|
-
target: 'http://192.168.50.222:8300'
|
|
49
|
-
},
|
|
50
|
-
'/rs': {
|
|
51
|
-
target: 'http://127.0.0.1:8080/address'
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
56
|
-
publicPath: config.output.publicPath,
|
|
57
|
-
stats: {
|
|
58
|
-
colors: true,
|
|
59
|
-
chunks: false
|
|
60
|
-
}
|
|
61
|
-
})
|
|
62
|
-
|
|
63
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
64
|
-
// force page reload when html-webpack-plugin template changes
|
|
65
|
-
compiler.plugin('compilation', function (compilation) {
|
|
66
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
67
|
-
hotMiddleware.publish({ action: 'reload' })
|
|
68
|
-
cb()
|
|
69
|
-
})
|
|
70
|
-
})
|
|
71
|
-
|
|
72
|
-
// proxy api requests
|
|
73
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
74
|
-
var options = proxyTable[context]
|
|
75
|
-
if (typeof options === 'string') {
|
|
76
|
-
options = { target: options }
|
|
77
|
-
}
|
|
78
|
-
app.use(proxyMiddleware(context, options))
|
|
79
|
-
})
|
|
80
|
-
|
|
81
|
-
// handle fallback for HTML5 history API
|
|
82
|
-
app.use(require('connect-history-api-fallback')())
|
|
83
|
-
|
|
84
|
-
// serve webpack bundle output
|
|
85
|
-
app.use(devMiddleware)
|
|
86
|
-
|
|
87
|
-
// enable hot-reload and state-preserving
|
|
88
|
-
// compilation error display
|
|
89
|
-
app.use(hotMiddleware)
|
|
90
|
-
|
|
91
|
-
// serve pure static assets
|
|
92
|
-
app.use('/static', express.static('./static'))
|
|
93
|
-
|
|
94
|
-
// app.all('/rs/*', function (req, res) {
|
|
95
|
-
// proxy.web(req, res, {
|
|
96
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
97
|
-
// })
|
|
98
|
-
// })
|
|
99
|
-
|
|
100
|
-
// app.all('/rs/*', function (req, res) {
|
|
101
|
-
// proxy.web(req, res, {
|
|
102
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
103
|
-
// })
|
|
104
|
-
// })
|
|
105
|
-
// app.all('/excel/*', function (req, res) {
|
|
106
|
-
// proxy.web(req, res, {
|
|
107
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
108
|
-
// })
|
|
109
|
-
// })
|
|
110
|
-
|
|
111
|
-
// app.all('/rs/*', function (req, res) {
|
|
112
|
-
// proxy.web(req, res, {
|
|
113
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
114
|
-
// })
|
|
115
|
-
// })
|
|
116
|
-
|
|
117
|
-
// app.all('/*', function (req, res) {
|
|
118
|
-
// proxy.web(req, res, {
|
|
119
|
-
// target: 'http://127.0.0.1:82'
|
|
120
|
-
// })
|
|
121
|
-
// })
|
|
122
|
-
// app.all('/rs/user', function (req, res) {
|
|
123
|
-
// proxy.web(req, res, {
|
|
124
|
-
// target: 'http://127.0.0.1:82'
|
|
125
|
-
// })
|
|
126
|
-
// })
|
|
127
|
-
|
|
128
|
-
module.exports = app.listen(8084, function (err) {
|
|
129
|
-
if (err) {
|
|
130
|
-
console.log(err)
|
|
131
|
-
return
|
|
132
|
-
}
|
|
133
|
-
console.log('Listening at http://localhost:8084')
|
|
134
|
-
})
|
|
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 proxyTable = {
|
|
14
|
+
'/images': {
|
|
15
|
+
// target: 'http://localhost:8086'
|
|
16
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
17
|
+
},
|
|
18
|
+
// 查找资源服务数据
|
|
19
|
+
'/rs/search': {
|
|
20
|
+
// target: 'http://192.168.50.202:8099'
|
|
21
|
+
// target: 'http://192.168.20.2:8081'
|
|
22
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
23
|
+
// target: 'http://192.168.20.191:8011'
|
|
24
|
+
},
|
|
25
|
+
// 用户登录服务地址
|
|
26
|
+
'/rs/user': {
|
|
27
|
+
// target: 'http://192.168.50.202:8099'
|
|
28
|
+
// target: 'http://192.168.2.77:8081'
|
|
29
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
30
|
+
// target: 'http://192.168.20.191:8011'
|
|
31
|
+
},
|
|
32
|
+
'/rs/data': {
|
|
33
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
34
|
+
},
|
|
35
|
+
'/rs/license': {
|
|
36
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
37
|
+
},
|
|
38
|
+
'/rs/db': {
|
|
39
|
+
target: 'http://127.0.0.1:8090/ldap'
|
|
40
|
+
// target: 'http://127.0.0.1:8012'
|
|
41
|
+
// target: 'http://192.168.20.191:s8011'
|
|
42
|
+
},
|
|
43
|
+
'/excel': {
|
|
44
|
+
// target: 'http://127.0.0.1:9090/product'
|
|
45
|
+
target: 'http://192.168.50.222:8300'
|
|
46
|
+
},
|
|
47
|
+
'/rs/file': {
|
|
48
|
+
target: 'http://192.168.50.222:8300'
|
|
49
|
+
},
|
|
50
|
+
'/rs': {
|
|
51
|
+
target: 'http://127.0.0.1:8080/address'
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
56
|
+
publicPath: config.output.publicPath,
|
|
57
|
+
stats: {
|
|
58
|
+
colors: true,
|
|
59
|
+
chunks: false
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
64
|
+
// force page reload when html-webpack-plugin template changes
|
|
65
|
+
compiler.plugin('compilation', function (compilation) {
|
|
66
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
67
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
68
|
+
cb()
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
// proxy api requests
|
|
73
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
74
|
+
var options = proxyTable[context]
|
|
75
|
+
if (typeof options === 'string') {
|
|
76
|
+
options = { target: options }
|
|
77
|
+
}
|
|
78
|
+
app.use(proxyMiddleware(context, options))
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
// handle fallback for HTML5 history API
|
|
82
|
+
app.use(require('connect-history-api-fallback')())
|
|
83
|
+
|
|
84
|
+
// serve webpack bundle output
|
|
85
|
+
app.use(devMiddleware)
|
|
86
|
+
|
|
87
|
+
// enable hot-reload and state-preserving
|
|
88
|
+
// compilation error display
|
|
89
|
+
app.use(hotMiddleware)
|
|
90
|
+
|
|
91
|
+
// serve pure static assets
|
|
92
|
+
app.use('/static', express.static('./static'))
|
|
93
|
+
|
|
94
|
+
// app.all('/rs/*', function (req, res) {
|
|
95
|
+
// proxy.web(req, res, {
|
|
96
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
97
|
+
// })
|
|
98
|
+
// })
|
|
99
|
+
|
|
100
|
+
// app.all('/rs/*', function (req, res) {
|
|
101
|
+
// proxy.web(req, res, {
|
|
102
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
103
|
+
// })
|
|
104
|
+
// })
|
|
105
|
+
// app.all('/excel/*', function (req, res) {
|
|
106
|
+
// proxy.web(req, res, {
|
|
107
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
108
|
+
// })
|
|
109
|
+
// })
|
|
110
|
+
|
|
111
|
+
// app.all('/rs/*', function (req, res) {
|
|
112
|
+
// proxy.web(req, res, {
|
|
113
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
114
|
+
// })
|
|
115
|
+
// })
|
|
116
|
+
|
|
117
|
+
// app.all('/*', function (req, res) {
|
|
118
|
+
// proxy.web(req, res, {
|
|
119
|
+
// target: 'http://127.0.0.1:82'
|
|
120
|
+
// })
|
|
121
|
+
// })
|
|
122
|
+
// app.all('/rs/user', function (req, res) {
|
|
123
|
+
// proxy.web(req, res, {
|
|
124
|
+
// target: 'http://127.0.0.1:82'
|
|
125
|
+
// })
|
|
126
|
+
// })
|
|
127
|
+
|
|
128
|
+
module.exports = app.listen(8084, function (err) {
|
|
129
|
+
if (err) {
|
|
130
|
+
console.log(err)
|
|
131
|
+
return
|
|
132
|
+
}
|
|
133
|
+
console.log('Listening at http://localhost:8084')
|
|
134
|
+
})
|
|
@@ -1,78 +1,78 @@
|
|
|
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
|
-
output: {
|
|
10
|
-
path: path.resolve(__dirname, '../dist/static'),
|
|
11
|
-
publicPath: 'static/',
|
|
12
|
-
filename: '[name].js'
|
|
13
|
-
},
|
|
14
|
-
resolve: {
|
|
15
|
-
extensions: ['', '.js', '.vue'],
|
|
16
|
-
fallback: [path.join(__dirname, '../node_modules')],
|
|
17
|
-
alias: {
|
|
18
|
-
'src': path.resolve(__dirname, '../src'),
|
|
19
|
-
'test': path.resolve(__dirname, '../test')
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
resolveLoader: {
|
|
23
|
-
fallback: [path.join(__dirname, '../node_modules')]
|
|
24
|
-
},
|
|
25
|
-
module: {
|
|
26
|
-
loaders: [
|
|
27
|
-
{
|
|
28
|
-
test: /\.vue$/,
|
|
29
|
-
loader: 'vue'
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
test: /\.js$/,
|
|
33
|
-
loader: 'babel',
|
|
34
|
-
include: [
|
|
35
|
-
`${projectRoot}\\src`,
|
|
36
|
-
`${projectRoot}\\build`,
|
|
37
|
-
`${projectRoot}\\examples`,
|
|
38
|
-
`${projectRoot}\\test`,
|
|
39
|
-
`${projectRoot}\\node_modules\\vue-client\\src`,
|
|
40
|
-
`${projectRoot}\\node_modules\\vue-strap\\src`,
|
|
41
|
-
`${projectRoot}\\node_modules\\system-clients\\src`,
|
|
42
|
-
`${projectRoot}\\node_modules\\ldap-clients\\src`,
|
|
43
|
-
`${projectRoot}\\node_modules\\sale-client\\src`,
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
test: /\.json$/,
|
|
48
|
-
loader: 'json'
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
test: /\.html$/,
|
|
52
|
-
loader: 'vue-html'
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
test: /\.less$/,
|
|
56
|
-
loader: 'style!css!less'
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
60
|
-
loader: 'url',
|
|
61
|
-
query: {
|
|
62
|
-
limit: 10000,
|
|
63
|
-
name: '[name].[ext]?[hash:7]'
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
vue: {
|
|
69
|
-
loaders: cssLoaders({
|
|
70
|
-
sourceMap: false,
|
|
71
|
-
extract: false
|
|
72
|
-
})
|
|
73
|
-
},
|
|
74
|
-
plugins: [],
|
|
75
|
-
eslint: {
|
|
76
|
-
formatter: require('eslint-friendly-formatter')
|
|
77
|
-
}
|
|
78
|
-
}
|
|
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
|
+
output: {
|
|
10
|
+
path: path.resolve(__dirname, '../dist/static'),
|
|
11
|
+
publicPath: 'static/',
|
|
12
|
+
filename: '[name].js'
|
|
13
|
+
},
|
|
14
|
+
resolve: {
|
|
15
|
+
extensions: ['', '.js', '.vue'],
|
|
16
|
+
fallback: [path.join(__dirname, '../node_modules')],
|
|
17
|
+
alias: {
|
|
18
|
+
'src': path.resolve(__dirname, '../src'),
|
|
19
|
+
'test': path.resolve(__dirname, '../test')
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
resolveLoader: {
|
|
23
|
+
fallback: [path.join(__dirname, '../node_modules')]
|
|
24
|
+
},
|
|
25
|
+
module: {
|
|
26
|
+
loaders: [
|
|
27
|
+
{
|
|
28
|
+
test: /\.vue$/,
|
|
29
|
+
loader: 'vue'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
test: /\.js$/,
|
|
33
|
+
loader: 'babel',
|
|
34
|
+
include: [
|
|
35
|
+
`${projectRoot}\\src`,
|
|
36
|
+
`${projectRoot}\\build`,
|
|
37
|
+
`${projectRoot}\\examples`,
|
|
38
|
+
`${projectRoot}\\test`,
|
|
39
|
+
`${projectRoot}\\node_modules\\vue-client\\src`,
|
|
40
|
+
`${projectRoot}\\node_modules\\vue-strap\\src`,
|
|
41
|
+
`${projectRoot}\\node_modules\\system-clients\\src`,
|
|
42
|
+
`${projectRoot}\\node_modules\\ldap-clients\\src`,
|
|
43
|
+
`${projectRoot}\\node_modules\\sale-client\\src`,
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
test: /\.json$/,
|
|
48
|
+
loader: 'json'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
test: /\.html$/,
|
|
52
|
+
loader: 'vue-html'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
test: /\.less$/,
|
|
56
|
+
loader: 'style!css!less'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
60
|
+
loader: 'url',
|
|
61
|
+
query: {
|
|
62
|
+
limit: 10000,
|
|
63
|
+
name: '[name].[ext]?[hash:7]'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
vue: {
|
|
69
|
+
loaders: cssLoaders({
|
|
70
|
+
sourceMap: false,
|
|
71
|
+
extract: false
|
|
72
|
+
})
|
|
73
|
+
},
|
|
74
|
+
plugins: [],
|
|
75
|
+
eslint: {
|
|
76
|
+
formatter: require('eslint-friendly-formatter')
|
|
77
|
+
}
|
|
78
|
+
}
|
package/build.gradle
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
buildscript {
|
|
2
|
-
repositories {
|
|
3
|
-
mavenCentral()
|
|
4
|
-
jcenter()
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
version = '1.3.
|
|
9
|
-
|
|
10
|
-
apply plugin: 'java'
|
|
11
|
-
task release(type:Exec) {
|
|
12
|
-
workingDir '.'
|
|
13
|
-
commandLine 'cmd', '/c', 'release.bat ' + version
|
|
14
|
-
}
|
|
1
|
+
buildscript {
|
|
2
|
+
repositories {
|
|
3
|
+
mavenCentral()
|
|
4
|
+
jcenter()
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
version = '1.3.57-1'
|
|
9
|
+
|
|
10
|
+
apply plugin: 'java'
|
|
11
|
+
task release(type:Exec) {
|
|
12
|
+
workingDir '.'
|
|
13
|
+
commandLine 'cmd', '/c', 'release.bat ' + version
|
|
14
|
+
}
|
package/package.json
CHANGED
package/src/address.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
// import 'babel-polyfill'
|
|
5
|
-
import AddressSelect from './components/AddressSelect'
|
|
6
|
-
import AddressModel from './components/AddressModel'
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
|
|
10
|
-
Vue.config.silent = false
|
|
11
|
-
|
|
12
|
-
Vue.component('address-select', AddressSelect)
|
|
13
|
-
Vue.component('address-model', AddressModel)
|
|
14
|
-
/** ********************** pc端 *********************** **/
|
|
15
|
-
// 添加地址
|
|
16
|
-
Vue.component('address-add-address', (resolve) => { require(['./components/AddressAddAddress'], resolve) })
|
|
17
|
-
// 地址选择树
|
|
18
|
-
// Vue.component('address-select', (resolve) => { require(['./components/AddressSelect'], resolve) })
|
|
19
|
-
// 地址树
|
|
20
|
-
Vue.component('address-tree', (resolve) => { require(['./components/AddressTree'], resolve) })
|
|
21
|
-
//小区树
|
|
22
|
-
Vue.component('area-tree', (resolve) => { require(['./components/AreaTree'], resolve) })
|
|
23
|
-
//地址建档
|
|
24
|
-
Vue.component('address-files', (resolve) => { require(['./components/AddressFiles'], resolve) })
|
|
25
|
-
//小区建档(旧)
|
|
26
|
-
Vue.component('area-files', (resolve) => { require(['./components/AreaFiles'], resolve) })
|
|
27
|
-
/** ********************** 新地址管理 *********************** **/
|
|
28
|
-
//街道列表
|
|
29
|
-
Vue.component('street-list', (resolve) => { require(['./components/StreetList'], resolve) })
|
|
30
|
-
//城市管理(包含街道,省区县的添加)
|
|
31
|
-
Vue.component('city-manage', (resolve) => { require(['./components/CityManage'], resolve) })
|
|
32
|
-
//街道区县添加
|
|
33
|
-
Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
|
|
34
|
-
//小区列表
|
|
35
|
-
Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
|
|
36
|
-
//小区管理(包含修改表具,小区的添加)
|
|
37
|
-
Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
|
|
38
|
-
//小区添加
|
|
39
|
-
Vue.component('add-area-msg', (resolve) => { require(['./components/AddAreaMsg'], resolve) })
|
|
40
|
-
//地址管理父组件
|
|
41
|
-
Vue.component('address-manage', (resolve) => { require(['./components/AddressManage'], resolve) })
|
|
42
|
-
//地址列表
|
|
43
|
-
Vue.component('address-list', (resolve) => { require(['./components/AddressList'], resolve) })
|
|
44
|
-
//地址管理
|
|
45
|
-
Vue.component('user-address', (resolve) => { require(['./components/UserAddress'], resolve) })
|
|
46
|
-
//地址变更记录
|
|
47
|
-
Vue.component('user-address-change', (resolve) => { require(['./components/UserAddressChange'], resolve) })
|
|
48
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
// import 'babel-polyfill'
|
|
5
|
+
import AddressSelect from './components/AddressSelect'
|
|
6
|
+
import AddressModel from './components/AddressModel'
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
|
|
10
|
+
Vue.config.silent = false
|
|
11
|
+
|
|
12
|
+
Vue.component('address-select', AddressSelect)
|
|
13
|
+
Vue.component('address-model', AddressModel)
|
|
14
|
+
/** ********************** pc端 *********************** **/
|
|
15
|
+
// 添加地址
|
|
16
|
+
Vue.component('address-add-address', (resolve) => { require(['./components/AddressAddAddress'], resolve) })
|
|
17
|
+
// 地址选择树
|
|
18
|
+
// Vue.component('address-select', (resolve) => { require(['./components/AddressSelect'], resolve) })
|
|
19
|
+
// 地址树
|
|
20
|
+
Vue.component('address-tree', (resolve) => { require(['./components/AddressTree'], resolve) })
|
|
21
|
+
//小区树
|
|
22
|
+
Vue.component('area-tree', (resolve) => { require(['./components/AreaTree'], resolve) })
|
|
23
|
+
//地址建档
|
|
24
|
+
Vue.component('address-files', (resolve) => { require(['./components/AddressFiles'], resolve) })
|
|
25
|
+
//小区建档(旧)
|
|
26
|
+
Vue.component('area-files', (resolve) => { require(['./components/AreaFiles'], resolve) })
|
|
27
|
+
/** ********************** 新地址管理 *********************** **/
|
|
28
|
+
//街道列表
|
|
29
|
+
Vue.component('street-list', (resolve) => { require(['./components/StreetList'], resolve) })
|
|
30
|
+
//城市管理(包含街道,省区县的添加)
|
|
31
|
+
Vue.component('city-manage', (resolve) => { require(['./components/CityManage'], resolve) })
|
|
32
|
+
//街道区县添加
|
|
33
|
+
Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
|
|
34
|
+
//小区列表
|
|
35
|
+
Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
|
|
36
|
+
//小区管理(包含修改表具,小区的添加)
|
|
37
|
+
Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
|
|
38
|
+
//小区添加
|
|
39
|
+
Vue.component('add-area-msg', (resolve) => { require(['./components/AddAreaMsg'], resolve) })
|
|
40
|
+
//地址管理父组件
|
|
41
|
+
Vue.component('address-manage', (resolve) => { require(['./components/AddressManage'], resolve) })
|
|
42
|
+
//地址列表
|
|
43
|
+
Vue.component('address-list', (resolve) => { require(['./components/AddressList'], resolve) })
|
|
44
|
+
//地址管理
|
|
45
|
+
Vue.component('user-address', (resolve) => { require(['./components/UserAddress'], resolve) })
|
|
46
|
+
//地址变更记录
|
|
47
|
+
Vue.component('user-address-change', (resolve) => { require(['./components/UserAddressChange'], resolve) })
|
|
48
|
+
}
|