address-client 3.2.42 → 3.2.43-1
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 +162 -162
- package/build/versionCheck.js +31 -0
- package/package.json +99 -99
- package/src/components/AddressList.vue +4 -4
- package/src/components/AreaList.vue +1 -1
- package/src/components/StreetList.vue +1 -1
- package/src/components/UserAddress.vue +13 -13
- package/src/filiale/WEINAN/AddAreaMsg.vue +26 -1
- package/src/filiale/WEINAN/AreaManage.vue +109 -0
- package/src/filiale/WEINAN/AreaUserList.vue +226 -0
- package/src/filiale/haile/AddressList.vue +615 -0
- package/src/filiale/haile/sale.js +8 -0
- package/src/filiale/meihekou/UserAddress.vue +898 -0
- package/src/filiale/meihekou/sale.js +8 -0
- package/src/filiale/qinhua/AddAreaMsg.vue +743 -0
- package/src/filiale/qinhua/AddressList.vue +627 -0
- package/src/filiale/qinhua/AddressManage.vue +117 -0
- package/src/filiale/qinhua/AreaList.vue +425 -0
- package/src/filiale/qinhua/AreaManage.vue +100 -0
- package/src/filiale/qinhua/CityManage.vue +76 -0
- package/src/filiale/qinhua/StreetList.vue +241 -0
- package/src/filiale/qinhua/UserAddress.vue +894 -0
- package/src/filiale/qinhua/sale.js +20 -0
- package/src/filiale/shanxian/AddAreaMsg.vue +766 -0
- package/src/filiale/shanxian/AddressList.vue +630 -0
- package/src/filiale/shanxian/AreaList.vue +458 -0
- package/src/filiale/shanxian/AreaManage.vue +107 -0
- package/src/filiale/shanxian/UserAddress.vue +900 -0
- package/src/filiale/shanxian/sale.js +11 -0
- package/src/filiale/yangchun/AddAreaMsg.vue +764 -0
- package/src/filiale/yangchun/sale.js +7 -0
- package/src/main.js +21 -21
package/build/dev-server.js
CHANGED
|
@@ -1,162 +1,162 @@
|
|
|
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 str = 'http://
|
|
14
|
-
var str3= '
|
|
15
|
-
var proxyTable = {
|
|
16
|
-
'/rs/sql':{
|
|
17
|
-
target: str3,
|
|
18
|
-
secure:true,
|
|
19
|
-
changeOrigin:true
|
|
20
|
-
// target: 'http://127.0.0.1:8080'
|
|
21
|
-
},
|
|
22
|
-
'/webapps':{
|
|
23
|
-
target: str3,
|
|
24
|
-
secure:true,
|
|
25
|
-
changeOrigin:true
|
|
26
|
-
// target: 'http://127.0.0.1:8080'
|
|
27
|
-
},
|
|
28
|
-
'/rs/logic/getLogin': {
|
|
29
|
-
target: str3,
|
|
30
|
-
secure:true,
|
|
31
|
-
changeOrigin:true
|
|
32
|
-
},
|
|
33
|
-
'/rs/logic/getInitData': {
|
|
34
|
-
target: str3,
|
|
35
|
-
secure:true,
|
|
36
|
-
changeOrigin:true,
|
|
37
|
-
},
|
|
38
|
-
'/rs/logic/getSaleInitData': {
|
|
39
|
-
target: str3,
|
|
40
|
-
secure:true,
|
|
41
|
-
changeOrigin:true
|
|
42
|
-
},
|
|
43
|
-
'/rs/logic':{
|
|
44
|
-
target: str3,
|
|
45
|
-
secure:true,
|
|
46
|
-
changeOrigin:true
|
|
47
|
-
// target: 'http://127.0.0.1:8080'
|
|
48
|
-
},
|
|
49
|
-
'/rs/vue': {
|
|
50
|
-
target: str3,
|
|
51
|
-
secure:true,
|
|
52
|
-
changeOrigin:true
|
|
53
|
-
},
|
|
54
|
-
'/rs/user': {
|
|
55
|
-
target: str3,
|
|
56
|
-
secure:true,
|
|
57
|
-
changeOrigin:true
|
|
58
|
-
},
|
|
59
|
-
'/rs/db': {
|
|
60
|
-
target: str3,
|
|
61
|
-
secure:true,
|
|
62
|
-
changeOrigin:true
|
|
63
|
-
},
|
|
64
|
-
'/rs/search': {
|
|
65
|
-
target: str3,
|
|
66
|
-
secure:true,
|
|
67
|
-
changeOrigin:true
|
|
68
|
-
// target: 'http://127.0.0.1:8080'
|
|
69
|
-
},
|
|
70
|
-
'/rs/data': {
|
|
71
|
-
target: str3,
|
|
72
|
-
secure:true,
|
|
73
|
-
changeOrigin:true
|
|
74
|
-
},
|
|
75
|
-
'/rs': {
|
|
76
|
-
// target: 'http://192.168.50.199:8300'
|
|
77
|
-
target: str3,
|
|
78
|
-
secure:true,
|
|
79
|
-
changeOrigin:true
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
84
|
-
publicPath: config.output.publicPath,
|
|
85
|
-
stats: {
|
|
86
|
-
colors: true,
|
|
87
|
-
chunks: false
|
|
88
|
-
}
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
92
|
-
// force page reload when html-webpack-plugin template changes
|
|
93
|
-
compiler.plugin('compilation', function (compilation) {
|
|
94
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
95
|
-
hotMiddleware.publish({ action: 'reload' })
|
|
96
|
-
cb()
|
|
97
|
-
})
|
|
98
|
-
})
|
|
99
|
-
|
|
100
|
-
// proxy api requests
|
|
101
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
102
|
-
var options = proxyTable[context]
|
|
103
|
-
if (typeof options === 'string') {
|
|
104
|
-
options = { target: options }
|
|
105
|
-
}
|
|
106
|
-
app.use(proxyMiddleware(context, options))
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
// handle fallback for HTML5 history API
|
|
110
|
-
app.use(require('connect-history-api-fallback')())
|
|
111
|
-
|
|
112
|
-
// serve webpack bundle output
|
|
113
|
-
app.use(devMiddleware)
|
|
114
|
-
|
|
115
|
-
// enable hot-reload and state-preserving
|
|
116
|
-
// compilation error display
|
|
117
|
-
app.use(hotMiddleware)
|
|
118
|
-
|
|
119
|
-
// serve pure static assets
|
|
120
|
-
app.use('/static', express.static('./static'))
|
|
121
|
-
|
|
122
|
-
// app.all('/rs/*', function (req, res) {
|
|
123
|
-
// proxy.web(req, res, {
|
|
124
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
125
|
-
// })
|
|
126
|
-
// })
|
|
127
|
-
|
|
128
|
-
// app.all('/rs/*', function (req, res) {
|
|
129
|
-
// proxy.web(req, res, {
|
|
130
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
131
|
-
// })
|
|
132
|
-
// })
|
|
133
|
-
// app.all('/excel/*', function (req, res) {
|
|
134
|
-
// proxy.web(req, res, {
|
|
135
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
136
|
-
// })
|
|
137
|
-
// })
|
|
138
|
-
|
|
139
|
-
// app.all('/rs/*', function (req, res) {
|
|
140
|
-
// proxy.web(req, res, {
|
|
141
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
142
|
-
// })
|
|
143
|
-
// })
|
|
144
|
-
|
|
145
|
-
// app.all('/*', function (req, res) {
|
|
146
|
-
// proxy.web(req, res, {
|
|
147
|
-
// target: 'http://127.0.0.1:82'
|
|
148
|
-
// })
|
|
149
|
-
// })
|
|
150
|
-
// app.all('/rs/user', function (req, res) {
|
|
151
|
-
// proxy.web(req, res, {
|
|
152
|
-
// target: 'http://127.0.0.1:82'
|
|
153
|
-
// })
|
|
154
|
-
// })
|
|
155
|
-
|
|
156
|
-
module.exports = app.listen(8085, function (err) {
|
|
157
|
-
if (err) {
|
|
158
|
-
console.log(err)
|
|
159
|
-
return
|
|
160
|
-
}
|
|
161
|
-
console.log('Listening at http://localhost:8085')
|
|
162
|
-
})
|
|
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 str = 'http://127.0.0.1:8078', str2= 'http://192.168.50.4:8400/'
|
|
14
|
+
var str3= 'https://qnjtkf.cn:7400'
|
|
15
|
+
var proxyTable = {
|
|
16
|
+
'/rs/sql':{
|
|
17
|
+
target: str3,
|
|
18
|
+
secure:true,
|
|
19
|
+
changeOrigin:true
|
|
20
|
+
// target: 'http://127.0.0.1:8080'
|
|
21
|
+
},
|
|
22
|
+
'/webapps':{
|
|
23
|
+
target: str3,
|
|
24
|
+
secure:true,
|
|
25
|
+
changeOrigin:true
|
|
26
|
+
// target: 'http://127.0.0.1:8080'
|
|
27
|
+
},
|
|
28
|
+
'/rs/logic/getLogin': {
|
|
29
|
+
target: str3,
|
|
30
|
+
secure:true,
|
|
31
|
+
changeOrigin:true
|
|
32
|
+
},
|
|
33
|
+
'/rs/logic/getInitData': {
|
|
34
|
+
target: str3,
|
|
35
|
+
secure:true,
|
|
36
|
+
changeOrigin:true,
|
|
37
|
+
},
|
|
38
|
+
'/rs/logic/getSaleInitData': {
|
|
39
|
+
target: str3,
|
|
40
|
+
secure:true,
|
|
41
|
+
changeOrigin:true
|
|
42
|
+
},
|
|
43
|
+
'/rs/logic':{
|
|
44
|
+
target: str3,
|
|
45
|
+
secure:true,
|
|
46
|
+
changeOrigin:true
|
|
47
|
+
// target: 'http://127.0.0.1:8080'
|
|
48
|
+
},
|
|
49
|
+
'/rs/vue': {
|
|
50
|
+
target: str3,
|
|
51
|
+
secure:true,
|
|
52
|
+
changeOrigin:true
|
|
53
|
+
},
|
|
54
|
+
'/rs/user': {
|
|
55
|
+
target: str3,
|
|
56
|
+
secure:true,
|
|
57
|
+
changeOrigin:true
|
|
58
|
+
},
|
|
59
|
+
'/rs/db': {
|
|
60
|
+
target: str3,
|
|
61
|
+
secure:true,
|
|
62
|
+
changeOrigin:true
|
|
63
|
+
},
|
|
64
|
+
'/rs/search': {
|
|
65
|
+
target: str3,
|
|
66
|
+
secure:true,
|
|
67
|
+
changeOrigin:true
|
|
68
|
+
// target: 'http://127.0.0.1:8080'
|
|
69
|
+
},
|
|
70
|
+
'/rs/data': {
|
|
71
|
+
target: str3,
|
|
72
|
+
secure:true,
|
|
73
|
+
changeOrigin:true
|
|
74
|
+
},
|
|
75
|
+
'/rs': {
|
|
76
|
+
// target: 'http://192.168.50.199:8300'
|
|
77
|
+
target: str3,
|
|
78
|
+
secure:true,
|
|
79
|
+
changeOrigin:true
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
84
|
+
publicPath: config.output.publicPath,
|
|
85
|
+
stats: {
|
|
86
|
+
colors: true,
|
|
87
|
+
chunks: false
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
92
|
+
// force page reload when html-webpack-plugin template changes
|
|
93
|
+
compiler.plugin('compilation', function (compilation) {
|
|
94
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
95
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
96
|
+
cb()
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
// proxy api requests
|
|
101
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
102
|
+
var options = proxyTable[context]
|
|
103
|
+
if (typeof options === 'string') {
|
|
104
|
+
options = { target: options }
|
|
105
|
+
}
|
|
106
|
+
app.use(proxyMiddleware(context, options))
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
// handle fallback for HTML5 history API
|
|
110
|
+
app.use(require('connect-history-api-fallback')())
|
|
111
|
+
|
|
112
|
+
// serve webpack bundle output
|
|
113
|
+
app.use(devMiddleware)
|
|
114
|
+
|
|
115
|
+
// enable hot-reload and state-preserving
|
|
116
|
+
// compilation error display
|
|
117
|
+
app.use(hotMiddleware)
|
|
118
|
+
|
|
119
|
+
// serve pure static assets
|
|
120
|
+
app.use('/static', express.static('./static'))
|
|
121
|
+
|
|
122
|
+
// app.all('/rs/*', function (req, res) {
|
|
123
|
+
// proxy.web(req, res, {
|
|
124
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
125
|
+
// })
|
|
126
|
+
// })
|
|
127
|
+
|
|
128
|
+
// app.all('/rs/*', function (req, res) {
|
|
129
|
+
// proxy.web(req, res, {
|
|
130
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
131
|
+
// })
|
|
132
|
+
// })
|
|
133
|
+
// app.all('/excel/*', function (req, res) {
|
|
134
|
+
// proxy.web(req, res, {
|
|
135
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
136
|
+
// })
|
|
137
|
+
// })
|
|
138
|
+
|
|
139
|
+
// app.all('/rs/*', function (req, res) {
|
|
140
|
+
// proxy.web(req, res, {
|
|
141
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
142
|
+
// })
|
|
143
|
+
// })
|
|
144
|
+
|
|
145
|
+
// app.all('/*', function (req, res) {
|
|
146
|
+
// proxy.web(req, res, {
|
|
147
|
+
// target: 'http://127.0.0.1:82'
|
|
148
|
+
// })
|
|
149
|
+
// })
|
|
150
|
+
// app.all('/rs/user', function (req, res) {
|
|
151
|
+
// proxy.web(req, res, {
|
|
152
|
+
// target: 'http://127.0.0.1:82'
|
|
153
|
+
// })
|
|
154
|
+
// })
|
|
155
|
+
|
|
156
|
+
module.exports = app.listen(8085, function (err) {
|
|
157
|
+
if (err) {
|
|
158
|
+
console.log(err)
|
|
159
|
+
return
|
|
160
|
+
}
|
|
161
|
+
console.log('Listening at http://localhost:8085')
|
|
162
|
+
})
|
|
@@ -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,99 +1,99 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "address-client",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "地址管理前台组件",
|
|
5
|
-
"author": "wanbochao",
|
|
6
|
-
"license": "ISC",
|
|
7
|
-
"main": "src/index.js",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"sale"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"unit": "karma start test/unit/karma.conf.js",
|
|
13
|
-
"example": "node build/example-server.js",
|
|
14
|
-
"dev": "node build/dev-server.js",
|
|
15
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
16
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
17
|
-
"e2e": "node test/e2e/runner.js",
|
|
18
|
-
"make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
|
|
19
|
-
"release": "bash build/release.sh"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://gitee.com/aote/address_management.git"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"less-loader": "^2.2.3",
|
|
27
|
-
"vue": "^1.0.17"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"babel-core": "^6.0.0",
|
|
31
|
-
"babel-loader": "^6.0.0",
|
|
32
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
33
|
-
"babel-preset-es2015": "^6.0.0",
|
|
34
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
35
|
-
"chai": "^3.5.0",
|
|
36
|
-
"co": "^4.6.0",
|
|
37
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
38
|
-
"cross-env": "^1.0.7",
|
|
39
|
-
"cross-spawn": "^2.1.5",
|
|
40
|
-
"css-loader": "^0.23.0",
|
|
41
|
-
"echarts": "^4.1.0",
|
|
42
|
-
"eslint": "^2.0.0",
|
|
43
|
-
"eslint-config-standard": "^5.1.0",
|
|
44
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
45
|
-
"eslint-loader": "^1.3.0",
|
|
46
|
-
"eslint-plugin-html": "^1.3.0",
|
|
47
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
48
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
49
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
50
|
-
"eventsource-polyfill": "^0.9.6",
|
|
51
|
-
"express": "^4.13.3",
|
|
52
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
53
|
-
"file-loader": "^0.8.4",
|
|
54
|
-
"function-bind": "^1.0.2",
|
|
55
|
-
"html-webpack-plugin": "^2.8.1",
|
|
56
|
-
"http-proxy-middleware": "^0.11.0",
|
|
57
|
-
"inject-loader": "^2.0.1",
|
|
58
|
-
"isparta-loader": "^2.0.0",
|
|
59
|
-
"jasmine-core": "^2.4.1",
|
|
60
|
-
"jquery": "^3.3.1",
|
|
61
|
-
"json-loader": "^0.5.4",
|
|
62
|
-
"karma": "^1.4.1",
|
|
63
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
64
|
-
"karma-coverage": "^1.1.1",
|
|
65
|
-
"karma-mocha": "^1.3.0",
|
|
66
|
-
"karma-sinon-chai": "^1.3.1",
|
|
67
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
68
|
-
"karma-spec-reporter": "0.0.31",
|
|
69
|
-
"karma-webpack": "^2.0.2",
|
|
70
|
-
"less": "^2.7.3",
|
|
71
|
-
"mkdirp": "^0.5.1",
|
|
72
|
-
"mocha": "^3.2.0",
|
|
73
|
-
"ncp": "^2.0.0",
|
|
74
|
-
"rimraf": "^2.5.0",
|
|
75
|
-
"sale-client": "3.2.11-17",
|
|
76
|
-
"selenium-server": "2.52.0",
|
|
77
|
-
"sinon": "^2.1.0",
|
|
78
|
-
"sinon-chai": "^2.8.0",
|
|
79
|
-
"style": "0.0.3",
|
|
80
|
-
"style-loader": "^0.20.3",
|
|
81
|
-
"system-clients": "3.1.88-5",
|
|
82
|
-
"url-loader": "^0.5.7",
|
|
83
|
-
"vue-client": "1.24.27",
|
|
84
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
85
|
-
"vue-html-loader": "^1.0.0",
|
|
86
|
-
"vue-loader": "^8.2.1",
|
|
87
|
-
"vue-resource": "^1.5.0",
|
|
88
|
-
"vue-router": "^0.7.13",
|
|
89
|
-
"vue-strap": "^1.0.9",
|
|
90
|
-
"vue-style-loader": "^1.0.0",
|
|
91
|
-
"vue-validator": "2.1.7",
|
|
92
|
-
"webpack": "^1.12.2",
|
|
93
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
94
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
95
|
-
"webpack-merge": "^0.8.3",
|
|
96
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
97
|
-
"axios": "0.15.3"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "address-client",
|
|
3
|
+
"version": "3.2.43-1",
|
|
4
|
+
"description": "地址管理前台组件",
|
|
5
|
+
"author": "wanbochao",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"main": "src/index.js",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"sale"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"unit": "karma start test/unit/karma.conf.js",
|
|
13
|
+
"example": "node build/example-server.js",
|
|
14
|
+
"dev": "node build/dev-server.js",
|
|
15
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
16
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
17
|
+
"e2e": "node test/e2e/runner.js",
|
|
18
|
+
"make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
|
|
19
|
+
"release": "bash build/release.sh"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://gitee.com/aote/address_management.git"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"less-loader": "^2.2.3",
|
|
27
|
+
"vue": "^1.0.17"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"babel-core": "^6.0.0",
|
|
31
|
+
"babel-loader": "^6.0.0",
|
|
32
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
33
|
+
"babel-preset-es2015": "^6.0.0",
|
|
34
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
35
|
+
"chai": "^3.5.0",
|
|
36
|
+
"co": "^4.6.0",
|
|
37
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
38
|
+
"cross-env": "^1.0.7",
|
|
39
|
+
"cross-spawn": "^2.1.5",
|
|
40
|
+
"css-loader": "^0.23.0",
|
|
41
|
+
"echarts": "^4.1.0",
|
|
42
|
+
"eslint": "^2.0.0",
|
|
43
|
+
"eslint-config-standard": "^5.1.0",
|
|
44
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
45
|
+
"eslint-loader": "^1.3.0",
|
|
46
|
+
"eslint-plugin-html": "^1.3.0",
|
|
47
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
48
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
49
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
50
|
+
"eventsource-polyfill": "^0.9.6",
|
|
51
|
+
"express": "^4.13.3",
|
|
52
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
53
|
+
"file-loader": "^0.8.4",
|
|
54
|
+
"function-bind": "^1.0.2",
|
|
55
|
+
"html-webpack-plugin": "^2.8.1",
|
|
56
|
+
"http-proxy-middleware": "^0.11.0",
|
|
57
|
+
"inject-loader": "^2.0.1",
|
|
58
|
+
"isparta-loader": "^2.0.0",
|
|
59
|
+
"jasmine-core": "^2.4.1",
|
|
60
|
+
"jquery": "^3.3.1",
|
|
61
|
+
"json-loader": "^0.5.4",
|
|
62
|
+
"karma": "^1.4.1",
|
|
63
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
64
|
+
"karma-coverage": "^1.1.1",
|
|
65
|
+
"karma-mocha": "^1.3.0",
|
|
66
|
+
"karma-sinon-chai": "^1.3.1",
|
|
67
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
68
|
+
"karma-spec-reporter": "0.0.31",
|
|
69
|
+
"karma-webpack": "^2.0.2",
|
|
70
|
+
"less": "^2.7.3",
|
|
71
|
+
"mkdirp": "^0.5.1",
|
|
72
|
+
"mocha": "^3.2.0",
|
|
73
|
+
"ncp": "^2.0.0",
|
|
74
|
+
"rimraf": "^2.5.0",
|
|
75
|
+
"sale-client": "3.2.11-17",
|
|
76
|
+
"selenium-server": "2.52.0",
|
|
77
|
+
"sinon": "^2.1.0",
|
|
78
|
+
"sinon-chai": "^2.8.0",
|
|
79
|
+
"style": "0.0.3",
|
|
80
|
+
"style-loader": "^0.20.3",
|
|
81
|
+
"system-clients": "3.1.88-5",
|
|
82
|
+
"url-loader": "^0.5.7",
|
|
83
|
+
"vue-client": "1.24.27",
|
|
84
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
85
|
+
"vue-html-loader": "^1.0.0",
|
|
86
|
+
"vue-loader": "^8.2.1",
|
|
87
|
+
"vue-resource": "^1.5.0",
|
|
88
|
+
"vue-router": "^0.7.13",
|
|
89
|
+
"vue-strap": "^1.0.9",
|
|
90
|
+
"vue-style-loader": "^1.0.0",
|
|
91
|
+
"vue-validator": "2.1.7",
|
|
92
|
+
"webpack": "^1.12.2",
|
|
93
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
94
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
95
|
+
"webpack-merge": "^0.8.3",
|
|
96
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
97
|
+
"axios": "0.15.3"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</res-select>
|
|
16
16
|
</div>
|
|
17
17
|
<div :class="$parent.$parent.style" v-if="$parent.$parent.showrightchange">
|
|
18
|
-
<label class="font_normal_body"
|
|
18
|
+
<label class="font_normal_body">客户编号</label>
|
|
19
19
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" style="width:60%"
|
|
20
20
|
condition="f_userinfo_code = '{}'" placeholder="用户编号"/>
|
|
21
21
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
/>
|
|
102
102
|
</div>
|
|
103
103
|
<div :class="$parent.$parent.style" >
|
|
104
|
-
<label class="font_normal_body"
|
|
104
|
+
<label class="font_normal_body">客户地址</label>
|
|
105
105
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_address" style="width:60%"
|
|
106
106
|
condition="a.f_address like '%{}%'" placeholder="详细地址"
|
|
107
107
|
:size="model.f_address ? model.f_address.length*2 : 8"/>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<data-grid :model="model" partial='list' style="overflow: auto" class="list_area table_sy" :optional="true" v-ref:grid>
|
|
139
139
|
<template partial='head'>
|
|
140
140
|
<th><nobr>序号</nobr></th>
|
|
141
|
-
<th><nobr
|
|
141
|
+
<th><nobr>客户编号</nobr></th>
|
|
142
142
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>区/县</nobr></th>
|
|
143
143
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>片区/管理站</nobr></th>
|
|
144
144
|
<th><nobr>街道/乡镇</nobr></th>
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>单元</nobr></th>
|
|
148
148
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>楼层</nobr></th>
|
|
149
149
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>门牌号</nobr></th>
|
|
150
|
-
<th><nobr
|
|
150
|
+
<th><nobr>客户地址</nobr></th>
|
|
151
151
|
<th><nobr>地址状态</nobr></th>
|
|
152
152
|
<th><nobr>状态</nobr></th>
|
|
153
153
|
<th><nobr>时间</nobr></th>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<th><nobr>街道/乡镇</nobr></th>
|
|
115
115
|
<!--民用小区信息开始-->
|
|
116
116
|
<th v-if="!$parent.$parent.$parent.f_special"><nobr>小区名称</nobr></th>
|
|
117
|
-
<th v-if="!$parent.$parent.$parent.f_special"><nobr
|
|
117
|
+
<th v-if="!$parent.$parent.$parent.f_special"><nobr>地址</nobr></th>
|
|
118
118
|
<th v-if="!$parent.$parent.$parent.f_special && !$parent.$parent.$parent.$parent.areaShow"><nobr>小区备注</nobr></th>
|
|
119
119
|
<!--民用小区信息结束-->
|
|
120
120
|
<!--非民用单位信息开始-->
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
:order.sync="$parent.$parent.$parent.$parent.orderFields.f_iscity"></data-order></th>
|
|
76
76
|
<th><nobr>街道/乡镇</nobr></th>
|
|
77
77
|
<th><nobr>街道编号</nobr></th>
|
|
78
|
-
<th><data-order field="f_address" name="
|
|
78
|
+
<th><data-order field="f_address" name="地址"
|
|
79
79
|
:order.sync="$parent.$parent.$parent.$parent.orderFields.f_address"></data-order></th>
|
|
80
80
|
<th><nobr>分公司</nobr></th>
|
|
81
81
|
<th title="该街道下现有的小区数"><nobr>小区数量</nobr></th>
|