system-phone 1.2.105 → 1.2.108

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.
Files changed (39) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/checksums/checksums.lock +0 -0
  10. package/.gradle/checksums/md5-checksums.bin +0 -0
  11. package/.gradle/checksums/sha1-checksums.bin +0 -0
  12. package/build/dev-server.js +141 -141
  13. package/build/webpack.base.conf.js +82 -82
  14. package/index.html +21 -21
  15. package/package.json +1 -1
  16. package/src/App.vue +25 -25
  17. package/src/assets/images//345/201/234/346/260/224/345/205/254/345/221/212.png +0 -0
  18. package/src/assets//344/276/233/346/232/226/347/274/264/350/264/271.png +0 -0
  19. package/src/assets//346/265/201/346/260/264/346/237/245/350/257/242.png +0 -0
  20. package/src/components/AttendManage.vue +421 -421
  21. package/src/components/LoginApp.vue +625 -625
  22. package/src/components/NavBottomVVV.vue +156 -156
  23. package/src/components/PhoneUserFind.vue +4 -3
  24. package/src/components/screen/ChargeContentPage.vue +656 -656
  25. package/src/components/screen/ContentPage.vue +611 -611
  26. package/src/components/screen/GongdanContentPage.vue +149 -149
  27. package/src/components/screen/ListCountItem.vue +93 -93
  28. package/src/components/screen/ModuleTitle.vue +48 -48
  29. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  30. package/src/components/screen/SecurityCheckItem.vue +50 -50
  31. package/src/components/screen/TotalItem.vue +76 -76
  32. package/src/components/screen/TotalUserNumber.vue +77 -77
  33. package/src/components/screen/WorkOrderItem.vue +51 -51
  34. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  35. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  36. package/src/expandcssAndroid.less +521 -521
  37. package/src/main.js +38 -38
  38. package/src/systemphonegrid.js +186 -186
  39. package/static/layui/font/iconfont.svg +554 -554
package/.eslintrc.js CHANGED
@@ -1,16 +1,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
- // }
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
@@ -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,21 +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
- <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>
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.105",
3
+ "version": "1.2.108",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
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: '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>
1
+ <template>
2
+ <!-- <app-base> -->
3
+ <div id="android-app">
4
+ <article>
5
+ <route :comp="{name: 'login-app'}"></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>