system-phone 3.0.49-42 → 3.0.49-44
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//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
- package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
- package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
- package/src/components/PhoneImageInfo.vue +102 -102
- package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -194
- package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
- package/src/filiale/yulinyuchuan/LoginApp.vue +736 -736
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
- package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
- package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
- package/src/stores/AppData.js +65 -65
- package/src/systemphonegrid.js +181 -181
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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,194 +1,194 @@
|
|
|
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
|
-
height: 39px;
|
|
169
|
-
}
|
|
170
|
-
.pages-bgcolor{
|
|
171
|
-
text-align: center;
|
|
172
|
-
background-color: #f0f0ef;
|
|
173
|
-
}
|
|
174
|
-
img[src=""],img:not([src]){
|
|
175
|
-
opacity: 0;
|
|
176
|
-
border:none;
|
|
177
|
-
visibility: hidden;
|
|
178
|
-
max-width: none;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.manbiankuang{
|
|
182
|
-
width: 44%;
|
|
183
|
-
margin-top: 15px;
|
|
184
|
-
margin-left: 4%;
|
|
185
|
-
border:1px solid #e3e3e3;
|
|
186
|
-
border-radius:10px 10px 10px 10px;
|
|
187
|
-
text-align: center;
|
|
188
|
-
background-color: #ffffff;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.nav-bgcolor{
|
|
192
|
-
background-color: #ffffff;
|
|
193
|
-
}
|
|
194
|
-
</style>
|
|
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
|
+
height: 39px;
|
|
169
|
+
}
|
|
170
|
+
.pages-bgcolor{
|
|
171
|
+
text-align: center;
|
|
172
|
+
background-color: #f0f0ef;
|
|
173
|
+
}
|
|
174
|
+
img[src=""],img:not([src]){
|
|
175
|
+
opacity: 0;
|
|
176
|
+
border:none;
|
|
177
|
+
visibility: hidden;
|
|
178
|
+
max-width: none;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.manbiankuang{
|
|
182
|
+
width: 44%;
|
|
183
|
+
margin-top: 15px;
|
|
184
|
+
margin-left: 4%;
|
|
185
|
+
border:1px solid #e3e3e3;
|
|
186
|
+
border-radius:10px 10px 10px 10px;
|
|
187
|
+
text-align: center;
|
|
188
|
+
background-color: #ffffff;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.nav-bgcolor{
|
|
192
|
+
background-color: #ffffff;
|
|
193
|
+
}
|
|
194
|
+
</style>
|