system-phone 3.0.35 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.0.35",
3
+ "version": "3.0.37",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -7,13 +7,13 @@
7
7
  <div class="badge"
8
8
  v-show="isshowTag&&tab.num&&tab.num>0"
9
9
  ><div class="badge-content">{{tab.num>99?'99+':tab.num}}</div></div>
10
- <div class="badge" v-show="tab.name == '抄表待办'">
10
+ <div class="badge" v-show="tab.name == '抄表待办' && isShowRedNum && isShowRedNum == 'true'">
11
11
  <div class="badge-content">{{ meterNum?meterNum:0 }}</div>
12
12
  </div>
13
- <div class="badge" v-show="tab.name == '安检待办'">
13
+ <div class="badge" v-show="tab.name == '安检待办' && isShowRedNum && isShowRedNum == 'true'">
14
14
  <div class="badge-content">{{ safeckNum?safeckNum:0 }}</div>
15
15
  </div>
16
- <div class="badge" v-show="tab.name == '维修待办'">
16
+ <div class="badge" v-show="tab.name == '维修待办' && isShowRedNum && isShowRedNum == 'true'">
17
17
  <div class="badge-content">{{ repairNum?repairNum:0 }}</div>
18
18
  </div>
19
19
  <p></p>
@@ -79,6 +79,7 @@
79
79
  componentName: 'repair-first',
80
80
  sourcet: '竖屏',
81
81
  meterNum:null,
82
+ isShowRedNum:this.$appdata.getSingleValue('红点'),
82
83
  applyType: '', // 报建类型
83
84
  // applyTypes:this.$appdata.getParam("手机报建类型"),
84
85
  applyTypes: [{label: '散户报建', value: '散户报建'}, {label: '工商户报建', value: '工商户报建'}, {
@@ -185,7 +186,7 @@
185
186
 
186
187
  },
187
188
  getRepair(){
188
- if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
189
+ if (!this.isShowRedNum || this.isShowRedNum != 'true') {
189
190
  return
190
191
  }
191
192
  var _this = this;
@@ -207,7 +208,7 @@
207
208
  }, 100000)
208
209
  },
209
210
  getSafeCheck(){
210
- if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
211
+ if (!this.isShowRedNum || this.isShowRedNum != 'true') {
211
212
  return
212
213
  }
213
214
  var _this = this;
@@ -229,7 +230,7 @@
229
230
  }, 100000)
230
231
  },
231
232
  getZhihuan(){
232
- if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
233
+ if (!this.isShowRedNum || this.isShowRedNum != 'true') {
233
234
  return
234
235
  }
235
236
  var _this = this;
@@ -299,7 +300,7 @@
299
300
  this.getModelSum()
300
301
  },
301
302
  getmeterNum() {
302
- if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
303
+ if (this.isShowRedNum && this.isShowRedNum != 'true') {
303
304
  return
304
305
  }
305
306
  window.setInterval( ()=> {