system-phone 3.0.49-3 → 3.0.49-30
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/assets/images//346/211/223/345/215/241.png +0 -0
- package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
- package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.png +0 -0
- package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/233/236/350/256/277.png +0 -0
- package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
- package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
- package/src/assets//346/226/275/345/260/201.png +0 -0
- package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
- package/src/assets//347/273/264/344/277/256/350/256/260/345/275/225.png +0 -0
- package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
- package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
- package/src/components/AttendManage.vue +120 -1
- package/src/components/LoginApp.vue +12 -6
- package/src/components/OnlineManage.vue +1 -1
- package/src/components/SystemSetUp.vue +330 -310
- package/src/components/ToolsPage.vue +2 -0
- package/src/filiale/yulinyuchuan/AlreadyService.vue +193 -0
- package/src/filiale/yulinyuchuan/AttendManage.vue +534 -0
- package/src/filiale/yulinyuchuan/LoginApp.vue +736 -0
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +331 -0
- package/src/filiale/yulinyuchuan/UploadManage.vue +194 -0
- package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
- package/src/stores/AppData.js +65 -63
- package/src/systemphonegrid.js +178 -210
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="nav-bgcolor">
|
|
3
|
+
<img src="../../assets/首页大图.png" style="height: 20vh; width: 96vw; margin: 8px 0 0 8px; border-radius: 10px">
|
|
4
|
+
<div class="auto">
|
|
5
|
+
<div class="row nav-bgcolor" >
|
|
6
|
+
<div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
|
|
7
|
+
<img class="imgs" :src="imgback(tab.name)">
|
|
8
|
+
<p></p>
|
|
9
|
+
<p class="pagesfoot">{{tab.name}}</p>
|
|
10
|
+
<!--<p class="pagesfoot">{{tab.name}} {{tab.icon}}</p>-->
|
|
11
|
+
<p></p>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<!--<div class="row" style="overflow:auto;">-->
|
|
15
|
+
<!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
|
|
16
|
+
<!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
|
|
17
|
+
<!--</div>-->
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script scoped>
|
|
23
|
+
import Vue from 'vue'
|
|
24
|
+
export default {
|
|
25
|
+
title: '已办工作导航',
|
|
26
|
+
data () {
|
|
27
|
+
return {
|
|
28
|
+
titleName:'已办工作',
|
|
29
|
+
isMenu:true,
|
|
30
|
+
tabs: this.getTabs(),
|
|
31
|
+
text: '导航组件this',
|
|
32
|
+
beforeName:'已办工作',
|
|
33
|
+
sourcet:'竖屏'
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
ready () {
|
|
37
|
+
// this.getModelSum()
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
methods: {
|
|
41
|
+
// 查询本地所有待办
|
|
42
|
+
getModelSum(){
|
|
43
|
+
for(var i = 0;i<this.tabs.length;i++){
|
|
44
|
+
if(this.tabs[i].link == 'completed-zhihuan' ){
|
|
45
|
+
this.getZhihuan()
|
|
46
|
+
}
|
|
47
|
+
if(this.tabs[i].link == 'completed-repair' ){
|
|
48
|
+
this.getRepair()
|
|
49
|
+
}
|
|
50
|
+
if(this.tabs[i].link == 'area-plan' ){
|
|
51
|
+
this.getSafeCheck()
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
},
|
|
56
|
+
getRepair(){
|
|
57
|
+
var _this = this;
|
|
58
|
+
this.timeoutRepair = window.setInterval(function() {
|
|
59
|
+
let result = _this.$androidUtil.path({'alias':`getCompletedInfo`, 'data': {f_workorder_type: '报修单',condition:'1 = 1'}})
|
|
60
|
+
if (result.code === 200) {
|
|
61
|
+
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
62
|
+
var crv = {
|
|
63
|
+
title: '维修已办',
|
|
64
|
+
sum: result.data.length
|
|
65
|
+
}
|
|
66
|
+
_this.changesum(crv)
|
|
67
|
+
}
|
|
68
|
+
}, 6000)
|
|
69
|
+
},
|
|
70
|
+
getSafeCheck(){
|
|
71
|
+
var _this = this;
|
|
72
|
+
this.timeoutRepair = window.setInterval(function() {
|
|
73
|
+
let result = _this.$androidUtil.path({'alias':`getSafecheckCompletedInfo`, 'data': {condition:'1 = 1'}})
|
|
74
|
+
if (result.code === 200) {
|
|
75
|
+
console.log('查询得到的安检已办' + JSON.stringify(result))
|
|
76
|
+
var crv = {
|
|
77
|
+
title: '安检已办',
|
|
78
|
+
sum: result.data.length
|
|
79
|
+
}
|
|
80
|
+
_this.changesum(crv)
|
|
81
|
+
}
|
|
82
|
+
}, 6000)
|
|
83
|
+
},
|
|
84
|
+
getZhihuan(){
|
|
85
|
+
var _this = this;
|
|
86
|
+
this.timeoutZhihuan = window.setInterval(function() {
|
|
87
|
+
let result = _this.$androidUtil.path({'alias':`getCompletedInfo`, 'data': {f_workorder_type: '置换通气单',condition:'1 = 1'}})
|
|
88
|
+
if (result.code === 200) {
|
|
89
|
+
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
90
|
+
var crv = {
|
|
91
|
+
title: '置换已办',
|
|
92
|
+
sum: result.data.length
|
|
93
|
+
}
|
|
94
|
+
_this.changesum(crv)
|
|
95
|
+
}
|
|
96
|
+
}, 6000)
|
|
97
|
+
},
|
|
98
|
+
changesum(titdata){
|
|
99
|
+
for(var i = 0;i<this.tabs.length;i++){
|
|
100
|
+
if(this.tabs[i].name == titdata.title){
|
|
101
|
+
this.tabs[i].icon = titdata.sum + '单'
|
|
102
|
+
console.log(JSON.stringify(this.tabs[i].icon))
|
|
103
|
+
return
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
getTabs(){
|
|
108
|
+
for(let funs in Vue.functions){
|
|
109
|
+
if(Vue.functions[funs].link == 'already-service'){
|
|
110
|
+
return Vue.functions[funs].children
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
imgback(val){
|
|
115
|
+
return require('../../assets/'+val+'.png')
|
|
116
|
+
},
|
|
117
|
+
// 返回主界面
|
|
118
|
+
back(){
|
|
119
|
+
this.titleName = '主界面'
|
|
120
|
+
this.isMenu = true
|
|
121
|
+
|
|
122
|
+
},
|
|
123
|
+
gotopage(param,title) {
|
|
124
|
+
console.log('进入子组件')
|
|
125
|
+
var prpdata = {
|
|
126
|
+
_this:this,
|
|
127
|
+
title:title,
|
|
128
|
+
safe:false
|
|
129
|
+
}
|
|
130
|
+
this.$dispatch('gotoson',prpdata)
|
|
131
|
+
this.$goto(param,{sourcet:'竖屏',tabname:title})
|
|
132
|
+
},
|
|
133
|
+
mute () {
|
|
134
|
+
HostApp.mute()
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
}
|
|
138
|
+
</script>
|
|
139
|
+
<style lang="less">
|
|
140
|
+
.tab-befor-img {
|
|
141
|
+
content: '';
|
|
142
|
+
background-size: 30px;
|
|
143
|
+
display: inline-block;
|
|
144
|
+
margin-right: 8px;
|
|
145
|
+
height: 30px;
|
|
146
|
+
width: 30px;
|
|
147
|
+
vertical-align: -35%;
|
|
148
|
+
}
|
|
149
|
+
.pageskuang{
|
|
150
|
+
vertical-align:middle;
|
|
151
|
+
display:table-cell;
|
|
152
|
+
width: 32%;
|
|
153
|
+
top:-50%;
|
|
154
|
+
margin-top: 1%;
|
|
155
|
+
margin-left: 1%;
|
|
156
|
+
border:1px solid #e3e3e3;
|
|
157
|
+
text-align: center;
|
|
158
|
+
background-color: #ffffff;
|
|
159
|
+
}
|
|
160
|
+
.pgesfoot{
|
|
161
|
+
font-size: 14px;
|
|
162
|
+
color: #666666;
|
|
163
|
+
/* font-family: "Pingfhs";*/
|
|
164
|
+
}
|
|
165
|
+
.imgs{
|
|
166
|
+
width: 35px;
|
|
167
|
+
margin-top: 15px;
|
|
168
|
+
}
|
|
169
|
+
.pages-bgcolor{
|
|
170
|
+
text-align: center;
|
|
171
|
+
background-color: #f0f0ef;
|
|
172
|
+
}
|
|
173
|
+
img[src=""],img:not([src]){
|
|
174
|
+
opacity: 0;
|
|
175
|
+
border:none;
|
|
176
|
+
visibility: hidden;
|
|
177
|
+
max-width: none;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.manbiankuang{
|
|
181
|
+
width: 44%;
|
|
182
|
+
margin-top: 15px;
|
|
183
|
+
margin-left: 4%;
|
|
184
|
+
border:1px solid #e3e3e3;
|
|
185
|
+
border-radius:10px 10px 10px 10px;
|
|
186
|
+
text-align: center;
|
|
187
|
+
background-color: #ffffff;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.nav-bgcolor{
|
|
191
|
+
background-color: #ffffff;
|
|
192
|
+
}
|
|
193
|
+
</style>
|