|
@@ -2,7 +2,7 @@ |
|
|
<view class="cenbox"> |
|
|
<view class="cenbox"> |
|
|
<view class="screeningtop"> |
|
|
<view class="screeningtop"> |
|
|
<view class="screeningview" @click="clickscreening(1)"> |
|
|
<view class="screeningview" @click="clickscreening(1)"> |
|
|
<view>近一周</view> |
|
|
|
|
|
|
|
|
<view>{{ showFillterText }}</view> |
|
|
<view class="viewimg"> |
|
|
<view class="viewimg"> |
|
|
<image v-if="screeningshow1==false" src="../../../../static/images/down1.png" mode=""></image> |
|
|
<image v-if="screeningshow1==false" src="../../../../static/images/down1.png" mode=""></image> |
|
|
<image v-if="screeningshow1==true" src="../../../../static/images/down2.png" mode=""></image> |
|
|
<image v-if="screeningshow1==true" src="../../../../static/images/down2.png" mode=""></image> |
|
@@ -77,10 +77,10 @@ |
|
|
<view v-if="screeningshow1==true" class="call_zhezhao" @click="allcancel()"></view> |
|
|
<view v-if="screeningshow1==true" class="call_zhezhao" @click="allcancel()"></view> |
|
|
<view v-if="screeningshow1==true" class="timepick"> |
|
|
<view v-if="screeningshow1==true" class="timepick"> |
|
|
<view class="tiempickbox"> |
|
|
<view class="tiempickbox"> |
|
|
<view :class="{ timeactive: activetime == 0 }" @click="activetimetab(0)">今日</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 1 }" @click="activetimetab(1)">昨日</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 2 }" @click="activetimetab(2)">近一周</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 3 }" @click="activetimetab(3)">本月</view> |
|
|
|
|
|
|
|
|
<view :class="{ timeactive: activetime == 0 }" @click="activetimetab(0, '今日')">今日</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 1 }" @click="activetimetab(1, '昨日')">昨日</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 2 }" @click="activetimetab(2, '近一周')">近一周</view> |
|
|
|
|
|
<view :class="{ timeactive: activetime == 3 }" @click="activetimetab(3, '本月')">本月</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="tiempickzidingyi" @click="activetimetab(5)"> |
|
|
<view class="tiempickzidingyi" @click="activetimetab(5)"> |
|
|
<text v-if="Datesicing.length==0">自定义时间:请选择</text> |
|
|
<text v-if="Datesicing.length==0">自定义时间:请选择</text> |
|
@@ -162,6 +162,7 @@ export default { |
|
|
keywordIds:'', |
|
|
keywordIds:'', |
|
|
type:0, |
|
|
type:0, |
|
|
customerId: '', // 点击那一项的customerId |
|
|
customerId: '', // 点击那一项的customerId |
|
|
|
|
|
showFillterText: '近一周', |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
onLoad(options) { |
|
|
onLoad(options) { |
|
@@ -360,6 +361,7 @@ export default { |
|
|
//自定义时间确认 |
|
|
//自定义时间确认 |
|
|
totalTimeChange(e){ |
|
|
totalTimeChange(e){ |
|
|
this.Datesicing=e.startDate+'至'+e.endDate; |
|
|
this.Datesicing=e.startDate+'至'+e.endDate; |
|
|
|
|
|
this.showFillterText = '自定义' |
|
|
this.starttime=e.startDate; |
|
|
this.starttime=e.startDate; |
|
|
this.endoftime=e.endDate; |
|
|
this.endoftime=e.endDate; |
|
|
this.activetime=this.Inthemiddletime; |
|
|
this.activetime=this.Inthemiddletime; |
|
@@ -369,11 +371,12 @@ export default { |
|
|
this.Accesstolevel() |
|
|
this.Accesstolevel() |
|
|
}, |
|
|
}, |
|
|
//时间选择 |
|
|
//时间选择 |
|
|
activetimetab(index){ |
|
|
|
|
|
|
|
|
activetimetab(index, text){ |
|
|
if(index==5){ |
|
|
if(index==5){ |
|
|
this.Inthemiddletime=index; |
|
|
this.Inthemiddletime=index; |
|
|
this.totalTimeShow=!this.totalTimeShow; |
|
|
this.totalTimeShow=!this.totalTimeShow; |
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
this.showFillterText = text |
|
|
this.Datesicing=''; |
|
|
this.Datesicing=''; |
|
|
this.activetime=index; |
|
|
this.activetime=index; |
|
|
this.tadelist=[] |
|
|
this.tadelist=[] |
|
|