|
@@ -1,18 +1,18 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-button-group size="small" class="inline-24" v-if="disabled">
|
|
|
+ <el-button-group size="small" class="inline-24" >
|
|
|
<el-button :type="select === '上月'?'primary':''" size="small" @click="selectQuick(5)" :disabled="disabled">{{$t(`上月`)}}</el-button>
|
|
|
<el-button :type="select === '日'?'primary':''" size="small" @click="selectQuick(1)" :disabled="disabled">{{$t(`本日`)}}</el-button>
|
|
|
<el-button :type="select === '周'?'primary':''" size="small" @click="selectQuick(2)" :disabled="disabled">{{$t(`本周`)}}</el-button>
|
|
|
<el-button :type="select === '月'?'primary':''" size="small" @click="selectQuick(3)" :disabled="disabled">{{$t(`本月`)}}</el-button>
|
|
|
<el-button :type="select === '年'?'primary':''" size="small" @click="selectQuick(4)" :disabled="disabled">{{$t(`本年`)}}</el-button>
|
|
|
</el-button-group>
|
|
|
- <el-button-group size="small" class="inline-24" v-else>
|
|
|
- <el-button :type="select === '日'?'primary':''" size="small" @click="selectQuick(1)" :disabled="disabled">{{$t(`日`)}}</el-button>
|
|
|
- <el-button :type="select === '周'?'primary':''" size="small" @click="selectQuick(2)" :disabled="disabled">{{$t(`周`)}}</el-button>
|
|
|
- <el-button :type="select === '月'?'primary':''" size="small" @click="selectQuick(3)" :disabled="disabled">{{$t(`月`)}}</el-button>
|
|
|
- <el-button :type="select === '年'?'primary':''" size="small" @click="selectQuick(4)" :disabled="disabled">{{$t(`年`)}}</el-button>
|
|
|
- </el-button-group>
|
|
|
+<!-- <el-button-group size="small" class="inline-24" v-else>-->
|
|
|
+<!-- <el-button :type="select === '日'?'primary':''" size="small" @click="selectQuick(1)" :disabled="disabled">{{$t(`日`)}}</el-button>-->
|
|
|
+<!-- <el-button :type="select === '周'?'primary':''" size="small" @click="selectQuick(2)" :disabled="disabled">{{$t(`周`)}}</el-button>-->
|
|
|
+<!-- <el-button :type="select === '月'?'primary':''" size="small" @click="selectQuick(3)" :disabled="disabled">{{$t(`月`)}}</el-button>-->
|
|
|
+<!-- <el-button :type="select === '年'?'primary':''" size="small" @click="selectQuick(4)" :disabled="disabled">{{$t(`年`)}}</el-button>-->
|
|
|
+<!-- </el-button-group>-->
|
|
|
<span style="font-size: 13px">{{$t(`时间`)}}:</span>
|
|
|
<el-date-picker
|
|
|
value-format="yyyy-MM-dd"
|