system-phone 3.0.49-45 → 3.0.49-46
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/package.json +1 -1
- package/src/components/PhoneImageInfo.vue +102 -102
- package/src/components/ToolsPage.vue +199 -182
- package/src/systemphonegrid.js +181 -181
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="panel panel-default auto repair-info-content">
|
|
3
|
-
<div class="panel-body">
|
|
4
|
-
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
-
<div class="bg-info">
|
|
6
|
-
<div class="row form-group">
|
|
7
|
-
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
-
上传时间: {{row.f_upload_date}}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
-
图片: <img-self style="width: 100px;height: 100px;" width="140" height="140" :src="`${this.$androidUtil.getProxyUrl()}/`+row.f_downloadpath.substring(3)"></img-self>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
-
图片类型: {{row.fusetype}}
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script>
|
|
28
|
-
import {HttpResetClass} from 'vue-client'
|
|
29
|
-
|
|
30
|
-
export default {
|
|
31
|
-
title: '查询用户',
|
|
32
|
-
data() {
|
|
33
|
-
return {
|
|
34
|
-
model: [],
|
|
35
|
-
show: false,
|
|
36
|
-
row: Object
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
props: {
|
|
40
|
-
user: {
|
|
41
|
-
type: Object
|
|
42
|
-
},
|
|
43
|
-
f_userinfo_id: ''
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
getmodel() {
|
|
47
|
-
let http = new HttpResetClass()
|
|
48
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
|
|
49
|
-
data: {
|
|
50
|
-
items: '*',
|
|
51
|
-
tablename: 't_files',
|
|
52
|
-
condition: `f_blobid = '${this.f_userinfo_id}' and fusetype not in ('安检照片','维修照片') and f_filename like '%.jpg'`,
|
|
53
|
-
orderitem: 'id desc'
|
|
54
|
-
}
|
|
55
|
-
}).then((res) => {
|
|
56
|
-
debugger
|
|
57
|
-
this.model = res.data
|
|
58
|
-
if (res.data.length == 0){
|
|
59
|
-
this.$showMessage('无记录')
|
|
60
|
-
}
|
|
61
|
-
})
|
|
62
|
-
},
|
|
63
|
-
back() {
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
watch: {
|
|
68
|
-
'user'(val) {
|
|
69
|
-
if (this.user) {
|
|
70
|
-
if (!(this.user.isNuN)) {
|
|
71
|
-
this.model = []
|
|
72
|
-
this.getmodel()
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
'f_userinfo_id'() {
|
|
77
|
-
if (this.f_userinfo_id) {
|
|
78
|
-
this.model = []
|
|
79
|
-
this.getmodel()
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
ready() {
|
|
84
|
-
this.getmodel()
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
</script>
|
|
88
|
-
<style>
|
|
89
|
-
.app-botton {
|
|
90
|
-
position: fixed;
|
|
91
|
-
background: #87b2dd;
|
|
92
|
-
color: #FFF;
|
|
93
|
-
padding: 8px;
|
|
94
|
-
text-align: center;
|
|
95
|
-
font-size: 1.2em;
|
|
96
|
-
z-index: 10;
|
|
97
|
-
opacity: 0.5;
|
|
98
|
-
bottom: 50px;
|
|
99
|
-
margin-top: -10px;
|
|
100
|
-
height: 40px;
|
|
101
|
-
}
|
|
102
|
-
</style>
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
+
上传时间: {{row.f_upload_date}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
图片: <img-self style="width: 100px;height: 100px;" width="140" height="140" :src="`${this.$androidUtil.getProxyUrl()}/`+row.f_downloadpath.substring(3)"></img-self>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
+
图片类型: {{row.fusetype}}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
import {HttpResetClass} from 'vue-client'
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
title: '查询用户',
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
model: [],
|
|
35
|
+
show: false,
|
|
36
|
+
row: Object
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
props: {
|
|
40
|
+
user: {
|
|
41
|
+
type: Object
|
|
42
|
+
},
|
|
43
|
+
f_userinfo_id: ''
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
getmodel() {
|
|
47
|
+
let http = new HttpResetClass()
|
|
48
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
|
|
49
|
+
data: {
|
|
50
|
+
items: '*',
|
|
51
|
+
tablename: 't_files',
|
|
52
|
+
condition: `f_blobid = '${this.f_userinfo_id}' and fusetype not in ('安检照片','维修照片') and f_filename like '%.jpg'`,
|
|
53
|
+
orderitem: 'id desc'
|
|
54
|
+
}
|
|
55
|
+
}).then((res) => {
|
|
56
|
+
debugger
|
|
57
|
+
this.model = res.data
|
|
58
|
+
if (res.data.length == 0){
|
|
59
|
+
this.$showMessage('无记录')
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
},
|
|
63
|
+
back() {
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
watch: {
|
|
68
|
+
'user'(val) {
|
|
69
|
+
if (this.user) {
|
|
70
|
+
if (!(this.user.isNuN)) {
|
|
71
|
+
this.model = []
|
|
72
|
+
this.getmodel()
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
'f_userinfo_id'() {
|
|
77
|
+
if (this.f_userinfo_id) {
|
|
78
|
+
this.model = []
|
|
79
|
+
this.getmodel()
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
ready() {
|
|
84
|
+
this.getmodel()
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
</script>
|
|
88
|
+
<style>
|
|
89
|
+
.app-botton {
|
|
90
|
+
position: fixed;
|
|
91
|
+
background: #87b2dd;
|
|
92
|
+
color: #FFF;
|
|
93
|
+
padding: 8px;
|
|
94
|
+
text-align: center;
|
|
95
|
+
font-size: 1.2em;
|
|
96
|
+
z-index: 10;
|
|
97
|
+
opacity: 0.5;
|
|
98
|
+
bottom: 50px;
|
|
99
|
+
margin-top: -10px;
|
|
100
|
+
height: 40px;
|
|
101
|
+
}
|
|
102
|
+
</style>
|
|
@@ -1,182 +1,199 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page-header app-header auto">
|
|
3
|
-
<span style="margin-left:33px">{{title}}</span>
|
|
4
|
-
<div class="app-header-back" @click='back()' v-show="needBack">
|
|
5
|
-
<img src="../assets/返回.png" style="height: 20px;margin-right:-10px"/>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="app-header-back" style="height: auto" v-show="!needBack">
|
|
8
|
-
<img src="../assets/denglu.png" style="height: 20px;margin-right:-10px;margin-top:-10px"/>
|
|
9
|
-
<span style="margin-left:5px;color: #ffffff;font-size: 1.0em;">{{loginname}}</span>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="app-header-list" v-if="showList">
|
|
12
|
-
<dropdown>
|
|
13
|
-
<a href="#" data-toggle="dropdown" class="dropdown-toggle" style="color: white;font-size:19px">
|
|
14
|
-
<div class="app-header-newaddserver" style="line-height: 1px;margin-top: -5px">
|
|
15
|
-
<img src="../assets/newadd3.png" style="height: 20px;margin-right:-10px"/>
|
|
16
|
-
</div>
|
|
17
|
-
</a>
|
|
18
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
19
|
-
<li >
|
|
20
|
-
<a href="#" @click="gotopage('sell-info',{user:user})">
|
|
21
|
-
<img src="../assets/待办工单竖屏3.png"> 报修工单
|
|
22
|
-
</a>
|
|
23
|
-
<hr>
|
|
24
|
-
<a href="#" @click="gotopage('repair-message',{user:user})">
|
|
25
|
-
<img src="../assets/安检导航竖屏3.png"/> 安检计划
|
|
26
|
-
</a>
|
|
27
|
-
<hr>
|
|
28
|
-
<a href="#" @click="gotopage('changemeter-info',{user:user})">
|
|
29
|
-
<img src="../assets/手机抄表竖屏3.png"/> 抄表计划
|
|
30
|
-
</a>
|
|
31
|
-
<hr>
|
|
32
|
-
<hr>
|
|
33
|
-
</li>
|
|
34
|
-
</ul>
|
|
35
|
-
</dropdown>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="app-header-guanbishengyin" style="line-height: 25px" @click='mute()'>
|
|
38
|
-
<img v-if="!f_voiceSwitch" src="../assets/jingyin3.png" style="height: 20px; width: 20px;"/>
|
|
39
|
-
<img v-if="f_voiceSwitch" src="../assets/yinliang.png" style="height: 20px; width: 20px;"/>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script>
|
|
45
|
-
import Vue from 'vue'
|
|
46
|
-
export default {
|
|
47
|
-
title: '通用头部组件',
|
|
48
|
-
data () {
|
|
49
|
-
return {
|
|
50
|
-
loginname: Vue.user.name,
|
|
51
|
-
f_voiceSwitch:true
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
props: {
|
|
55
|
-
user:{
|
|
56
|
-
type:Object
|
|
57
|
-
},
|
|
58
|
-
userinfo:{
|
|
59
|
-
type:Object
|
|
60
|
-
},
|
|
61
|
-
// 是否显示列表控件
|
|
62
|
-
showList: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
default: false
|
|
65
|
-
},
|
|
66
|
-
title: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: '燃气应用'
|
|
69
|
-
},
|
|
70
|
-
needBack: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: true
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
ready(){
|
|
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
|
-
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
.
|
|
180
|
-
color
|
|
181
|
-
}
|
|
182
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page-header app-header auto">
|
|
3
|
+
<span style="margin-left:33px">{{title}}</span>
|
|
4
|
+
<div class="app-header-back" @click='back()' v-show="needBack">
|
|
5
|
+
<img src="../assets/返回.png" style="height: 20px;margin-right:-10px"/>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="app-header-back" style="height: auto" v-show="!needBack">
|
|
8
|
+
<img src="../assets/denglu.png" style="height: 20px;margin-right:-10px;margin-top:-10px"/>
|
|
9
|
+
<span style="margin-left:5px;color: #ffffff;font-size: 1.0em;">{{loginname}}</span>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="app-header-list" v-if="showList">
|
|
12
|
+
<dropdown>
|
|
13
|
+
<a href="#" data-toggle="dropdown" class="dropdown-toggle" style="color: white;font-size:19px">
|
|
14
|
+
<div class="app-header-newaddserver" style="line-height: 1px;margin-top: -5px">
|
|
15
|
+
<img src="../assets/newadd3.png" style="height: 20px;margin-right:-10px"/>
|
|
16
|
+
</div>
|
|
17
|
+
</a>
|
|
18
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
19
|
+
<li >
|
|
20
|
+
<a href="#" @click="gotopage('sell-info',{user:user})">
|
|
21
|
+
<img src="../assets/待办工单竖屏3.png"> 报修工单
|
|
22
|
+
</a>
|
|
23
|
+
<hr>
|
|
24
|
+
<a href="#" @click="gotopage('repair-message',{user:user})">
|
|
25
|
+
<img src="../assets/安检导航竖屏3.png"/> 安检计划
|
|
26
|
+
</a>
|
|
27
|
+
<hr>
|
|
28
|
+
<a href="#" @click="gotopage('changemeter-info',{user:user})">
|
|
29
|
+
<img src="../assets/手机抄表竖屏3.png"/> 抄表计划
|
|
30
|
+
</a>
|
|
31
|
+
<hr>
|
|
32
|
+
<hr>
|
|
33
|
+
</li>
|
|
34
|
+
</ul>
|
|
35
|
+
</dropdown>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="app-header-guanbishengyin" style="line-height: 25px" @click='mute()'>
|
|
38
|
+
<img v-if="!f_voiceSwitch" src="../assets/jingyin3.png" style="height: 20px; width: 20px;"/>
|
|
39
|
+
<img v-if="f_voiceSwitch" src="../assets/yinliang.png" style="height: 20px; width: 20px;"/>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
import Vue from 'vue'
|
|
46
|
+
export default {
|
|
47
|
+
title: '通用头部组件',
|
|
48
|
+
data () {
|
|
49
|
+
return {
|
|
50
|
+
loginname: Vue.user.name,
|
|
51
|
+
f_voiceSwitch:true
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
props: {
|
|
55
|
+
user:{
|
|
56
|
+
type:Object
|
|
57
|
+
},
|
|
58
|
+
userinfo:{
|
|
59
|
+
type:Object
|
|
60
|
+
},
|
|
61
|
+
// 是否显示列表控件
|
|
62
|
+
showList: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: false
|
|
65
|
+
},
|
|
66
|
+
title: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: '燃气应用'
|
|
69
|
+
},
|
|
70
|
+
needBack: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
ready(){
|
|
76
|
+
let isShow = this.$appdata.getSingleValue('计划提醒弹窗') || false
|
|
77
|
+
if (isShow){
|
|
78
|
+
let criteria = {
|
|
79
|
+
items: '*',
|
|
80
|
+
tablename: 't_check_plan',
|
|
81
|
+
condition: `1=1`,
|
|
82
|
+
orderitem: 'id'
|
|
83
|
+
}
|
|
84
|
+
let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_OrderBy', 'criteria': criteria}})
|
|
85
|
+
if(result.code == 200){
|
|
86
|
+
result.data.rows.forEach(item=>{
|
|
87
|
+
if (new Date(item.f_end_time) <= new Date() && new Date(item.f_end_time) >= new Date(new Date()).setDate(new Date().getDate()-(this.$appdata.getSingleValue('计划提醒日期') || '7'))){
|
|
88
|
+
HostApp.notify2("提醒:",`计划名称:${item.f_plan_name},计划结束时间:${item.f_end_time},请及时安排安检!`,"true")
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
//首次进入默认开启播放
|
|
94
|
+
HostApp.setPreference('f_voiceSwitch','true')
|
|
95
|
+
//是否开启无限制响铃(单值参数配 -1 代表开启无限制响铃)
|
|
96
|
+
HostApp.setPreference('loop',this.$appdata.getSingleValue('loop') || '3')
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
// 新增工单
|
|
100
|
+
newadd(){
|
|
101
|
+
// 事件
|
|
102
|
+
},
|
|
103
|
+
// 跳转页面
|
|
104
|
+
gotopage(param,props) {
|
|
105
|
+
this.$goto(param,props)
|
|
106
|
+
},
|
|
107
|
+
back () {
|
|
108
|
+
// console.log('发送返回事件')
|
|
109
|
+
this.$emit('back')
|
|
110
|
+
},
|
|
111
|
+
// 关闭新消息响铃(静音)
|
|
112
|
+
mute () {
|
|
113
|
+
if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
|
|
114
|
+
window.prompt("mute","")
|
|
115
|
+
}else{
|
|
116
|
+
HostApp.mute()
|
|
117
|
+
switch (HostApp.getPreference('f_voiceSwitch').data){
|
|
118
|
+
case 'true' : HostApp.setPreference('f_voiceSwitch','false')
|
|
119
|
+
this.f_voiceSwitch= false
|
|
120
|
+
break
|
|
121
|
+
case 'false' : HostApp.setPreference('f_voiceSwitch','true')
|
|
122
|
+
this.f_voiceSwitch= true
|
|
123
|
+
break
|
|
124
|
+
default : HostApp.setPreference('f_voiceSwitch','true')
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
</script>
|
|
131
|
+
<style scoped>
|
|
132
|
+
.app-header {
|
|
133
|
+
position: fixed;
|
|
134
|
+
top:0px;
|
|
135
|
+
width: 100%;
|
|
136
|
+
margin: 0px;
|
|
137
|
+
background: #499edf;
|
|
138
|
+
color: #FFF;
|
|
139
|
+
padding: 10px;
|
|
140
|
+
text-align: center;
|
|
141
|
+
font-size: 15px;
|
|
142
|
+
height: 7%;
|
|
143
|
+
|
|
144
|
+
/*margin-bottom: 20px;*/
|
|
145
|
+
}
|
|
146
|
+
.app-header-back {
|
|
147
|
+
position: absolute;
|
|
148
|
+
top: 12px;
|
|
149
|
+
color: #D8DCE5;
|
|
150
|
+
}
|
|
151
|
+
.app-header-list {
|
|
152
|
+
height: 40px;
|
|
153
|
+
float: right;
|
|
154
|
+
color: #D8DCE5;
|
|
155
|
+
}
|
|
156
|
+
.app-header-guanbishengyin {
|
|
157
|
+
margin-right: 10px;
|
|
158
|
+
float: right;
|
|
159
|
+
color: #D8DCE5;
|
|
160
|
+
}
|
|
161
|
+
.app-header-newaddserver {
|
|
162
|
+
margin-right: 10px;
|
|
163
|
+
float: right;
|
|
164
|
+
color: #D8DCE5;
|
|
165
|
+
}
|
|
166
|
+
.app-header-volume {
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 0;
|
|
169
|
+
display: flex;
|
|
170
|
+
flex-direction: column;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
right: 20px;
|
|
173
|
+
color: #D8DCE5;
|
|
174
|
+
font-size: 1.5em;
|
|
175
|
+
}
|
|
176
|
+
.dropdown-menu {
|
|
177
|
+
background-color: #212a35;
|
|
178
|
+
}
|
|
179
|
+
.dropdown-menu a{
|
|
180
|
+
color: white;
|
|
181
|
+
}
|
|
182
|
+
.dropdown-menu a:hover{
|
|
183
|
+
color: white;
|
|
184
|
+
background-color: #6b85a3;
|
|
185
|
+
}
|
|
186
|
+
.dropdown-menu img{
|
|
187
|
+
width: 22%;
|
|
188
|
+
margin-top: -5px;
|
|
189
|
+
}
|
|
190
|
+
.dropdown-menu hr{
|
|
191
|
+
margin-top: 0px;
|
|
192
|
+
margin-bottom: 0px;
|
|
193
|
+
margin-right:0px;
|
|
194
|
+
width: 80%;
|
|
195
|
+
}
|
|
196
|
+
.glyphicon-menu-left{
|
|
197
|
+
color:#fff;
|
|
198
|
+
}
|
|
199
|
+
</style>
|
package/src/systemphonegrid.js
CHANGED
|
@@ -1,181 +1,181 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import GetAppDataService from './stores/AppData'
|
|
5
|
-
import GetStringData from './plugins/GetStringData'
|
|
6
|
-
/* require('./assets/fonttype/fontAndroid.less')*/
|
|
7
|
-
|
|
8
|
-
/** **************************通用组件******************************/
|
|
9
|
-
|
|
10
|
-
export default function (filiale) {
|
|
11
|
-
Vue.use(GetAppDataService)
|
|
12
|
-
Vue.use(GetStringData)
|
|
13
|
-
// 测试
|
|
14
|
-
Vue.component('test', (resolve) => {
|
|
15
|
-
require(['./components/Test'], resolve)
|
|
16
|
-
})
|
|
17
|
-
// android登录
|
|
18
|
-
Vue.component('login-app', (resolve) => {
|
|
19
|
-
require(['./components/LoginApp'], resolve)
|
|
20
|
-
})
|
|
21
|
-
// android登录
|
|
22
|
-
Vue.component('login-app-new', (resolve) => {
|
|
23
|
-
require(['./components/LoginAppNew'], resolve)
|
|
24
|
-
})
|
|
25
|
-
// 导航
|
|
26
|
-
Vue.component('nav-bottom', (resolve) => {
|
|
27
|
-
require(['./components/NavBottomVVV'], resolve)
|
|
28
|
-
})
|
|
29
|
-
// 导航
|
|
30
|
-
Vue.component('tab-bar', (resolve) => {
|
|
31
|
-
require(['./components/TabBarPhone'], resolve)
|
|
32
|
-
})
|
|
33
|
-
// 只加载参数(只有下拉框所需参数)
|
|
34
|
-
Vue.component('load-appdata', (resolve) => {
|
|
35
|
-
require(['./components/LoadAppdata'], resolve)
|
|
36
|
-
})
|
|
37
|
-
// 头部标题
|
|
38
|
-
Vue.component('tools-page', (resolve) => {
|
|
39
|
-
require(['./components/ToolsPage'], resolve)
|
|
40
|
-
})
|
|
41
|
-
// 用户信息查找
|
|
42
|
-
Vue.component('phone-user-find', (resolve) => {
|
|
43
|
-
require(['./components/PhoneUserFind'], resolve)
|
|
44
|
-
})
|
|
45
|
-
// 用户查找
|
|
46
|
-
Vue.component('phone-user', (resolve) => {
|
|
47
|
-
require(['./components/PhoneUser'], resolve)
|
|
48
|
-
})
|
|
49
|
-
// 用户详情查找
|
|
50
|
-
Vue.component('phone-user-detil', (resolve) => {
|
|
51
|
-
require(['./components/PhoneUserDetil'], resolve)
|
|
52
|
-
})
|
|
53
|
-
// 用户信息查找
|
|
54
|
-
Vue.component('phone-info-table', (resolve) => {
|
|
55
|
-
require(['./components/PhoneInfoTable'], resolve)
|
|
56
|
-
})
|
|
57
|
-
// 用户信息查找
|
|
58
|
-
Vue.component('phone-sell-info', (resolve) => {
|
|
59
|
-
require(['./components/PhoneSellInfo'], resolve)
|
|
60
|
-
})
|
|
61
|
-
// 总用户信息查找
|
|
62
|
-
Vue.component('phone-all-info', (resolve) => {
|
|
63
|
-
require(['./components/PhoneAllInfo'], resolve)
|
|
64
|
-
})
|
|
65
|
-
// 用户换表信息查找
|
|
66
|
-
Vue.component('phone-meter-info', (resolve) => {
|
|
67
|
-
require(['./components/PhoneMeterInfo'], resolve)
|
|
68
|
-
})
|
|
69
|
-
// 用户购气记录查询
|
|
70
|
-
Vue.component('phone-sell-info-lite', (resolve) => {
|
|
71
|
-
require(['./components/PhoneSellInfoLite'], resolve)
|
|
72
|
-
})
|
|
73
|
-
// 用户信息查找
|
|
74
|
-
Vue.component('phone-changemeter-info', (resolve) => {
|
|
75
|
-
require(['./components/PhoneChangemeterInfo'], resolve)
|
|
76
|
-
})
|
|
77
|
-
// 用户信息查找
|
|
78
|
-
Vue.component('phone-repair-info', (resolve) => {
|
|
79
|
-
require(['./components/PhoneRepairInfo'], resolve)
|
|
80
|
-
})
|
|
81
|
-
Vue.component('phone-image-info', (resolve) => {
|
|
82
|
-
require(['./components/PhoneImageInfo'], resolve)
|
|
83
|
-
})
|
|
84
|
-
// 用户信息查找
|
|
85
|
-
Vue.component('phone-safe-info', (resolve) => {
|
|
86
|
-
require(['./components/PhoneSafeInfo'], resolve)
|
|
87
|
-
})
|
|
88
|
-
// 设置
|
|
89
|
-
Vue.component('system-setup', (resolve) => {
|
|
90
|
-
require(['./components/SystemSetUp'], resolve)
|
|
91
|
-
})
|
|
92
|
-
// 待办工作
|
|
93
|
-
Vue.component('attend-manage', (resolve) => {
|
|
94
|
-
require(['./components/AttendManage'], resolve)
|
|
95
|
-
})
|
|
96
|
-
// 上传工作
|
|
97
|
-
Vue.component('upload-manage', (resolve) => {
|
|
98
|
-
require(['./components/UploadManage'], resolve)
|
|
99
|
-
})
|
|
100
|
-
// 已办工作
|
|
101
|
-
Vue.component('already-service', (resolve) => {
|
|
102
|
-
require(['./components/AlreadyService'], resolve)
|
|
103
|
-
})
|
|
104
|
-
// 在线业务
|
|
105
|
-
Vue.component('online-manage', (resolve) => {
|
|
106
|
-
require(['./components/OnlineManage'], resolve)
|
|
107
|
-
})
|
|
108
|
-
// 修改密码
|
|
109
|
-
Vue.component('modify-pass-word', (resolve) => {
|
|
110
|
-
require(['./components/ModifyPassWord'], resolve)
|
|
111
|
-
})
|
|
112
|
-
Vue.component('wasm-test', (resolve) => {
|
|
113
|
-
require(['./components/wasm'], resolve)
|
|
114
|
-
})
|
|
115
|
-
Vue.component('right-tree', (resolve) => {
|
|
116
|
-
require(['./components/RightTree'], resolve)
|
|
117
|
-
})
|
|
118
|
-
Vue.component('apply-online', (resolve) => {
|
|
119
|
-
require(['./components/online/ApplyOnline'], resolve)
|
|
120
|
-
})
|
|
121
|
-
//反馈人建议添加
|
|
122
|
-
Vue.component('feedback-add', (resolve) => {
|
|
123
|
-
require(['./components/idea/feedbackAdd'], resolve)
|
|
124
|
-
})
|
|
125
|
-
//反馈人建议查询
|
|
126
|
-
Vue.component('feedback', (resolve) => {
|
|
127
|
-
require(['./components/idea/feedBack'], resolve)
|
|
128
|
-
})
|
|
129
|
-
//档案查询
|
|
130
|
-
Vue.component('query-file',(resolve) => {
|
|
131
|
-
require(['./components/userinfo/queryFile'],resolve)
|
|
132
|
-
})
|
|
133
|
-
//缴费查询
|
|
134
|
-
Vue.component('payment-query',(resolve) => {
|
|
135
|
-
require(['./components/userinfo/paymentQuery'],resolve)
|
|
136
|
-
})
|
|
137
|
-
// 用户查找
|
|
138
|
-
Vue.component('phone-user', (resolve) => {
|
|
139
|
-
require(['./components/PhoneUser'], resolve)
|
|
140
|
-
})
|
|
141
|
-
// 用户详情查找
|
|
142
|
-
Vue.component('phone-user-detil', (resolve) => {
|
|
143
|
-
require(['./components/PhoneUserDetil'], resolve)
|
|
144
|
-
})
|
|
145
|
-
// 物联网监控-主
|
|
146
|
-
Vue.component('iot-monitoring-main', (resolve) => {
|
|
147
|
-
require(['./components/iot/iotMonitoringMain'], resolve)
|
|
148
|
-
})
|
|
149
|
-
// 物联网监控表具信息
|
|
150
|
-
Vue.component('iot-meter-info', (resolve) => {
|
|
151
|
-
require(['./components/iot/IotMeterInfo'], resolve)
|
|
152
|
-
})
|
|
153
|
-
// 物联网监控基础信息
|
|
154
|
-
Vue.component('iot-base-info', (resolve) => {
|
|
155
|
-
require(['./components/iot/IotBaseInfo'], resolve)
|
|
156
|
-
})
|
|
157
|
-
// 物联网监控指令信息
|
|
158
|
-
Vue.component('instruct-message', (resolve) => {
|
|
159
|
-
require(['./components/iot/InstructMessage'], resolve)
|
|
160
|
-
})
|
|
161
|
-
|
|
162
|
-
Vue.component('find-userinfo', (resolve) => {
|
|
163
|
-
require(['./components/info/FindUserInfo'], resolve)
|
|
164
|
-
})
|
|
165
|
-
|
|
166
|
-
Vue.component('info-table', (resolve) => {
|
|
167
|
-
require(['./components/info/InfoTable'], resolve)
|
|
168
|
-
})
|
|
169
|
-
|
|
170
|
-
Vue.component('config-info', (resolve) => {
|
|
171
|
-
require(['./components/info/ConfigInfo'], resolve)
|
|
172
|
-
})
|
|
173
|
-
|
|
174
|
-
// 分公司特殊页面注册替换
|
|
175
|
-
if (filiale) {
|
|
176
|
-
let filialeComp = require(`./filiale/${filiale}/systemphonegrid`).specialComp
|
|
177
|
-
for (let key in filialeComp) {
|
|
178
|
-
Vue.component(key, filialeComp[key])
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import GetAppDataService from './stores/AppData'
|
|
5
|
+
import GetStringData from './plugins/GetStringData'
|
|
6
|
+
/* require('./assets/fonttype/fontAndroid.less')*/
|
|
7
|
+
|
|
8
|
+
/** **************************通用组件******************************/
|
|
9
|
+
|
|
10
|
+
export default function (filiale) {
|
|
11
|
+
Vue.use(GetAppDataService)
|
|
12
|
+
Vue.use(GetStringData)
|
|
13
|
+
// 测试
|
|
14
|
+
Vue.component('test', (resolve) => {
|
|
15
|
+
require(['./components/Test'], resolve)
|
|
16
|
+
})
|
|
17
|
+
// android登录
|
|
18
|
+
Vue.component('login-app', (resolve) => {
|
|
19
|
+
require(['./components/LoginApp'], resolve)
|
|
20
|
+
})
|
|
21
|
+
// android登录
|
|
22
|
+
Vue.component('login-app-new', (resolve) => {
|
|
23
|
+
require(['./components/LoginAppNew'], resolve)
|
|
24
|
+
})
|
|
25
|
+
// 导航
|
|
26
|
+
Vue.component('nav-bottom', (resolve) => {
|
|
27
|
+
require(['./components/NavBottomVVV'], resolve)
|
|
28
|
+
})
|
|
29
|
+
// 导航
|
|
30
|
+
Vue.component('tab-bar', (resolve) => {
|
|
31
|
+
require(['./components/TabBarPhone'], resolve)
|
|
32
|
+
})
|
|
33
|
+
// 只加载参数(只有下拉框所需参数)
|
|
34
|
+
Vue.component('load-appdata', (resolve) => {
|
|
35
|
+
require(['./components/LoadAppdata'], resolve)
|
|
36
|
+
})
|
|
37
|
+
// 头部标题
|
|
38
|
+
Vue.component('tools-page', (resolve) => {
|
|
39
|
+
require(['./components/ToolsPage'], resolve)
|
|
40
|
+
})
|
|
41
|
+
// 用户信息查找
|
|
42
|
+
Vue.component('phone-user-find', (resolve) => {
|
|
43
|
+
require(['./components/PhoneUserFind'], resolve)
|
|
44
|
+
})
|
|
45
|
+
// 用户查找
|
|
46
|
+
Vue.component('phone-user', (resolve) => {
|
|
47
|
+
require(['./components/PhoneUser'], resolve)
|
|
48
|
+
})
|
|
49
|
+
// 用户详情查找
|
|
50
|
+
Vue.component('phone-user-detil', (resolve) => {
|
|
51
|
+
require(['./components/PhoneUserDetil'], resolve)
|
|
52
|
+
})
|
|
53
|
+
// 用户信息查找
|
|
54
|
+
Vue.component('phone-info-table', (resolve) => {
|
|
55
|
+
require(['./components/PhoneInfoTable'], resolve)
|
|
56
|
+
})
|
|
57
|
+
// 用户信息查找
|
|
58
|
+
Vue.component('phone-sell-info', (resolve) => {
|
|
59
|
+
require(['./components/PhoneSellInfo'], resolve)
|
|
60
|
+
})
|
|
61
|
+
// 总用户信息查找
|
|
62
|
+
Vue.component('phone-all-info', (resolve) => {
|
|
63
|
+
require(['./components/PhoneAllInfo'], resolve)
|
|
64
|
+
})
|
|
65
|
+
// 用户换表信息查找
|
|
66
|
+
Vue.component('phone-meter-info', (resolve) => {
|
|
67
|
+
require(['./components/PhoneMeterInfo'], resolve)
|
|
68
|
+
})
|
|
69
|
+
// 用户购气记录查询
|
|
70
|
+
Vue.component('phone-sell-info-lite', (resolve) => {
|
|
71
|
+
require(['./components/PhoneSellInfoLite'], resolve)
|
|
72
|
+
})
|
|
73
|
+
// 用户信息查找
|
|
74
|
+
Vue.component('phone-changemeter-info', (resolve) => {
|
|
75
|
+
require(['./components/PhoneChangemeterInfo'], resolve)
|
|
76
|
+
})
|
|
77
|
+
// 用户信息查找
|
|
78
|
+
Vue.component('phone-repair-info', (resolve) => {
|
|
79
|
+
require(['./components/PhoneRepairInfo'], resolve)
|
|
80
|
+
})
|
|
81
|
+
Vue.component('phone-image-info', (resolve) => {
|
|
82
|
+
require(['./components/PhoneImageInfo'], resolve)
|
|
83
|
+
})
|
|
84
|
+
// 用户信息查找
|
|
85
|
+
Vue.component('phone-safe-info', (resolve) => {
|
|
86
|
+
require(['./components/PhoneSafeInfo'], resolve)
|
|
87
|
+
})
|
|
88
|
+
// 设置
|
|
89
|
+
Vue.component('system-setup', (resolve) => {
|
|
90
|
+
require(['./components/SystemSetUp'], resolve)
|
|
91
|
+
})
|
|
92
|
+
// 待办工作
|
|
93
|
+
Vue.component('attend-manage', (resolve) => {
|
|
94
|
+
require(['./components/AttendManage'], resolve)
|
|
95
|
+
})
|
|
96
|
+
// 上传工作
|
|
97
|
+
Vue.component('upload-manage', (resolve) => {
|
|
98
|
+
require(['./components/UploadManage'], resolve)
|
|
99
|
+
})
|
|
100
|
+
// 已办工作
|
|
101
|
+
Vue.component('already-service', (resolve) => {
|
|
102
|
+
require(['./components/AlreadyService'], resolve)
|
|
103
|
+
})
|
|
104
|
+
// 在线业务
|
|
105
|
+
Vue.component('online-manage', (resolve) => {
|
|
106
|
+
require(['./components/OnlineManage'], resolve)
|
|
107
|
+
})
|
|
108
|
+
// 修改密码
|
|
109
|
+
Vue.component('modify-pass-word', (resolve) => {
|
|
110
|
+
require(['./components/ModifyPassWord'], resolve)
|
|
111
|
+
})
|
|
112
|
+
Vue.component('wasm-test', (resolve) => {
|
|
113
|
+
require(['./components/wasm'], resolve)
|
|
114
|
+
})
|
|
115
|
+
Vue.component('right-tree', (resolve) => {
|
|
116
|
+
require(['./components/RightTree'], resolve)
|
|
117
|
+
})
|
|
118
|
+
Vue.component('apply-online', (resolve) => {
|
|
119
|
+
require(['./components/online/ApplyOnline'], resolve)
|
|
120
|
+
})
|
|
121
|
+
//反馈人建议添加
|
|
122
|
+
Vue.component('feedback-add', (resolve) => {
|
|
123
|
+
require(['./components/idea/feedbackAdd'], resolve)
|
|
124
|
+
})
|
|
125
|
+
//反馈人建议查询
|
|
126
|
+
Vue.component('feedback', (resolve) => {
|
|
127
|
+
require(['./components/idea/feedBack'], resolve)
|
|
128
|
+
})
|
|
129
|
+
//档案查询
|
|
130
|
+
Vue.component('query-file',(resolve) => {
|
|
131
|
+
require(['./components/userinfo/queryFile'],resolve)
|
|
132
|
+
})
|
|
133
|
+
//缴费查询
|
|
134
|
+
Vue.component('payment-query',(resolve) => {
|
|
135
|
+
require(['./components/userinfo/paymentQuery'],resolve)
|
|
136
|
+
})
|
|
137
|
+
// 用户查找
|
|
138
|
+
Vue.component('phone-user', (resolve) => {
|
|
139
|
+
require(['./components/PhoneUser'], resolve)
|
|
140
|
+
})
|
|
141
|
+
// 用户详情查找
|
|
142
|
+
Vue.component('phone-user-detil', (resolve) => {
|
|
143
|
+
require(['./components/PhoneUserDetil'], resolve)
|
|
144
|
+
})
|
|
145
|
+
// 物联网监控-主
|
|
146
|
+
Vue.component('iot-monitoring-main', (resolve) => {
|
|
147
|
+
require(['./components/iot/iotMonitoringMain'], resolve)
|
|
148
|
+
})
|
|
149
|
+
// 物联网监控表具信息
|
|
150
|
+
Vue.component('iot-meter-info', (resolve) => {
|
|
151
|
+
require(['./components/iot/IotMeterInfo'], resolve)
|
|
152
|
+
})
|
|
153
|
+
// 物联网监控基础信息
|
|
154
|
+
Vue.component('iot-base-info', (resolve) => {
|
|
155
|
+
require(['./components/iot/IotBaseInfo'], resolve)
|
|
156
|
+
})
|
|
157
|
+
// 物联网监控指令信息
|
|
158
|
+
Vue.component('instruct-message', (resolve) => {
|
|
159
|
+
require(['./components/iot/InstructMessage'], resolve)
|
|
160
|
+
})
|
|
161
|
+
|
|
162
|
+
Vue.component('find-userinfo', (resolve) => {
|
|
163
|
+
require(['./components/info/FindUserInfo'], resolve)
|
|
164
|
+
})
|
|
165
|
+
|
|
166
|
+
Vue.component('info-table', (resolve) => {
|
|
167
|
+
require(['./components/info/InfoTable'], resolve)
|
|
168
|
+
})
|
|
169
|
+
|
|
170
|
+
Vue.component('config-info', (resolve) => {
|
|
171
|
+
require(['./components/info/ConfigInfo'], resolve)
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
// 分公司特殊页面注册替换
|
|
175
|
+
if (filiale) {
|
|
176
|
+
let filialeComp = require(`./filiale/${filiale}/systemphonegrid`).specialComp
|
|
177
|
+
for (let key in filialeComp) {
|
|
178
|
+
Vue.component(key, filialeComp[key])
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|