(this.webpackJsonp=this.webpackJsonp||[]).push([[146],{"093b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n("cDcd"),a=f(l),r=n("spEH"),u=f(n("ess8")),i=f(n("rzEP")),o=n("eO8H"),c=f(n("CnBM")),d=f(n("HUFq"));function f(e){return e&&e.__esModule?e:{default:e}}var s=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(116)]).then(n.t.bind(null,"Smcf",7))},loading:d.default}),m=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(71)]).then(n.t.bind(null,"5DC0",7))},loading:d.default}),p=(0,c.default)({loader:function(){return Promise.all([n.e(5),n.e(4),n.e(10),n.e(30),n.e(111)]).then(n.t.bind(null,"4k9F",7))},loading:d.default}),g=(0,c.default)({loader:function(){return n.e(179).then(n.t.bind(null,"gSX0",7))},loading:d.default});t.default=function(e){var t=e.location.pathname,n=e.match.params.OIdentifier,c=e.organizeDetail;(0,l.useEffect)((function(){if(c){var e=c.nickname;document.title="组织设置-"+e}}),[c]);var d=function(e){var t=0;return e==="/"+n+"/setting/member"?t=1:e==="/"+n+"/setting/group"?t=2:e==="/"+n+"/setting/hooks"&&(t=3),t}(t),f={list:[{name:"基本设置",icon:"icon-base",href:"/"+n+"/setting"},{name:"组织成员管理",icon:"icon-zuzhichengyuan",href:"/"+n+"/setting/member"},{name:"组织团队管理",icon:"icon-zuzhixiangmu",href:"/"+n+"/setting/group"}],active:d};return a.default.createElement(r.Box,null,a.default.createElement(r.Short,null,a.default.createElement(i.default,{header:a.default.createElement(u.default,null,"组织设置"),nav:f})),a.default.createElement(r.Long,null,a.default.createElement(r.Gap,null,a.default.createElement("div",{style:{border:"1px solid #eee"}},a.default.createElement(o.Switch,null,a.default.createElement(o.Route,{path:"/:OIdentifier/setting/hooks",render:function(){return a.default.createElement(g,e)}}),a.default.createElement(o.Route,{path:"/:OIdentifier/setting/group",render:function(){return a.default.createElement(s,e)}}),a.default.createElement(o.Route,{path:"/:OIdentifier/setting/member",render:function(){return a.default.createElement(m,e)}}),a.default.createElement(o.Route,{path:"/:OIdentifier/setting",render:function(){return a.default.createElement(p,e)}}))))))}},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,a,r=(l=["{\n  background-color:#fff;\n  padding:20px 30px;\n  border-bottom:1px solid #eee;\n  font-size:18px;\n  color:#333;\n  display:flex;\n  justify-content: space-between;\n  align-items:center;\n}"],a=["{\n  background-color:#fff;\n  padding:20px 30px;\n  border-bottom:1px solid #eee;\n  font-size:18px;\n  color:#333;\n  display:flex;\n  justify-content: space-between;\n  align-items:center;\n}"],Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(a)}}))),u=i(n("cDcd"));function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n("vOnD")).default.div(r);t.default=function(e){var t=e.children;return u.default.createElement(o,null,t)}},rzEP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,a=(l=n("cDcd"))&&l.__esModule?l:{default:l},r=n("eO8H");t.default=function(e){var t=e.header,n=e.nav;return a.default.createElement("ul",{className:"list-l-Menu"},t,n&&n.list&&n.list.length>0?n.list.map((function(e,t){return a.default.createElement("li",{key:t,className:n.active===t?"active":""},a.default.createElement("p",null,a.default.createElement(r.Link,{to:e.href},a.default.createElement("i",{className:"iconfont "+(e.icon||"icon-huabanfuben")+" font-18 mr10"}),e.name)))})):"")}}}]);