webpackJsonp([20],{DX4J:function(t,e){},VqB7:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("3Xzz"),l=(a("Mk6G"),a("3E4D"),a("Ch4/"),a("PI0u"),a("P9l9"),{name:"setChildAdmin",data:function(){return{navpath:[{name:"首页",path:"/index",relocation:!0},{name:"设置",path:"/companyAddress"},{name:"设置子管理员",path:""}],boxHeight:window.screen.availHeight+"px",activeId:1,adminRole:[{id:"1",name:"超级管理员"},{id:"2",name:"企业管理员"}],roleRightObj:{name:"超级管理员",tip:"企业的创建者，拥有企业的所有权限，只会有一个",auth:1},tableData:[{id:1,name:"张三",phone:"13333333333",depart:"技术部"}]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectRole:function(t){this.activeId=t},postRole:function(){},toAddRole:function(){this.changeRoute("/addAdmin")}},mounted:function(){this.boxHeight=window.screen.availHeight-430+"px"},components:{navCrumb:i.a}}),n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"setChildAdmin-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"setChildAdmin-wrap-body flex"},[a("div",{staticClass:"setChildAdmin-wrap-left w-260",style:{height:t.boxHeight}},[a("div",{staticClass:"text-center"},[a("el-button",[t._v("新增管理员角色")])],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("ul",t._l(t.adminRole,function(e,i){return a("li",{key:i,class:["role-cell",e.id==t.activeId?"role-active":""],on:{click:function(a){a.stopPropagation(),t.selectRole(e.id)}}},[a("i",{staticClass:"iconfont icon-lizhi p-r-6"}),t._v(t._s(e.name))])}))])]),t._v(" "),a("div",{staticClass:"setChildAdmin-wrap-right box-sizing"},[a("div",{staticClass:"role-title flex flex-between"},[a("span",{staticClass:"font-20 color-303133"},[t._v(t._s(t.roleRightObj.name))]),0==t.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff"},[t._v("查看权限")]):t._e(),1==t.roleRightObj.auth?a("span",{staticClass:"font-14 color-1890ff"},[t._v("编辑权限")]):t._e()]),t._v(" "),a("div",{staticClass:"role-tip m-t-27 m-b-25"},[a("el-alert",{attrs:{title:t.roleRightObj.tip,type:"info",closable:!1,"show-icon":""}})],1),t._v(" "),a("div",{staticClass:"role-add"},[a("el-button",{attrs:{type:"primary"},on:{click:t.toAddRole}},[t._v("添加成员")])],1),t._v(" "),a("div",{staticClass:"role-table "},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{prop:"name",label:"姓名"}}),t._v(" "),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"depart",label:"部门"}})],1)],1)])])])]),t._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var s=a("VU/8")(l,n,!1,function(t){a("DX4J")},"data-v-482a3b50",null);e.default=s.exports}});
//# sourceMappingURL=20.efa0a2e8e5ceaa765966.js.map