apply-clients 3.3.110-6 → 3.3.110-9
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 +76 -76
- package/build/dev-server.js +127 -161
- package/package.json +1 -1
- package/src/App.vue +12 -4
- package/src/applyAndroid.js +42 -42
- package/src/components/android/AppServiceView.vue +3 -3
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -148
- package/src/components/android/Process/AppExplorationUser.vue +499 -498
- package/src/components/android/Process/AppServiceControl.vue +1484 -1469
- package/src/components/android/Process/Processes/AppChargeManagement.vue +605 -469
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +317 -317
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Process/Processes/selectApply.vue +250 -250
- package/src/main.js +28 -27
- package/.project +0 -17
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,161 +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://
|
|
10
|
-
var applyinstall = 'http://
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
'/rs/
|
|
46
|
-
target:
|
|
47
|
-
},
|
|
48
|
-
//
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
options = {target: options}
|
|
129
|
-
}
|
|
130
|
-
app.use(proxyMiddleware(context, options))
|
|
131
|
-
})
|
|
132
|
-
|
|
133
|
-
// handle fallback for HTML5 history API
|
|
134
|
-
app.use(require('connect-history-api-fallback')())
|
|
135
|
-
// app.use(function (req, res, next) {
|
|
136
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
-
// next()
|
|
143
|
-
// })
|
|
144
|
-
|
|
145
|
-
// serve webpack bundle output
|
|
146
|
-
app.use(devMiddleware)
|
|
147
|
-
|
|
148
|
-
// enable hot-reload and state-preserving
|
|
149
|
-
// compilation error display
|
|
150
|
-
app.use(hotMiddleware)
|
|
151
|
-
|
|
152
|
-
// serve pure static assets
|
|
153
|
-
app.use('/static', express.static('./static'))
|
|
154
|
-
|
|
155
|
-
module.exports = app.listen(8300, function (err) {
|
|
156
|
-
if (err) {
|
|
157
|
-
console.log(err)
|
|
158
|
-
return
|
|
159
|
-
}
|
|
160
|
-
console.log('Listening at http://localhost:8300')
|
|
161
|
-
})
|
|
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:8556'
|
|
12
|
+
var applyinstall = 'http://192.168.20.28:8556'
|
|
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/App.vue
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
<app-base class="bg">
|
|
4
4
|
<div class='flex'>
|
|
5
5
|
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
<!-- <route :comp="{name: 'login-app'}"></route>-->
|
|
6
|
+
<route :comp="{name: 'login-app'}"></route>
|
|
8
7
|
</article>
|
|
9
8
|
</div>
|
|
10
9
|
</app-base>
|
|
@@ -13,9 +12,18 @@
|
|
|
13
12
|
|
|
14
13
|
<script>
|
|
15
14
|
|
|
15
|
+
import AlertBox from "vue-client/src/components/AlertBox";
|
|
16
|
+
import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
|
|
16
17
|
|
|
17
18
|
export default {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
ready () {
|
|
20
|
+
if(!window.onerror) {
|
|
21
|
+
window.onerror = function (message, file, line, col, error) {
|
|
22
|
+
// HostApp.alert("Error occured: " + error.message)
|
|
23
|
+
return false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
components: { AlertBox, AlertBoxBatch }
|
|
20
28
|
}
|
|
21
29
|
</script>
|
package/src/applyAndroid.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { all } from 'vue-client'
|
|
3
|
-
Vue.config.silent = true
|
|
4
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
-
/** ****************服务插件*********************/
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
Vue.use(ApplyGetSaleParam)
|
|
10
|
-
Vue.use(ApplyLoadParams)
|
|
11
|
-
/** ***************************报建模块*********************************/
|
|
12
|
-
// 报建 总入口
|
|
13
|
-
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
-
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
-
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
-
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
-
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
-
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
-
|
|
20
|
-
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
-
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
-
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
-
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
-
|
|
25
|
-
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
-
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
-
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
-
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
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) })
|
|
33
|
-
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
34
|
-
|
|
35
|
-
// 区域 地址下拉框联动组件
|
|
36
|
-
Vue.component('app-res-area-select', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelect'], resolve) })
|
|
37
|
-
Vue.component('app-res-area-select-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelectGroup'], resolve) })
|
|
38
|
-
Vue.component('area-select', (resolve) => { require(['./components/product/AreaSelect/MyAreaSelect'], resolve) })
|
|
39
|
-
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
|
|
40
|
-
//地图组件
|
|
41
|
-
Vue.component('app-res-area-map-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaMapGroup'], resolve) })
|
|
42
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { all } from 'vue-client'
|
|
3
|
+
Vue.config.silent = true
|
|
4
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
+
/** ****************服务插件*********************/
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
Vue.use(ApplyGetSaleParam)
|
|
10
|
+
Vue.use(ApplyLoadParams)
|
|
11
|
+
/** ***************************报建模块*********************************/
|
|
12
|
+
// 报建 总入口
|
|
13
|
+
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
+
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
+
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
+
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
+
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
+
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
+
|
|
20
|
+
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
+
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
+
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
+
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
+
|
|
25
|
+
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
+
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
+
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
+
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
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) })
|
|
33
|
+
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
34
|
+
|
|
35
|
+
// 区域 地址下拉框联动组件
|
|
36
|
+
Vue.component('app-res-area-select', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelect'], resolve) })
|
|
37
|
+
Vue.component('app-res-area-select-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaSelectGroup'], resolve) })
|
|
38
|
+
Vue.component('area-select', (resolve) => { require(['./components/product/AreaSelect/MyAreaSelect'], resolve) })
|
|
39
|
+
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
|
|
40
|
+
//地图组件
|
|
41
|
+
Vue.component('app-res-area-map-group', (resolve) => { require(['./components/android/AreaSelect/AppResAreaMapGroup'], resolve) })
|
|
42
|
+
}
|
|
@@ -365,6 +365,7 @@ export default {
|
|
|
365
365
|
sjvalue:'',
|
|
366
366
|
xianvalue:'',
|
|
367
367
|
sqvalue:'',
|
|
368
|
+
mapvalue:'',
|
|
368
369
|
}
|
|
369
370
|
}
|
|
370
371
|
},
|
|
@@ -437,7 +438,6 @@ export default {
|
|
|
437
438
|
flag = true
|
|
438
439
|
}
|
|
439
440
|
}
|
|
440
|
-
|
|
441
441
|
//区域下拉框必选 流程模式为报警器报建
|
|
442
442
|
if ((this.data.f_apply_type === '报警器报建' || this.data.f_apply_type === '工商业报警器报建') && this.data.defname === '工程施工' && this.data.title === '工程施工' && this.data.f_sub_state !='完工'){
|
|
443
443
|
if (!flag){
|
|
@@ -446,8 +446,8 @@ export default {
|
|
|
446
446
|
console.log("区域为空禁止提交:",this.areaData)
|
|
447
447
|
flag = true
|
|
448
448
|
}
|
|
449
|
-
if (this.
|
|
450
|
-
console.log("坐标为空禁止提交:",this.
|
|
449
|
+
if (this.areaData.mapvalue ==null){
|
|
450
|
+
console.log("坐标为空禁止提交:",this.areaData.mapvalue)
|
|
451
451
|
flag = true
|
|
452
452
|
}
|
|
453
453
|
}
|