湖里大屏(质量管理):更改问题类型使用 Card 组件
This commit is contained in:
parent
4247e5d2e2
commit
0b78f2041d
@ -1,19 +1,19 @@
|
||||
<template>
|
||||
<div class="question-type">
|
||||
<div class="title">{{ title }}</div>
|
||||
<Card :title="title">
|
||||
<DaysSwitch class="days-switch" @change="handleSwitch" />
|
||||
<div class="content">
|
||||
<JProgressChart :seriesData="seriesData" :yData="yData" />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Card from '../components/Card.vue'
|
||||
import JProgressChart from '../jChart/bar/JProgressChart.vue'
|
||||
import DaysSwitch from './components/DaysSwitch.vue'
|
||||
import { selectDangerTypeQualityCountApi } from '@/assets/js/api/dataBoard'
|
||||
export default {
|
||||
components: { JProgressChart, DaysSwitch },
|
||||
components: { Card, JProgressChart, DaysSwitch },
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
@ -55,17 +55,6 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.question-type {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid #0081c3;
|
||||
.title {
|
||||
padding-left: 6px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size: 18px;
|
||||
color: #6ee4f0;
|
||||
}
|
||||
.days-switch {
|
||||
margin-top: 10px;
|
||||
margin-right: 20px;
|
||||
@ -74,5 +63,4 @@ export default {
|
||||
.content {
|
||||
height: calc(100% - 64px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user