|
|
@@ -43,6 +43,7 @@ export default {
|
|
43
|
43
|
this.handleBtnClick('isBusy', order)
|
|
44
|
44
|
}
|
|
45
|
45
|
})
|
|
|
46
|
+ clearInterval(this.countdownInterval);
|
|
46
|
47
|
}
|
|
47
|
48
|
},
|
|
48
|
49
|
immediate: true
|
|
|
@@ -269,7 +270,13 @@ export default {
|
|
269
|
270
|
<view class="btnGroup" v-if="item && (item.status == '1')">
|
|
270
|
271
|
<view class="card-button" @click.stop="handleBtnClick('acceptOrder', item)">立即接单</view>
|
|
271
|
272
|
<view class=" card-button isBusy" @click.stop="handleBtnClick('isBusy', item)">
|
|
272
|
|
- 在忙({{ countdown }}s)</view>
|
|
|
273
|
+ <view>
|
|
|
274
|
+ 在忙
|
|
|
275
|
+ </view>
|
|
|
276
|
+ <view v-if="countdown > 0">
|
|
|
277
|
+ ({{ countdown }} s)
|
|
|
278
|
+ </view>
|
|
|
279
|
+ </view>
|
|
273
|
280
|
</view>
|
|
274
|
281
|
|
|
275
|
282
|
<view class="btnGroup" v-if="item && (item.status == '2')">
|
|
|
@@ -491,6 +498,8 @@ export default {
|
|
491
|
498
|
background-color: #fff;
|
|
492
|
499
|
color: #6B7280;
|
|
493
|
500
|
border-color: #6B7280;
|
|
|
501
|
+ display: flex;
|
|
|
502
|
+ justify-content: center;
|
|
494
|
503
|
}
|
|
495
|
504
|
|
|
496
|
505
|
/* 待跟进状态按钮 */
|