|
|
@@ -14,8 +14,10 @@
|
|
14
|
14
|
</view>
|
|
15
|
15
|
<view class="segmentedControlWrapper">
|
|
16
|
16
|
<view class="example-body" style="padding-left: 10%;">
|
|
17
|
|
- <uni-badge class="uni-badge-left-margin" :text="count1"
|
|
18
|
|
- style="position: relative;left: 13%;top: 18px;" />
|
|
|
17
|
+ <uni-badge v-if="count1==0" class="uni-badge-left-margin" :text="count1"
|
|
|
18
|
+ style="position: relative;left: 13%;top: 18px;visibility:hidden"/>
|
|
|
19
|
+ <uni-badge v-if="count1!=0" class="uni-badge-left-margin" :text="count1"
|
|
|
20
|
+ style="position: relative;left: 13%;top: 18px;" />
|
|
19
|
21
|
<uni-badge class="uni-badge-left-margin" :text="count2"
|
|
20
|
22
|
style="position: relative;left: 30%;top: 18px;" />
|
|
21
|
23
|
<!-- <uni-badge class="uni-badge-left-margin" :text="count3" style="position: relative;left: 9%;top: 18px;"/> -->
|
|
|
@@ -171,6 +173,7 @@
|
|
171
|
173
|
methods: {
|
|
172
|
174
|
maskClick(e) {
|
|
173
|
175
|
console.log('日期日期日期:', e);
|
|
|
176
|
+ this.listData = []
|
|
174
|
177
|
this.value = ''
|
|
175
|
178
|
this.tabName = ''
|
|
176
|
179
|
this.isActive = 0
|
|
|
@@ -186,6 +189,7 @@
|
|
186
|
189
|
this.getList(this.paramsData)
|
|
187
|
190
|
},
|
|
188
|
191
|
changeSelect(e) {
|
|
|
192
|
+ this.listData = []
|
|
189
|
193
|
console.log(e.toString(),'111111111')
|
|
190
|
194
|
if(!e.toString()){
|
|
191
|
195
|
return
|
|
|
@@ -354,8 +358,8 @@
|
|
354
|
358
|
let data = response.rows
|
|
355
|
359
|
this.total = response.total
|
|
356
|
360
|
uni.stopPullDownRefresh();
|
|
357
|
|
- // this.listData = this.listData.concat(data)
|
|
358
|
|
- this.listData = data
|
|
|
361
|
+ this.listData = this.listData.concat(data)
|
|
|
362
|
+ // this.listData = data
|
|
359
|
363
|
if (this.listData.length >= 6) {
|
|
360
|
364
|
this.loadMoreState = 'more'
|
|
361
|
365
|
} else {
|
|
|
@@ -439,6 +443,7 @@
|
|
439
|
443
|
this.paramsData.pagesize = 10
|
|
440
|
444
|
},
|
|
441
|
445
|
tabottomChange1() {
|
|
|
446
|
+ this.listData = []
|
|
442
|
447
|
this.isActive = 1
|
|
443
|
448
|
this.tabName = '紧急'
|
|
444
|
449
|
this.paramsData.page = 1
|
|
|
@@ -446,6 +451,7 @@
|
|
446
|
451
|
this.getList(this.paramsData)
|
|
447
|
452
|
},
|
|
448
|
453
|
tabottomChange2() {
|
|
|
454
|
+ this.listData = []
|
|
449
|
455
|
this.isActive = 2
|
|
450
|
456
|
this.tabName = '催单'
|
|
451
|
457
|
this.paramsData.page = 1
|
|
|
@@ -453,6 +459,7 @@
|
|
453
|
459
|
this.getList(this.paramsData)
|
|
454
|
460
|
},
|
|
455
|
461
|
tabottomChange3() {
|
|
|
462
|
+ this.listData = []
|
|
456
|
463
|
this.isActive = 3
|
|
457
|
464
|
this.tabName = '返修'
|
|
458
|
465
|
this.paramsData.page = 1
|