Commit 6a983d39 authored by Facius's avatar Facius

fix: 完工列表不显示数字

parent 4cdbe66d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view <view
:class="['order-view', { simple: isSimple }]" :class="['order-view', { simple: isSimple }]"
@click="handleClickCell" @click="handleClickCell"
hover-class="u-hover-class" :hover-class="isSimple ? 'u-hover-class' : ''"
> >
<view v-if="!isSimple" class="order-top-view"> <view v-if="!isSimple" class="order-top-view">
<view class="left-view"> <view class="left-view">
......
...@@ -251,6 +251,9 @@ export default { ...@@ -251,6 +251,9 @@ export default {
['todayContactCount', 'todayFinishCount', 'todayExceptionCount'], ['todayContactCount', 'todayFinishCount', 'todayExceptionCount'],
] ]
}, },
isFinish() {
return this.orderType == 'finish'
},
noMore() { noMore() {
return ( return (
this.orderList[this.curNow][this.current[this.curNow]].length == 0 && this.orderList[this.curNow][this.current[this.curNow]].length == 0 &&
...@@ -339,6 +342,7 @@ export default { ...@@ -339,6 +342,7 @@ export default {
) )
// 更新tab数字 // 更新tab数字
if ( if (
!this.isFinish &&
self.list[this.curNow][self.types[this.curNow][res.data.type]] self.list[this.curNow][self.types[this.curNow][res.data.type]]
) { ) {
self.list[this.curNow][ self.list[this.curNow][
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment