Commit 7f4defae authored by zhangyanni's avatar zhangyanni

优化

parent 2111a297
......@@ -34,12 +34,12 @@
<span style="margin-right: 20px;" :class="tabIndex==4?'activeSpan':''"
@click="handleTab(4)">近30天</span>
<el-date-picker style="width: 190px;" v-model="startTime" type="datetime"
<el-date-picker style="width: 190px;" @change="handleChangeTime(startTime,endTime)" v-model="startTime" type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
:placeholder="$t('operationjson.authBegin')"></el-date-picker>
<span style="width: 50px;text-align: center;line-height: 40px;">
{{$t('operationjson.tos')}}</span>
<el-date-picker style="width: 190px;" v-model="endTime" type="datetime"
<el-date-picker style="width: 190px;" v-model="endTime" @change="handleChangeTime(startTime,endTime)" type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
:placeholder="$t('operationjson.authEnd')"></el-date-picker>
</div>
......@@ -491,6 +491,10 @@
this.getStatisticsdata();
},
handleChangeTime(startTime,endTime){
if(startTime&&endTime) this.tabIndex = 0;
},
//导出
exportFunc() {
let params = {
......
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