2022-08-02 09:10:00 +08:00
|
|
|
<template>
|
|
|
|
|
<!-- 质量问题 -->
|
2022-08-03 18:42:55 +08:00
|
|
|
<div class="containerBox">
|
2022-08-02 09:10:00 +08:00
|
|
|
<div class="titleTxt">{{ title }}</div>
|
2022-08-03 18:42:55 +08:00
|
|
|
<div class="myChart">
|
|
|
|
|
<problemChart
|
2022-08-04 10:10:14 +08:00
|
|
|
:title="{ text: 654, subTitle: '本周总任务' ,y:'35%'}"
|
2022-08-03 18:42:55 +08:00
|
|
|
:color="['#3cabfd','#57ec72','#f294c6','#f43a8d','#6ee4f0']"
|
|
|
|
|
:data="[
|
|
|
|
|
{ value: 45, name: '未开始' },
|
|
|
|
|
{ value: 5, name: '未开始延期' },
|
|
|
|
|
{ value: 15, name: '进行中' },
|
|
|
|
|
{ value: 10, name: '执行中延期' },
|
|
|
|
|
{ value: 45, name: '完成' }
|
|
|
|
|
]" />
|
|
|
|
|
</div>
|
2022-08-02 09:10:00 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2022-08-04 10:10:14 +08:00
|
|
|
import problemChart from '../jChart/pie/JProblemChart'
|
2022-08-02 09:10:00 +08:00
|
|
|
export default {
|
2022-08-03 18:42:55 +08:00
|
|
|
components:{problemChart},
|
2022-08-02 09:10:00 +08:00
|
|
|
props: {
|
|
|
|
|
title: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: "default title"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
2022-08-03 18:42:55 +08:00
|
|
|
.containerBox {
|
2022-08-02 09:10:00 +08:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border: 1px solid #0081c3;
|
|
|
|
|
|
|
|
|
|
.titleTxt {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
color: #6ee4f0;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
}
|
2022-08-03 18:42:55 +08:00
|
|
|
.myChart{
|
|
|
|
|
width: 100%;
|
2022-08-04 10:10:14 +08:00
|
|
|
height: 90%;
|
2022-08-03 18:42:55 +08:00
|
|
|
}
|
2022-08-02 09:10:00 +08:00
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|