address-client 3.2.105-yangchun → 3.2.106-shimen
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/build/dev-server.js +69 -69
- package/build/versionCheck.js +31 -0
- package/package.json +4 -3
- package/src/components/AddAreaMsg.vue +513 -464
- package/src/components/AddCommunityManageMsg.vue +3 -3
- package/src/components/AddStreetManageMsg.vue +3 -3
- package/src/components/AddStreetOrPcd.vue +16 -21
- package/src/components/AddressAddAddress.vue +14 -14
- package/src/components/AddressFiles.vue +1 -1
- package/src/components/AddressList.vue +9 -9
- package/src/components/AddressTree.vue +5 -5
- package/src/components/AreaFiles.vue +1 -1
- package/src/components/AreaList.vue +398 -294
- package/src/components/AreaManage.vue +0 -4
- package/src/components/AreaTree.vue +5 -5
- package/src/components/Basch.vue +1 -1
- package/src/components/BatchOrders.vue +6 -6
- package/src/components/BuildingList.vue +2 -2
- package/src/components/CityList.vue +3 -3
- package/src/components/CommunityAreaList.vue +1 -1
- package/src/components/CommunityManageList.vue +4 -4
- package/src/components/NewAddressInfo.vue +4 -4
- package/src/components/StreetList.vue +5 -4
- package/src/components/StreetManageList.vue +4 -4
- package/src/components/UserAddress.vue +10 -6
- package/src/components/UserAddressChange.vue +1 -1
- package/src/components/selectAddress/BatchList.vue +6 -6
- package/src/filiale/WEINAN/AddAreaMsg.vue +5 -5
- package/src/filiale/WEINAN/AddressList.vue +9 -9
- package/src/filiale/WEINAN/AreaList.vue +5 -5
- package/src/filiale/WEINAN/AreaUserList.vue +3 -3
- package/src/filiale/WEINAN/UserAddress.vue +5 -5
- package/src/filiale/chengtou/UserAddress.vue +6 -6
- package/src/filiale/dongguan/AddStreetOrPcd.vue +6 -6
- package/src/filiale/gaomi/AddressList.vue +6 -6
- package/src/filiale/gaomi/UserAddress.vue +5 -5
- package/src/filiale/gongyi/AddAreaMsg.vue +4 -4
- package/src/filiale/gongyi/UserAddress.vue +5 -5
- package/src/filiale/haile/AddressList.vue +9 -9
- package/src/filiale/jingwei/UserAddress.vue +5 -5
- package/src/filiale/lixianV3/AreaList.vue +5 -5
- package/src/filiale/macheng/AddAreaMsg.vue +4 -4
- package/src/filiale/macheng/AddStreetOrPcd.vue +3 -3
- package/src/filiale/macheng/AddressList.vue +9 -9
- package/src/filiale/macheng/AreaList.vue +4 -4
- package/src/filiale/macheng/StreetList.vue +3 -3
- package/src/filiale/macheng/UserAddress.vue +5 -5
- package/src/filiale/meihekou/UserAddress.vue +6 -6
- package/src/filiale/qianneng/AddAreaMsg.vue +7 -7
- package/src/filiale/qianneng/AddStreetOrPcd.vue +5 -5
- package/src/filiale/qianneng/AddressList.vue +10 -10
- package/src/filiale/qianneng/AreaList.vue +6 -6
- package/src/filiale/qianneng/UserAddress.vue +7 -7
- package/src/filiale/qinhua/AddAreaMsg.vue +7 -7
- package/src/filiale/qinhua/AddressList.vue +9 -9
- package/src/filiale/qinhua/AreaList.vue +6 -6
- package/src/filiale/qinhua/StreetList.vue +4 -4
- package/src/filiale/qinhua/UserAddress.vue +6 -6
- package/src/filiale/rizhao/UserAddress.vue +6 -6
- package/src/filiale/rongcheng/AddressList.vue +5 -5
- package/src/filiale/rongcheng/UserAddress.vue +5 -5
- package/src/filiale/shanggao/AddAreaMsg.vue +7 -7
- package/src/filiale/shanggao/AddStreetOrPcd.vue +5 -5
- package/src/filiale/shanggao/AddressList.vue +9 -9
- package/src/filiale/shanggao/AreaList.vue +6 -6
- package/src/filiale/shanggao/BuildingList.vue +2 -2
- package/src/filiale/shanggao/StreetList.vue +4 -4
- package/src/filiale/shanggao/UserAddress.vue +7 -7
- package/src/filiale/shanxian/AddAreaMsg.vue +7 -7
- package/src/filiale/shanxian/AddressList.vue +9 -9
- package/src/filiale/shanxian/AreaList.vue +6 -6
- package/src/filiale/shanxian/UserAddress.vue +6 -6
- package/src/filiale/shaoguan/AddAreaMsg.vue +4 -4
- package/src/filiale/shaoguan/UserAddress.vue +5 -5
- package/src/filiale/tongchuan/AddAreaMsg.vue +4 -4
- package/src/filiale/tongchuan/AddStreetOrPcd.vue +6 -6
- package/src/filiale/tongchuan/AddressList.vue +5 -5
- package/src/filiale/tongchuan/AreaList.vue +4 -4
- package/src/filiale/tongchuan/CityList.vue +3 -3
- package/src/filiale/tongchuan/StreetList.vue +4 -4
- package/src/filiale/tongchuan/UserAddress.vue +6 -6
- package/src/filiale/wuhai/UserAddress.vue +5 -5
- package/src/filiale/xinkang/AddAreaMsg.vue +8 -8
- package/src/filiale/xinkang/AreaList.vue +5 -5
- package/src/filiale/yangchun/AddAreaMsg.vue +8 -16
- package/src/filiale/zhongsheng/AddressList.vue +10 -10
- package/src/filiale/zhongsheng/AreaList.vue +7 -7
- package/src/filiale/zhongyi/AddAreaMsg.vue +7 -7
- package/src/filiale/zhoukou/AddAreaMsg.vue +5 -5
- package/src/filiale/zhoukou/AddressList.vue +5 -5
- package/src/filiale/zhoukou/AreaList.vue +4 -4
- package/src/filiale/zhoukou/UserAddress.vue +6 -6
- package/src/main.js +3 -3
package/build/dev-server.js
CHANGED
|
@@ -3,103 +3,103 @@ var webpack = require('webpack')
|
|
|
3
3
|
var config = require('./webpack.dev.conf')
|
|
4
4
|
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
5
|
var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
6
|
+
var checkVersion = require('./versionCheck.js')
|
|
7
|
+
checkVersion()
|
|
7
8
|
var app = express()
|
|
8
9
|
var compiler = webpack(config)
|
|
9
10
|
var proxy = httpProxy.createProxyServer()
|
|
10
11
|
|
|
11
12
|
// Define HTTP proxies to your custom API backend
|
|
12
13
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var str = 'http://
|
|
14
|
-
var str3= 'http://
|
|
15
|
-
var str4='http://127.0.0.1:8080'
|
|
16
|
-
const [ serverRul, localUrl, v4Url ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/', 'http://192.168.50.67:31785']
|
|
14
|
+
var str = 'http://192.168.50.4:8400', str2= 'http://192.168.50.4:8400'
|
|
15
|
+
var str3= 'http://192.168.50.4:8400'
|
|
17
16
|
var proxyTable = {
|
|
18
|
-
'/api': {
|
|
19
|
-
target:
|
|
20
|
-
},
|
|
21
|
-
'/invoice/rs/logic/getInvoice': {
|
|
22
|
-
target: serverRul
|
|
23
|
-
},
|
|
24
|
-
'/rs/sql/address_getarealist':{
|
|
25
|
-
target:str4
|
|
17
|
+
'/api/af-auth': {
|
|
18
|
+
target: str
|
|
26
19
|
},
|
|
27
|
-
'/
|
|
28
|
-
target:
|
|
20
|
+
'/api/af-system': {
|
|
21
|
+
target: str
|
|
29
22
|
},
|
|
30
|
-
'/
|
|
31
|
-
|
|
23
|
+
'/api/af-revenue': {
|
|
24
|
+
pathRewrite: {'/api/af-revenue': '/'},
|
|
25
|
+
target: 'http://127.0.0.1:9026'
|
|
32
26
|
},
|
|
33
|
-
'/rs/
|
|
34
|
-
target:
|
|
27
|
+
'/rs/entity': {
|
|
28
|
+
target: str
|
|
29
|
+
// secure:true,
|
|
30
|
+
// changeOrigin:true
|
|
31
|
+
// target: 'http://127.0.0.1:8080'
|
|
35
32
|
},
|
|
36
|
-
'/webapps':
|
|
37
|
-
target:
|
|
33
|
+
'/webapps':{
|
|
34
|
+
target: str3,
|
|
35
|
+
secure:true,
|
|
36
|
+
changeOrigin:true
|
|
37
|
+
// target: 'http://127.0.0.1:8080'
|
|
38
38
|
},
|
|
39
|
-
'/rs/sql/singleTable': {
|
|
40
|
-
target: serverRul
|
|
41
|
-
},
|
|
42
|
-
'/invoice': {
|
|
43
|
-
target: serverRul
|
|
44
|
-
},
|
|
45
|
-
// 查找资源服务数据
|
|
46
|
-
'/rs/search': {
|
|
47
|
-
target: serverRul
|
|
48
|
-
},
|
|
49
|
-
// 查找资源服务数据
|
|
50
39
|
'/rs/logic/getLogin': {
|
|
51
|
-
target:
|
|
40
|
+
target: str3,
|
|
41
|
+
secure:true,
|
|
42
|
+
changeOrigin:true
|
|
52
43
|
},
|
|
53
|
-
// 查找资源服务数据
|
|
54
44
|
'/rs/logic/getInitData': {
|
|
55
|
-
target:
|
|
45
|
+
target: str3,
|
|
46
|
+
secure:true,
|
|
47
|
+
changeOrigin:true,
|
|
56
48
|
},
|
|
57
49
|
'/rs/logic/getSaleInitData': {
|
|
58
|
-
target:
|
|
50
|
+
target: str3,
|
|
51
|
+
secure:true,
|
|
52
|
+
changeOrigin:true
|
|
53
|
+
},
|
|
54
|
+
// '/rs/logic':{
|
|
55
|
+
// target: str3,
|
|
56
|
+
// secure:true,
|
|
57
|
+
// changeOrigin:true
|
|
58
|
+
// // target: 'http://127.0.0.1:8080'
|
|
59
|
+
// },
|
|
60
|
+
'/rs/vue': {
|
|
61
|
+
target: str3,
|
|
62
|
+
secure:true,
|
|
63
|
+
changeOrigin:true
|
|
59
64
|
},
|
|
60
|
-
// 用户登录服务地址
|
|
61
65
|
'/rs/user': {
|
|
62
|
-
target:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
target: serverRul
|
|
66
|
-
},
|
|
67
|
-
'/rs/data': {
|
|
68
|
-
target: serverRul
|
|
69
|
-
},
|
|
70
|
-
'/rs/license': {
|
|
71
|
-
target: serverRul
|
|
66
|
+
target: str3,
|
|
67
|
+
secure:true,
|
|
68
|
+
changeOrigin:true
|
|
72
69
|
},
|
|
73
70
|
'/rs/db': {
|
|
74
|
-
target:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
target: serverRul
|
|
78
|
-
},
|
|
79
|
-
'/rs/config': {
|
|
80
|
-
target: serverRul
|
|
81
|
-
},
|
|
82
|
-
'/rs/report': {
|
|
83
|
-
target: serverRul
|
|
84
|
-
},
|
|
85
|
-
'/rs/vue': {
|
|
86
|
-
target: serverRul
|
|
71
|
+
target: str3,
|
|
72
|
+
secure:true,
|
|
73
|
+
changeOrigin:true
|
|
87
74
|
},
|
|
88
|
-
'/rs/
|
|
89
|
-
target:
|
|
75
|
+
'/rs/search': {
|
|
76
|
+
target: str3,
|
|
77
|
+
secure:true,
|
|
78
|
+
changeOrigin:true
|
|
79
|
+
// target: 'http://127.0.0.1:8080'
|
|
90
80
|
},
|
|
91
|
-
'/rs/
|
|
92
|
-
target:
|
|
81
|
+
'/rs/data': {
|
|
82
|
+
target: str3,
|
|
83
|
+
secure:true,
|
|
84
|
+
changeOrigin:true
|
|
93
85
|
},
|
|
94
86
|
'/rs/sql': {
|
|
95
|
-
target:
|
|
87
|
+
target: str
|
|
88
|
+
// secure: true,
|
|
89
|
+
// changeOrigin:true
|
|
90
|
+
// target: 'http://127.0.0.1:8080'
|
|
96
91
|
},
|
|
97
|
-
'/
|
|
98
|
-
target:
|
|
92
|
+
'/rs/logic': {
|
|
93
|
+
target: str
|
|
94
|
+
// secure: true,
|
|
95
|
+
// changeOrigin:true
|
|
96
|
+
// target: 'http://127.0.0.1:8080'
|
|
99
97
|
},
|
|
100
98
|
'/rs': {
|
|
101
|
-
target:
|
|
102
|
-
|
|
99
|
+
// target: 'http://192.168.50.199:8300'
|
|
100
|
+
target: str3,
|
|
101
|
+
secure:true,
|
|
102
|
+
changeOrigin:true
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
function isVersionGreaterThan (version1, version2) {
|
|
2
|
+
const v1parts = version1.split('.')
|
|
3
|
+
const v2parts = version2.split('.')
|
|
4
|
+
let flag = false
|
|
5
|
+
for (let i = 0; i < v1parts.length; ++i) {
|
|
6
|
+
if (v1parts[i] > v2parts[i]) {
|
|
7
|
+
flag = true
|
|
8
|
+
break
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
return flag
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const pkg = require('../package.json')
|
|
16
|
+
const checkVersion = () => {
|
|
17
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '请注意:当前使用的 addressclient 版本, 会发送 api/af-revenue/sql ,api/af-revenue/logic 到v4 服务')
|
|
18
|
+
const {devDependencies} = pkg
|
|
19
|
+
if (devDependencies && devDependencies['system-clients']) {
|
|
20
|
+
if (isVersionGreaterThan(devDependencies['system-clients'], '3.2.87')) {
|
|
21
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '请注意:当前使用的 systemClients 版本不兼容旧版登录')
|
|
22
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '登录是会发送 api/af-auth 请求')
|
|
23
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '请转发到公司 v4 测试地址或者客户 v4 网关')
|
|
24
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '如不使用新版登录,请降级 system-clients 版本到 3.2.87')
|
|
25
|
+
console.log('\x1b[48;5;88m\x1b[1m\x1b[37m%s\x1b[0m', '请查看营收后台升级日志:' +
|
|
26
|
+
'http://aote-office.8866.org:31467/sale-doc-web/V4Product/%E8%90%A5%E6%94%B6%E5%90%8E%E5%8F%B0%E6%94%B9%E9%80%A0%E8%AF%B4%E6%98%8E')
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
module.exports = checkVersion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "address-client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.106-shimen",
|
|
4
4
|
"description": "地址管理前台组件",
|
|
5
5
|
"author": "wanbochao",
|
|
6
6
|
"license": "ISC",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"url": "https://gitee.com/aote/address_management.git"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"crypto-js": "^4.1.1",
|
|
26
27
|
"less-loader": "^2.2.3",
|
|
27
28
|
"vue": "^1.0.17"
|
|
28
29
|
},
|
|
@@ -79,9 +80,9 @@
|
|
|
79
80
|
"style": "0.0.3",
|
|
80
81
|
"style-loader": "^0.20.3",
|
|
81
82
|
"ldap-clients": "3.0.48",
|
|
82
|
-
"system-clients": "3.2.
|
|
83
|
+
"system-clients": "3.2.95",
|
|
83
84
|
"url-loader": "^0.5.7",
|
|
84
|
-
"vue-client": "1.24.
|
|
85
|
+
"vue-client": "1.24.150",
|
|
85
86
|
"vue-hot-reload-api": "^1.2.0",
|
|
86
87
|
"vue-html-loader": "^1.0.0",
|
|
87
88
|
"vue-loader": "^8.2.1",
|