address-client 3.2.2 → 3.2.3-zk
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/buildOutputCleanup/cache.properties +2 -2
- package/build/dev-server.js +133 -125
- package/package.json +2 -2
- package/src/address.js +55 -55
- package/src/components/AddAreaMsg.vue +675 -669
- package/src/components/AddressList.vue +391 -611
- package/src/components/AddressManage.vue +110 -117
- package/src/components/AreaList.vue +137 -135
- package/src/components/AreaManage.vue +101 -100
- package/src/components/CityList.vue +133 -133
- package/src/components/StreetList.vue +210 -210
- package/src/components/UserAddress.vue +905 -896
- package/src/main.js +21 -21
- package/yarn-error.log +7619 -0
- package/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- package/AddressClient.iml +0 -13
- package/src/filiale/WEINAN/AddAreaMsg.vue +0 -656
- package/src/filiale/WEINAN/AddressList.vue +0 -351
- package/src/filiale/WEINAN/AddressManage.vue +0 -122
- package/src/filiale/WEINAN/AreaList.vue +0 -275
- package/src/filiale/WEINAN/UserAddress.vue +0 -783
- package/src/filiale/WEINAN/sale.js +0 -16
- package/src/filiale/gaomi/AddressList.vue +0 -430
- package/src/filiale/gaomi/UserAddress.vue +0 -832
- package/src/filiale/gaomi/sale.js +0 -14
- package/src/filiale/gongyi/AddAreaMsg.vue +0 -640
- package/src/filiale/gongyi/AreaManage.vue +0 -100
- package/src/filiale/gongyi/UserAddress.vue +0 -751
- package/src/filiale/gongyi/sale.js +0 -14
- package/src/filiale/jingwei/UserAddress.vue +0 -764
- package/src/filiale/jingwei/sale.js +0 -12
- package/src/filiale/macheng/AddAreaMsg.vue +0 -635
- package/src/filiale/macheng/AddStreetOrPcd.vue +0 -231
- package/src/filiale/macheng/AddressList.vue +0 -306
- package/src/filiale/macheng/AreaList.vue +0 -279
- package/src/filiale/macheng/CityManage.vue +0 -76
- package/src/filiale/macheng/StreetList.vue +0 -186
- package/src/filiale/macheng/UserAddress.vue +0 -743
- package/src/filiale/macheng/sale.js +0 -17
- package/src/filiale/rongcheng/AddressList.vue +0 -363
- package/src/filiale/rongcheng/UserAddress.vue +0 -799
- package/src/filiale/rongcheng/sale.js +0 -11
- package/src/filiale/shaoguan/AddAreaMsg.vue +0 -631
- package/src/filiale/shaoguan/UserAddress.vue +0 -764
- package/src/filiale/shaoguan/sale.js +0 -11
- package/src/filiale/tongchuan/AddAreaMsg.vue +0 -635
- package/src/filiale/tongchuan/AddStreetOrPcd.vue +0 -308
- package/src/filiale/tongchuan/AddressList.vue +0 -379
- package/src/filiale/tongchuan/AreaList.vue +0 -315
- package/src/filiale/tongchuan/AreaManage.vue +0 -100
- package/src/filiale/tongchuan/CityList.vue +0 -133
- package/src/filiale/tongchuan/StreetList.vue +0 -208
- package/src/filiale/tongchuan/UserAddress.vue +0 -822
- package/src/filiale/tongchuan/sale.js +0 -19
- package/src/filiale/wuhai/UserAddress.vue +0 -795
- package/src/filiale/wuhai/sale.js +0 -12
- package/src/filiale/zhoukou/AddAreaMsg.vue +0 -673
- package/src/filiale/zhoukou/AddressList.vue +0 -391
- package/src/filiale/zhoukou/AddressManage.vue +0 -115
- package/src/filiale/zhoukou/AreaList.vue +0 -319
- package/src/filiale/zhoukou/AreaManage.vue +0 -100
- package/src/filiale/zhoukou/UserAddress.vue +0 -925
- package/src/filiale/zhoukou/sale.js +0 -23
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Mon Dec 07 15:35:10 CST 2020
|
|
2
|
+
gradle.version=5.2.1
|
package/build/dev-server.js
CHANGED
|
@@ -1,125 +1,133 @@
|
|
|
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
|
|
14
|
-
var proxyTable = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
|
|
102
|
-
//
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
//
|
|
106
|
-
//
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
|
|
110
|
-
//
|
|
111
|
-
//
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
//
|
|
115
|
-
|
|
116
|
-
//
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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 bendi = 'http://192.168.20.27:8400', fuwu= 'http://192.168.20.27:8400'
|
|
14
|
+
var proxyTable = {
|
|
15
|
+
'/rs/logic/getLogin': {
|
|
16
|
+
target: fuwu
|
|
17
|
+
},
|
|
18
|
+
'/rs/sql/address_getAddress': {
|
|
19
|
+
target: bendi
|
|
20
|
+
},
|
|
21
|
+
'/rs/sql/address_singleTableOrderBy': {
|
|
22
|
+
target: bendi
|
|
23
|
+
},
|
|
24
|
+
'/rs/logic/address_updateuseraddress': {
|
|
25
|
+
target: bendi
|
|
26
|
+
},
|
|
27
|
+
'/rs/vue': {
|
|
28
|
+
target: fuwu
|
|
29
|
+
},
|
|
30
|
+
'/rs/user': {
|
|
31
|
+
target: fuwu
|
|
32
|
+
},
|
|
33
|
+
'/rs/db': {
|
|
34
|
+
target: fuwu
|
|
35
|
+
},
|
|
36
|
+
'/rs/search': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
'/rs/data': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
'/rs/logic/getInitData': {
|
|
43
|
+
target: fuwu
|
|
44
|
+
},
|
|
45
|
+
'/rs/logic/getSaleInitData': {
|
|
46
|
+
target: fuwu
|
|
47
|
+
},
|
|
48
|
+
'/rs': {
|
|
49
|
+
// target: 'http://192.168.50.199:8300'
|
|
50
|
+
target: fuwu
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
55
|
+
publicPath: config.output.publicPath,
|
|
56
|
+
stats: {
|
|
57
|
+
colors: true,
|
|
58
|
+
chunks: false
|
|
59
|
+
}
|
|
60
|
+
})
|
|
61
|
+
|
|
62
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
63
|
+
// force page reload when html-webpack-plugin template changes
|
|
64
|
+
compiler.plugin('compilation', function (compilation) {
|
|
65
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
66
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
67
|
+
cb()
|
|
68
|
+
})
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
// proxy api requests
|
|
72
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
73
|
+
var options = proxyTable[context]
|
|
74
|
+
if (typeof options === 'string') {
|
|
75
|
+
options = { target: options }
|
|
76
|
+
}
|
|
77
|
+
app.use(proxyMiddleware(context, options))
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
// handle fallback for HTML5 history API
|
|
81
|
+
app.use(require('connect-history-api-fallback')())
|
|
82
|
+
|
|
83
|
+
// serve webpack bundle output
|
|
84
|
+
app.use(devMiddleware)
|
|
85
|
+
|
|
86
|
+
// enable hot-reload and state-preserving
|
|
87
|
+
// compilation error display
|
|
88
|
+
app.use(hotMiddleware)
|
|
89
|
+
|
|
90
|
+
// serve pure static assets
|
|
91
|
+
app.use('/static', express.static('./static'))
|
|
92
|
+
|
|
93
|
+
// app.all('/rs/*', function (req, res) {
|
|
94
|
+
// proxy.web(req, res, {
|
|
95
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
96
|
+
// })
|
|
97
|
+
// })
|
|
98
|
+
|
|
99
|
+
// app.all('/rs/*', function (req, res) {
|
|
100
|
+
// proxy.web(req, res, {
|
|
101
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
102
|
+
// })
|
|
103
|
+
// })
|
|
104
|
+
// app.all('/excel/*', function (req, res) {
|
|
105
|
+
// proxy.web(req, res, {
|
|
106
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
107
|
+
// })
|
|
108
|
+
// })
|
|
109
|
+
|
|
110
|
+
// app.all('/rs/*', function (req, res) {
|
|
111
|
+
// proxy.web(req, res, {
|
|
112
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
113
|
+
// })
|
|
114
|
+
// })
|
|
115
|
+
|
|
116
|
+
// app.all('/*', function (req, res) {
|
|
117
|
+
// proxy.web(req, res, {
|
|
118
|
+
// target: 'http://127.0.0.1:82'
|
|
119
|
+
// })
|
|
120
|
+
// })
|
|
121
|
+
// app.all('/rs/user', function (req, res) {
|
|
122
|
+
// proxy.web(req, res, {
|
|
123
|
+
// target: 'http://127.0.0.1:82'
|
|
124
|
+
// })
|
|
125
|
+
// })
|
|
126
|
+
|
|
127
|
+
module.exports = app.listen(8085, function (err) {
|
|
128
|
+
if (err) {
|
|
129
|
+
console.log(err)
|
|
130
|
+
return
|
|
131
|
+
}
|
|
132
|
+
console.log('Listening at http://localhost:8085')
|
|
133
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "address-client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3-zk",
|
|
4
4
|
"description": "地址管理前台组件",
|
|
5
5
|
"author": "wanbochao",
|
|
6
6
|
"license": "ISC",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"style-loader": "^0.20.3",
|
|
81
81
|
"system-clients": "3.1.88-5",
|
|
82
82
|
"url-loader": "^0.5.7",
|
|
83
|
-
"vue-client": "1.24.
|
|
83
|
+
"vue-client": "1.24.31",
|
|
84
84
|
"vue-hot-reload-api": "^1.2.0",
|
|
85
85
|
"vue-html-loader": "^1.0.0",
|
|
86
86
|
"vue-loader": "^8.2.1",
|
package/src/address.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
// import 'babel-polyfill'
|
|
5
|
-
|
|
6
|
-
export default function (filiale) {
|
|
7
|
-
Vue.config.silent = false
|
|
8
|
-
/** ********************** pc端 *********************** **/
|
|
9
|
-
Vue.component('address-select', (resolve) => { require(['./components/AddressModel'], resolve) })
|
|
10
|
-
Vue.component('address-model', (resolve) => { require(['./components/AddressModel'], resolve) })
|
|
11
|
-
// 添加地址
|
|
12
|
-
Vue.component('address-add-address', (resolve) => { require(['./components/AddressAddAddress'], resolve) })
|
|
13
|
-
// 地址树
|
|
14
|
-
Vue.component('address-tree', (resolve) => { require(['./components/AddressTree'], resolve) })
|
|
15
|
-
//小区树
|
|
16
|
-
Vue.component('area-tree', (resolve) => { require(['./components/AreaTree'], resolve) })
|
|
17
|
-
/** ********************** 新地址管理 *********************** **/
|
|
18
|
-
//地址建档
|
|
19
|
-
Vue.component('address-files', (resolve) => { require(['./components/AddressFiles'], resolve) })
|
|
20
|
-
//小区建档
|
|
21
|
-
Vue.component('area-files', (resolve) => { require(['./components/AreaFiles'], resolve) })
|
|
22
|
-
//街道列表
|
|
23
|
-
Vue.component('street-list', (resolve) => { require(['./components/StreetList'], resolve) })
|
|
24
|
-
//省市区列表
|
|
25
|
-
Vue.component('city-list', (resolve) => { require(['./components/CityList'], resolve) })
|
|
26
|
-
//街道管理(包含街道,省区县的添加)
|
|
27
|
-
Vue.component('city-manage', (resolve) => { require(['./components/CityManage'], resolve) })
|
|
28
|
-
//街道区县添加
|
|
29
|
-
Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
|
|
30
|
-
//小区列表
|
|
31
|
-
Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
|
|
32
|
-
//小区管理(包含修改表具,小区的添加)
|
|
33
|
-
Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
|
|
34
|
-
//单位管理()
|
|
35
|
-
Vue.component('company-manage', (resolve) => { require(['./components/CompanyManage'], resolve) })
|
|
36
|
-
//小区添加
|
|
37
|
-
Vue.component('add-area-msg', (resolve) => { require(['./components/AddAreaMsg'], resolve) })
|
|
38
|
-
//地址管理父组件
|
|
39
|
-
Vue.component('address-manage', (resolve) => { require(['./components/AddressManage'], resolve) })
|
|
40
|
-
//地址列表
|
|
41
|
-
Vue.component('address-list', (resolve) => { require(['./components/AddressList'], resolve) })
|
|
42
|
-
//地址管理
|
|
43
|
-
Vue.component('user-address', (resolve) => { require(['./components/UserAddress'], resolve) })
|
|
44
|
-
//地址变更记录
|
|
45
|
-
Vue.component('user-address-change', (resolve) => { require(['./components/UserAddressChange'], resolve) })
|
|
46
|
-
//批量置换接单
|
|
47
|
-
Vue.component('batch_orders', (resolve) => { require(['./components/selectAddress/BatchOrders'], resolve) })
|
|
48
|
-
// 分公司特殊页面注册替换
|
|
49
|
-
if (filiale) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
// import 'babel-polyfill'
|
|
5
|
+
|
|
6
|
+
export default function (filiale) {
|
|
7
|
+
Vue.config.silent = false
|
|
8
|
+
/** ********************** pc端 *********************** **/
|
|
9
|
+
Vue.component('address-select', (resolve) => { require(['./components/AddressModel'], resolve) })
|
|
10
|
+
Vue.component('address-model', (resolve) => { require(['./components/AddressModel'], resolve) })
|
|
11
|
+
// 添加地址
|
|
12
|
+
Vue.component('address-add-address', (resolve) => { require(['./components/AddressAddAddress'], resolve) })
|
|
13
|
+
// 地址树
|
|
14
|
+
Vue.component('address-tree', (resolve) => { require(['./components/AddressTree'], resolve) })
|
|
15
|
+
//小区树
|
|
16
|
+
Vue.component('area-tree', (resolve) => { require(['./components/AreaTree'], resolve) })
|
|
17
|
+
/** ********************** 新地址管理 *********************** **/
|
|
18
|
+
//地址建档
|
|
19
|
+
Vue.component('address-files', (resolve) => { require(['./components/AddressFiles'], resolve) })
|
|
20
|
+
//小区建档
|
|
21
|
+
Vue.component('area-files', (resolve) => { require(['./components/AreaFiles'], resolve) })
|
|
22
|
+
//街道列表
|
|
23
|
+
Vue.component('street-list', (resolve) => { require(['./components/StreetList'], resolve) })
|
|
24
|
+
//省市区列表
|
|
25
|
+
Vue.component('city-list', (resolve) => { require(['./components/CityList'], resolve) })
|
|
26
|
+
//街道管理(包含街道,省区县的添加)
|
|
27
|
+
Vue.component('city-manage', (resolve) => { require(['./components/CityManage'], resolve) })
|
|
28
|
+
//街道区县添加
|
|
29
|
+
Vue.component('add-street-pcd', (resolve) => { require(['./components/AddStreetOrPcd'], resolve) })
|
|
30
|
+
//小区列表
|
|
31
|
+
Vue.component('area-list', (resolve) => { require(['./components/AreaList'], resolve) })
|
|
32
|
+
//小区管理(包含修改表具,小区的添加)
|
|
33
|
+
Vue.component('area-manage', (resolve) => { require(['./components/AreaManage'], resolve) })
|
|
34
|
+
//单位管理()
|
|
35
|
+
Vue.component('company-manage', (resolve) => { require(['./components/CompanyManage'], resolve) })
|
|
36
|
+
//小区添加
|
|
37
|
+
Vue.component('add-area-msg', (resolve) => { require(['./components/AddAreaMsg'], resolve) })
|
|
38
|
+
//地址管理父组件
|
|
39
|
+
Vue.component('address-manage', (resolve) => { require(['./components/AddressManage'], resolve) })
|
|
40
|
+
//地址列表
|
|
41
|
+
Vue.component('address-list', (resolve) => { require(['./components/AddressList'], resolve) })
|
|
42
|
+
//地址管理
|
|
43
|
+
Vue.component('user-address', (resolve) => { require(['./components/UserAddress'], resolve) })
|
|
44
|
+
//地址变更记录
|
|
45
|
+
Vue.component('user-address-change', (resolve) => { require(['./components/UserAddressChange'], resolve) })
|
|
46
|
+
//批量置换接单
|
|
47
|
+
Vue.component('batch_orders', (resolve) => { require(['./components/selectAddress/BatchOrders'], resolve) })
|
|
48
|
+
// 分公司特殊页面注册替换
|
|
49
|
+
// if (filiale) {
|
|
50
|
+
// let filialeComp = require(`./filiale/${filiale}/sale`).specialComp
|
|
51
|
+
// for (let key in filialeComp) {
|
|
52
|
+
// Vue.component(key, filialeComp[key])
|
|
53
|
+
// }
|
|
54
|
+
// }
|
|
55
|
+
}
|