system-phone 3.0.49-5 → 3.0.49-50
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/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/233/236/350/256/277.png +0 -0
- package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
- package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.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//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
- package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.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/212/245/345/273/272/344/273/243/345/212/236.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/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.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/347/231/273/350/256/260.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/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
- package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.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/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 +534 -415
- package/src/components/LoginApp.vue +732 -724
- package/src/components/ModifyPassWord.vue +2 -2
- package/src/components/OnlineManage.vue +256 -255
- package/src/components/PhoneImageInfo.vue +102 -0
- package/src/components/PhoneSafeInfo.vue +101 -101
- package/src/components/RightTree.vue +217 -217
- package/src/components/SystemSetUp.vue +332 -326
- package/src/components/ToolsPage.vue +19 -0
- package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
- package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
- package/src/filiale/yulinyuchuan/LoginApp.vue +740 -0
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
- package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
- package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
- package/src/stores/AppData.js +18 -16
- package/src/systemphonegrid.js +181 -210
|
@@ -73,8 +73,27 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
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
|
+
}
|
|
76
93
|
//首次进入默认开启播放
|
|
77
94
|
HostApp.setPreference('f_voiceSwitch','true')
|
|
95
|
+
//是否开启无限制响铃(单值参数配 -1 代表开启无限制响铃)
|
|
96
|
+
HostApp.setPreference('loop',this.$appdata.getSingleValue('loop') || '3')
|
|
78
97
|
},
|
|
79
98
|
methods: {
|
|
80
99
|
// 新增工单
|
|
@@ -0,0 +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>
|