system-phone 1.2.102 → 1.2.105
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/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/checksums/sha1-checksums.bin +0 -0
- package/build/dev-server.js +141 -141
- package/build/webpack.base.conf.js +82 -82
- package/index.html +21 -55
- package/package.json +2 -1
- package/src/App.vue +25 -25
- package/src/assets/images/back.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/344/273/212/346/227/245/345/267/245/345/215/225.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/234/250/347/272/277/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/244/204/347/220/206/344/270/255.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/256/214/346/210/220/347/216/207.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/245/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/262/345/256/214/346/210/220.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/276/205/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/347/275/221/345/216/205/351/242/204/347/272/246/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/345/242/236/351/225/277/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total1.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total2.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total3.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/205/266/344/273/226/344/270/232/345/212/241.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/224/256/346/260/224/351/207/217/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/347/254/224/346/225/260/345/260/217/346/240/207/351/242/230.png +0 -0
- package/src/assets/images//347/224/250/346/210/2671.png +0 -0
- package/src/assets/images//351/235/236/345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/components/AttendManage.vue +421 -421
- package/src/components/LoginApp.vue +625 -625
- package/src/components/NavBottomVVV.vue +156 -144
- package/src/components/screen/ChargeContentPage.vue +656 -0
- package/src/components/screen/ContentPage.vue +611 -0
- package/src/components/screen/GongdanContentPage.vue +149 -0
- package/src/components/screen/ListCountItem.vue +93 -0
- package/src/components/screen/ModuleTitle.vue +48 -0
- package/src/components/screen/SafeOrderContentPage.vue +440 -0
- package/src/components/screen/SecurityCheckItem.vue +50 -0
- package/src/components/screen/TotalItem.vue +76 -0
- package/src/components/screen/TotalUserNumber.vue +77 -0
- package/src/components/screen/WorkOrderItem.vue +51 -0
- package/src/components/screen/WorkOrderRightDownItem.vue +103 -0
- package/src/components/screen/WorkOrderRightItem.vue +115 -0
- package/src/expandcssAndroid.less +521 -517
- package/src/main.js +38 -37
- package/src/systemphonegrid.js +186 -148
- package/static/layui/css/layui.css +1 -0
- package/static/layui/css/modules/code.css +1 -0
- package/static/layui/css/modules/laydate/default/laydate.css +1 -0
- package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
- package/static/layui/css/modules/layer/default/icon.png +0 -0
- package/static/layui/css/modules/layer/default/layer.css +1 -0
- package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
- package/static/layui/font/iconfont.eot +0 -0
- package/static/layui/font/iconfont.svg +554 -0
- package/static/layui/font/iconfont.ttf +0 -0
- package/static/layui/font/iconfont.woff +0 -0
- package/static/layui/font/iconfont.woff2 +0 -0
- package/static/layui/layui.js +1 -0
- 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/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
|
+
// }
|
|
Binary file
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -1,141 +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://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
|
+
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-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
|
-
}
|
|
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
|
+
}
|
package/index.html
CHANGED
|
@@ -1,55 +1,21 @@
|
|
|
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
|
-
<style media="screen">
|
|
11
|
-
/*url(./static/newmainbg.jpg)*/
|
|
12
|
-
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
|
-
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
|
-
</style>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<script src="
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<script src="go_static/class.js"></script>-->
|
|
23
|
-
<script>
|
|
24
|
-
// loadWasm()
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/*
|
|
29
|
-
var http = new XMLHttpRequest();
|
|
30
|
-
//rul为后端接口,data是页面数据
|
|
31
|
-
function saveResult(url,myjson)
|
|
32
|
-
{
|
|
33
|
-
http.open('post',url);
|
|
34
|
-
http.setRequestHeader("Content-Type", "application/json");
|
|
35
|
-
http.onreadystatechange=callback;
|
|
36
|
-
http.send(myjson);
|
|
37
|
-
}
|
|
38
|
-
//保存之后
|
|
39
|
-
function callback() {
|
|
40
|
-
if(http.readyState==4){
|
|
41
|
-
if(http.status==200){
|
|
42
|
-
//发送成功
|
|
43
|
-
}else{
|
|
44
|
-
//发送失败
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}*/
|
|
48
|
-
</script>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<app></app>
|
|
54
|
-
</body>
|
|
55
|
-
</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
|
+
<style media="screen">
|
|
11
|
+
/*url(./static/newmainbg.jpg)*/
|
|
12
|
+
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
|
+
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
|
+
</style>
|
|
15
|
+
<link rel="stylesheet" href="./static/layui/css/layui.css">
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<script src="./static/layui/layui.js"></script>
|
|
19
|
+
<app></app>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "system-phone",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.105",
|
|
4
4
|
"description": "手机模块 前端组件",
|
|
5
5
|
"author": "何宁社 <524395609@qq.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"url": "https://github.com/DuBin1988/oa"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"layui": "^2.7.6",
|
|
25
26
|
"less-loader": "^2.2.3",
|
|
26
27
|
"pinyin-pro": "^1.2.3",
|
|
27
28
|
"vue": "^1.0.17"
|
package/src/App.vue
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <app-base> -->
|
|
3
|
-
<div id="android-app">
|
|
4
|
-
<article>
|
|
5
|
-
<route :comp="{name: '
|
|
6
|
-
</article>
|
|
7
|
-
<time-out></time-out>
|
|
8
|
-
<message-box>
|
|
9
|
-
</message-box>
|
|
10
|
-
</div>
|
|
11
|
-
<!-- </app-base> -->
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
export default {
|
|
16
|
-
ready () {
|
|
17
|
-
if (!window.onerror) {
|
|
18
|
-
window.onerror = function (message, file, line, col, error) {
|
|
19
|
-
// HostApp.alert("网络故障,加载组件有误")
|
|
20
|
-
return false
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <app-base> -->
|
|
3
|
+
<div id="android-app">
|
|
4
|
+
<article>
|
|
5
|
+
<route :comp="{name: 'content-page'}"></route>
|
|
6
|
+
</article>
|
|
7
|
+
<time-out></time-out>
|
|
8
|
+
<message-box>
|
|
9
|
+
</message-box>
|
|
10
|
+
</div>
|
|
11
|
+
<!-- </app-base> -->
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
export default {
|
|
16
|
+
ready () {
|
|
17
|
+
if (!window.onerror) {
|
|
18
|
+
window.onerror = function (message, file, line, col, error) {
|
|
19
|
+
// HostApp.alert("网络故障,加载组件有误")
|
|
20
|
+
return false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|