apply-clients 3.3.69 → 3.3.71-3
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-app.js +2 -2
- package/build/dev-server.js +127 -133
- package/package.json +1 -1
- package/src/AndroidApp.vue +35 -35
- package/src/App.vue +20 -20
- package/src/applyAndroid.js +4 -1
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +602 -595
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/Function/AppInstallFunction.vue +366 -366
- package/src/components/android/Process/AppExplorationUser.vue +489 -402
- package/src/components/android/Process/AppServiceControl.vue +471 -16
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -300
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
- package/src/components/product/Business/BusinessApply.vue +242 -242
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
- package/src/components/product/OldApply/OldApply.vue +150 -150
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
- package/src/components/product/Process/ExplorationSelect.vue +452 -457
- package/src/components/product/Process/ExplorationUser.vue +189 -147
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
- package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +5 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
- package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/main.js +27 -26
- package/yarn.lock +9013 -0
package/build/dev-server-app.js
CHANGED
|
@@ -11,11 +11,11 @@ var compiler = webpack(config)
|
|
|
11
11
|
// https://github.com/chimurai/http-proxy-middleware
|
|
12
12
|
var proxyTable = {
|
|
13
13
|
'/rs': {
|
|
14
|
-
target: 'http://192.168.
|
|
14
|
+
target: 'http://192.168.20.27:8555'
|
|
15
15
|
// target: 'http://192.168.30.86:8077'
|
|
16
16
|
},
|
|
17
17
|
'/AndroidRest/rs': {
|
|
18
|
-
target: 'http://192.168.
|
|
18
|
+
target: 'http://192.168.20.27:8555'
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
package/build/dev-server.js
CHANGED
|
@@ -1,133 +1,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
|
-
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
'/
|
|
21
|
-
target: ldap
|
|
22
|
-
},
|
|
23
|
-
'/rs/
|
|
24
|
-
target: ldap
|
|
25
|
-
},
|
|
26
|
-
'/rs/
|
|
27
|
-
target: ldap
|
|
28
|
-
},
|
|
29
|
-
'/rs/logic/
|
|
30
|
-
target: ldap
|
|
31
|
-
},
|
|
32
|
-
'/rs/logic/
|
|
33
|
-
target: ldap
|
|
34
|
-
},
|
|
35
|
-
'/rs/logic/
|
|
36
|
-
target: ldap
|
|
37
|
-
},
|
|
38
|
-
'/rs/
|
|
39
|
-
target:
|
|
40
|
-
},
|
|
41
|
-
'/rs/
|
|
42
|
-
target: ldap
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
'/rs/
|
|
56
|
-
target: ldap
|
|
57
|
-
},
|
|
58
|
-
'/rs/
|
|
59
|
-
target:
|
|
60
|
-
},
|
|
61
|
-
'/
|
|
62
|
-
target:
|
|
63
|
-
},
|
|
64
|
-
'/rs
|
|
65
|
-
target: applyinstall
|
|
66
|
-
},
|
|
67
|
-
'/
|
|
68
|
-
target: applyinstall
|
|
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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
if (err) {
|
|
129
|
-
console.log(err)
|
|
130
|
-
return
|
|
131
|
-
}
|
|
132
|
-
console.log('Listening at http://localhost:8300')
|
|
133
|
-
})
|
|
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.27:8555'
|
|
12
|
+
var applyinstall = 'http://192.168.20.27:8555'
|
|
13
|
+
var proxyTable = {
|
|
14
|
+
'/wx': {
|
|
15
|
+
target: ldap
|
|
16
|
+
},
|
|
17
|
+
'/rs/sql/filemanage_getUserfies/n': {
|
|
18
|
+
target: ldap
|
|
19
|
+
},
|
|
20
|
+
'/rs/sql/filemanage_getUserfies': {
|
|
21
|
+
target: ldap
|
|
22
|
+
},
|
|
23
|
+
'/rs/logic/saveInsInfo': {
|
|
24
|
+
target: ldap
|
|
25
|
+
},
|
|
26
|
+
'/rs/logic/exportfile': {
|
|
27
|
+
target: ldap
|
|
28
|
+
},
|
|
29
|
+
'/rs/logic/getBatchOperaPro': {
|
|
30
|
+
target: ldap
|
|
31
|
+
},
|
|
32
|
+
'/rs/logic/updateApplyOrder': {
|
|
33
|
+
target: ldap
|
|
34
|
+
},
|
|
35
|
+
'/rs/logic/getSaleInitData': {
|
|
36
|
+
target: ldap
|
|
37
|
+
},
|
|
38
|
+
'/rs/workflow': {
|
|
39
|
+
target: applyinstall
|
|
40
|
+
},
|
|
41
|
+
'/rs/vue': {
|
|
42
|
+
target: ldap
|
|
43
|
+
},
|
|
44
|
+
// 查找资源服务数据
|
|
45
|
+
'/rs/search': {
|
|
46
|
+
target: ldap
|
|
47
|
+
},
|
|
48
|
+
// 用户登录服务地址
|
|
49
|
+
'/rs/user': {
|
|
50
|
+
target: ldap
|
|
51
|
+
},
|
|
52
|
+
'/rs/logic/getInitData': {
|
|
53
|
+
target: ldap
|
|
54
|
+
},
|
|
55
|
+
'/rs/logic/getLogin': {
|
|
56
|
+
target: ldap
|
|
57
|
+
},
|
|
58
|
+
'/rs/file': { // 文件上传
|
|
59
|
+
target: applyinstall
|
|
60
|
+
},
|
|
61
|
+
'/project': { // 文件回显
|
|
62
|
+
target: applyinstall
|
|
63
|
+
},
|
|
64
|
+
'/rs': {
|
|
65
|
+
target: applyinstall
|
|
66
|
+
},
|
|
67
|
+
'/ws': {
|
|
68
|
+
target: applyinstall,
|
|
69
|
+
ws: true // 代理webSocket
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
74
|
+
publicPath: config.output.publicPath,
|
|
75
|
+
stats: {
|
|
76
|
+
colors: true,
|
|
77
|
+
chunks: false
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
82
|
+
// force page reload when html-webpack-plugin template changes
|
|
83
|
+
compiler.plugin('compilation', function (compilation) {
|
|
84
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
85
|
+
hotMiddleware.publish({action: 'reload'})
|
|
86
|
+
cb()
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
|
|
90
|
+
// proxy api requests
|
|
91
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
92
|
+
var options = proxyTable[context]
|
|
93
|
+
if (typeof options === 'string') {
|
|
94
|
+
options = {target: options}
|
|
95
|
+
}
|
|
96
|
+
app.use(proxyMiddleware(context, options))
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
// handle fallback for HTML5 history API
|
|
100
|
+
app.use(require('connect-history-api-fallback')())
|
|
101
|
+
// app.use(function (req, res, next) {
|
|
102
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
103
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
104
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
105
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
106
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
107
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
108
|
+
// next()
|
|
109
|
+
// })
|
|
110
|
+
|
|
111
|
+
// serve webpack bundle output
|
|
112
|
+
app.use(devMiddleware)
|
|
113
|
+
|
|
114
|
+
// enable hot-reload and state-preserving
|
|
115
|
+
// compilation error display
|
|
116
|
+
app.use(hotMiddleware)
|
|
117
|
+
|
|
118
|
+
// serve pure static assets
|
|
119
|
+
app.use('/static', express.static('./static'))
|
|
120
|
+
|
|
121
|
+
module.exports = app.listen(8300, function (err) {
|
|
122
|
+
if (err) {
|
|
123
|
+
console.log(err)
|
|
124
|
+
return
|
|
125
|
+
}
|
|
126
|
+
console.log('Listening at http://localhost:8300')
|
|
127
|
+
})
|
package/package.json
CHANGED
package/src/AndroidApp.vue
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <app-base> -->
|
|
3
|
-
<div id="android-app">
|
|
4
|
-
<article>
|
|
5
|
-
<!-- <route :comp="{name: 'app-exploration-user'}" name="root"></route>-->
|
|
6
|
-
<!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
|
|
7
|
-
<!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
|
|
8
|
-
<!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
|
|
9
|
-
<!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
|
|
10
|
-
<route :comp="{name: 'login-app'}" name="root"></route>
|
|
11
|
-
</article>
|
|
12
|
-
<time-out></time-out>
|
|
13
|
-
<message-box></message-box>
|
|
14
|
-
<alert-box></alert-box>
|
|
15
|
-
<alert-box-batch></alert-box-batch>
|
|
16
|
-
</div>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script>
|
|
20
|
-
|
|
21
|
-
import AlertBox from "vue-client/src/components/AlertBox";
|
|
22
|
-
import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
ready () {
|
|
26
|
-
if(!window.onerror) {
|
|
27
|
-
window.onerror = function (message, file, line, col, error) {
|
|
28
|
-
// HostApp.alert("Error occured: " + error.message)
|
|
29
|
-
return false
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
components: { AlertBox, AlertBoxBatch }
|
|
34
|
-
}
|
|
35
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <app-base> -->
|
|
3
|
+
<div id="android-app">
|
|
4
|
+
<article>
|
|
5
|
+
<!-- <route :comp="{name: 'app-exploration-user'}" name="root"></route>-->
|
|
6
|
+
<!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
|
|
7
|
+
<!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
|
|
8
|
+
<!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
|
|
9
|
+
<!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
|
|
10
|
+
<route :comp="{name: 'login-app'}" name="root"></route>
|
|
11
|
+
</article>
|
|
12
|
+
<time-out></time-out>
|
|
13
|
+
<message-box></message-box>
|
|
14
|
+
<alert-box></alert-box>
|
|
15
|
+
<alert-box-batch></alert-box-batch>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
|
|
21
|
+
import AlertBox from "vue-client/src/components/AlertBox";
|
|
22
|
+
import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
ready () {
|
|
26
|
+
if(!window.onerror) {
|
|
27
|
+
window.onerror = function (message, file, line, col, error) {
|
|
28
|
+
// HostApp.alert("Error occured: " + error.message)
|
|
29
|
+
return false
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
components: { AlertBox, AlertBoxBatch }
|
|
34
|
+
}
|
|
35
|
+
</script>
|
package/src/App.vue
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
</article>
|
|
8
|
-
</div>
|
|
9
|
-
</app-base>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<route :comp="{name: 'login-app'}"></route>
|
|
7
|
+
</article>
|
|
8
|
+
</div>
|
|
9
|
+
</app-base>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
</script>
|
package/src/applyAndroid.js
CHANGED
|
@@ -26,6 +26,9 @@ export default function () {
|
|
|
26
26
|
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
27
|
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
28
|
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
-
|
|
29
|
+
// 选择用户信息
|
|
30
|
+
Vue.component('select-userinfo', (resolve) => { require(['./components/android/Process/Processes/selectUserinfo'], resolve) })
|
|
31
|
+
// 选择报建项目
|
|
32
|
+
Vue.component('select-apply', (resolve) => { require(['./components/android/Process/Processes/selectApply'], resolve) })
|
|
30
33
|
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
31
34
|
}
|