Files
profitManage1.1/src/views/resource/switchRegister/monitorChart.vue

42 lines
1.0 KiB
Vue
Raw Normal View History

2025-10-11 18:19:16 +08:00
<template>
<div class="app-container">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="监控项" name="first">
<FirstMonitor></FirstMonitor>
</el-tab-pane>
<el-tab-pane label="自动发现项" name="second">
<template v-if="activeName === 'second'">
<SecondAutoFind></SecondAutoFind>
</template>
</el-tab-pane>
</el-tabs>
<div style="float: right;margin-top: 20px;">
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
</template>
<script>
import FirstMonitor from "./firstMonitor";
import SecondAutoFind from "./secondAutoFind";
export default {
name: "MonitorChart",
components: {FirstMonitor, SecondAutoFind},
data() {
return {
activeName: 'first',
}
},
methods: {
handleClick(tab, event) {},
goBack() {
this.$router.push("/resource/switchRegister");
}
}
}
</script>
<style scoped>
</style>