address-client 3.2.113-yangchun → 3.2.113
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/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/file-system.probe +0 -0
- package/build/dev-server.js +14 -3
- package/build/versionCheck.js +31 -0
- package/package.json +5 -4
- package/src/components/AddAreaMsg.vue +481 -470
- package/src/components/AddCommunityManageMsg.vue +3 -3
- package/src/components/AddStreetManageMsg.vue +3 -3
- package/src/components/AddStreetOrPcd.vue +17 -21
- package/src/components/AddressAddAddress.vue +14 -14
- package/src/components/AddressFiles.vue +1 -1
- package/src/components/AddressList.vue +16 -9
- package/src/components/AddressTree.vue +5 -5
- package/src/components/AreaFiles.vue +1 -1
- package/src/components/AreaList.vue +5 -5
- package/src/components/AreaManage.vue +1 -1
- 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 +4 -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 +33 -44
- 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/bayan/AddAreaMsg.vue +782 -0
- package/src/filiale/bayan/AddStreetOrPcd.vue +348 -0
- package/src/filiale/bayan/AddressList.vue +641 -0
- package/src/filiale/bayan/AreaList.vue +431 -0
- package/src/filiale/bayan/StreetList.vue +245 -0
- package/src/filiale/bayan/UserAddress.vue +924 -0
- package/src/filiale/bayan/sale.js +17 -0
- 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 +11 -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 +22 -22
- 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/xihu/AreaList.vue +409 -0
- package/src/filiale/xihu/StreetList.vue +238 -0
- package/src/filiale/xihu/sale.js +14 -0
- package/src/filiale/xinkang/AddAreaMsg.vue +8 -8
- package/src/filiale/xinkang/AreaList.vue +5 -5
- package/src/filiale/yangchun/AddAreaMsg.vue +11 -11
- 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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -3,16 +3,27 @@ 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://
|
|
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'
|
|
15
16
|
var proxyTable = {
|
|
17
|
+
'/api/af-auth': {
|
|
18
|
+
target: str
|
|
19
|
+
},
|
|
20
|
+
'/api/af-system': {
|
|
21
|
+
target: str
|
|
22
|
+
},
|
|
23
|
+
'/api/af-revenue': {
|
|
24
|
+
pathRewrite: {'/api/af-revenue': '/'},
|
|
25
|
+
target: 'http://127.0.0.1:9026'
|
|
26
|
+
},
|
|
16
27
|
'/rs/entity': {
|
|
17
28
|
target: str
|
|
18
29
|
// secure:true,
|
|
@@ -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.113
|
|
3
|
+
"version": "3.2.113",
|
|
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
|
},
|
|
@@ -78,10 +79,10 @@
|
|
|
78
79
|
"sinon-chai": "^2.8.0",
|
|
79
80
|
"style": "0.0.3",
|
|
80
81
|
"style-loader": "^0.20.3",
|
|
81
|
-
"ldap-clients": "3.0.
|
|
82
|
-
"system-clients": "
|
|
82
|
+
"ldap-clients": "3.0.96",
|
|
83
|
+
"system-clients": "4.0.12",
|
|
83
84
|
"url-loader": "^0.5.7",
|
|
84
|
-
"vue-client": "1.
|
|
85
|
+
"vue-client": "1.25.38",
|
|
85
86
|
"vue-hot-reload-api": "^1.2.0",
|
|
86
87
|
"vue-html-loader": "^1.0.0",
|
|
87
88
|
"vue-loader": "^8.2.1",
|