gz-att-web/src/views/dashboard/topTwo.vue

103 lines
2.4 KiB
Vue
Raw Normal View History

<template>
<div class="content">
<div class="content-box">
<div class="title-box">
<div style="margin-left: 10px;font-size: 22px;font-weight: bold;">当月轮休外出办事异常情况</div>
</div>
<div class="list-box">
<div class="listItem" style="background-color: #FFF7F1;">
<div><img src="../../assets/img/take.png" width="24" height="24" alt=""></div>
<div>已处理数据</div>
2024-10-14 11:19:01 +08:00
<h2>{{pageData.processedData}}</h2>
</div>
<div class="listItem" style="background-color: #F7F8FA;">
<div><img src="../../assets/img/unTake.png" width="24" height="24" alt=""></div>
<div>未处理数据</div>
2024-10-14 11:19:01 +08:00
<h2>{{pageData.unProcessedData}}</h2>
</div>
</div>
</div>
</div>
</template>
<script>
import * as echarts from 'echarts';
2024-10-14 11:19:01 +08:00
import { getHomePageData } from '@/api/dashboard'
export default {
components: {
},
name: 'topOne',
2024-10-14 11:19:01 +08:00
props: {
pageData: {
// required: true,
type: Object
},
},
data() {
return {
pieCharts: null,
2024-10-14 11:19:01 +08:00
// pageData:{},
}
},
created() {
},
2024-10-14 11:19:01 +08:00
mounted() {
// this.getInitData()
},
methods: {
toggleDialog(v) {
this.$emit('openDialog', { order: v })
},
},
}
</script>
<style lang="scss" scoped>
.content{
width: 100%;
height: 100%;
padding-top: 20px;
.content-box{
width: 100%;
height: 100%;
padding: 10px;
background-color: #fff;
border-radius: 10px;
}
.title-box{
width: 100%;
height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.list-box{
width: 100%;
height: 250px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.listItem{
width: 80%;
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 10px;
padding: 10px;
margin-bottom: 20px;
cursor: pointer;
}
}
}
</style>