apply-clients 7.1.36-yuchuan-42 → 7.1.36-yuchuan-44
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
CHANGED
|
@@ -1,172 +1,192 @@
|
|
|
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://121.36.79.201:8400'
|
|
11
|
-
// var ldap = 'http://193.168.1.64:8082'
|
|
12
|
-
var ldap = 'http://
|
|
13
|
-
var applyinstall = 'http://61.134.61.238:8655'
|
|
14
|
-
// var applyinstall = 'http://193.168.1.
|
|
15
|
-
// var fadada = 'http://
|
|
16
|
-
var fadada = 'http://61.134.61.238:8655'
|
|
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
|
-
'/rs/logic/
|
|
44
|
-
target:
|
|
45
|
-
},
|
|
46
|
-
'/rs/logic/
|
|
47
|
-
target:
|
|
48
|
-
},
|
|
49
|
-
'/rs/
|
|
50
|
-
target:
|
|
51
|
-
},
|
|
52
|
-
'/rs/logic/
|
|
53
|
-
target:
|
|
54
|
-
},
|
|
55
|
-
'/rs/
|
|
56
|
-
target:
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'/rs/logic/
|
|
70
|
-
target: 'http://193.168.1.
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
'/rs/
|
|
82
|
-
target: ldap
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
'/rs/
|
|
98
|
-
target:
|
|
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
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
//
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
//
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
app.use(
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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://193.168.1.5:8400'
|
|
10
|
+
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
+
// var ldap = 'http://193.168.1.64:8082'
|
|
12
|
+
var ldap = 'http://61.134.61.238:8655'
|
|
13
|
+
var applyinstall = 'http://61.134.61.238:8655'
|
|
14
|
+
// var applyinstall = 'http://193.168.1.5:8400'
|
|
15
|
+
// var fadada = 'http://193.168.1.5:8400'
|
|
16
|
+
var fadada = 'http://61.134.61.238:8655'
|
|
17
|
+
var proxyTable = {
|
|
18
|
+
'/baojianFile': {
|
|
19
|
+
target: fadada
|
|
20
|
+
},
|
|
21
|
+
'/testfiles': {
|
|
22
|
+
target: fadada
|
|
23
|
+
},
|
|
24
|
+
'/api/af-auth/login': {
|
|
25
|
+
target: fadada
|
|
26
|
+
},
|
|
27
|
+
'/rs/logic/getAllNode': {
|
|
28
|
+
target: fadada
|
|
29
|
+
},
|
|
30
|
+
'/android.html/rs': {
|
|
31
|
+
target: fadada,
|
|
32
|
+
pathRewrite: {
|
|
33
|
+
'^/android.html': ''
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'/webapps/applyinstall/excel': {
|
|
37
|
+
target: fadada
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
'/rs/logic/pushShortUrlSms': {
|
|
41
|
+
target: fadada
|
|
42
|
+
},
|
|
43
|
+
'/rs/logic/generateContract': {
|
|
44
|
+
target: fadada
|
|
45
|
+
},
|
|
46
|
+
'/rs/logic/getAuthSubject': {
|
|
47
|
+
target: fadada
|
|
48
|
+
},
|
|
49
|
+
'/rs/sql/getAuthSubjectList': {
|
|
50
|
+
target: fadada
|
|
51
|
+
},
|
|
52
|
+
'/rs/logic/keyExtSign': {
|
|
53
|
+
target: fadada
|
|
54
|
+
},
|
|
55
|
+
'/rs/logic/keyExtSignAuto': {
|
|
56
|
+
target: fadada
|
|
57
|
+
},
|
|
58
|
+
// 重新发送实名认证短信
|
|
59
|
+
'/rs/logic/anotherAuthSubject': {
|
|
60
|
+
target: fadada
|
|
61
|
+
},
|
|
62
|
+
// ---------------------------
|
|
63
|
+
'/rs/logic/getSaleInitData': {
|
|
64
|
+
target: ldap
|
|
65
|
+
},
|
|
66
|
+
'/rs/logic/saveInstruct': {
|
|
67
|
+
target: 'http://193.168.1.64:8082'
|
|
68
|
+
},
|
|
69
|
+
'/rs/logic/updateNetWorkValve': {
|
|
70
|
+
target: 'http://193.168.1.64:8082'
|
|
71
|
+
},
|
|
72
|
+
'/rs/logic/uploadSave': {
|
|
73
|
+
target: 'http://193.168.1.16:8003'
|
|
74
|
+
},
|
|
75
|
+
'/rs/workflow': {
|
|
76
|
+
target: applyinstall
|
|
77
|
+
},
|
|
78
|
+
'/apply': {
|
|
79
|
+
target: applyinstall
|
|
80
|
+
},
|
|
81
|
+
'/rs/vue': {
|
|
82
|
+
target: ldap
|
|
83
|
+
},
|
|
84
|
+
// 查找资源服务数据
|
|
85
|
+
'/rs/search': {
|
|
86
|
+
target: ldap
|
|
87
|
+
},
|
|
88
|
+
// 发票组织数据
|
|
89
|
+
'/rs/logic/bjEticketCharge': {
|
|
90
|
+
target: 'http://193.168.1.6:8082'
|
|
91
|
+
},
|
|
92
|
+
// 开发票
|
|
93
|
+
'/rs/logic/bjOpenEticket': {
|
|
94
|
+
target: 'http://193.168.1.6:8082'
|
|
95
|
+
},
|
|
96
|
+
// 获取发票明细
|
|
97
|
+
'/rs/logic/queryEticket': {
|
|
98
|
+
target: 'http://193.168.1.44:8400'
|
|
99
|
+
},
|
|
100
|
+
// 创建小区
|
|
101
|
+
'/rs/logic/address_updatearea': {
|
|
102
|
+
target: ldap
|
|
103
|
+
},
|
|
104
|
+
'/rs/phone/send': {
|
|
105
|
+
target: 'http://193.168.1.21:80'
|
|
106
|
+
},
|
|
107
|
+
// 用户登录服务地址
|
|
108
|
+
'/rs/user': {
|
|
109
|
+
target: ldap
|
|
110
|
+
},
|
|
111
|
+
'/rs/logic/getInitData': {
|
|
112
|
+
target: ldap?ldap:applyinstall
|
|
113
|
+
},
|
|
114
|
+
'/rs/logic/getLogin': {
|
|
115
|
+
target: ldap
|
|
116
|
+
},
|
|
117
|
+
'/rs/file': { // 文件上传
|
|
118
|
+
target: applyinstall
|
|
119
|
+
},
|
|
120
|
+
'/project': { // 文件回显
|
|
121
|
+
target: applyinstall
|
|
122
|
+
},
|
|
123
|
+
'/rs/apply': {
|
|
124
|
+
target: applyinstall,
|
|
125
|
+
pathRewrite: {
|
|
126
|
+
'^/rs/apply': '/rs'
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
'/rs': {
|
|
130
|
+
target: applyinstall
|
|
131
|
+
},
|
|
132
|
+
// '/ws': {
|
|
133
|
+
// target: applyinstall,
|
|
134
|
+
// ws: true // 代理webSocket
|
|
135
|
+
// }
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
139
|
+
publicPath: config.output.publicPath,
|
|
140
|
+
stats: {
|
|
141
|
+
colors: true,
|
|
142
|
+
chunks: false
|
|
143
|
+
}
|
|
144
|
+
})
|
|
145
|
+
|
|
146
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
147
|
+
// force page reload when html-webpack-plugin template changes
|
|
148
|
+
compiler.plugin('compilation', function (compilation) {
|
|
149
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
150
|
+
hotMiddleware.publish({action: 'reload'})
|
|
151
|
+
cb()
|
|
152
|
+
})
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
// proxy api requests
|
|
156
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
157
|
+
var options = proxyTable[context]
|
|
158
|
+
if (typeof options === 'string') {
|
|
159
|
+
options = {target: options}
|
|
160
|
+
}
|
|
161
|
+
app.use(proxyMiddleware(context, options))
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
// handle fallback for HTML5 history API
|
|
165
|
+
app.use(require('connect-history-api-fallback')())
|
|
166
|
+
// app.use(function (req, res, next) {
|
|
167
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
168
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
169
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
170
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
171
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
172
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
173
|
+
// next()
|
|
174
|
+
// })
|
|
175
|
+
|
|
176
|
+
// serve webpack bundle output
|
|
177
|
+
app.use(devMiddleware)
|
|
178
|
+
|
|
179
|
+
// enable hot-reload and state-preserving
|
|
180
|
+
// compilation error display
|
|
181
|
+
app.use(hotMiddleware)
|
|
182
|
+
|
|
183
|
+
// serve pure static assets
|
|
184
|
+
app.use('/static', express.static('./static'))
|
|
185
|
+
|
|
186
|
+
module.exports = app.listen(8400, function (err) {
|
|
187
|
+
if (err) {
|
|
188
|
+
console.log(err)
|
|
189
|
+
return
|
|
190
|
+
}
|
|
191
|
+
console.log('Listening at http://localhost:8400')
|
|
192
|
+
})
|
package/package.json
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
<label class="font_normal_body">项目地址</label>
|
|
146
146
|
<input type="text" v-model="model.f_project_address" style="width: 60%" class="input_search">
|
|
147
147
|
</div>
|
|
148
|
-
|
|
148
|
+
</div>
|
|
149
149
|
|
|
150
150
|
<div class="row">
|
|
151
151
|
<div class="col-sm-6" :class="[!model.f_land_acquisition_methods ? 'has-error' : '']">
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
export default {
|
|
237
237
|
title: '报警处置',
|
|
238
238
|
|
|
239
|
-
data() {
|
|
239
|
+
data () {
|
|
240
240
|
return {
|
|
241
241
|
// [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
242
242
|
landMethods: [...this.$appdata.getParam('土地获取方式') ? this.$appdata.getParam('土地获取方式') : []],
|
|
@@ -255,7 +255,7 @@ export default {
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
methods: {
|
|
258
|
-
isFormComplete() {
|
|
258
|
+
isFormComplete () {
|
|
259
259
|
const model = this.model
|
|
260
260
|
return (
|
|
261
261
|
model.f_user_name && model.f_user_type && model.f_contact && model.f_phone && model.f_credentials &&
|
|
@@ -266,13 +266,14 @@ export default {
|
|
|
266
266
|
model.f_national_standard_industry && model.f_open_date && model.f_success_date && model.f_construction_content
|
|
267
267
|
)
|
|
268
268
|
},
|
|
269
|
-
cancel() {
|
|
269
|
+
cancel () {
|
|
270
270
|
this.$dispatch('close')
|
|
271
271
|
},
|
|
272
|
-
addressValid(val) {
|
|
272
|
+
addressValid (val) {
|
|
273
|
+
console.log('model', this.model)
|
|
273
274
|
console.log(val)
|
|
274
275
|
},
|
|
275
|
-
save(status) {
|
|
276
|
+
save (status) {
|
|
276
277
|
this.model.f_state = status
|
|
277
278
|
this.$resetpost('/third/rs/logic/gjPushData', {data: this.model}).then((res) => {
|
|
278
279
|
console.log('this.model', this.model)
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
</template>
|
|
114
114
|
<template partial='body' style="height: 80vh">
|
|
115
115
|
<tr>
|
|
116
|
-
<td style="text-align:center"><nobr>{{ row.
|
|
116
|
+
<td style="text-align:center"><nobr>{{ row.f_apply_code }}</nobr></td>
|
|
117
117
|
<td style="text-align:center"><nobr>{{ row.f_user_name }}</nobr></td>
|
|
118
118
|
<td style="text-align:center"><nobr>{{ row.f_phone }}</nobr></td>
|
|
119
119
|
<td style="text-align:center"><nobr>{{ row.f_project_address }}</nobr></td>
|
|
@@ -171,6 +171,7 @@ export default {
|
|
|
171
171
|
},
|
|
172
172
|
idsearch () {
|
|
173
173
|
this.$emit('add', '111')
|
|
174
|
+
this.search()
|
|
174
175
|
},
|
|
175
176
|
clearmsg () {
|
|
176
177
|
this.$refs.paged.$refs.criteria.model = {}
|