湖里大屏(安全管理):简化隐患排查代码
This commit is contained in:
parent
5fd5ee9d3a
commit
b18d7a807b
@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="check-hidden">
|
<Card :title="title">
|
||||||
<div class="title">{{ title }}</div>
|
|
||||||
<div class="content">
|
|
||||||
<div class="rates">
|
<div class="rates">
|
||||||
<div class="rate">
|
<div class="rate">
|
||||||
<div class="chart">
|
<div class="chart">
|
||||||
@ -22,18 +20,18 @@
|
|||||||
<div class="label">项目及时复查率</div>
|
<div class="label">项目及时复查率</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</Card>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Card from '../components/Card.vue'
|
||||||
import JRingChart from '../jChart/pie/JRingChart.vue'
|
import JRingChart from '../jChart/pie/JRingChart.vue'
|
||||||
export default {
|
export default {
|
||||||
components: { JRingChart },
|
components: { Card, JRingChart },
|
||||||
props: {
|
props: {
|
||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'default title'
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@ -43,19 +41,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.check-hidden {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border: 1px solid #0081c3;
|
|
||||||
.title {
|
|
||||||
padding-left: 6px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
font-size: 18px;
|
|
||||||
color: #6ee4f0;
|
|
||||||
}
|
|
||||||
.content {
|
|
||||||
height: calc(100% - 30px);
|
|
||||||
.rates {
|
.rates {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -70,6 +55,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user