济菏高速业务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1003 B

1 year ago
<template>
<div class="warning_list">
<el-tabs v-model="activeTab" @tab-click="onChangeTab">
<el-tab-pane label="告警事件" name="first">用户管理</el-tab-pane>
<el-tab-pane label="待确认事件" name="second">配置管理</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import request from "@/utils/request";
export default {
data() {
return {
activeTab:"first"
};
},
components: {
},
computed: {
},
methods: {
onChangeTab(tab, event){
console.log(tab, event);
this.getMainData();
},
getMainData(){
request({
// url: `/business/dcBatchFunctionsJobGroup`,
url: `/perceivedEvents/warning/perceivedEventsList`,
method: "GET",
params:{}
})
.then((result) => {
if (result.code != 200) return;
console.log( result.data , "刚发的刚发的发多少++++");
})
}
}
};
</script>
<style lang="scss" scoped>
.warning_list{
}
</style>