<template>
<div class="main-contain">
  <div class="position">
    <bread-crumb :crumbs='crumbs'></bread-crumb>
        <!-- <router-link to="/role/admin/create">
          <el-button type="primary" size="small" icon="el-icon-circle-plus-outline" style="float:right;">保存</el-button>
        </router-link> -->
  </div>
    <div class="app-container">
        <edit-admin-info :admin_id="admin_id"></edit-admin-info>
    </div>
</div>
</template>

<script>
import EditAdminInfo from './components/EditAdminInfo.vue'
import BreadCrumb from "@/xt_pages/components/bread-crumb";

export default {
    name: 'EditAdmin',
    components: {
        EditAdminInfo,
        BreadCrumb
    },
    data() {
        return {
            crumbs:[
                {path:false, name:'权限管理'},
                {path:false, name:'用户管理'},
                {path:false, name:'编辑用户信息'},
            ],
            admin_id: 0
        }
    },
    created() {
        var id = parseInt(this.$route.query.id)
        this.admin_id = id
    },
}
</script>
