| | |
| | | |
| | | <!-- 主要内容 --> |
| | | <div class="content"> |
| | | <SubAccount></SubAccount> |
| | | <div style="padding: 20px;"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane name="account"> |
| | | <span slot="label"><i class="el-icon-s-home"></i> 子账号管理</span> |
| | | <SubAccount></SubAccount> |
| | | </el-tab-pane> |
| | | <el-tab-pane name="point"> |
| | | <span slot="label"><i class="el-icon-s-platform"></i> 登录日志</span> |
| | | <EntryLog></EntryLog> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 页尾 --> |
| | |
| | | |
| | | <script> |
| | | import IndexHeader from "@/components/IndexHeader" |
| | | // import DevList from "@/views/report/components/DevList" |
| | | import SubAccount from "@/views/personalCenter/components/SubAccount.vue" |
| | | // import SettingBox from "@/views/report/components/SettingBox" |
| | | import EntryLog from "./entryLog.vue" |
| | | |
| | | import Footer from "@/components/Footer" |
| | | |
| | | export default { |
| | | components: { |
| | | IndexHeader, |
| | | SubAccount |
| | | SubAccount, |
| | | EntryLog |
| | | // SettingBox, |
| | | // Footer |
| | | }, |
| | | data() { |
| | | return { |
| | | activeName: "account" |
| | | } |
| | | }, |
| | | methods: { |
| | | handleClick(tab, event) { |
| | | // console.log(tab, event, this.activeName) |
| | | } |
| | | } |
| | | } |
| | | </script> |