apply-clients 3.4.89-21 → 3.4.89-22
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 +133 -137
- package/package.json +3 -3
- package/src/App.vue +22 -21
- package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
- package/src/components/product/Function/InstallInfoSelect.vue +326 -326
- package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
- package/src/components/product/Material/MaterialDetailed.vue +268 -268
- package/src/components/product/Material/Materiallist.vue +74 -74
- package/src/components/product/Material/Materialmanger.vue +58 -58
- package/src/components/product/Process/ExplorationSelect.vue +491 -491
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
- package/src/components/product/Process/ShowBackReason.vue +40 -40
- package/src/components/product/ServiceView.vue +981 -981
- package/src/components/product/Stop/StopApplyList.vue +278 -278
- package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
- package/src/components/product/VueUtils/ApplyUpload.vue +287 -287
- package/src/filiale/hongda/pc/printChargepc.vue +114 -114
- package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
- package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
- package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
- package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
- package/src/filiale/linzhou/pc.js +10 -10
- package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
- package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
- package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
- package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
- package/src/filiale/qianneng/android/AppSign.vue +152 -152
- package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
- package/src/filiale/qianneng/android.js +12 -12
- package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -688
- package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
- package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -653
- package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -334
- package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -0
- package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
- package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
- package/src/filiale/qianneng/pc/devicesManagement.vue +484 -0
- package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
- package/src/filiale/qianneng/pc.js +26 -24
- package/src/main.js +3 -3
- package/src/filiale/huayinyihua/pc/StopApplyList.vue +0 -271
- package/src/filiale/huayinyihua/pc/SupervisoryList.vue +0 -363
- package/src/filiale/huayinyihua/pc.js +0 -7
package/build/dev-server.js
CHANGED
|
@@ -1,137 +1,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 = '
|
|
12
|
-
var applyinstall = '
|
|
13
|
-
|
|
14
|
-
var proxyTable = {
|
|
15
|
-
'/
|
|
16
|
-
target: ldap,
|
|
17
|
-
changeOrigin: true
|
|
18
|
-
},
|
|
19
|
-
'/rs/
|
|
20
|
-
target:
|
|
21
|
-
changeOrigin: true
|
|
22
|
-
},
|
|
23
|
-
'/rs/
|
|
24
|
-
target:
|
|
25
|
-
changeOrigin: true
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
'/rs/
|
|
53
|
-
target: ldap,
|
|
54
|
-
changeOrigin: true
|
|
55
|
-
},
|
|
56
|
-
'/rs/logic/
|
|
57
|
-
target: ldap
|
|
58
|
-
changeOrigin: true
|
|
59
|
-
},
|
|
60
|
-
'/rs/
|
|
61
|
-
target:
|
|
62
|
-
changeOrigin: true
|
|
63
|
-
},
|
|
64
|
-
'/
|
|
65
|
-
target: applyinstall,
|
|
66
|
-
changeOrigin: true
|
|
67
|
-
},
|
|
68
|
-
'/
|
|
69
|
-
target: applyinstall,
|
|
70
|
-
changeOrigin: true
|
|
71
|
-
},
|
|
72
|
-
'/
|
|
73
|
-
target: applyinstall,
|
|
74
|
-
changeOrigin: true
|
|
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
|
-
// res.header('Access-Control-Allow-
|
|
113
|
-
// res.header('
|
|
114
|
-
//
|
|
115
|
-
//
|
|
116
|
-
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
//
|
|
122
|
-
app.use(
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
return
|
|
135
|
-
}
|
|
136
|
-
console.log('Listening at http://localhost:8558')
|
|
137
|
-
})
|
|
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 = 'https://qnjtkf.cn:7401'
|
|
12
|
+
var applyinstall = 'https://qnjtkf.cn:7401'
|
|
13
|
+
|
|
14
|
+
var proxyTable = {
|
|
15
|
+
'/rs/logic/getSaleInitData': {
|
|
16
|
+
target: ldap,
|
|
17
|
+
changeOrigin: true
|
|
18
|
+
},
|
|
19
|
+
'/rs/workflow': {
|
|
20
|
+
target: applyinstall,
|
|
21
|
+
changeOrigin: true
|
|
22
|
+
},
|
|
23
|
+
'/rs/vue': {
|
|
24
|
+
target: ldap,
|
|
25
|
+
changeOrigin: true
|
|
26
|
+
},
|
|
27
|
+
// 查找资源服务数据
|
|
28
|
+
'/rs/search': {
|
|
29
|
+
target: ldap,
|
|
30
|
+
changeOrigin: true
|
|
31
|
+
},
|
|
32
|
+
// 街道查询
|
|
33
|
+
'/rs/sql/address_getstreetlist': {
|
|
34
|
+
target: ldap,
|
|
35
|
+
changeOrigin: true
|
|
36
|
+
},
|
|
37
|
+
// 创建街道
|
|
38
|
+
'/rs/logic/address_updatestreet': {
|
|
39
|
+
target: ldap,
|
|
40
|
+
changeOrigin: true
|
|
41
|
+
},
|
|
42
|
+
// 创建小区
|
|
43
|
+
'/rs/logic/address_updatearea': {
|
|
44
|
+
target: ldap,
|
|
45
|
+
changeOrigin: true
|
|
46
|
+
},
|
|
47
|
+
// 用户登录服务地址
|
|
48
|
+
'/rs/user': {
|
|
49
|
+
target: ldap,
|
|
50
|
+
changeOrigin: true
|
|
51
|
+
},
|
|
52
|
+
'/rs/logic/getInitData': {
|
|
53
|
+
target: ldap?ldap:applyinstall,
|
|
54
|
+
changeOrigin: true
|
|
55
|
+
},
|
|
56
|
+
'/rs/logic/getLogin': {
|
|
57
|
+
target: ldap,
|
|
58
|
+
changeOrigin: true
|
|
59
|
+
},
|
|
60
|
+
'/rs/file': { // 文件上传
|
|
61
|
+
target: applyinstall,
|
|
62
|
+
changeOrigin: true
|
|
63
|
+
},
|
|
64
|
+
'/project': { // 文件回显
|
|
65
|
+
target: applyinstall,
|
|
66
|
+
changeOrigin: true
|
|
67
|
+
},
|
|
68
|
+
'/rs': {
|
|
69
|
+
target: applyinstall,
|
|
70
|
+
changeOrigin: true
|
|
71
|
+
},
|
|
72
|
+
'/ws': {
|
|
73
|
+
target: applyinstall,
|
|
74
|
+
changeOrigin: true,
|
|
75
|
+
ws: true // 代理webSocket
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
80
|
+
publicPath: config.output.publicPath,
|
|
81
|
+
stats: {
|
|
82
|
+
colors: true,
|
|
83
|
+
chunks: false
|
|
84
|
+
}
|
|
85
|
+
})
|
|
86
|
+
|
|
87
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
88
|
+
// force page reload when html-webpack-plugin template changes
|
|
89
|
+
compiler.plugin('compilation', function (compilation) {
|
|
90
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
91
|
+
hotMiddleware.publish({action: 'reload'})
|
|
92
|
+
cb()
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
// proxy api requests
|
|
97
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
98
|
+
var options = proxyTable[context]
|
|
99
|
+
if (typeof options === 'string') {
|
|
100
|
+
options = {target: options}
|
|
101
|
+
}
|
|
102
|
+
app.use(proxyMiddleware(context, options))
|
|
103
|
+
})
|
|
104
|
+
|
|
105
|
+
// handle fallback for HTML5 history API
|
|
106
|
+
app.use(require('connect-history-api-fallback')())
|
|
107
|
+
// app.use(function (req, res, next) {
|
|
108
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
109
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
110
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
111
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
112
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
113
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
114
|
+
// next()
|
|
115
|
+
// })
|
|
116
|
+
|
|
117
|
+
// serve webpack bundle output
|
|
118
|
+
app.use(devMiddleware)
|
|
119
|
+
|
|
120
|
+
// enable hot-reload and state-preserving
|
|
121
|
+
// compilation error display
|
|
122
|
+
app.use(hotMiddleware)
|
|
123
|
+
|
|
124
|
+
// serve pure static assets
|
|
125
|
+
app.use('/static', express.static('./static'))
|
|
126
|
+
|
|
127
|
+
module.exports = app.listen(8300, function (err) {
|
|
128
|
+
if (err) {
|
|
129
|
+
console.log(err)
|
|
130
|
+
return
|
|
131
|
+
}
|
|
132
|
+
console.log('Listening at http://localhost:8300')
|
|
133
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.4.89-
|
|
3
|
+
"version": "3.4.89-22",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
"sinon-chai": "^2.8.0",
|
|
96
96
|
"style": "0.0.3",
|
|
97
97
|
"style-loader": "^0.20.3",
|
|
98
|
-
"system-clients": "3.2.
|
|
98
|
+
"system-clients": "3.2.74",
|
|
99
99
|
"system-phone": "1.2.80-49",
|
|
100
100
|
"url-loader": "^0.5.7",
|
|
101
|
-
"vue-client": "1.24.
|
|
101
|
+
"vue-client": "1.24.113",
|
|
102
102
|
"vue-hot-reload-api": "^1.2.0",
|
|
103
103
|
"vue-html-loader": "^1.0.0",
|
|
104
104
|
"vue-loader": "^8.2.1",
|
package/src/App.vue
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
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
|
-
import Vue from 'vue'
|
|
15
|
-
export default {
|
|
16
|
-
ready() {
|
|
17
|
-
|
|
18
|
-
Vue.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
import Vue from 'vue'
|
|
15
|
+
export default {
|
|
16
|
+
ready() {
|
|
17
|
+
// 潜能加密
|
|
18
|
+
Vue.mmType = 'nginx'
|
|
19
|
+
Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
</script>
|