system-phone 3.0.36 → 3.0.37
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
CHANGED
|
Binary file
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
},
|
|
188
188
|
getRepair(){
|
|
189
|
-
if (this.isShowRedNum
|
|
189
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
190
190
|
return
|
|
191
191
|
}
|
|
192
192
|
var _this = this;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}, 100000)
|
|
209
209
|
},
|
|
210
210
|
getSafeCheck(){
|
|
211
|
-
if (this.isShowRedNum
|
|
211
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
212
212
|
return
|
|
213
213
|
}
|
|
214
214
|
var _this = this;
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
}, 100000)
|
|
231
231
|
},
|
|
232
232
|
getZhihuan(){
|
|
233
|
-
if (this.isShowRedNum
|
|
233
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
234
234
|
return
|
|
235
235
|
}
|
|
236
236
|
var _this = this;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
<div class="auto">
|
|
4
4
|
<div class="row nav-bgcolor">
|
|
5
5
|
<div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name,tab.navigate)">
|
|
6
|
-
<div class="badge" v-show="tab.name == '维修派发'">
|
|
6
|
+
<div class="badge" v-show="tab.name == '维修派发' && isShowRedNum && isShowRedNum == 'true'">
|
|
7
7
|
<div class="badge-content">{{ pointNum ? pointNum : 0 }}</div>
|
|
8
8
|
</div>
|
|
9
|
-
<div class="badge" v-show="tab.name == '抄表待办'">
|
|
9
|
+
<div class="badge" v-show="tab.name == '抄表待办' && isShowRedNum && isShowRedNum == 'true'">
|
|
10
10
|
<div class="badge-content">{{ meterNum ? meterNum : 0 }}</div>
|
|
11
11
|
</div>
|
|
12
|
-
<div class="badge" v-show="tab.name == '信息公告'">
|
|
12
|
+
<div class="badge" v-show="tab.name == '信息公告' && isShowRedNum && isShowRedNum == 'true'">
|
|
13
13
|
<div class="badge-content">{{ infoNum ? infoNum : 0 }}</div>
|
|
14
14
|
</div>
|
|
15
15
|
<img class="imgs" :src="imgback(tab.name)" alt="">
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
isMenu: true,
|
|
41
41
|
tabs: this.getTabs(),
|
|
42
42
|
text: '导航组件this',
|
|
43
|
+
isShowRedNum:this.$appdata.getSingleValue('红点'),
|
|
43
44
|
beforeName: '在线业务',
|
|
44
45
|
sourcet: '竖屏',
|
|
45
46
|
pointNum: null,
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
}
|
|
130
131
|
},
|
|
131
132
|
getmeterNum() {
|
|
132
|
-
if (this
|
|
133
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
133
134
|
return
|
|
134
135
|
}
|
|
135
136
|
window.setInterval(() => {
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
this.timeOutGetmeterNum()
|
|
152
153
|
},
|
|
153
154
|
getInfoNum() {
|
|
154
|
-
if (this
|
|
155
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
155
156
|
return
|
|
156
157
|
}
|
|
157
158
|
window.setInterval(() => {
|
|
@@ -174,7 +175,7 @@
|
|
|
174
175
|
this.timeOutGetInfoNum()
|
|
175
176
|
},
|
|
176
177
|
getRepairNum() {
|
|
177
|
-
if (this
|
|
178
|
+
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
178
179
|
return
|
|
179
180
|
}
|
|
180
181
|
window.setInterval(() => {
|