apply-clients 3.3.110-242 → 3.3.110-251

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/.project ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>ApplyClient</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.wst.validation.validationbuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ </buildSpec>
14
+ <natures>
15
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
16
+ </natures>
17
+ </projectDescription>
@@ -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
+ })
@@ -1,127 +1,141 @@
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
- })
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://192.168.20.28:8400'
10
+ // var applyinstall = 'http://127.0.0.1:8080'
11
+ // var ldap = 'http://192.168.20.28:8556'
12
+ //
13
+ // var applyinstall = 'http://192.168.20.28:8556'
14
+ //var ldap = 'http://192.168.20.28:8556'
15
+ var ldap = 'http://192.168.20.28:8400'
16
+ //var applyinstall = 'http://192.168.20.28:8400'
17
+ var applyinstall = 'http://127.0.0.1:8080'
18
+ var proxyTable = {
19
+ '/wx': {
20
+ target: ldap
21
+ },
22
+ '/rs/sql/filemanage_getUserfies/n': {
23
+ target: ldap
24
+ },
25
+ '/ncc': {
26
+ target: 'http://192.168.20.28:7890'
27
+ },
28
+ // '/rs/logic/getbjqsyncinfo': {
29
+ // target: 'http://127.0.0.1:8080'
30
+ // },
31
+ // '/ncc/rs/logic/gdMapTransBMap': {
32
+ // target: 'http://127.0.0.1:8081'
33
+ // },
34
+ '/rs/sql/filemanage_getUserfies': {
35
+ target: ldap
36
+ },
37
+ '/rs/logic/saveInsInfo': {
38
+ target: ldap
39
+ },
40
+ '/rs/logic/exportfile': {
41
+ target: ldap
42
+ },
43
+ '/rs/logic/getBatchOperaPro': {
44
+ target: ldap
45
+ },
46
+ '/rs/logic/updateApplyOrder': {
47
+ target: ldap
48
+ },
49
+ '/rs/logic/getSaleInitData': {
50
+ target: ldap
51
+ },
52
+ '/rs/workflow': {
53
+ target: applyinstall
54
+ },
55
+ '/rs/vue': {
56
+ target: ldap
57
+ },
58
+ // 查找资源服务数据
59
+ '/rs/search': {
60
+ target: ldap
61
+ },
62
+ // 用户登录服务地址
63
+ '/rs/user': {
64
+ target: ldap
65
+ },
66
+ '/rs/logic/getInitData': {
67
+ target: ldap
68
+ },
69
+ '/rs/logic/getLogin': {
70
+ target: ldap
71
+ },
72
+ '/rs/file': { // 文件上传
73
+ target: applyinstall
74
+ },
75
+ '/project': { // 文件回显
76
+ target: applyinstall
77
+ },
78
+ '/rs': {
79
+ target: applyinstall
80
+ },
81
+ '/ws': {
82
+ target: applyinstall,
83
+ ws: true // 代理webSocket
84
+ }
85
+ }
86
+
87
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
88
+ publicPath: config.output.publicPath,
89
+ stats: {
90
+ colors: true,
91
+ chunks: false
92
+ }
93
+ })
94
+
95
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
96
+ // force page reload when html-webpack-plugin template changes
97
+ compiler.plugin('compilation', function (compilation) {
98
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
99
+ hotMiddleware.publish({action: 'reload'})
100
+ cb()
101
+ })
102
+ })
103
+
104
+ // proxy api requests
105
+ Object.keys(proxyTable).forEach(function (context) {
106
+ var options = proxyTable[context]
107
+ if (typeof options === 'string') {
108
+ options = {target: options}
109
+ }
110
+ app.use(proxyMiddleware(context, options))
111
+ })
112
+
113
+ // handle fallback for HTML5 history API
114
+ app.use(require('connect-history-api-fallback')())
115
+ // app.use(function (req, res, next) {
116
+ // res.header('Access-Control-Allow-Origin', '*')
117
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
118
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
119
+ // res.header('X-Powered-By', '3,2,1')
120
+ // res.header('Access-Control-Allow-Credentials', 'true')
121
+ // res.header('Content-Type', 'application/json;charset=utf-8')
122
+ // next()
123
+ // })
124
+
125
+ // serve webpack bundle output
126
+ app.use(devMiddleware)
127
+
128
+ // enable hot-reload and state-preserving
129
+ // compilation error display
130
+ app.use(hotMiddleware)
131
+
132
+ // serve pure static assets
133
+ app.use('/static', express.static('./static'))
134
+
135
+ module.exports = app.listen(8300, function (err) {
136
+ if (err) {
137
+ console.log(err)
138
+ return
139
+ }
140
+ console.log('Listening at http://localhost:8300')
141
+ })
package/index.html CHANGED
@@ -1,38 +1,38 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-CN">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
- <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
- <META HTTP-EQUIV="expires" CONTENT="0">
9
- <title>周口燃气</title>
10
- <script type="text/javascript">
11
- window._AMapSecurityConfig = {
12
- securityJsCode:'bbdb7d83906fb6eb1ab4766da5be3c2e',
13
- }
14
- </script>
15
- <script src="https://webapi.amap.com/maps?v=1.4.2&key=674ec40069f8e3d48d8c469505cf0ad6"></script>
16
- <!--引入UI组件库(1.1版本) -->
17
- <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
18
- <style media="screen">
19
- /*url(./static/newmainbg.jpg)*/
20
-
21
- body {
22
- font-size:16px !important;
23
- width: 100%;
24
- background: #7f8eaf no-repeat center bottom;
25
- background-size: cover;
26
- }
27
-
28
- body .loginbg {
29
- width: 100%;
30
- height: 100%;
31
- background: url(./static/loginbg.jpg) no-repeat center top;
32
- }
33
- </style>
34
- </head>
35
- <body id="bodymain" class="themeOne">
36
- <app></app>
37
- </body>
38
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
+ <META HTTP-EQUIV="expires" CONTENT="0">
9
+ <title>周口燃气</title>
10
+ <script type="text/javascript">
11
+ window._AMapSecurityConfig = {
12
+ securityJsCode:'bbdb7d83906fb6eb1ab4766da5be3c2e',
13
+ }
14
+ </script>
15
+ <script src="https://webapi.amap.com/maps?v=1.4.2&key=674ec40069f8e3d48d8c469505cf0ad6"></script>
16
+ <!--引入UI组件库(1.1版本) -->
17
+ <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
18
+ <style media="screen">
19
+ /*url(./static/newmainbg.jpg)*/
20
+
21
+ body {
22
+ font-size:16px !important;
23
+ width: 100%;
24
+ background: #7f8eaf no-repeat center bottom;
25
+ background-size: cover;
26
+ }
27
+
28
+ body .loginbg {
29
+ width: 100%;
30
+ height: 100%;
31
+ background: url(./static/loginbg.jpg) no-repeat center top;
32
+ }
33
+ </style>
34
+ </head>
35
+ <body id="bodymain" class="themeOne">
36
+ <app></app>
37
+ </body>
38
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.110-242",
3
+ "version": "3.3.110-251",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/App.vue CHANGED
@@ -1,20 +1,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
-
15
-
16
- export default {
17
-
18
-
19
- }
20
- </script>
1
+ <template>
2
+ <div>
3
+ <app-base class="bg">
4
+ <div class='flex'>
5
+ <article>
6
+ <route :comp="{name: 'login'}"></route>
7
+ <!-- <route :comp="{name: 'login-app'}"></route>-->
8
+ </article>
9
+ </div>
10
+ </app-base>
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+
16
+
17
+ export default {
18
+
19
+
20
+ }
21
+ </script>