apply-clients 3.3.110-2 → 3.3.110-202
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/.gradle/4.9/fileChanges/last-build.bin +0 -0
- package/.gradle/4.9/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server-app.js +76 -76
- package/build/dev-server.js +127 -146
- package/package.json +1 -1
- package/src/App.vue +20 -21
- package/src/applyAndroid.js +44 -42
- package/src/components/android/AppOnetomany.vue +13 -1
- package/src/components/android/AppServiceView.vue +3 -3
- package/src/components/android/AppSign.vue +14 -3
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +70 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -143
- package/src/components/android/Process/AppExplorationUser.vue +2 -0
- package/src/components/android/Process/AppServiceControl.vue +163 -144
- package/src/components/android/Process/Processes/AppChargeManagement.vue +230 -74
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +317 -317
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +5 -1
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +37 -0
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +6 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +1 -1
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +23 -1
- package/src/main.js +26 -27
- package/yarn.lock +9013 -0
- package/.project +0 -17
|
Binary file
|
|
Binary file
|
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,146 +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: ldap
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
var
|
|
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
|
-
|
|
128
|
-
// })
|
|
129
|
-
|
|
130
|
-
// serve webpack bundle output
|
|
131
|
-
app.use(devMiddleware)
|
|
132
|
-
|
|
133
|
-
// enable hot-reload and state-preserving
|
|
134
|
-
// compilation error display
|
|
135
|
-
app.use(hotMiddleware)
|
|
136
|
-
|
|
137
|
-
// serve pure static assets
|
|
138
|
-
app.use('/static', express.static('./static'))
|
|
139
|
-
|
|
140
|
-
module.exports = app.listen(8300, function (err) {
|
|
141
|
-
if (err) {
|
|
142
|
-
console.log(err)
|
|
143
|
-
return
|
|
144
|
-
}
|
|
145
|
-
console.log('Listening at http://localhost:8300')
|
|
146
|
-
})
|
|
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/App.vue
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
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
|
-
|
|
21
|
-
</script>
|
|
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>
|
package/src/applyAndroid.js
CHANGED
|
@@ -1,42 +1,44 @@
|
|
|
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
|
+
// 扫描二维码
|
|
43
|
+
Vue.component('app-qrcode-reader', (resolve) => { require(['./components/android/AreaSelect/AppQrcodeReader'], resolve) })
|
|
44
|
+
}
|
|
@@ -134,7 +134,12 @@
|
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
|
+
|
|
138
|
+
<div v-if=" (this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建')">
|
|
139
|
+
<app-qrcode-reader :istype = fmaterialname></app-qrcode-reader>
|
|
140
|
+
</div>
|
|
137
141
|
</article>
|
|
142
|
+
|
|
138
143
|
<footer slot="modal-footer" class="modal-footer">
|
|
139
144
|
<button :class="disableButton?'btn btn-default':'btn btn-primary'"
|
|
140
145
|
:disabled="disableButton" type="button" @click.prevent="confirmModal()">
|
|
@@ -157,7 +162,8 @@ export default {
|
|
|
157
162
|
showModal: false,
|
|
158
163
|
disableButton: true,
|
|
159
164
|
modelTitle: null,
|
|
160
|
-
rowIndex: null
|
|
165
|
+
rowIndex: null,
|
|
166
|
+
fmaterialname : {}
|
|
161
167
|
}
|
|
162
168
|
},
|
|
163
169
|
ready () {
|
|
@@ -212,6 +218,12 @@ export default {
|
|
|
212
218
|
// this.closeModal()
|
|
213
219
|
},
|
|
214
220
|
onchange (fieldIndex) {
|
|
221
|
+
if (this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
222
|
+
if (this.onetomany.fields[fieldIndex].onchange === 'materialNameChenge'){
|
|
223
|
+
this.fmaterialname = this.onetomany.fields[fieldIndex].value
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
215
227
|
this.disableModalButton()
|
|
216
228
|
if (this.onetomany.fields[fieldIndex].onchange) {
|
|
217
229
|
this.$dispatch(this.onetomany.fields[fieldIndex].onchange, this.index, fieldIndex)
|
|
@@ -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
|
}
|