30907
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<div class="title">
|
||||
<h4>事件汇总</h4>
|
||||
<div class="timecSelect">
|
||||
时间:<el-date-picker size="small" value-format="yyyy-MM-dd" @change="timeChange" v-model="timeList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
|
||||
时间:<el-date-picker size="small" value-format="yyyy-MM-dd" @change="timeChange" v-model="timeList" type="daterange" range-separator="至" :start-placeholder="startPla" :end-placeholder="endPla"></el-date-picker>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bar_Box">
|
||||
@@ -71,6 +71,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import dayjs from "dayjs";
|
||||
import * as echarts from 'echarts';
|
||||
export default {
|
||||
name: "gridScoreDetail",
|
||||
@@ -93,6 +94,8 @@ export default {
|
||||
endTime: '',
|
||||
xData: [],
|
||||
yData: [],
|
||||
startPla: '',
|
||||
endPla: ''
|
||||
}
|
||||
},
|
||||
props: {
|
||||
@@ -113,10 +116,16 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('integralType')
|
||||
this.getDetail()
|
||||
this.getIntegralChange()
|
||||
this.getEventSummary()
|
||||
this.$dict.load('integralType').then(() => {
|
||||
this.getDetail()
|
||||
this.getIntegralChange()
|
||||
this.getEventSummary()
|
||||
let timeSta = dayjs().format('YYYY-MM-DD')
|
||||
let timeEnd = dayjs().subtract(29, 'day').format('YYYY-MM-DD')
|
||||
this.startPla = timeSta
|
||||
this.endPla = timeEnd
|
||||
})
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 详情
|
||||
|
||||
Reference in New Issue
Block a user