p__生态系统首页__方法学库__MethodIndex.78d80ce5.async.js 9.3 KB

1
  1. (self["webpackChunk"]=self["webpackChunk"]||[]).push([[544],{62325:function(e){e.exports={method_wrapper:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-method_wrapper",methodType_title:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_title",methodType_description:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_description",methodType_extra:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_extra",methodType_color:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_color",methodType_list:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_list",methodType_items:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_items",methodType_item:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_item",methodType_itemImg:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemImg",methodType_itemTitBox:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemTitBox",methodType_itemTit:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemTit",extraIcon:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-extraIcon",methodType_itemDes:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemDes",methodType_itemDes_more:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemDes_more",methodType_itemDes_more1:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemDes_more1",methodType_itemDes1:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_itemDes1",methodType_showMore:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-methodType_showMore",carbonIndexBtn:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-carbonIndexBtn",geHangBianSe:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-geHangBianSe",marginWrapper:"antd-pro-pages-\u751f\u6001\u7cfb\u7edf\u9996\u9875-\u65b9\u6cd5\u5b66\u5e93-method-index-marginWrapper"}},53801:function(e,t,o){"use strict";o.d(t,{cw:function(){return n},vO:function(){return d},Ll:function(){return a}});o(67294);var i=o(85893),n="CCER\u65b9\u6cd5\u5b66\u662f\u6307\u7528\u4e8e\u786e\u5b9a\u9879\u76ee\u57fa\u51c6\u7ebf\u3001\u8bba\u8bc1\u989d\u5916\u6027\u3001\u8ba1\u7b97\u51cf\u6392\u91cf\u3001\u5236\u5b9a\u76d1\u6d4b\u8ba1\u5212\u7b49\u7684\u65b9\u6cd5\u6307\u5357\uff0c\u6bcf\u4e2a\u6e29\u5ba4\u6c14\u4f53\u81ea\u613f\u51cf\u6392\u9879\u76ee\u5fc5\u987b\u6709\u5bf9\u5e94\u7684\u65b9\u6cd5\u5b66\u8fdb\u884c\u5f00\u53d1\u3002",d="\u78b3\u666e\u60e0\u5171\u540c\u673a\u5236\u662f\u6307\u79c9\u6301\u51cf\u6e90\u589e\u6c47\u3001\u8de8\u533a\u57df\u8fde\u63a5\u3001\u76f8\u4e92\u8ba4\u53ef\u7684\u7406\u5ff5\uff0c\u901a\u8fc7\u94fe\u63a5\u591a\u5143\u78b3\u666e\u60e0\uff0c\u5e26\u52a8\u5168\u793e\u4f1a\u52a9\u529b\u5b9e\u73b0\u78b3\u8fbe\u5cf0\u78b3\u4e2d\u548c\u76ee\u6807\u7684\u521b\u65b0\u578b\u666e\u60e0\u51cf\u6392\u673a\u5236\u3002 \u78b3\u666e\u60e0\u65b9\u6cd5\u5b66\u662f\u6307\u7528\u4e8e\u786e\u5b9a\u78b3\u666e\u60e0\u57fa\u51c6\u7ebf\u3001\u8bba\u8bc1\u989d\u5916\u6027\u3001\u8ba1\u7b97\u51cf\u6392\u91cf\u3001\u5236\u5b9a\u76d1\u6d4b\u8ba1\u5212\u7b49\u7684\u65b9\u6cd5\u6307\u5357\u3002",s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"source_headerColor"}),(0,i.jsx)("div",{className:"source_headerColor1"}),(0,i.jsx)("div",{className:"source_headerColor2"}),(0,i.jsx)("div",{className:"source_headerColor3"})]}),a=function(e){return(0,i.jsxs)("div",{className:"source_headerWrapper",children:[(0,i.jsx)("span",{className:"source_headerTitle",children:e}),s]})}},72980:function(e,t,o){"use strict";o.r(t);o(58210);var i=o(87240),n=(o(13753),o(60287)),d=(o(5317),o(87555)),s=(o(52222),o(65507)),a=(o(81984),o(82692)),r=(o(33827),o(50190)),m=o(69610),h=o(54941),l=o(81306),c=o(80017),p=o(67294),u=o(62325),v=o.n(u),x=o(53801),y=o(45375),T=o(84484),g=o.n(T),_=o(13245),w=o(85893),f=function(e){(0,l.Z)(o,e);var t=(0,c.Z)(o);function o(e){var i;return(0,m.Z)(this,o),i=t.call(this,e),i.getDataList=function(){var e={domain:window.location.origin};i.setState({loading:!0}),(0,y.U2)("methodology/permit",e).then((function(e){var t=e.data;null===t||void 0===t||t.forEach((function(e){"\u78b3\u666e\u60e0"===e.type&&(e.description=x.vO),"CCER"===e.type&&(e.description=x.cw)})),setTimeout((function(){i.handleShowMore("\u6536\u8d77",t,"all")}),300)})).catch((function(e){i.setState({loading:!1})}))},i.handleShowMore=function(e,t,o){var n=JSON.parse(JSON.stringify(t));n.forEach((function(t){if(t.type===o){var i,n;if("\u6536\u8d77"===e)t.newsList=(null===(i=t.methodTempList)||void 0===i?void 0:i.length)>2?null===(n=t.methodTempList)||void 0===n?void 0:n.slice(0,3):t.methodTempList;else"\u5c55\u5f00"===e&&(t.newsList=t.methodTempList);t.show="\u6536\u8d77"!==e}else{var d,s,a;if(!t.newsList||0===(null===(d=t.newsList)||void 0===d?void 0:d.length))t.newsList=(null===(s=t.methodTempList)||void 0===s?void 0:s.length)>2?null===(a=t.methodTempList)||void 0===a?void 0:a.slice(0,3):t.methodTempList;t.show=!0===t.show}})),i.setState({methodList:n,show:"\u6536\u8d77"!==e,loading:!1})},i.handleShowMoreItem=function(e,t){var o=i.state.methodList;null===o||void 0===o||o.forEach((function(o){var i;o.type===t&&(null===(i=o.newsList)||void 0===i||i.forEach((function(t){t.isShowMore=!!t.isShowMore,t.id===e&&(t.isShowMore=!(null!==t&&void 0!==t&&t.isShowMore))})))})),i.setState({methodList:o})},i.state={show:!1,methodList:[],loading:!1,showType:""},i}return(0,h.Z)(o,[{key:"componentDidMount",value:function(){this.getDataList()}},{key:"render",value:function(){var e=this,t=this.state,o=t.methodList,m=(t.show,t.loading);return(0,w.jsx)("div",{className:v().method_wrapper,children:(0,w.jsxs)(i.Z,{spinning:m,size:"large",children:[0===(null===o||void 0===o?void 0:o.length)&&(0,w.jsx)("div",{style:{textAlign:"center",minHeight:"calc(100vh - 387.2px)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,w.jsx)("img",{src:g()})}),null===o||void 0===o?void 0:o.map((function(t,i){var m,h;return(0,w.jsx)("div",{className:v().geHangBianSe,children:(0,w.jsxs)("div",{className:v().marginWrapper,children:[(0,w.jsx)("div",{className:v().methodType_title,children:t.type}),(0,w.jsx)("div",{className:v().methodType_description,children:t.description}),(0,w.jsx)("div",{className:v().methodType_extra,children:(0,w.jsx)("span",{className:v().methodType_color})}),(0,w.jsx)("div",{className:v().methodType_list,children:(0,w.jsx)(d.Z,{gutter:[36,36],style:{margin:"0 -18px"},children:null===(m=t.newsList)||void 0===m?void 0:m.map((function(o,i){var n,d;return(0,w.jsx)(s.Z,{span:8,className:v().methodType_items,children:(0,w.jsxs)("div",{className:v().methodType_item,children:[(0,w.jsx)("div",{className:v().methodType_itemImg,children:(0,w.jsx)("img",{style:{maxWidth:"100%",minWidth:50},alt:"\u65b9\u6cd5\u5b66\u56fe\u7247",src:window.server+o.image})}),(0,w.jsxs)("div",{className:v().methodType_itemTitBox,children:[(0,w.jsx)("div",{className:v().methodType_itemTit,title:o.name,children:o.name}),(0,w.jsx)(a.Z,{title:"\u4e0b\u8f7d\u65b9\u6cd5\u5b66",children:(0,w.jsx)(r.Z,{type:"cloud-download",className:v().extraIcon,onClick:function(){return(0,_.RU)("".concat(window.server+(null===o||void 0===o?void 0:o.attachment)),"".concat(t.type,"\u65b9\u6cd5\u5b66-").concat(o.attachment),null,"GET")}})})]}),(0,w.jsx)("div",{style:{display:"flex"},children:(0,w.jsxs)("div",{className:"".concat(v().methodType_itemDes," ").concat(o.isShowMore?v().methodType_itemDes1:""),id:"desScroll".concat(o.id),children:[!o.isShowMore&&(null===(n=o.introduction)||void 0===n?void 0:n.length)>115&&(0,w.jsx)("span",{className:v().methodType_itemDes_more,onClick:function(){e.handleShowMoreItem(o.id,t.type)},children:!o.isShowMore&&(null===(d=o.introduction)||void 0===d?void 0:d.length)>115&&"\u66f4\u591a"}),o.introduction,o.isShowMore&&(0,w.jsx)("span",{className:v().methodType_itemDes_more1,onClick:function(){e.handleShowMoreItem(o.id,t.type);var i=document.getElementById("desScroll".concat(o.id));i.scrollTop=0},children:o.isShowMore&&"\u6536\u8d77"})]})})]})},i)}))})}),(null===(h=t.methodTempList)||void 0===h?void 0:h.length)>3&&(0,w.jsx)("div",{className:v().methodType_showMore,children:(0,w.jsx)(n.Z,{className:v().carbonIndexBtn,onClick:function(){return e.handleShowMore(t.show?"\u6536\u8d77":"\u5c55\u5f00",o,t.type)},children:(null===t||void 0===t||!t.show)&&t.methodTempList.length>3?"\u5c55\u5f00\u5168\u90e8".concat(t.methodTempList.length,"\u4e2a\u65b9\u6cd5\u5b66"):"\u6536\u8d77"})})]})},i)}))]})})}}]),o}(p.Component);t["default"]=f},65507:function(e,t,o){"use strict";var i=o(18316);t["Z"]=i.Z},52222:function(e,t,o){"use strict";o(65056),o(86178)},87555:function(e,t,o){"use strict";var i=o(30940);t["Z"]=i.Z},5317:function(e,t,o){"use strict";o(65056),o(86178)},84484:function(e,t,o){e.exports=o.p+"static/noData.0a8d7d5c.png"}}]);