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.
Files changed (111) hide show
  1. package/.gradle/8.5/checksums/checksums.lock +0 -0
  2. package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
  6. package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/.gradle/file-system.probe +0 -0
  9. package/build/dev-server.js +14 -3
  10. package/build/versionCheck.js +31 -0
  11. package/package.json +5 -4
  12. package/src/components/AddAreaMsg.vue +481 -470
  13. package/src/components/AddCommunityManageMsg.vue +3 -3
  14. package/src/components/AddStreetManageMsg.vue +3 -3
  15. package/src/components/AddStreetOrPcd.vue +17 -21
  16. package/src/components/AddressAddAddress.vue +14 -14
  17. package/src/components/AddressFiles.vue +1 -1
  18. package/src/components/AddressList.vue +16 -9
  19. package/src/components/AddressTree.vue +5 -5
  20. package/src/components/AreaFiles.vue +1 -1
  21. package/src/components/AreaList.vue +5 -5
  22. package/src/components/AreaManage.vue +1 -1
  23. package/src/components/AreaTree.vue +5 -5
  24. package/src/components/Basch.vue +1 -1
  25. package/src/components/BatchOrders.vue +6 -6
  26. package/src/components/BuildingList.vue +2 -2
  27. package/src/components/CityList.vue +4 -3
  28. package/src/components/CommunityAreaList.vue +1 -1
  29. package/src/components/CommunityManageList.vue +4 -4
  30. package/src/components/NewAddressInfo.vue +4 -4
  31. package/src/components/StreetList.vue +5 -4
  32. package/src/components/StreetManageList.vue +4 -4
  33. package/src/components/UserAddress.vue +33 -44
  34. package/src/components/UserAddressChange.vue +1 -1
  35. package/src/components/selectAddress/BatchList.vue +6 -6
  36. package/src/filiale/WEINAN/AddAreaMsg.vue +5 -5
  37. package/src/filiale/WEINAN/AddressList.vue +9 -9
  38. package/src/filiale/WEINAN/AreaList.vue +5 -5
  39. package/src/filiale/WEINAN/AreaUserList.vue +3 -3
  40. package/src/filiale/WEINAN/UserAddress.vue +5 -5
  41. package/src/filiale/bayan/AddAreaMsg.vue +782 -0
  42. package/src/filiale/bayan/AddStreetOrPcd.vue +348 -0
  43. package/src/filiale/bayan/AddressList.vue +641 -0
  44. package/src/filiale/bayan/AreaList.vue +431 -0
  45. package/src/filiale/bayan/StreetList.vue +245 -0
  46. package/src/filiale/bayan/UserAddress.vue +924 -0
  47. package/src/filiale/bayan/sale.js +17 -0
  48. package/src/filiale/chengtou/UserAddress.vue +6 -6
  49. package/src/filiale/dongguan/AddStreetOrPcd.vue +6 -6
  50. package/src/filiale/gaomi/AddressList.vue +6 -6
  51. package/src/filiale/gaomi/UserAddress.vue +5 -5
  52. package/src/filiale/gongyi/AddAreaMsg.vue +4 -4
  53. package/src/filiale/gongyi/UserAddress.vue +5 -5
  54. package/src/filiale/haile/AddressList.vue +9 -9
  55. package/src/filiale/jingwei/UserAddress.vue +5 -5
  56. package/src/filiale/lixianV3/AreaList.vue +5 -5
  57. package/src/filiale/macheng/AddAreaMsg.vue +4 -4
  58. package/src/filiale/macheng/AddStreetOrPcd.vue +3 -3
  59. package/src/filiale/macheng/AddressList.vue +9 -9
  60. package/src/filiale/macheng/AreaList.vue +4 -4
  61. package/src/filiale/macheng/StreetList.vue +3 -3
  62. package/src/filiale/macheng/UserAddress.vue +5 -5
  63. package/src/filiale/meihekou/UserAddress.vue +6 -6
  64. package/src/filiale/qianneng/AddAreaMsg.vue +11 -7
  65. package/src/filiale/qianneng/AddStreetOrPcd.vue +5 -5
  66. package/src/filiale/qianneng/AddressList.vue +10 -10
  67. package/src/filiale/qianneng/AreaList.vue +6 -6
  68. package/src/filiale/qianneng/UserAddress.vue +22 -22
  69. package/src/filiale/qinhua/AddAreaMsg.vue +7 -7
  70. package/src/filiale/qinhua/AddressList.vue +9 -9
  71. package/src/filiale/qinhua/AreaList.vue +6 -6
  72. package/src/filiale/qinhua/StreetList.vue +4 -4
  73. package/src/filiale/qinhua/UserAddress.vue +6 -6
  74. package/src/filiale/rizhao/UserAddress.vue +6 -6
  75. package/src/filiale/rongcheng/AddressList.vue +5 -5
  76. package/src/filiale/rongcheng/UserAddress.vue +5 -5
  77. package/src/filiale/shanggao/AddAreaMsg.vue +7 -7
  78. package/src/filiale/shanggao/AddStreetOrPcd.vue +5 -5
  79. package/src/filiale/shanggao/AddressList.vue +9 -9
  80. package/src/filiale/shanggao/AreaList.vue +6 -6
  81. package/src/filiale/shanggao/BuildingList.vue +2 -2
  82. package/src/filiale/shanggao/StreetList.vue +4 -4
  83. package/src/filiale/shanggao/UserAddress.vue +7 -7
  84. package/src/filiale/shanxian/AddAreaMsg.vue +7 -7
  85. package/src/filiale/shanxian/AddressList.vue +9 -9
  86. package/src/filiale/shanxian/AreaList.vue +6 -6
  87. package/src/filiale/shanxian/UserAddress.vue +6 -6
  88. package/src/filiale/shaoguan/AddAreaMsg.vue +4 -4
  89. package/src/filiale/shaoguan/UserAddress.vue +5 -5
  90. package/src/filiale/tongchuan/AddAreaMsg.vue +4 -4
  91. package/src/filiale/tongchuan/AddStreetOrPcd.vue +6 -6
  92. package/src/filiale/tongchuan/AddressList.vue +5 -5
  93. package/src/filiale/tongchuan/AreaList.vue +4 -4
  94. package/src/filiale/tongchuan/CityList.vue +3 -3
  95. package/src/filiale/tongchuan/StreetList.vue +4 -4
  96. package/src/filiale/tongchuan/UserAddress.vue +6 -6
  97. package/src/filiale/wuhai/UserAddress.vue +5 -5
  98. package/src/filiale/xihu/AreaList.vue +409 -0
  99. package/src/filiale/xihu/StreetList.vue +238 -0
  100. package/src/filiale/xihu/sale.js +14 -0
  101. package/src/filiale/xinkang/AddAreaMsg.vue +8 -8
  102. package/src/filiale/xinkang/AreaList.vue +5 -5
  103. package/src/filiale/yangchun/AddAreaMsg.vue +11 -11
  104. package/src/filiale/zhongsheng/AddressList.vue +10 -10
  105. package/src/filiale/zhongsheng/AreaList.vue +7 -7
  106. package/src/filiale/zhongyi/AddAreaMsg.vue +7 -7
  107. package/src/filiale/zhoukou/AddAreaMsg.vue +5 -5
  108. package/src/filiale/zhoukou/AddressList.vue +5 -5
  109. package/src/filiale/zhoukou/AreaList.vue +4 -4
  110. package/src/filiale/zhoukou/UserAddress.vue +6 -6
  111. package/src/main.js +3 -3
Binary file
@@ -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://127.0.0.1:8288/', str2= 'http://172.168.1.11:9001/#'
14
- var str3= 'http://172.168.1.11:9001/#'
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-yangchun",
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.48",
82
- "system-clients": "3.2.68",
82
+ "ldap-clients": "3.0.96",
83
+ "system-clients": "4.0.12",
83
84
  "url-loader": "^0.5.7",
84
- "vue-client": "1.24.98",
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",