apply-clients 3.4.70 → 3.4.71
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 +119 -119
- package/package.json +1 -1
- package/src/filiale/shexian/android/AppExplorationUser.vue +4 -24
- package/src/filiale/shexian/android/AppServiceControl.vue +1734 -0
- package/src/filiale/shexian/android/AppTakePic.vue +145 -0
- package/src/filiale/shexian/android.js +3 -1
- package/src/filiale/shexian/pc/ExplorationSelect.vue +474 -474
- package/src/filiale/shexian/pc/ServiceControl.vue +1943 -1943
- package/src/filiale/shexian/pc.js +7 -7
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
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://
|
|
12
|
-
var applyinstall = 'http://
|
|
13
|
-
|
|
14
|
-
var proxyTable = {
|
|
15
|
-
'/rs/logic/getSaleInitData': {
|
|
16
|
-
target: ldap
|
|
17
|
-
},
|
|
18
|
-
'/rs/workflow': {
|
|
19
|
-
target: applyinstall
|
|
20
|
-
},
|
|
21
|
-
'/rs/vue': {
|
|
22
|
-
target: ldap
|
|
23
|
-
},
|
|
24
|
-
// 查找资源服务数据
|
|
25
|
-
'/rs/search': {
|
|
26
|
-
target: ldap
|
|
27
|
-
},
|
|
28
|
-
// 街道查询
|
|
29
|
-
'/rs/sql/address_getstreetlist': {
|
|
30
|
-
target: ldap
|
|
31
|
-
},
|
|
32
|
-
// 创建街道
|
|
33
|
-
'/rs/logic/address_updatestreet': {
|
|
34
|
-
target: ldap
|
|
35
|
-
},
|
|
36
|
-
// 创建小区
|
|
37
|
-
'/rs/logic/address_updatearea': {
|
|
38
|
-
target: ldap
|
|
39
|
-
},
|
|
40
|
-
// 用户登录服务地址
|
|
41
|
-
'/rs/user': {
|
|
42
|
-
target: ldap
|
|
43
|
-
},
|
|
44
|
-
'/rs/logic/getInitData': {
|
|
45
|
-
target: ldap?ldap:applyinstall
|
|
46
|
-
},
|
|
47
|
-
'/rs/logic/getLogin': {
|
|
48
|
-
target: ldap
|
|
49
|
-
},
|
|
50
|
-
'/rs/file': { // 文件上传
|
|
51
|
-
target: applyinstall
|
|
52
|
-
},
|
|
53
|
-
'/project': { // 文件回显
|
|
54
|
-
target: applyinstall
|
|
55
|
-
},
|
|
56
|
-
'/rs': {
|
|
57
|
-
target: applyinstall
|
|
58
|
-
},
|
|
59
|
-
'/ws': {
|
|
60
|
-
target: applyinstall,
|
|
61
|
-
ws: true // 代理webSocket
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
66
|
-
publicPath: config.output.publicPath,
|
|
67
|
-
stats: {
|
|
68
|
-
colors: true,
|
|
69
|
-
chunks: false
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
74
|
-
// force page reload when html-webpack-plugin template changes
|
|
75
|
-
compiler.plugin('compilation', function (compilation) {
|
|
76
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
77
|
-
hotMiddleware.publish({action: 'reload'})
|
|
78
|
-
cb()
|
|
79
|
-
})
|
|
80
|
-
})
|
|
81
|
-
|
|
82
|
-
// proxy api requests
|
|
83
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
84
|
-
var options = proxyTable[context]
|
|
85
|
-
if (typeof options === 'string') {
|
|
86
|
-
options = {target: options}
|
|
87
|
-
}
|
|
88
|
-
app.use(proxyMiddleware(context, options))
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
// handle fallback for HTML5 history API
|
|
92
|
-
app.use(require('connect-history-api-fallback')())
|
|
93
|
-
// app.use(function (req, res, next) {
|
|
94
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
95
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
96
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
97
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
98
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
99
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
100
|
-
// next()
|
|
101
|
-
// })
|
|
102
|
-
|
|
103
|
-
// serve webpack bundle output
|
|
104
|
-
app.use(devMiddleware)
|
|
105
|
-
|
|
106
|
-
// enable hot-reload and state-preserving
|
|
107
|
-
// compilation error display
|
|
108
|
-
app.use(hotMiddleware)
|
|
109
|
-
|
|
110
|
-
// serve pure static assets
|
|
111
|
-
app.use('/static', express.static('./static'))
|
|
112
|
-
|
|
113
|
-
module.exports = app.listen(8300, function (err) {
|
|
114
|
-
if (err) {
|
|
115
|
-
console.log(err)
|
|
116
|
-
return
|
|
117
|
-
}
|
|
118
|
-
console.log('Listening at http://localhost:8300')
|
|
119
|
-
})
|
|
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://221.193.244.147:8400/'
|
|
12
|
+
var applyinstall = 'http://221.193.244.147:8400/'
|
|
13
|
+
|
|
14
|
+
var proxyTable = {
|
|
15
|
+
'/rs/logic/getSaleInitData': {
|
|
16
|
+
target: ldap
|
|
17
|
+
},
|
|
18
|
+
'/rs/workflow': {
|
|
19
|
+
target: applyinstall
|
|
20
|
+
},
|
|
21
|
+
'/rs/vue': {
|
|
22
|
+
target: ldap
|
|
23
|
+
},
|
|
24
|
+
// 查找资源服务数据
|
|
25
|
+
'/rs/search': {
|
|
26
|
+
target: ldap
|
|
27
|
+
},
|
|
28
|
+
// 街道查询
|
|
29
|
+
'/rs/sql/address_getstreetlist': {
|
|
30
|
+
target: ldap
|
|
31
|
+
},
|
|
32
|
+
// 创建街道
|
|
33
|
+
'/rs/logic/address_updatestreet': {
|
|
34
|
+
target: ldap
|
|
35
|
+
},
|
|
36
|
+
// 创建小区
|
|
37
|
+
'/rs/logic/address_updatearea': {
|
|
38
|
+
target: ldap
|
|
39
|
+
},
|
|
40
|
+
// 用户登录服务地址
|
|
41
|
+
'/rs/user': {
|
|
42
|
+
target: ldap
|
|
43
|
+
},
|
|
44
|
+
'/rs/logic/getInitData': {
|
|
45
|
+
target: ldap?ldap:applyinstall
|
|
46
|
+
},
|
|
47
|
+
'/rs/logic/getLogin': {
|
|
48
|
+
target: ldap
|
|
49
|
+
},
|
|
50
|
+
'/rs/file': { // 文件上传
|
|
51
|
+
target: applyinstall
|
|
52
|
+
},
|
|
53
|
+
'/project': { // 文件回显
|
|
54
|
+
target: applyinstall
|
|
55
|
+
},
|
|
56
|
+
'/rs': {
|
|
57
|
+
target: applyinstall
|
|
58
|
+
},
|
|
59
|
+
'/ws': {
|
|
60
|
+
target: applyinstall,
|
|
61
|
+
ws: true // 代理webSocket
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
66
|
+
publicPath: config.output.publicPath,
|
|
67
|
+
stats: {
|
|
68
|
+
colors: true,
|
|
69
|
+
chunks: false
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
74
|
+
// force page reload when html-webpack-plugin template changes
|
|
75
|
+
compiler.plugin('compilation', function (compilation) {
|
|
76
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
77
|
+
hotMiddleware.publish({action: 'reload'})
|
|
78
|
+
cb()
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
// proxy api requests
|
|
83
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
84
|
+
var options = proxyTable[context]
|
|
85
|
+
if (typeof options === 'string') {
|
|
86
|
+
options = {target: options}
|
|
87
|
+
}
|
|
88
|
+
app.use(proxyMiddleware(context, options))
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
// handle fallback for HTML5 history API
|
|
92
|
+
app.use(require('connect-history-api-fallback')())
|
|
93
|
+
// app.use(function (req, res, next) {
|
|
94
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
95
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
96
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
97
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
98
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
99
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
100
|
+
// next()
|
|
101
|
+
// })
|
|
102
|
+
|
|
103
|
+
// serve webpack bundle output
|
|
104
|
+
app.use(devMiddleware)
|
|
105
|
+
|
|
106
|
+
// enable hot-reload and state-preserving
|
|
107
|
+
// compilation error display
|
|
108
|
+
app.use(hotMiddleware)
|
|
109
|
+
|
|
110
|
+
// serve pure static assets
|
|
111
|
+
app.use('/static', express.static('./static'))
|
|
112
|
+
|
|
113
|
+
module.exports = app.listen(8300, function (err) {
|
|
114
|
+
if (err) {
|
|
115
|
+
console.log(err)
|
|
116
|
+
return
|
|
117
|
+
}
|
|
118
|
+
console.log('Listening at http://localhost:8300')
|
|
119
|
+
})
|
package/package.json
CHANGED
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
this.$refs.cp.$refs.cri.search()
|
|
336
336
|
},
|
|
337
337
|
searchCondition (args) {
|
|
338
|
-
args.condition = args.condition + `and (act.defname in ('现场勘查','
|
|
338
|
+
args.condition = args.condition + `and (act.defname in ('现场勘查','点火派单')) `
|
|
339
339
|
this.model.search(args.condition, args.model)
|
|
340
340
|
},
|
|
341
341
|
click (row) {
|
|
@@ -376,29 +376,8 @@ export default {
|
|
|
376
376
|
if (this.applyType === '散户报建') {
|
|
377
377
|
data.processname = '散户报建流程'
|
|
378
378
|
data.defname = '报装申请'
|
|
379
|
-
} else if (this.applyType === '
|
|
380
|
-
data.processname = '
|
|
381
|
-
data.defname = '报装申请'
|
|
382
|
-
} else if (this.applyType === '改管报建') {
|
|
383
|
-
data.processname = '改管报建流程'
|
|
384
|
-
data.defname = '报装申请'
|
|
385
|
-
} else if (this.applyType === '增容报建') {
|
|
386
|
-
data.processname = '增容报建流程'
|
|
387
|
-
data.defname = '报装申请'
|
|
388
|
-
} else if (this.applyType === '团购报建') {
|
|
389
|
-
data.processname = '团购报建流程'
|
|
390
|
-
data.defname = '报装申请'
|
|
391
|
-
} else if (this.applyType === '退款报建') {
|
|
392
|
-
data.processname = '退款报建流程'
|
|
393
|
-
data.defname = '终止报建'
|
|
394
|
-
} else if (this.applyType === '团购转散户') {
|
|
395
|
-
data.processname = '团购转散户报建流程'
|
|
396
|
-
data.defname = '信息确认'
|
|
397
|
-
}else if (this.applyType === '报警器报建') {
|
|
398
|
-
data.processname = '报警器报建流程'
|
|
399
|
-
data.defname = '报装申请'
|
|
400
|
-
}else if (this.applyType === '工商业报警器报建') {
|
|
401
|
-
data.processname = '工商业报警器报建流程'
|
|
379
|
+
} else if (this.applyType === '新用户报建') {
|
|
380
|
+
data.processname = '新用户报建流程'
|
|
402
381
|
data.defname = '报装申请'
|
|
403
382
|
} else {
|
|
404
383
|
this.$showMessage('暂无此类报装')
|
|
@@ -439,6 +418,7 @@ export default {
|
|
|
439
418
|
appDefnames () {
|
|
440
419
|
// let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'},{label: '工程施工', value: '工程施工'},{label: '工程派工', value: '工程派工'},{label: '点火派单', value: '点火派单'}]
|
|
441
420
|
let list = this.$appdata.getParam('手机节点')
|
|
421
|
+
console.log('111111111111111111',list)
|
|
442
422
|
return `(${list.map(item => `'${item.value}'`).toString()})`
|
|
443
423
|
}
|
|
444
424
|
}
|