apply-clients 3.3.83 → 3.3.86
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/.project +17 -0
- package/build/dev-server-app.js +76 -76
- package/build/dev-server.js +150 -127
- package/package.json +1 -1
- package/src/App.vue +22 -20
- package/src/components/android/AppOnetomany.vue +2 -1
- package/src/components/android/AppSign.vue +151 -142
- package/src/components/android/AppTakePic.vue +144 -143
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +2 -1
- package/src/components/android/Process/AppExplorationUser.vue +495 -495
- package/src/components/android/Process/AppServiceControl.vue +2 -1
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -311
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/main.js +27 -26
- package/yarn.lock +0 -9013
package/.project
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>ApplyClient</name>
|
|
4
|
+
<comment></comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.wst.validation.validationbuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
</buildSpec>
|
|
14
|
+
<natures>
|
|
15
|
+
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
|
16
|
+
</natures>
|
|
17
|
+
</projectDescription>
|
package/build/dev-server-app.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
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
|
-
var app = express()
|
|
7
|
-
var compiler = webpack(config)
|
|
8
|
-
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
|
|
10
|
-
// Define HTTP proxies to your custom API backend
|
|
11
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
'/rs': {
|
|
14
|
-
target: 'http://192.168.20.27:8555'
|
|
15
|
-
// target: 'http://192.168.30.86:8077'
|
|
16
|
-
},
|
|
17
|
-
'/AndroidRest/rs': {
|
|
18
|
-
target: 'http://192.168.20.27:8555'
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
23
|
-
publicPath: config.output.publicPath,
|
|
24
|
-
stats: {
|
|
25
|
-
colors: true,
|
|
26
|
-
chunks: false
|
|
27
|
-
}
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
31
|
-
// force page reload when html-webpack-plugin template changes
|
|
32
|
-
compiler.plugin('compilation', function (compilation) {
|
|
33
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
34
|
-
hotMiddleware.publish({action: 'reload'})
|
|
35
|
-
cb()
|
|
36
|
-
})
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
// proxy api requests
|
|
40
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
41
|
-
var options = proxyTable[context]
|
|
42
|
-
if (typeof options === 'string') {
|
|
43
|
-
options = {target: options}
|
|
44
|
-
}
|
|
45
|
-
app.use(proxyMiddleware(context, options))
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
// handle fallback for HTML5 history API
|
|
49
|
-
app.use(require('connect-history-api-fallback')())
|
|
50
|
-
// app.use(function (req, res, next) {
|
|
51
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
52
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
53
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
54
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
55
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
56
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
57
|
-
// next()
|
|
58
|
-
// })
|
|
59
|
-
|
|
60
|
-
// serve webpack bundle output
|
|
61
|
-
app.use(devMiddleware)
|
|
62
|
-
|
|
63
|
-
// enable hot-reload and state-preserving
|
|
64
|
-
// compilation error display
|
|
65
|
-
app.use(hotMiddleware)
|
|
66
|
-
|
|
67
|
-
// serve pure static assets
|
|
68
|
-
app.use('/static', express.static('./static'))
|
|
69
|
-
|
|
70
|
-
module.exports = app.listen(8089, function (err) {
|
|
71
|
-
if (err) {
|
|
72
|
-
console.log(err)
|
|
73
|
-
return
|
|
74
|
-
}
|
|
75
|
-
console.log('Listening at http://localhost:8089')
|
|
76
|
-
})
|
|
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
|
+
var app = express()
|
|
7
|
+
var compiler = webpack(config)
|
|
8
|
+
// var proxy = httpProxy.createProxyServer()
|
|
9
|
+
|
|
10
|
+
// Define HTTP proxies to your custom API backend
|
|
11
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
'/rs': {
|
|
14
|
+
target: 'http://192.168.20.27:8555'
|
|
15
|
+
// target: 'http://192.168.30.86:8077'
|
|
16
|
+
},
|
|
17
|
+
'/AndroidRest/rs': {
|
|
18
|
+
target: 'http://192.168.20.27:8555'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
23
|
+
publicPath: config.output.publicPath,
|
|
24
|
+
stats: {
|
|
25
|
+
colors: true,
|
|
26
|
+
chunks: false
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
31
|
+
// force page reload when html-webpack-plugin template changes
|
|
32
|
+
compiler.plugin('compilation', function (compilation) {
|
|
33
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
34
|
+
hotMiddleware.publish({action: 'reload'})
|
|
35
|
+
cb()
|
|
36
|
+
})
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
// proxy api requests
|
|
40
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
41
|
+
var options = proxyTable[context]
|
|
42
|
+
if (typeof options === 'string') {
|
|
43
|
+
options = {target: options}
|
|
44
|
+
}
|
|
45
|
+
app.use(proxyMiddleware(context, options))
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
// handle fallback for HTML5 history API
|
|
49
|
+
app.use(require('connect-history-api-fallback')())
|
|
50
|
+
// app.use(function (req, res, next) {
|
|
51
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
52
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
53
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
54
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
55
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
56
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
57
|
+
// next()
|
|
58
|
+
// })
|
|
59
|
+
|
|
60
|
+
// serve webpack bundle output
|
|
61
|
+
app.use(devMiddleware)
|
|
62
|
+
|
|
63
|
+
// enable hot-reload and state-preserving
|
|
64
|
+
// compilation error display
|
|
65
|
+
app.use(hotMiddleware)
|
|
66
|
+
|
|
67
|
+
// serve pure static assets
|
|
68
|
+
app.use('/static', express.static('./static'))
|
|
69
|
+
|
|
70
|
+
module.exports = app.listen(8089, function (err) {
|
|
71
|
+
if (err) {
|
|
72
|
+
console.log(err)
|
|
73
|
+
return
|
|
74
|
+
}
|
|
75
|
+
console.log('Listening at http://localhost:8089')
|
|
76
|
+
})
|
package/build/dev-server.js
CHANGED
|
@@ -1,127 +1,150 @@
|
|
|
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
|
-
var app = express()
|
|
7
|
-
var compiler = webpack(config)
|
|
8
|
-
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
-
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://192.168.20.
|
|
12
|
-
var applyinstall = 'http://
|
|
13
|
-
var
|
|
14
|
-
|
|
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
|
-
'/rs/
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
'/rs/logic/
|
|
53
|
-
target:
|
|
54
|
-
},
|
|
55
|
-
'/rs/logic/
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
'/rs/
|
|
59
|
-
target:
|
|
60
|
-
},
|
|
61
|
-
'/
|
|
62
|
-
target: applyinstall
|
|
63
|
-
},
|
|
64
|
-
'/rs': {
|
|
65
|
-
target:
|
|
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
|
-
app.use(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
+
var app = express()
|
|
7
|
+
var compiler = webpack(config)
|
|
8
|
+
// var proxy = httpProxy.createProxyServer()
|
|
9
|
+
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
+
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
+
var ldap = 'http://192.168.20.28:8400'
|
|
12
|
+
var applyinstall = 'http://127.0.0.1:8080'
|
|
13
|
+
// var ldap = 'http://192.168.20.28:8556'
|
|
14
|
+
// var applyinstall = 'http://192.168.20.28:8556'
|
|
15
|
+
var proxyTable = {
|
|
16
|
+
'/wx': {
|
|
17
|
+
target: ldap
|
|
18
|
+
},
|
|
19
|
+
'/ncc': {
|
|
20
|
+
target: 'http://192.168.20.27:7890'
|
|
21
|
+
},
|
|
22
|
+
'/rs/sql/filemanage_getUserfies/n': {
|
|
23
|
+
target: ldap
|
|
24
|
+
},
|
|
25
|
+
'/rs/sql/filemanage_getUserfies': {
|
|
26
|
+
target: ldap
|
|
27
|
+
},
|
|
28
|
+
'/rs/entity/t_apply': {
|
|
29
|
+
target: 'http://127.0.0.1:8080'
|
|
30
|
+
},
|
|
31
|
+
'/rs/logic/exportfile': {
|
|
32
|
+
target: ldap
|
|
33
|
+
},
|
|
34
|
+
'/rs/logic/getBatchOperaPro': {
|
|
35
|
+
target: ldap
|
|
36
|
+
},
|
|
37
|
+
'/rs/logic/updateApplyOrder': {
|
|
38
|
+
target: ldap
|
|
39
|
+
},
|
|
40
|
+
// '/rs/sql/getAddresAndUserinfoAndUserfilesAmount': {
|
|
41
|
+
// target: 'http://127.0.0.1:8080'
|
|
42
|
+
// },
|
|
43
|
+
// '/rs/sql/singleTable': {
|
|
44
|
+
// target: 'http://127.0.0.1:8080'
|
|
45
|
+
// },
|
|
46
|
+
// '/rs/sql/countApplyUserinfo': {
|
|
47
|
+
// target: 'http://127.0.0.1:8080'
|
|
48
|
+
// },
|
|
49
|
+
// '/rs/sql/getStockMaterial': {
|
|
50
|
+
// target: 'http://127.0.0.1:8080'
|
|
51
|
+
// },
|
|
52
|
+
'/rs/logic/resAreaSelect': {
|
|
53
|
+
target: 'http://127.0.0.1:8080'
|
|
54
|
+
},
|
|
55
|
+
// '/rs/logic/bjqCheck': {
|
|
56
|
+
// target: 'http://127.0.0.1:8080'
|
|
57
|
+
// },
|
|
58
|
+
'/rs/logic/getSaleInitData': {
|
|
59
|
+
target: ldap
|
|
60
|
+
},
|
|
61
|
+
'/rs/workflow': {
|
|
62
|
+
target: applyinstall
|
|
63
|
+
},
|
|
64
|
+
'/rs/vue': {
|
|
65
|
+
target: ldap
|
|
66
|
+
},
|
|
67
|
+
// 查找资源服务数据
|
|
68
|
+
'/rs/search': {
|
|
69
|
+
target: ldap
|
|
70
|
+
},
|
|
71
|
+
// 用户登录服务地址
|
|
72
|
+
'/rs/user': {
|
|
73
|
+
target: ldap
|
|
74
|
+
},
|
|
75
|
+
'/rs/logic/getInitData': {
|
|
76
|
+
target: ldap
|
|
77
|
+
},
|
|
78
|
+
'/rs/logic/getLogin': {
|
|
79
|
+
target: ldap
|
|
80
|
+
},
|
|
81
|
+
'/rs/file': { // 文件上传
|
|
82
|
+
target: applyinstall
|
|
83
|
+
},
|
|
84
|
+
'/project': { // 文件回显
|
|
85
|
+
target: applyinstall
|
|
86
|
+
},
|
|
87
|
+
'/rs': {
|
|
88
|
+
target: applyinstall
|
|
89
|
+
},
|
|
90
|
+
'/ws': {
|
|
91
|
+
target: applyinstall,
|
|
92
|
+
ws: true // 代理webSocket
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
97
|
+
publicPath: config.output.publicPath,
|
|
98
|
+
stats: {
|
|
99
|
+
colors: true,
|
|
100
|
+
chunks: false
|
|
101
|
+
}
|
|
102
|
+
})
|
|
103
|
+
|
|
104
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
105
|
+
// force page reload when html-webpack-plugin template changes
|
|
106
|
+
compiler.plugin('compilation', function (compilation) {
|
|
107
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
108
|
+
hotMiddleware.publish({action: 'reload'})
|
|
109
|
+
cb()
|
|
110
|
+
})
|
|
111
|
+
})
|
|
112
|
+
|
|
113
|
+
// proxy api requests
|
|
114
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
115
|
+
var options = proxyTable[context]
|
|
116
|
+
if (typeof options === 'string') {
|
|
117
|
+
options = {target: options}
|
|
118
|
+
}
|
|
119
|
+
app.use(proxyMiddleware(context, options))
|
|
120
|
+
})
|
|
121
|
+
|
|
122
|
+
// handle fallback for HTML5 history API
|
|
123
|
+
app.use(require('connect-history-api-fallback')())
|
|
124
|
+
// app.use(function (req, res, next) {
|
|
125
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
126
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
127
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
128
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
129
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
130
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
131
|
+
// next()
|
|
132
|
+
// })
|
|
133
|
+
|
|
134
|
+
// serve webpack bundle output
|
|
135
|
+
app.use(devMiddleware)
|
|
136
|
+
|
|
137
|
+
// enable hot-reload and state-preserving
|
|
138
|
+
// compilation error display
|
|
139
|
+
app.use(hotMiddleware)
|
|
140
|
+
|
|
141
|
+
// serve pure static assets
|
|
142
|
+
app.use('/static', express.static('./static'))
|
|
143
|
+
|
|
144
|
+
module.exports = app.listen(8300, function (err) {
|
|
145
|
+
if (err) {
|
|
146
|
+
console.log(err)
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
console.log('Listening at http://localhost:8300')
|
|
150
|
+
})
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<route :comp="{name: 'login'}"></route>
|
|
7
|
+
<!-- <route :comp="{name: 'login-app'}"></route>-->
|
|
8
|
+
|
|
9
|
+
</article>
|
|
10
|
+
</div>
|
|
11
|
+
</app-base>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
@@ -181,7 +181,8 @@ export default {
|
|
|
181
181
|
})
|
|
182
182
|
if (data.f_material_name.substr(0,3) === '报警器'){
|
|
183
183
|
let res = await this.$resetpost(
|
|
184
|
-
`${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqcheck`,
|
|
184
|
+
// `${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqcheck`,
|
|
185
|
+
`ncc/rs/logic/bjqcheck`,
|
|
185
186
|
// `/rs/logic/bjqcheck`,
|
|
186
187
|
data
|
|
187
188
|
)
|