sale-client 3.5.74 → 3.5.75

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.
@@ -1,164 +1,167 @@
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
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
- // 公司测试服务
15
- var fuwu = 'http://139.214.92.34:7450'
16
- // var fuwu = 'http://121.36.106.17:8400/'
17
- // 铜川正式
18
- // var fuwu = 'http://61.134.55.234:9999/'
19
- // 铜川测试
20
- // var fuwu = 'http://61.134.55.234:9999/'
21
- // var fuwu = 'http://60.222.250.39:8300/'
22
- // 韶关
23
- // var fuwu = 'http://119.146.1.106:8300/'
24
- // 巩义测试服务
25
- // var fuwu = 'http://192.168.0.227:8400'
26
- // 燎原测试服务
27
- // var fuwu = 'http://121.41.19.238:8400 '
28
- // var fuwu = 'http://121.41.19.238:9001/'
29
-
30
- // var fuwu = 'http://139.214.92.34:8301/'
31
-
32
- var proxyTable = {
33
- '/rs/logic/saleExport': {
34
- target: fuwu
35
- },
36
- '/rs/logic/saleGetExportProgress': {
37
- target: fuwu
38
- },
39
- '/rs/file': {
40
- target: fuwu
41
- },
42
- '/files': {
43
- target: fuwu
44
- },
45
- // 查找资源服务数据
46
- '/rs/search': {
47
- target: fuwu
48
- },
49
- // 查找资源服务数据
50
- '/rs/logic/getLogin': {
51
- target: fuwu
52
- },
53
- // 查找资源服务数据
54
- '/rs/logic/getInitData': {
55
- target: fuwu
56
- },
57
- '/rs/logic/getSaleInitData': {
58
- target: fuwu
59
- },
60
- '/invoice': {
61
- target: fuwu
62
- },
63
- // 用户登录服务地址
64
- '/rs/user': {
65
- target: fuwu
66
- },
67
- '/rs/path/getParams': {
68
- target: fuwu
69
- },
70
- '/rs/data': {
71
- target: fuwu
72
- },
73
- '/rs/license': {
74
- target: fuwu
75
- },
76
- '/rs/db': {
77
- target: fuwu
78
- },
79
- '/excel': {
80
- target: fuwu
81
- },
82
- '/rs/config': {
83
- target: fuwu
84
- },
85
- '/rs/sql/getLicenseById': {
86
- target: fuwu
87
- },
88
- '/rs/sql/manage_getarealist': {
89
- target: fuwu
90
- },
91
- '/rs/sql/manage_getstreetlist': {
92
- target: fuwu
93
- },
94
- '/rs/report': {
95
- target: 'http://121.36.106.17:8400/'
96
- },
97
- '/rs/vue': {
98
- target: fuwu
99
- },
100
- '/webmeter': {
101
- target: 'http://192.168.50.4:8450'
102
- },
103
- '/rs': {
104
- // target: 'http://192.168.30.63:8081/'
105
- // target: 'http://121.36.106.17:8400/'
106
- target: fuwu
107
- }
108
- }
109
-
110
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
111
- publicPath: config.output.publicPath,
112
- stats: {
113
- colors: true,
114
- chunks: false
115
- }
116
- })
117
-
118
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
119
- // force page reload when html-webpack-plugin template changes
120
- compiler.plugin('compilation', function (compilation) {
121
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
122
- hotMiddleware.publish({action: 'reload'})
123
- cb()
124
- })
125
- })
126
-
127
- // proxy api requests
128
- Object.keys(proxyTable).forEach(function (context) {
129
- var options = proxyTable[context]
130
- if (typeof options === 'string') {
131
- options = {target: options}
132
- }
133
- app.use(proxyMiddleware(context, options))
134
- })
135
-
136
- // handle fallback for HTML5 history API
137
- app.use(require('connect-history-api-fallback')())
138
- // app.use(function (req, res, next) {
139
- // res.header('Access-Control-Allow-Origin', '*')
140
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
141
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
142
- // res.header('X-Powered-By', '3,2,1')
143
- // res.header('Access-Control-Allow-Credentials', 'true')
144
- // res.header('Content-Type', 'application/json;charset=utf-8')
145
- // next()
146
- // })
147
-
148
- // serve webpack bundle output
149
- app.use(devMiddleware)
150
-
151
- // enable hot-reload and state-preserving
152
- // compilation error display
153
- app.use(hotMiddleware)
154
-
155
- // serve pure static assets
156
- app.use('/static', express.static('./static'))
157
-
158
- module.exports = app.listen(8085, function (err) {
159
- if (err) {
160
- console.log(err)
161
- return
162
- }
163
- console.log('Listening at http://localhost:8089')
164
- })
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
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
+ // 公司测试服务
15
+ var fuwu = 'http://192.168.50.4:8400'
16
+ // var fuwu = 'http://121.36.106.17:8400/'
17
+ // 铜川正式
18
+ // var fuwu = 'http://61.134.55.234:9999/'
19
+ // 铜川测试
20
+ // var fuwu = 'http://61.134.55.234:9999/'
21
+ // var fuwu = 'http://60.222.250.39:8300/'
22
+ // 韶关
23
+ // var fuwu = 'http://119.146.1.106:8300/'
24
+ // 巩义测试服务
25
+ // var fuwu = 'http://192.168.0.227:8400'
26
+ // 燎原测试服务
27
+ // var fuwu = 'http://121.41.19.238:8400 '
28
+ // var fuwu = 'http://121.41.19.238:9001/'
29
+
30
+ // var fuwu = 'http://139.214.92.34:8301/'
31
+
32
+ var proxyTable = {
33
+ '/rs/logic/saleExport': {
34
+ target: fuwu
35
+ },
36
+ '/rs/logic/saleGetExportProgress': {
37
+ target: fuwu
38
+ },
39
+ '/rs/logic/getWarningMsg': {
40
+ target: 'http://localhost:8080/'
41
+ },
42
+ '/rs/file': {
43
+ target: fuwu
44
+ },
45
+ '/files': {
46
+ target: fuwu
47
+ },
48
+ // 查找资源服务数据
49
+ '/rs/search': {
50
+ target: fuwu
51
+ },
52
+ // 查找资源服务数据
53
+ '/rs/logic/getLogin': {
54
+ target: fuwu
55
+ },
56
+ // 查找资源服务数据
57
+ '/rs/logic/getInitData': {
58
+ target: fuwu
59
+ },
60
+ '/rs/logic/getSaleInitData': {
61
+ target: fuwu
62
+ },
63
+ '/invoice': {
64
+ target: fuwu
65
+ },
66
+ // 用户登录服务地址
67
+ '/rs/user': {
68
+ target: fuwu
69
+ },
70
+ '/rs/path/getParams': {
71
+ target: fuwu
72
+ },
73
+ '/rs/data': {
74
+ target: fuwu
75
+ },
76
+ '/rs/license': {
77
+ target: fuwu
78
+ },
79
+ '/rs/db': {
80
+ target: fuwu
81
+ },
82
+ '/excel': {
83
+ target: fuwu
84
+ },
85
+ '/rs/config': {
86
+ target: fuwu
87
+ },
88
+ '/rs/sql/getLicenseById': {
89
+ target: fuwu
90
+ },
91
+ '/rs/sql/manage_getarealist': {
92
+ target: fuwu
93
+ },
94
+ '/rs/sql/manage_getstreetlist': {
95
+ target: fuwu
96
+ },
97
+ '/rs/report': {
98
+ target: 'http://121.36.106.17:8400/'
99
+ },
100
+ '/rs/vue': {
101
+ target: fuwu
102
+ },
103
+ '/webmeter': {
104
+ target: 'http://192.168.50.4:8450'
105
+ },
106
+ '/rs': {
107
+ // target: 'http://192.168.30.63:8081/'
108
+ // target: 'http://121.36.106.17:8400/'
109
+ target: fuwu
110
+ }
111
+ }
112
+
113
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
114
+ publicPath: config.output.publicPath,
115
+ stats: {
116
+ colors: true,
117
+ chunks: false
118
+ }
119
+ })
120
+
121
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
122
+ // force page reload when html-webpack-plugin template changes
123
+ compiler.plugin('compilation', function (compilation) {
124
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
125
+ hotMiddleware.publish({action: 'reload'})
126
+ cb()
127
+ })
128
+ })
129
+
130
+ // proxy api requests
131
+ Object.keys(proxyTable).forEach(function (context) {
132
+ var options = proxyTable[context]
133
+ if (typeof options === 'string') {
134
+ options = {target: options}
135
+ }
136
+ app.use(proxyMiddleware(context, options))
137
+ })
138
+
139
+ // handle fallback for HTML5 history API
140
+ app.use(require('connect-history-api-fallback')())
141
+ // app.use(function (req, res, next) {
142
+ // res.header('Access-Control-Allow-Origin', '*')
143
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
144
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
145
+ // res.header('X-Powered-By', '3,2,1')
146
+ // res.header('Access-Control-Allow-Credentials', 'true')
147
+ // res.header('Content-Type', 'application/json;charset=utf-8')
148
+ // next()
149
+ // })
150
+
151
+ // serve webpack bundle output
152
+ app.use(devMiddleware)
153
+
154
+ // enable hot-reload and state-preserving
155
+ // compilation error display
156
+ app.use(hotMiddleware)
157
+
158
+ // serve pure static assets
159
+ app.use('/static', express.static('./static'))
160
+
161
+ module.exports = app.listen(8085, function (err) {
162
+ if (err) {
163
+ console.log(err)
164
+ return
165
+ }
166
+ console.log('Listening at http://localhost:8089')
167
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.74",
3
+ "version": "3.5.75",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -43,6 +43,15 @@
43
43
  <input type="text" class="input_search" style="width:60%" v-model="model.f_address"
44
44
  condition="f_address like '%{}%'" placeholder="团缴地址"/>
45
45
  </div>
46
+ <div :class="$parent.$parent.style">
47
+ <label class="font_normal_body">团缴状态</label>
48
+ <v-select :value.sync="model.f_user_state" multiple
49
+ :search="false"
50
+ v-model="model.f_user_state"
51
+ :options='$parent.$parent.user_state' placeholder='请选择'
52
+ condition="f_user_state in {}"
53
+ close-on-select></v-select>
54
+ </div>
46
55
  </div>
47
56
  </div>
48
57
  </div>
@@ -199,6 +208,11 @@ export default {
199
208
  this.f_orgid = this.$login.convertToIn(val)
200
209
  this.f_filialeids = val[0]
201
210
  }
211
+ },
212
+ computed: {
213
+ user_state() {
214
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
215
+ }
202
216
  }
203
217
 
204
218
  }