'超算开源项目首页-样式细节调整'

This commit is contained in:
caishi 2026-06-09 09:42:43 +08:00
commit 45beeb4552
84 changed files with 87 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[126],{"0X2M":function(t,e,a){"use strict";var n=a("Q3sF"),o=a("xcSo"),i=Array.prototype;t.exports=function(t){var e=t.lastIndexOf;return t===i||n(i,t)&&e===i.lastIndexOf?o:e}},BfIq:function(t,e,a){t.exports=a("k2Gq")},MW1W:function(t,e,a){"use strict";a.r(e);var n=a("EcSs"),o=a.n(n),i=(a("+L6B"),a("2/Rp")),r=(a("miYZ"),a("tsqr")),c=a("zLi2"),s=a.n(c),l=a("BfIq"),u=a.n(l),d=a("cDcd"),m=a.n(d),f=a("jKe7"),b=a("2INN"),g=a("CnBM"),p=a.n(g),v=a("HUFq"),E=a("2iEm"),h=a("5A3O"),x=a("spEH"),y=(a("ifVa"),a("m/JD")),B=p()({loader:function(){return Promise.all([a.e(2),a.e(3),a.e(4),a.e(5),a.e(81)]).then(a.bind(null,"ygQT"))},loading:v.a}),O=p()({loader:function(){return a.e(128).then(a.bind(null,"CdhJ"))},loading:v.a}),I=p()({loader:function(){return a.e(145).then(a.bind(null,"IlXg"))},loading:v.a}),j=p()({loader:function(){return Promise.all([a.e(4),a.e(6),a.e(122)]).then(a.bind(null,"8MPT"))},loading:v.a});e.default=Object(h.a)((function(t){var e=t.match.params.id,a=t.current_user,n=t.location.pathname,c=t.history,l=Object(d.useState)(void 0),g=s()(l,2),p=g[0],v=g[1],h=Object(d.useState)(void 0),N=s()(h,2),_=N[0],D=N[1];return Object(d.useEffect)((function(){Object(y.l)({user_id:a&&a.user_id,bot_id:e}).then((function(t){if(t&&200===t.code){var e=t.data.bot_output_vo.bot_name;document.title="".concat(e,"-Bot开发者配置"),D(t.data.bot_output_vo)}else t&&500===t.code&&(r.a.error("您没有权限访问该bot"),c.push("/settings/mybot/configuration"))}))}),[p]),m.a.createElement("div",{className:"configurateBotBox"},m.a.createElement("div",{className:"configurateBotHead mb30"},m.a.createElement("span",{className:"font-18 configurateBotTitle"},"Bot开发者配置"),m.a.createElement(i.a,{style:{width:"53px",padding:"0"},className:"grayBorBut"},m.a.createElement(E.a,{to:"/settings/mybot/configuration"},"返回"))),m.a.createElement(x.g,null,m.a.createElement("div",{className:"leftBox mr30"},m.a.createElement(E.a,{to:"/settings/mybot/configuration/".concat(e,"/basic"),className:-1===u()(n).call(n,"/jurisdiction")&&-1===u()(n).call(n,"/advanced")?"active itemBox":"itemBox"},"基本信息"),m.a.createElement(E.a,{to:"/settings/mybot/configuration/".concat(e,"/jurisdiction"),className:u()(n).call(n,"/jurisdiction")>-1?"active itemBox":"itemBox"},"权限&订阅"),m.a.createElement(E.a,{to:"/settings/mybot/configuration/".concat(e,"/advanced"),className:u()(n).call(n,"/advanced")>-1?"active itemBox":"itemBox"},"高级选项")),m.a.createElement(f.a,null,m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id/advanced/putaway",render:function(e){return m.a.createElement(j,o()({},t,e,{botDetail:_,setReload:v}))}}),m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id/advanced/putaway/edit",render:function(e){return m.a.createElement(j,o()({},t,e,{botDetail:_,setReload:v}))}}),m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id/basic",render:function(e){return m.a.createElement(B,o()({},t,e,{botDetail:_,setReload:v}))}}),m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id/jurisdiction",render:function(e){return m.a.createElement(O,o()({},t,e,{botDetail:_,setReload:v}))}}),m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id/advanced",render:function(e){return m.a.createElement(I,o()({},t,e,{botDetail:_,setReload:v}))}}),m.a.createElement(b.a,{path:"/settings/mybot/configuration/:id",render:function(e){return m.a.createElement(B,o()({},t,e,{botDetail:_,setReload:v}))}}))))}))},OG05:function(t,e,a){"use strict";var n=a("pevS"),o=a("hVCs");n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},hVCs:function(t,e,a){"use strict";var n=a("oLk2"),o=a("pCEo"),i=a("x9K+"),r=a("x08Q"),c=a("n2Hk"),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,d=c("lastIndexOf"),m=u||!d;t.exports=m?function(t){if(u)return n(l,this,arguments)||0;var e=o(this),a=r(e);if(0===a)return-1;var c=a-1;for(arguments.length>1&&(c=s(c,i(arguments[1]))),c<0&&(c=a+c);c>=0;c--)if(c in e&&e[c]===t)return c||0;return-1}:l},ifVa:function(t,e,a){},k2Gq:function(t,e,a){"use strict";var n=a("0X2M");t.exports=n},xcSo:function(t,e,a){"use strict";a("OG05");var n=a("wY6U");t.exports=n("Array","lastIndexOf")}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[188],{IFDV:function(e,t,n){"use strict";t.a=n.p+"static/media/devops.39983f5b.png"},"cuo/":function(e,t,n){"use strict";n.r(t);var a=n("zLi2"),o=n.n(a),i=n("o+MX"),r=n.n(i),c=n("cDcd"),l=n.n(c),u=n("spEH"),d=(n("y8uv"),n("IFDV")),s=n("CnBM"),m=n.n(s),f=n("HUFq"),p=n("vDqi"),v=n.n(p);m()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(22),n.e(187)]).then(n.bind(null,"lRUx"))},loading:f.a}),m()({loader:function(){return Promise.all([n.e(13),n.e(27),n.e(201)]).then(n.bind(null,"JtPb"))},loading:f.a}),m()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(22)]).then(n.bind(null,"Jwem"))},loading:f.a}),m()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(79)]).then(n.bind(null,"t8ff"))},loading:f.a}),m()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(13),n.e(27),n.e(82)]).then(n.bind(null,"ZYHo"))},loading:f.a}),m()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(72)]).then(n.bind(null,"ZxKT"))},loading:f.a}),t.default=function(e){var t,n=e.isManager,a=e.project,i=e.projectDetail,s=e.match.params,m=s.projectsId,f=s.owner,p=Object(c.useState)(void 0),h=o()(p,2),g=h[0],b=h[1];function E(e){if(e&&e.data&&"string"==typeof e.data){var t=JSON.parse(e.data);document.querySelector("#devopsIframe")&&(document.querySelector("#devopsIframe").height=t.height)}}return Object(c.useEffect)((function(){if(i){var e,t=i.author,n=i.name;document.title=r()(e="引擎-".concat(t.name,"/")).call(e,n)}}),[i]),Object(c.useEffect)((function(){var e,t=r()(e="/".concat(f,"/")).call(e,m,"/simple.json");v.a.get(t).then((function(e){e&&e.data&&e.data.jianmu_devops&&b(encodeURIComponent(e.data.jianmu_devops))}))}),[]),Object(c.useEffect)((function(){return window.addEventListener("message",E,!1),function(){window.removeEventListener("message",E,!1)}})),l.a.createElement(u.r,{className:"opsPanel ".concat(n?"main":"")},g&&a&&n&&l.a.createElement("iframe",{title:"devopsIframe",src:r()(t="".concat(a.jianmu_devops_url,"/oauth2/authorize?code=")).call(t,g),id:"devopsIframe",frameBorder:"0",name:"devopsIframe",width:"100%",onLoad:function(){try{var e=document.getElementById("devopsIframe");e.contentDocument&&(e.height=e.contentDocument.querySelector(".el-main").clientHeight+260)}catch(e){}},height:"auto"}),!n&&l.a.createElement("div",{className:"nullJurisdictionBox"},l.a.createElement("div",{className:"jurTil font-16"},"引擎配置"),l.a.createElement("div",{className:"jurCont mt25"},l.a.createElement("img",{src:d.a,alt:"",width:110}),l.a.createElement("div",{className:"font-18 mt30"},"暂无权限,仅仓库管理员可访问"))))}},y8uv:function(e,t,n){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[226],{"CSm+":function(e,a,t){"use strict";t.r(a);var n=t("EcSs"),c=t.n(n),r=t("zLi2"),l=t.n(r),i=t("ZbhI"),o=t.n(i),s=t("o+MX"),m=t.n(s),u=t("cDcd"),d=t.n(u),f=t("2iEm"),E=t("jKe7"),b=t("2INN"),p=t("CnBM"),g=t.n(p),h=t("HUFq"),v=t("sYIF"),N=t("eGzb"),O=t("vDqi"),I=t.n(O),j=(t("VUSe"),g()({loader:function(){return Promise.all([t.e(0),t.e(7),t.e(146)]).then(t.bind(null,"BX1b"))},loading:h.a})),z=g()({loader:function(){return Promise.all([t.e(0),t.e(175)]).then(t.bind(null,"bKeb"))},loading:h.a}),D=g()({loader:function(){return Promise.all([t.e(0),t.e(160)]).then(t.bind(null,"yvJ0"))},loading:h.a}),w=(g()({loader:function(){return Promise.all([t.e(0),t.e(3),t.e(28)]).then(t.bind(null,"wZuH"))},loading:h.a}),g()({loader:function(){return t.e(161).then(t.bind(null,"093b"))},loading:h.a})),k=g()({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(80)]).then(t.bind(null,"cMND"))},loading:h.a});a.default=function(e){var a=e.match.params.OIdentifier,t=e.location.pathname,n=e.enterpriseOpened,r=Object(u.useState)(void 0),i=l()(r,2),s=i[0],p=i[1],g=Object(u.useState)(!0),h=l()(g,2),O=(h[0],h[1]),_=Object(u.useState)(!1),S=l()(_,2),y=S[0],B=S[1];function P(e,a){var t=s;t.name=e,t.description=a,p(t)}return Object(u.useEffect)((function(){t&&(o()(t).call(t,"/".concat(a,"/setting"))>-1?(O(!1),s&&!s.is_admin&&e.history.push("/nopage")):O(!0),o()(t).call(t,"/".concat(a,"/teams"))>-1||o()(t).call(t,"/".concat(a,"/members"))>-1?B(!0):B(!1))}),[t,s]),Object(u.useEffect)((function(){var e,t;a&&(t="/organizations/".concat(e=a,".json"),I.a.get(t).then((function(a){if(a&&a.data){var t;p(a.data);var n=m()(t="".concat(a.data.nickname,",")).call(t,e,","),c=a.data.nickname+"("+e+") "+a.data.description;Object(v.w)(n,c,c,"/".concat(e),e)}})).catch((function(e){})))}),[a]),d.a.createElement("div",{className:"teamDetail mb50"},s&&d.a.createElement(N.a,{src:"/".concat(s.name),title:s.nickname,desc:!y&&s.description,img:s.avatar_url,rightBtn:y&&!n&&d.a.createElement("span",{className:"subNavs"},d.a.createElement(f.a,{to:"/".concat(a,"/members"),className:t==="/".concat(a,"/members")?"active":""},d.a.createElement("span",null,"组织成员"),s.num_users&&d.a.createElement("lable",null,s.num_users)),d.a.createElement(f.a,{to:"/".concat(a,"/teams"),className:t==="/".concat(a,"/teams")?"active":""},d.a.createElement("span",null,"组织团队"),s.num_teams&&d.a.createElement("lable",null,s.num_teams))),bottomInfos:!y&&d.a.createElement("div",null,s.location&&d.a.createElement("span",{className:"color-grey-6"},d.a.createElement("i",{className:"iconfont icon-weizhi mr3 font-16 color-grey-6"}),s.location),s.website&&d.a.createElement("a",{href:s.website,target:"_blank",className:"ml20 color-grey-6"},d.a.createElement("i",{className:"iconfont icon-lianjie mr3 font-14"}),s.website))}),d.a.createElement(E.a,null,d.a.createElement(b.a,{path:"/:OIdentifier/teams/:groupId",render:function(a){return d.a.createElement(j,c()({},e,a,{organizeDetail:s}))}}),d.a.createElement(b.a,{path:"/:OIdentifier/members",render:function(a){return d.a.createElement(D,c()({},e,a,{organizeDetail:s}))}}),d.a.createElement(b.a,{path:"/:OIdentifier/teams",render:function(a){return d.a.createElement(z,c()({},e,a,{organizeDetail:s}))}}),d.a.createElement(b.a,{path:"/:OIdentifier/setting",render:function(a){return d.a.createElement(w,c()({},e,a,{organizeDetail:s,updateFunc:P,enterpriseOpened:n}))}}),d.a.createElement(b.a,{path:"/:OIdentifier/enterprise",render:function(a){return d.a.createElement(k,c()({},e,a,{organizeDetail:s}))}})))}},eGzb:function(e,a,t){"use strict";var n=t("cDcd"),c=t.n(n),r=t("sYIF"),l=t("2iEm");t("KkuB"),a.a=function(e){var a=e.img,t=e.title,n=e.desc,i=e.rightBtn,o=e.src,s=e.bottomInfos;return c.a.createElement("div",{className:"cards"},a&&c.a.createElement("div",{className:"img"},c.a.createElement("img",{src:Object(r.i)("/".concat(a)),alt:""})),c.a.createElement("div",{className:"content"},c.a.createElement("p",{className:"titles"},c.a.createElement(l.a,{to:o},t),i),c.a.createElement("div",{className:"desc"},n),s))}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[244],{pDv5:function(e,t,a){"use strict";a.r(t);var c=a("zLi2"),n=a.n(c),s=(a("5NDa"),a("5rEg")),l=a("FLGM"),r=a.n(l),i=a("o+MX"),o=a.n(i),m=a("cDcd"),d=a.n(m),u=a("2iEm"),p=(a("c2x/"),a("TxSN")),h=a("2CTR"),E=s.a.Search;t.default=function(e){var t=e.match.params.deptId,a=e.id,c=(e.temp,e.history,e.role,e.sectionResourceTitle,Object(m.useState)(void 0)),s=n()(c,2),l=s[0],i=s[1],f=Object(m.useState)(void 0),N=n()(f,2),x=N[0],b=N[1];return Object(m.useEffect)((function(){a&&Object(p.A)({id:a,search:x}).then((function(e){e&&e.data&&i(e.data.rows)})).catch((function(e){}))}),[a,x]),d.a.createElement("div",{className:"zone_source_box"},d.a.createElement("div",{className:"source_h"},d.a.createElement("p",{className:"in_title"},"数据集"),d.a.createElement("div",{style:{marginTop:"30px",textAlign:"center"},className:"titleButBox"},d.a.createElement(E,{placeholder:"请输入数据集名称",onSearch:function(e){b(e)},style:{width:"645px",borderColor:"#fff",boxShadow:"0px 0px 10px rgba(61, 85, 183, 0.1)"},size:"large",className:"source_search_box",allowClear:!0,enterButton:d.a.createElement("span",null,d.a.createElement("i",{className:"iconfont icon-sousuo5 font-15"}),"搜索")}))),d.a.createElement("div",{className:"sources datasetList"},l&&l.length>0?r()(l).call(l,(function(e,a){var c;return d.a.createElement("li",null,d.a.createElement(u.a,{to:o()(c="/zone/".concat(t,"/dataset/")).call(c,e.id)},d.a.createElement("p",{className:"titile task-hide"},e.dataSetName),d.a.createElement("p",{className:"task-hide-2 desc"},e.dataSetDescription),d.a.createElement("span",{className:"time task-hide"},d.a.createElement("i",{className:"iconfont icon-daimakuicon1 font-14 mr8"}),e.repositoryName)))})):"",l&&0===l.length?d.a.createElement("div",{style:{textAlign:"center",width:"100%"}},d.a.createElement(h.a,{_html:"暂无数据"})):""))}}}]);

View File

@ -0,0 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[245],{pDv5:function(e,t,a){"use strict";a.r(t);var c=a("zLi2"),n=a.n(c),s=(a("5NDa"),a("5rEg")),l=a("FLGM"),r=a.n(l),i=a("o+MX"),o=a.n(i),m=a("cDcd"),d=a.n(m),u=a("2iEm"),p=(a("c2x/"),a("TxSN")),h=a("2CTR"),E=s.a.Search;t.default=function(e){var t=e.match.params.deptId,a=e.id,c=(e.temp,e.history,e.role,e.sectionResourceTitle,Object(m.useState)(void 0)),s=n()(c,2),l=s[0],i=s[1],f=Object(m.useState)(void 0),N=n()(f,2),x=N[0],b=N[1];return Object(m.useEffect)((function(){a&&Object(p.A)({id:a,search:x}).then((function(e){e&&e.data&&i(e.data.rows)})).catch((function(e){}))}),[a,x]),d.a.createElement("div",{className:"zone_source_box"},d.a.createElement("div",{className:"source_h"},d.a.createElement("p",{className:"in_title"},"数据集"),d.a.createElement("div",{style:{marginTop:"30px",textAlign:"center"},className:"titleButBox"},d.a.createElement(E,{placeholder:"请输入数据集名称",onSearch:function(e){b(e)},style:{width:"645px",borderColor:"#fff",boxShadow:"0px 0px 10px rgba(61, 85, 183, 0.1)"},size:"large",className:"source_search_box",allowClear:!0,enterButton:d.a.createElement("span",null,d.a.createElement("i",{className:"iconfont icon-sousuo5 font-15"}),"搜索")}))),d.a.createElement("div",{className:"sources datasetList"},l&&l.length>0?r()(l).call(l,(function(e,a){var c;return d.a.createElement("li",null,d.a.createElement(u.a,{to:o()(c="/zone/".concat(t,"/dataset/")).call(c,e.id)},d.a.createElement("p",{className:"titile task-hide"},e.dataSetName),d.a.createElement("p",{className:"task-hide-2 desc"},e.dataSetDescription),d.a.createElement("span",{className:"time task-hide"},d.a.createElement("i",{className:"iconfont icon-daimakuicon1 font-14 mr8"}),e.repositoryName)))})):"",l&&0===l.length?d.a.createElement("div",{style:{textAlign:"center",width:"100%"}},d.a.createElement(h.a,{_html:"暂无数据"})):""))}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
/*! For license information please see main.2ffd1ffb.chunk.js.LICENSE.txt */

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
/*! For license information please see main.335b173b.chunk.js.LICENSE.txt */

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
/*! For license information please see main.467af37d.chunk.js.LICENSE.txt */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long