system-phone 1.2.99 → 1.2.100
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/.eslintrc.js +16 -16
- package/build/dev-server.js +141 -137
- package/build/webpack.base.conf.js +82 -82
- package/package.json +1 -1
- package/src/components/AttendManage.vue +421 -328
- package/src/main.js +37 -37
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/md5-checksums.bin +0 -0
package/.eslintrc.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
// module.exports = {
|
|
2
|
+
// root: true,
|
|
3
|
+
// // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
|
|
4
|
+
// extends: 'standard',
|
|
5
|
+
// // required to lint *.vue files
|
|
6
|
+
// plugins: [
|
|
7
|
+
// 'eslint-plugin-html'
|
|
8
|
+
// ],
|
|
9
|
+
// // add your custom rules here
|
|
10
|
+
// 'rules': {
|
|
11
|
+
// // allow paren-less arrow functions
|
|
12
|
+
// 'arrow-parens': 0,
|
|
13
|
+
// // allow debugger during development
|
|
14
|
+
// 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
|
15
|
+
// }
|
|
16
|
+
// }
|
package/build/dev-server.js
CHANGED
|
@@ -1,137 +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
|
-
|
|
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 proxyTable = {
|
|
14
|
-
// '/rs/weixin': {
|
|
15
|
-
// target: 'http://121.36.106.17:8400/'
|
|
16
|
-
// },
|
|
17
|
-
'/phone/rs/vue': {
|
|
18
|
-
target: 'http://121.36.106.17:8400/'
|
|
19
|
-
},
|
|
20
|
-
// '/materials': {
|
|
21
|
-
// target: 'http://121.36.106.17:8400/'
|
|
22
|
-
// // target: 'http://192.168.2.77:8081'
|
|
23
|
-
// },
|
|
24
|
-
// '/umaterials': {
|
|
25
|
-
// // target: 'http://192.168.50.202:8081'
|
|
26
|
-
// target: 'http://121.36.106.17:8400/'
|
|
27
|
-
// },
|
|
28
|
-
// // 取图片的地址
|
|
29
|
-
// '/images': {
|
|
30
|
-
// target: 'http://121.36.106.17:8400/'
|
|
31
|
-
// // target: 'http://192.168.20.249:8081'
|
|
32
|
-
// },
|
|
33
|
-
// 'phone/rs/dir2': {
|
|
34
|
-
// target: 'http://121.36.106.17:8400/'
|
|
35
|
-
// // target: 'http://192.168.20.249:8081'
|
|
36
|
-
// },
|
|
37
|
-
// '/excel': {
|
|
38
|
-
// // target: 'http://127.0.0.1:8082'
|
|
39
|
-
// target: 'http://121.36.106.17:8400/'
|
|
40
|
-
// },
|
|
41
|
-
'/rs/sql/getUserByMeter': {
|
|
42
|
-
// target: 'http://127.0.0.1:8081'
|
|
43
|
-
target: 'http://
|
|
44
|
-
},
|
|
45
|
-
'/rs/logic/againOpenAccount': {
|
|
46
|
-
// target: 'http://127.0.0.1:8081'
|
|
47
|
-
target: 'http://
|
|
48
|
-
},
|
|
49
|
-
'/rs/logic/againSendInstruct': {
|
|
50
|
-
// target: 'http://127.0.0.1:8081'
|
|
51
|
-
target: 'http://
|
|
52
|
-
},
|
|
53
|
-
'/rs/logic/cancelSendInstruct': {
|
|
54
|
-
// target: 'http://127.0.0.1:8081'
|
|
55
|
-
target: 'http://
|
|
56
|
-
},
|
|
57
|
-
'/rs/
|
|
58
|
-
// target: 'http://127.0.0.1:8081'
|
|
59
|
-
target: 'http://
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
//
|
|
71
|
-
// '/
|
|
72
|
-
// 'target': 'http://
|
|
73
|
-
// }
|
|
74
|
-
|
|
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
|
-
app.use(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
//
|
|
114
|
-
|
|
115
|
-
//
|
|
116
|
-
// res.header('Access-Control-Allow-
|
|
117
|
-
// res.header('
|
|
118
|
-
//
|
|
119
|
-
//
|
|
120
|
-
|
|
121
|
-
//
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
//
|
|
126
|
-
app.use(
|
|
127
|
-
|
|
128
|
-
//
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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
|
+
|
|
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 proxyTable = {
|
|
14
|
+
// '/rs/weixin': {
|
|
15
|
+
// target: 'http://121.36.106.17:8400/'
|
|
16
|
+
// },
|
|
17
|
+
'/phone/rs/vue': {
|
|
18
|
+
target: 'http://121.36.106.17:8400/'
|
|
19
|
+
},
|
|
20
|
+
// '/materials': {
|
|
21
|
+
// target: 'http://121.36.106.17:8400/'
|
|
22
|
+
// // target: 'http://192.168.2.77:8081'
|
|
23
|
+
// },
|
|
24
|
+
// '/umaterials': {
|
|
25
|
+
// // target: 'http://192.168.50.202:8081'
|
|
26
|
+
// target: 'http://121.36.106.17:8400/'
|
|
27
|
+
// },
|
|
28
|
+
// // 取图片的地址
|
|
29
|
+
// '/images': {
|
|
30
|
+
// target: 'http://121.36.106.17:8400/'
|
|
31
|
+
// // target: 'http://192.168.20.249:8081'
|
|
32
|
+
// },
|
|
33
|
+
// 'phone/rs/dir2': {
|
|
34
|
+
// target: 'http://121.36.106.17:8400/'
|
|
35
|
+
// // target: 'http://192.168.20.249:8081'
|
|
36
|
+
// },
|
|
37
|
+
// '/excel': {
|
|
38
|
+
// // target: 'http://127.0.0.1:8082'
|
|
39
|
+
// target: 'http://121.36.106.17:8400/'
|
|
40
|
+
// },
|
|
41
|
+
'/rs/sql/getUserByMeter': {
|
|
42
|
+
// target: 'http://127.0.0.1:8081'
|
|
43
|
+
target: 'http://121.36.106.17:8400'
|
|
44
|
+
},
|
|
45
|
+
'/rs/logic/againOpenAccount': {
|
|
46
|
+
// target: 'http://127.0.0.1:8081'
|
|
47
|
+
target: 'http://121.36.106.17:8400'
|
|
48
|
+
},
|
|
49
|
+
'/rs/logic/againSendInstruct': {
|
|
50
|
+
// target: 'http://127.0.0.1:8081'
|
|
51
|
+
target: 'http://121.36.106.17:8400'
|
|
52
|
+
},
|
|
53
|
+
'/rs/logic/cancelSendInstruct': {
|
|
54
|
+
// target: 'http://127.0.0.1:8081'
|
|
55
|
+
target: 'http://121.36.106.17:8400'
|
|
56
|
+
},
|
|
57
|
+
'/rs/logic/TipConfig': {
|
|
58
|
+
// target: 'http://127.0.0.1:8081'
|
|
59
|
+
target: 'http://127.0.0.1:8089'
|
|
60
|
+
},
|
|
61
|
+
'/rs/sql/iot_singleTable_OrderBy': {
|
|
62
|
+
// target: 'http://127.0.0.1:8081'
|
|
63
|
+
target: 'http://121.36.106.17:8400'
|
|
64
|
+
},
|
|
65
|
+
// 呼叫系统主数据服务
|
|
66
|
+
'/rs': {
|
|
67
|
+
// target: 'http://127.0.0.1:8082'
|
|
68
|
+
target: 'http://121.36.106.17:8400'
|
|
69
|
+
},
|
|
70
|
+
// 文字客服
|
|
71
|
+
// '/Dual': {
|
|
72
|
+
// 'target': 'http://127.0.0.1:8081/RestWork/rs'
|
|
73
|
+
// },
|
|
74
|
+
// // 安卓测试转发地址
|
|
75
|
+
// '/AndroidRest/rs': {
|
|
76
|
+
// 'target': 'http://192.168.50.199:8300'
|
|
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
|
+
// 改变源实现跨域
|
|
103
|
+
// options.changeOrigin = true
|
|
104
|
+
Object.assign(options, {
|
|
105
|
+
onProxyRes (proxyRes, req, res) {
|
|
106
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
107
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
108
|
+
}
|
|
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(8083, function (err) {
|
|
136
|
+
if (err) {
|
|
137
|
+
console.log(err)
|
|
138
|
+
return
|
|
139
|
+
}
|
|
140
|
+
console.log('Listening at http://localhost:8083')
|
|
141
|
+
})
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
var path = require('path')
|
|
2
|
-
var cssLoaders = require('./css-loaders')
|
|
3
|
-
var projectRoot = path.resolve(__dirname, '../')
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
entry: {
|
|
7
|
-
app: 'src/main.js'
|
|
8
|
-
},
|
|
9
|
-
output: {
|
|
10
|
-
path: path.resolve(__dirname, '../dist/static'),
|
|
11
|
-
publicPath: 'static/',
|
|
12
|
-
filename: '[name].js'
|
|
13
|
-
},
|
|
14
|
-
resolve: {
|
|
15
|
-
extensions: ['', '.js', '.vue'],
|
|
16
|
-
fallback: [path.join(__dirname, '../node_modules')],
|
|
17
|
-
alias: {
|
|
18
|
-
'src': path.resolve(__dirname, '../src'),
|
|
19
|
-
'test': path.resolve(__dirname, '../test')
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
resolveLoader: {
|
|
23
|
-
fallback: [path.join(__dirname, '../node_modules')]
|
|
24
|
-
},
|
|
25
|
-
module: {
|
|
26
|
-
loaders: [
|
|
27
|
-
{
|
|
28
|
-
test: /\.vue$/,
|
|
29
|
-
loader: 'vue'
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
test: /\.js$/,
|
|
33
|
-
loader: 'babel',
|
|
34
|
-
include: [
|
|
35
|
-
/src/,
|
|
36
|
-
/build/,
|
|
37
|
-
/examples/,
|
|
38
|
-
/test/,
|
|
39
|
-
/node_modules\/vue-client\/src/,
|
|
40
|
-
/node_modules\/vue-strap\/src/,
|
|
41
|
-
/node_modules\/safecheck-client\/src/,
|
|
42
|
-
/node_modules\/telephone-clients\/src/,
|
|
43
|
-
/node_modules\/readmeter-client\/src/
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
test: /\.json$/,
|
|
48
|
-
loader: 'json'
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
test: /\.html$/,
|
|
52
|
-
loader: 'vue-html'
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
test: /\.css$/,
|
|
56
|
-
loader: 'style!css'
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
test: /\.less$/,
|
|
60
|
-
loader: 'style!css!less'
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
64
|
-
loader: 'url',
|
|
65
|
-
query: {
|
|
66
|
-
limit: 10000,
|
|
67
|
-
name: '[name].[ext]?[hash:7]'
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
vue: {
|
|
73
|
-
loaders: cssLoaders({
|
|
74
|
-
sourceMap: false,
|
|
75
|
-
extract: false
|
|
76
|
-
})
|
|
77
|
-
},
|
|
78
|
-
plugins: [],
|
|
79
|
-
eslint: {
|
|
80
|
-
formatter: require('eslint-friendly-formatter')
|
|
81
|
-
}
|
|
82
|
-
}
|
|
1
|
+
var path = require('path')
|
|
2
|
+
var cssLoaders = require('./css-loaders')
|
|
3
|
+
var projectRoot = path.resolve(__dirname, '../')
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
entry: {
|
|
7
|
+
app: 'src/main.js'
|
|
8
|
+
},
|
|
9
|
+
output: {
|
|
10
|
+
path: path.resolve(__dirname, '../dist/static'),
|
|
11
|
+
publicPath: 'static/',
|
|
12
|
+
filename: '[name].js'
|
|
13
|
+
},
|
|
14
|
+
resolve: {
|
|
15
|
+
extensions: ['', '.js', '.vue'],
|
|
16
|
+
fallback: [path.join(__dirname, '../node_modules')],
|
|
17
|
+
alias: {
|
|
18
|
+
'src': path.resolve(__dirname, '../src'),
|
|
19
|
+
'test': path.resolve(__dirname, '../test')
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
resolveLoader: {
|
|
23
|
+
fallback: [path.join(__dirname, '../node_modules')]
|
|
24
|
+
},
|
|
25
|
+
module: {
|
|
26
|
+
loaders: [
|
|
27
|
+
{
|
|
28
|
+
test: /\.vue$/,
|
|
29
|
+
loader: 'vue-loader'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
test: /\.js$/,
|
|
33
|
+
loader: 'babel',
|
|
34
|
+
include: [
|
|
35
|
+
/src/,
|
|
36
|
+
/build/,
|
|
37
|
+
/examples/,
|
|
38
|
+
/test/,
|
|
39
|
+
/node_modules\/vue-client\/src/,
|
|
40
|
+
/node_modules\/vue-strap\/src/,
|
|
41
|
+
/node_modules\/safecheck-client\/src/,
|
|
42
|
+
/node_modules\/telephone-clients\/src/,
|
|
43
|
+
/node_modules\/readmeter-client\/src/
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
test: /\.json$/,
|
|
48
|
+
loader: 'json'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
test: /\.html$/,
|
|
52
|
+
loader: 'vue-html'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
test: /\.css$/,
|
|
56
|
+
loader: 'style!css'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
test: /\.less$/,
|
|
60
|
+
loader: 'style!css!less'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
64
|
+
loader: 'url',
|
|
65
|
+
query: {
|
|
66
|
+
limit: 10000,
|
|
67
|
+
name: '[name].[ext]?[hash:7]'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
vue: {
|
|
73
|
+
loaders: cssLoaders({
|
|
74
|
+
sourceMap: false,
|
|
75
|
+
extract: false
|
|
76
|
+
})
|
|
77
|
+
},
|
|
78
|
+
plugins: [],
|
|
79
|
+
eslint: {
|
|
80
|
+
formatter: require('eslint-friendly-formatter')
|
|
81
|
+
}
|
|
82
|
+
}
|