system-phone 1.2.85 → 1.2.89-yihua
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/SystemPhone.iml +9 -0
- package/build/dev-server.js +141 -121
- package/build/webpack.base.conf.js +4 -0
- package/package.json +2 -1
- package/src/App.vue +25 -26
- package/src/Util.js +431 -415
- package/src/assets/add.png +0 -0
- package/src/assets/addItems.png +0 -0
- package/src/assets/back.png +0 -0
- package/src/assets/baoxiuxinxi1.png +0 -0
- package/src/assets/biaohao.png +0 -0
- package/src/assets/bieming.png +0 -0
- package/src/assets/caozuo.png +0 -0
- package/src/assets/clip.jpg +0 -0
- package/src/assets/clock.png +0 -0
- package/src/assets/deleteItems.png +0 -0
- package/src/assets/edit.png +0 -0
- package/src/assets/editItems.png +0 -0
- package/src/assets/enterstatus.png +0 -0
- package/src/assets/fanhui.png +0 -0
- package/src/assets/feiyong1.png +0 -0
- package/src/assets/guandao1.png +0 -0
- package/src/assets/guige.png +0 -0
- package/src/assets/guzhanghuizong1.png +0 -0
- package/src/assets/housestyle.png +0 -0
- package/src/assets/huneiweixiu1.png +0 -0
- package/src/assets/jibenxinxi1.png +0 -0
- package/src/assets/leixing.png +0 -0
- package/src/assets/login_bg.jpg +0 -0
- package/src/assets/login_title.png +0 -0
- package/src/assets/login_title1.png +0 -0
- package/src/assets/login_title2.png +0 -0
- package/src/assets/login_title5.png +0 -0
- package/src/assets/login_title_0002_loginbg.png +0 -0
- package/src/assets/login_title_0004_loginlogo.png +0 -0
- package/src/assets/login_title_0004_loginlogo1.png +0 -0
- package/src/assets/login_title_white.png +0 -0
- package/src/assets/login_title_white1.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/main_logo.png +0 -0
- package/src/assets/mainbg.jpg +0 -0
- package/src/assets/mute.png +0 -0
- package/src/assets/nopic.png +0 -0
- package/src/assets/pausetime.png +0 -0
- package/src/assets/pinpai.png +0 -0
- package/src/assets/qiliang.png +0 -0
- package/src/assets/qrcode_no.png +0 -0
- package/src/assets/radio.png +0 -0
- package/src/assets/remove.png +0 -0
- package/src/assets/removeItem.png +0 -0
- package/src/assets/scanCode.png +0 -0
- package/src/assets/shebeiweixiu1.png +0 -0
- package/src/assets/shiguchuli.png +0 -0
- package/src/assets/shijian.png +0 -0
- package/src/assets/showtime.png +0 -0
- package/src/assets/shuaxindaiban.png +0 -0
- package/src/assets/startTime.png +0 -0
- package/src/assets/tackpic.png +0 -0
- package/src/assets/xiangxia1.png +0 -0
- package/src/assets/xiangyou1.png +0 -0
- package/src/assets/xinghao.png +0 -0
- package/src/assets/yonghubaoxiu.png +0 -0
- package/src/assets/yue.png +0 -0
- package/src/assets/zaoju.png +0 -0
- package/src/assets/zaoju1.png +0 -0
- package/src/assets//344/270/212/344/274/240/347/212/266/346/200/201.png +0 -0
- package/src/assets//344/270/213/350/275/275.png +0 -0
- package/src/assets//344/270/264/346/227/266/345/256/211/346/243/200.png +0 -0
- package/src/assets//344/276/233/346/232/226/346/226/271/345/274/217.png +0 -0
- package/src/assets//344/277/235/351/231/251/346/234/215/345/212/241.png +0 -0
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//345/210/260/346/234/237/351/242/204/347/272/246.png +0 -0
- package/src/assets//345/215/225/345/205/203.png +0 -0
- package/src/assets//345/216/213/345/212/233.png +0 -0
- package/src/assets//345/256/211/346/243/200/344/277/241/346/201/257.png +0 -0
- package/src/assets//345/256/211/346/243/200/346/237/245/350/257/242.png +0 -0
- package/src/assets//345/256/211/346/243/200/347/212/266/346/200/201.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222-hover.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/src/assets//345/256/241/346/240/270/347/212/266/346/200/201.png +0 -0
- package/src/assets//345/257/271/345/217/267.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/267/256/345/200/274.png +0 -0
- package/src/assets//345/275/225/351/237/263.png +0 -0
- package/src/assets//346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//346/210/277/345/261/213/347/273/223/346/236/204.png +0 -0
- package/src/assets//346/211/213/346/234/272/347/212/266/346/200/201-hover.png +0 -0
- package/src/assets//346/211/213/346/234/272/347/212/266/346/200/201.png +0 -0
- package/src/assets//346/211/253/344/270/200/346/211/253.png +0 -0
- package/src/assets//346/211/271/351/207/217/344/270/212/344/274/240.png +0 -0
- package/src/assets//346/213/215/347/205/247/347/255/276/345/220/215.png +0 -0
- package/src/assets//346/225/260/346/215/256.png +0 -0
- package/src/assets//346/230/257/345/220/246/345/267/262/346/243/200.png +0 -0
- package/src/assets//346/234/211/346/227/240/350/256/241/345/210/222.png +0 -0
- package/src/assets//346/241/243/346/241/210/344/277/241/346/201/257.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//346/270/251/345/272/246.png +0 -0
- package/src/assets//347/207/203/346/260/224/345/231/250/345/205/267/344/277/241/346/201/257.png +0 -0
- package/src/assets//347/207/203/346/260/224/350/241/250.png +0 -0
- package/src/assets//347/224/250/346/210/267ID.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/257/274/350/210/252.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/261/273/345/236/213.png +0 -0
- package/src/assets//347/236/254/346/227/266.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256-hover.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/src/assets//347/264/257/350/256/241.png +0 -0
- package/src/assets//347/273/264/344/277/256/346/237/245/350/257/242.png +0 -0
- package/src/assets//350/216/267/345/217/226/350/256/241/345/210/222.png +0 -0
- package/src/assets//350/241/250/345/217/267 (7).png +0 -0
- package/src/assets//350/241/250/345/217/267.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//350/256/241/345/210/222/345/257/274/350/210/252.png +0 -0
- package/src/assets//350/257/246/347/273/206/344/275/217/345/235/200.png +0 -0
- package/src/assets//351/200/232/347/237/245/345/205/254/345/221/212-hover.png +0 -0
- package/src/assets//351/200/232/347/237/245/345/205/254/345/221/212.png +0 -0
- package/src/assets//351/200/232/350/256/257/345/275/225-hover.png +0 -0
- package/src/assets//351/200/232/350/256/257/345/275/225.png +0 -0
- package/src/assets//351/224/231/345/217/267.png +0 -0
- package/src/assets//351/227/250/347/211/214.png +0 -0
- package/src/assets//351/231/204/345/261/236/350/256/276/345/244/207/344/277/241/346/201/257.png +0 -0
- package/src/components/LoginApp.vue +612 -612
- package/src/components/NavBottomVVV.vue +144 -144
- package/src/components/QueryPayRepair.vue +219 -0
- package/src/components/RepariPaySingle.vue +380 -0
- package/src/components/createRepaircode.vue +154 -0
- package/src/components/iot/InstructMessage.vue +303 -0
- package/src/components/iot/IotBaseInfo.vue +97 -0
- package/src/components/iot/IotMeterInfo.vue +77 -0
- package/src/components/iot/iotMonitoringMain.vue +469 -444
- package/src/main.js +37 -37
- package/src/systemphone.js +123 -20
- package/src/systemphonegrid.js +21 -0
- package/static/gonggao.jpg +0 -0
- package/src/components/iot/iotMonitoringFun.vue +0 -24
- package/src/components/iot/iotMonitoringQuery.vue +0 -24
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/SystemPhone.iml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module external.linked.project.id="SystemPhone" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
package/build/dev-server.js
CHANGED
|
@@ -1,121 +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://
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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://117.33.132.196:6300'
|
|
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://117.33.132.196:6300'
|
|
44
|
+
},
|
|
45
|
+
'/rs/logic/againOpenAccount': {
|
|
46
|
+
// target: 'http://127.0.0.1:8081'
|
|
47
|
+
target: 'http://117.33.132.196:6300'
|
|
48
|
+
},
|
|
49
|
+
'/rs/logic/againSendInstruct': {
|
|
50
|
+
// target: 'http://127.0.0.1:8081'
|
|
51
|
+
target: 'http://117.33.132.196:6300'
|
|
52
|
+
},
|
|
53
|
+
'/rs/logic/cancelSendInstruct': {
|
|
54
|
+
// target: 'http://127.0.0.1:8081'
|
|
55
|
+
target: 'http://117.33.132.196:6300'
|
|
56
|
+
},
|
|
57
|
+
'/rs/sql/iot_singleTable_OrderBy': {
|
|
58
|
+
// target: 'http://127.0.0.1:8081'
|
|
59
|
+
target: 'http://117.33.132.196:6300'
|
|
60
|
+
},
|
|
61
|
+
// 呼叫系统主数据服务
|
|
62
|
+
'/rs': {
|
|
63
|
+
// target: 'http://127.0.0.1:8082'
|
|
64
|
+
target: 'http://117.33.132.196:6300'
|
|
65
|
+
},
|
|
66
|
+
'/wx': {
|
|
67
|
+
// target: 'http://127.0.0.1:8082'
|
|
68
|
+
target: 'http://117.33.132.196:6300'
|
|
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
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "system-phone",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.89-yihua",
|
|
4
4
|
"description": "手机模块 前端组件",
|
|
5
5
|
"author": "何宁社 <524395609@qq.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"vue": "^1.0.17"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
+
"qrcodejs2": "^0.0.2",
|
|
30
31
|
"babel-core": "^6.26.0",
|
|
31
32
|
"babel-loader": "^6.0.0",
|
|
32
33
|
"babel-plugin-transform-runtime": "^6.0.0",
|
package/src/App.vue
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <app-base> -->
|
|
3
|
-
<div id="android-app">
|
|
4
|
-
<article>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</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>
|