30907
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<div class="title">
|
<div class="title">
|
||||||
<h4>事件汇总</h4>
|
<h4>事件汇总</h4>
|
||||||
<div class="timecSelect">
|
<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>
|
</div>
|
||||||
<div class="bar_Box">
|
<div class="bar_Box">
|
||||||
@@ -71,6 +71,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import dayjs from "dayjs";
|
||||||
import * as echarts from 'echarts';
|
import * as echarts from 'echarts';
|
||||||
export default {
|
export default {
|
||||||
name: "gridScoreDetail",
|
name: "gridScoreDetail",
|
||||||
@@ -93,6 +94,8 @@ export default {
|
|||||||
endTime: '',
|
endTime: '',
|
||||||
xData: [],
|
xData: [],
|
||||||
yData: [],
|
yData: [],
|
||||||
|
startPla: '',
|
||||||
|
endPla: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -113,10 +116,16 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$dict.load('integralType')
|
this.$dict.load('integralType').then(() => {
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
this.getIntegralChange()
|
this.getIntegralChange()
|
||||||
this.getEventSummary()
|
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: {
|
methods: {
|
||||||
// 详情
|
// 详情
|
||||||
|
|||||||
Reference in New Issue
Block a user