|
|
|
@ -9,7 +9,14 @@
|
|
|
|
|
<div class="w-[200px] bg_title bg_title_0"></div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #extra>
|
|
|
|
|
<div></div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button type="primary" class="month-btn" @click="activeBtn = '月'" :class="{ 'active-btn': activeBtn === '月' }">
|
|
|
|
|
月
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button class="week-btn" @click="activeBtn = '周'" :class="{ 'active-btn': activeBtn === '周' }">
|
|
|
|
|
周
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</ContentHeader>
|
|
|
|
|
</div>
|
|
|
|
@ -70,7 +77,10 @@
|
|
|
|
|
<div class="w-[200px] bg_title bg_title_2"></div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #extra>
|
|
|
|
|
<div></div>
|
|
|
|
|
<el-select v-model="searchForm.name" placeholder="时间" class="custom-select">
|
|
|
|
|
<el-option label="A" value="deviceA"></el-option>
|
|
|
|
|
<el-option label="B" value="deviceB"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</ContentHeader>
|
|
|
|
|
</div>
|
|
|
|
@ -101,7 +111,12 @@
|
|
|
|
|
<template #title>
|
|
|
|
|
<div class="w-[200px] bg_title bg_title_3"></div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #extra> </template>
|
|
|
|
|
<template #extra>
|
|
|
|
|
<el-select v-model="searchForm.name" placeholder="时间" class="custom-select">
|
|
|
|
|
<el-option label="A" value="deviceA"></el-option>
|
|
|
|
|
<el-option label="B" value="deviceB"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</ContentHeader>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="chart-container">
|
|
|
|
@ -158,6 +173,12 @@ const deviceStatus = ref({
|
|
|
|
|
errorCount: 10,
|
|
|
|
|
outlineCount: 10
|
|
|
|
|
});
|
|
|
|
|
const searchForm = reactive({
|
|
|
|
|
name: "",
|
|
|
|
|
status: "",
|
|
|
|
|
faultType: "",
|
|
|
|
|
});
|
|
|
|
|
const activeBtn = ref("月");
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|