MeterSphere/test-track/frontend/src/business/home/components/CaseMaintenance.vue

42 lines
891 B
Vue
Raw Normal View History

2021-03-13 13:01:28 +08:00
<template>
<el-card class="table-card" v-loading="result.loading" body-style="padding:10px;">
<div slot="header">
<span class="title">
2021-06-21 16:45:28 +08:00
{{ $t('test_track.home.case_maintenance') }}
2021-03-13 13:01:28 +08:00
</span>
</div>
<el-container>
<ms-chart ref="chart1" :options="caseOption" :autoresize="true" style="width: 100%;height: 340px"></ms-chart>
</el-container>
</el-card>
</template>
<script>
2022-10-10 13:41:39 +08:00
import MsChart from "metersphere-frontend/src/components/chart/MsChart";
2021-03-13 13:01:28 +08:00
export default {
name: "CaseMaintenance",
components: {MsChart},
props: {
caseOption: {}
},
data() {
return {
result: {}
}
}
}
</script>
<style scoped>
.no-shadow-card{
-webkit-box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
}
2022-10-10 13:41:39 +08:00
.el-card :deep( .el-card__header ) {
2021-03-13 13:01:28 +08:00
border-bottom: 0px solid #EBEEF5;
padding-bottom: 0px;
}
</style>