forgeplus/public/react/build/static/js/109.dee4a51a.chunk.js

1 line
3.4 KiB
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[109],{"093b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=f(n("q1tI")),a=n("spEH"),r=f(n("ess8")),u=f(n("rzEP")),i=n("eO8H"),o=f(n("CnBM")),d=f(n("HUFq"));function f(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(83)]).then(n.t.bind(null,"Smcf",7))},loading:d.default}),s=(0,o.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(43)]).then(n.t.bind(null,"5DC0",7))},loading:d.default}),m=(0,o.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(22),n.e(76)]).then(n.t.bind(null,"4k9F",7))},loading:d.default}),p=(0,o.default)({loader:function(){return n.e(136).then(n.t.bind(null,"gSX0",7))},loading:d.default});t.default=function(e){var t=e.location.pathname,n=e.match.params.OIdentifier;var o=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),d={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:o};return l.default.createElement(a.Box,null,l.default.createElement(a.Short,null,l.default.createElement(u.default,{header:l.default.createElement(r.default,null,"组织设置"),nav:d})),l.default.createElement(a.Long,null,l.default.createElement(a.Gap,null,l.default.createElement("div",{style:{border:"1px solid #eee"}},l.default.createElement(i.Switch,null,l.default.createElement(i.Route,{path:"/:OIdentifier/setting/hooks",render:function(){return l.default.createElement(p,e)}}),l.default.createElement(i.Route,{path:"/:OIdentifier/setting/group",render:function(){return l.default.createElement(c,e)}}),l.default.createElement(i.Route,{path:"/:OIdentifier/setting/member",render:function(){return l.default.createElement(s,e)}}),l.default.createElement(i.Route,{path:"/:OIdentifier/setting",render:function(){return l.default.createElement(m,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:16px;\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:16px;\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("q1tI"));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=n("q1tI"),r=(l=a)&&l.__esModule?l:{default:l},u=n("eO8H");t.default=function(e){var t=e.header,n=e.nav;return r.default.createElement("ul",{className:"list-l-Menu"},t,n&&n.list&&n.list.length>0?n.list.map((function(e,t){return r.default.createElement("li",{key:t,className:n.active===t?"active":""},r.default.createElement("p",null,r.default.createElement(u.Link,{to:e.href},r.default.createElement("i",{className:"iconfont "+(e.icon||"icon-huabanfuben")+" font-18 mr10"}),e.name)))})):"")}}}]);