(this.webpackJsonp=this.webpackJsonp||[]).push([[147],{CyMe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t-1?h(!1):h(!0))}),[i]),(0,l.useEffect)((function(){var e;t&&a&&(e="/organizations/"+t+"/teams/"+a+".json",o.default.get(e).then((function(e){e&&e.data&&v(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(c.Link,{to:"/"+t},p&&p.organization&&p.organization.nickname),u.default.createElement("i",{className:"iconfont icon-youjiantou ml3 mr3 font-12 color-grey-9"}),u.default.createElement("span",{className:"color-grey-9"},p?p.nickname:"新建团队")),p&&u.default.createElement(m.default,{src:"/"+t+"/teams/"+a,title:p.nickname||p.name,rightBtn:b&&u.default.createElement("span",{className:"subNavs"},u.default.createElement(c.Link,{to:"/"+t+"/members",className:i==="/"+t+"/members"?"active":""},u.default.createElement("span",null,"组织成员"),p.num_users&&u.default.createElement("lable",null,p.num_users)),u.default.createElement(c.Link,{to:"/"+t+"/teams",className:i==="/"+t+"/teams"?"active":""},u.default.createElement("span",null,"组织团队"),p.num_teams&&u.default.createElement("lable",null,p.num_teams))),desc:!b&&p.description}),u.default.createElement(c.Switch,e,u.default.createElement(c.Route,{path:"/:OIdentifier/teams/:groupId/setting",render:function(t){return u.default.createElement(f,n({},e,t))}})))}},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"),c=a("eO8H");a("KkuB"),t.default=function(e){var t=e.img,a=e.title,n=e.desc,r=e.rightBtn,i=e.src,s=e.bottomInfos;return l.default.createElement("div",{className:"cards"},t&&l.default.createElement("div",{className:"img"},l.default.createElement("img",{src:(0,u.getImageUrl)("/"+t),alt:""})),l.default.createElement("div",{className:"content"},l.default.createElement("p",{className:"titles"},l.default.createElement(c.Link,{to:i},a),r),l.default.createElement("div",{className:"desc"},n),s))}}}]);