task#11347,司机app所有事件添加防重复点击
This commit is contained in:
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="monthSearch" v-show="activeIndex == 0">
|
<div class="monthSearch" v-show="activeIndex == 0">
|
||||||
<span v-for="(item,index) in monthList" :class="monthIndex === index ? 'active' : ''" :key="index" @click="clickHandle(index)">{{item}}</span>
|
<span v-for="(item,index) in monthList" :class="monthIndex === index ? 'active' : ''" :key="index" @click="noMultipleClicks(clickHandle,index)">{{item}}</span>
|
||||||
</div>
|
</div>
|
||||||
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" v-show="!show" :class="activeIndex==0 ? 'firstpullRefresh' : 'secondpullRefresh'">
|
<van-pull-refresh v-model="isLoading" @refresh="onRefresh" v-show="!show" :class="activeIndex==0 ? 'firstpullRefresh' : 'secondpullRefresh'">
|
||||||
<van-list
|
<van-list
|
||||||
@ -32,7 +32,7 @@
|
|||||||
>
|
>
|
||||||
<div class="listWrap" :style="{ 'padding-top': activeIndex == 0 ? '0px' : '10px' }">
|
<div class="listWrap" :style="{ 'padding-top': activeIndex == 0 ? '0px' : '10px' }">
|
||||||
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" :style="{ 'padding-left': activeIndex == 0 ? '34px' : '11px' }">
|
<div class="itemWrap" v-for="(item,index) in pageList" :key="index" :style="{ 'padding-left': activeIndex == 0 ? '34px' : '11px' }">
|
||||||
<div class="contentWrap" @click="goDetail(item.taskOrderId)">
|
<div class="contentWrap" @click="noMultipleClicks(goDetail,item.taskOrderId)">
|
||||||
<div class="line1">
|
<div class="line1">
|
||||||
<div><span>订单编号:</span><span>{{item.userOrderCode}}</span></div>
|
<div><span>订单编号:</span><span>{{item.userOrderCode}}</span></div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
@ -46,7 +46,7 @@
|
|||||||
<div v-show="(activeIndex != 0 && item.state != 1) || (activeIndex == 0 && item.state == 3)"><span>审核人员:</span><span>{{item.auditUser}}</span></div>
|
<div v-show="(activeIndex != 0 && item.state != 1) || (activeIndex == 0 && item.state == 3)"><span>审核人员:</span><span>{{item.auditUser}}</span></div>
|
||||||
<div v-show="(activeIndex != 0 && item.state != 1) || (activeIndex == 0 && item.state == 3)"><span>审核时间:</span><span>{{item.auditTime}}</span></div>
|
<div v-show="(activeIndex != 0 && item.state != 1) || (activeIndex == 0 && item.state == 3)"><span>审核时间:</span><span>{{item.auditTime}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<img v-show="activeIndex == 0" class="checkImg" @click="toggleSelection(item)" :src="item.isSelected ? require('@/assets/baoxiao_check.png') : require('@/assets/baoxiao_uncheck.png')">
|
<img v-show="activeIndex == 0" class="checkImg" @click="noMultipleClicks(toggleSelection,item)" :src="item.isSelected ? require('@/assets/baoxiao_check.png') : require('@/assets/baoxiao_uncheck.png')">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ export default {
|
|||||||
isLoading: false,
|
isLoading: false,
|
||||||
finished: false,
|
finished: false,
|
||||||
monthList:[],
|
monthList:[],
|
||||||
monthIndex:0
|
monthIndex:0,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
|
Reference in New Issue
Block a user