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.
25 lines
666 B
25 lines
666 B
<template> |
|
<basic-container> |
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
<el-tab-pane label="用水定额" name="1"></el-tab-pane> |
|
<el-tab-pane label="用电定额" name="2"></el-tab-pane> |
|
</el-tabs> |
|
<waterQuota v-if="activeName == '1'"></waterQuota> |
|
<electricityQuota v-if="activeName == '2'"></electricityQuota> |
|
</basic-container> |
|
</template> |
|
<script> |
|
import waterQuota from "./components/waterQuota.vue"; |
|
import electricityQuota from "./components/electricityQuota.vue"; |
|
export default { |
|
components: { |
|
waterQuota, |
|
electricityQuota, |
|
}, |
|
data() { |
|
return { |
|
activeName: "1", |
|
}; |
|
}, |
|
}; |
|
</script>
|
|
|