(this.webpackJsonp=this.webpackJsonp||[]).push([[87],{CyMe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,r=!1,l=void 0;try{for(var u,i=e[Symbol.iterator]();!(n=(u=i.next()).done)&&(a.push(u.value),!t||a.length!==t);n=!0);}catch(e){r=!0,l=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=a("q1tI"),u=f(l),i=a("eO8H"),c=f(a("CnBM")),o=f(a("HUFq"));a("VUSe");var s=f(a("vDqi")),d=f(a("eGzb"));function f(e){return e&&e.__esModule?e:{default:e}}var m=(0,c.default)({loader:function(){return Promise.all([a.e(9),a.e(89)]).then(a.t.bind(null,"8Or8",7))},loading:o.default});t.default=function(e){var t=e.match.params.OIdentifier,a=e.match.params.groupId,c=e.location.pathname,o=(0,l.useState)(void 0),f=r(o,2),g=f[0],p=f[1],v=(0,l.useState)(!1),E=r(v,2),h=E[0],b=E[1];return(0,l.useEffect)((function(){c&&(c.indexOf("/organize/"+t+"/group/"+a+"/setting")>-1?b(!1):b(!0))}),[c]),(0,l.useEffect)((function(){var e;t&&a&&(e="/organizations/"+t+"/teams/"+a+".json",s.default.get(e).then((function(e){e&&e.data&&p(e.data)})).catch((function(e){})))}),[t,a]),u.default.createElement("div",{className:"teamDetail",style:{paddingTop:"0px"}},u.default.createElement("div",null,u.default.createElement("i",{className:"iconfont icon-zuobiao mr5"}),u.default.createElement(i.Link,{to:"/organize/"+t},t),u.default.createElement("i",{className:"iconfont icon-youjiantou ml3 mr3 font-12 color-grey-9"}),u.default.createElement("span",{className:"color-grey-9"},g?g.name:"新建团队")),g&&u.default.createElement(d.default,{src:"/organize/"+t+"/group/"+a,title:g.name,rightBtn:h&&u.default.createElement("span",{className:"subNavs"},u.default.createElement(i.Link,{to:"/organize/"+t+"/member",className:c==="/organize/"+t+"/member"?"active":""},u.default.createElement("span",null,"组织成员"),g.num_users&&u.default.createElement("lable",null,g.num_users)),u.default.createElement(i.Link,{to:"/organize/"+t+"/group",className:c==="/organize/"+t+"/group"?"active":""},u.default.createElement("span",null,"组织团队"),g.num_teams&&u.default.createElement("lable",null,g.num_teams))),desc:!h&&g.description}),u.default.createElement(i.Switch,e,u.default.createElement(i.Route,{path:"/organize/:OIdentifier/group/:groupId/setting",render:function(t){return u.default.createElement(m,n({},e,t))}})))}},KkuB:function(e,t,a){},eGzb:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=a("q1tI"),l=(n=r)&&n.__esModule?n:{default:n},u=a("sYIF"),i=a("eO8H");a("KkuB"),t.default=function(e){var t=e.img,a=e.title,n=e.desc,r=e.rightBtn,c=e.src;return l.default.createElement("div",{className:"cards"},t&&l.default.createElement("div",{className:"img"},l.default.createElement("img",{src:(0,u.getImageUrl)("images/"+t),alt:""})),l.default.createElement("div",{className:"content"},l.default.createElement("p",{className:"titles"},l.default.createElement(i.Link,{to:c},a),r),l.default.createElement("div",{className:"desc"},n)))}}}]);