优化前端页面

pull/23/head
smallbun 2023-02-22 01:10:00 +08:00
parent e31cb9796c
commit 8efdb1c3f6
122 changed files with 2828 additions and 2828 deletions

View File

@ -85,7 +85,7 @@ services:
<<: *public-config
container_name: eiam-console
ports:
- 1898:1898
- "1898:1898"
image: eiam-console
restart: always
depends_on:
@ -108,7 +108,7 @@ services:
image: eiam-openapi
restart: always
ports:
- 1988:1988
- "1988:1988"
depends_on:
eiam-es:
condition: service_healthy
@ -127,7 +127,7 @@ services:
image: eiam-portal
restart: always
ports:
- 1989:1989
- "1989:1989"
depends_on:
eiam-es:
condition: service_healthy
@ -146,7 +146,7 @@ services:
image: eiam-synchronizer
restart: always
ports:
- 1986:1986
- "1986:1986"
depends_on:
eiam-es:
condition: service_healthy
@ -159,7 +159,6 @@ services:
networks:
eiam-network:
external: false
name: eiam-network
volumes:
eiam_es_data:
eiam_db_data:

View File

@ -12,7 +12,7 @@ services:
REDIS_HOST: 192.168.56.107
REDIS_PASSWORD: 12345678
ports:
- 1898:1898
- "1898:1898"
image: eiam-console
restart: always
eiam-openapi:
@ -29,7 +29,7 @@ services:
image: eiam-openapi
restart: always
ports:
- 1988:1988
- "1988:1988"
eiam-portal:
build:
context: ./eiam-portal/
@ -44,7 +44,7 @@ services:
image: eiam-portal
restart: always
ports:
- 1989:1989
- "1989:1989"
eiam-synchronizer:
build:
context: ./eiam-synchronizer/
@ -59,4 +59,4 @@ services:
image: eiam-synchronizer
restart: always
ports:
- 1986:1986
- "1986:1986"

View File

@ -15,4 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[60],{34097:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var c=t(79685),u=t(46022),o=t(63342);function s(){var E=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:E})}}}]);
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[578],{97578:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var c=t(79685),u=t(96104),o=t(63342);function s(){var E=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:E})}}}]);

View File

@ -25,10 +25,10 @@
<link rel="shortcut icon" href="/favicon.ico">
<title>企业数字身份管控平台</title>
<link rel="stylesheet" href="/umi.d85528d9.css">
<script src="/framework.040542cd.js"></script>
<script src="/framework.7237f3a8.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/umi.01cfb637.js"></script>
<script src="/umi.709f3198.js"></script>
</body></html>

View File

@ -15,4 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[571],{98546:function(i,n,t){t.r(n);var s=t(38916),a=t(9101),u=t(46022),o=t(63342),e=function(){return(0,o.jsx)(s.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,o.jsx)(a.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=e}}]);
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[571],{19628:function(i,n,t){t.r(n);var s=t(10430),a=t(87101),u=t(96104),o=t(63342),e=function(){return(0,o.jsx)(s.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,o.jsx)(a.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=e}}]);

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

@ -15,5 +15,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[815],{70695:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=["fieldProps","proFieldProps"],p="text",v=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,h);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:p,fieldProps:U,filedConfig:{valueType:p},proFieldProps:B},S))},R=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,O);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:"password",fieldProps:U,proFieldProps:B,filedConfig:{valueType:p}},S))},F=v;F.Password=R,F.displayName="ProFormComponent",y.Z=F},4647:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=function(v,R){var F=v.fieldProps,M=v.proFieldProps,o=(0,u.Z)(v,h);return(0,j.jsx)(f.Z,(0,T.Z)({ref:R,valueType:"textarea",fieldProps:F,proFieldProps:M},o))};y.Z=W.forwardRef(O)},39068:function(K,y,r){r.r(y),r.d(y,{default:function(){return or}});var T=r(84019),u=r.n(T),W=r(32061),f=r.n(W),j=r(76091),h=r.n(j),O=r(7863),p=r.n(O),v=r(9715),R=r(75109),F=r(43637),M=r(80591),o=r(55222),U=r(21722),B=r(95926),S=r(9101),$=r(41653),b=r(44659),V=r(98346),G=r(46673),L=r(79685),Q=r(7206),X=r(69072),z=r(70695),Y=r(4647),H=r(82769),J=r(63929),e=r(63342),k={labelCol:{span:4},wrapperCol:{span:19}},w=function(i){var E=(0,J.Z)(),l=p()(E,1),A=l[0],m=i.visible,s=i.onFinish,I=i.onCancel,d=(0,L.useState)(!1),t=p()(d,2),a=t[0],c=t[1];return(0,L.useEffect)(function(){m&&A.setFieldsValue({code:(0,Q.MX)(9)})}),(0,e.jsx)(X.Y,h()(h()({title:"\u65B0\u5EFA\u7528\u6237\u7EC4",form:A,scrollToFirstError:!0},k),{},{layout:"horizontal",labelAlign:"right",preserve:!1,width:"500px",open:m,modalProps:{maskClosable:!0,destroyOnClose:!0,onCancel:I},onFinish:function(){var g=f()(u()().mark(function P(D){var n;return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return c(!0),Z.next=3,s(D);case 3:return n=Z.sent,c(!1),Z.abrupt("return",!!n);case 6:case"end":return Z.stop()}},P)}));return function(P){return g.apply(this,arguments)}}(),children:(0,e.jsxs)(H.Z,{spinning:a,children:[(0,e.jsx)(z.Z,{name:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u540D\u79F0",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(z.Z,{name:"code",label:"\u7F16\u7801",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u7F16\u7801",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u7F16\u7801\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(Y.Z,{name:"remark",fieldProps:{rows:2,maxLength:20,showCount:!0},placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8\u4FE1\u606F",label:"\u5907\u6CE8"})]})}))},q=r(39620),x=r.n(q),_=r(69567),rr=r(53010),er=_.ZP.ConfigContext;function ar(){var i=(0,L.useContext)(er),E=i.getPrefixCls,l=".".concat(E()),A=(0,rr.l)(function(m){var s,I=m.token;return s={},x()(s,".user-group-remark",{boxSizing:"border-box",width:"100%",margin:"0 !important",color:"#00000073",fontSize:"14px"}),x()(s,"".concat(l,"-pro-card-title"),{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",alignItems:"center",display:"inline-flex"}),x()(s,"".concat(l,"-pro-card-extra"),{flex:"none"}),x()(s,"".concat(l,"-pro-card-actions"),x()({},`> li,
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[815],{61872:function(K,y,r){var T=r(86855),u=r(5375),W=r(79685),f=r(4847),j=r(63342),h=["fieldProps","proFieldProps"],O=["fieldProps","proFieldProps"],p="text",v=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,h);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:p,fieldProps:U,filedConfig:{valueType:p},proFieldProps:B},S))},R=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,O);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:"password",fieldProps:U,proFieldProps:B,filedConfig:{valueType:p}},S))},F=v;F.Password=R,F.displayName="ProFormComponent",y.Z=F},63820:function(K,y,r){var T=r(86855),u=r(5375),W=r(79685),f=r(4847),j=r(63342),h=["fieldProps","proFieldProps"],O=function(v,R){var F=v.fieldProps,M=v.proFieldProps,o=(0,u.Z)(v,h);return(0,j.jsx)(f.Z,(0,T.Z)({ref:R,valueType:"textarea",fieldProps:F,proFieldProps:M},o))};y.Z=W.forwardRef(O)},74589:function(K,y,r){r.r(y),r.d(y,{default:function(){return or}});var T=r(84019),u=r.n(T),W=r(32061),f=r.n(W),j=r(76091),h=r.n(j),O=r(7863),p=r.n(O),v=r(25830),R=r(59251),F=r(43637),M=r(80591),o=r(90649),U=r(91498),B=r(70453),S=r(87101),$=r(41394),b=r(50673),V=r(75098),G=r(92479),L=r(79685),Q=r(74958),X=r(55178),z=r(61872),Y=r(63820),H=r(81262),J=r(60703),e=r(63342),k={labelCol:{span:4},wrapperCol:{span:19}},w=function(i){var E=(0,J.Z)(),l=p()(E,1),A=l[0],m=i.visible,s=i.onFinish,I=i.onCancel,d=(0,L.useState)(!1),t=p()(d,2),a=t[0],c=t[1];return(0,L.useEffect)(function(){m&&A.setFieldsValue({code:(0,Q.MX)(9)})}),(0,e.jsx)(X.Y,h()(h()({title:"\u65B0\u5EFA\u7528\u6237\u7EC4",form:A,scrollToFirstError:!0},k),{},{layout:"horizontal",labelAlign:"right",preserve:!1,width:"500px",open:m,modalProps:{maskClosable:!0,destroyOnClose:!0,onCancel:I},onFinish:function(){var g=f()(u()().mark(function P(D){var n;return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return c(!0),Z.next=3,s(D);case 3:return n=Z.sent,c(!1),Z.abrupt("return",!!n);case 6:case"end":return Z.stop()}},P)}));return function(P){return g.apply(this,arguments)}}(),children:(0,e.jsxs)(H.Z,{spinning:a,children:[(0,e.jsx)(z.Z,{name:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u540D\u79F0",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(z.Z,{name:"code",label:"\u7F16\u7801",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u7F16\u7801",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u7F16\u7801\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(Y.Z,{name:"remark",fieldProps:{rows:2,maxLength:20,showCount:!0},placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8\u4FE1\u606F",label:"\u5907\u6CE8"})]})}))},q=r(39620),x=r.n(q),_=r(76505),rr=r(18639),er=_.ZP.ConfigContext;function ar(){var i=(0,L.useContext)(er),E=i.getPrefixCls,l=".".concat(E()),A=(0,rr.l)(function(m){var s,I=m.token;return s={},x()(s,".user-group-remark",{boxSizing:"border-box",width:"100%",margin:"0 !important",color:"#00000073",fontSize:"14px"}),x()(s,"".concat(l,"-pro-card-title"),{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",alignItems:"center",display:"inline-flex"}),x()(s,"".concat(l,"-pro-card-extra"),{flex:"none"}),x()(s,"".concat(l,"-pro-card-actions"),x()({},`> li,
`.concat(l,"-space-item"),{margin:"5px 0"})),x()(s,"".concat(l,"-avatar"),{width:"32px !important",height:"32px !important",marginRight:"10px"}),x()(s,"".concat(l,"-avatar-circle"),{verticalAlign:"middle",backgroundColor:I.colorPrimary}),s});return{className:A}}var nr=r(68591),tr=r.n(nr),sr=B.Z.Paragraph,N=function(E){R.m.push("/account/user-group/detail?id=".concat(E,"&tab=member"))},ur=function(){var i=(0,L.useRef)(),E=(0,L.useState)(!1),l=p()(E,2),A=l[0],m=l[1],s=ar(),I=s.className;return(0,e.jsx)("div",{className:tr()(I),children:(0,e.jsxs)(o._z,{content:"\u7528\u6237\u7EC4\u662F\u7528\u6237\u7684\u96C6\u5408\uFF0C\u5C06\u5177\u6709\u76F8\u540C\u804C\u80FD\u7684\u7528\u6237\u6DFB\u52A0\u5230\u4E00\u8D77\uFF0C\u5373\u5F62\u6210\u7528\u6237\u7EC4\u3002\u5C06\u6743\u9650\u6388\u6743\u5230\u7528\u6237\u7EC4\u540E\uFF0C\u7528\u6237\u7EC4\u5185\u7684\u7528\u6237\u90FD\u5C06\u7EE7\u627F\u8BE5\u6743\u9650\uFF0C\u56E0\u6B64\uFF0C\u7528\u6237\u7EC4\u5341\u5206\u9002\u5408\u7528\u4E8E\u6279\u91CF\u6388\u6743\u3002",children:[(0,e.jsx)(U.Rs,{actionRef:i,showActions:"always",search:{},pagination:{size:"small",defaultPageSize:10,showSizeChanger:!1},rowKey:"id",toolBarRender:function(){return[(0,e.jsxs)(S.ZP,{type:"primary",onClick:function(){m(!0)},children:[(0,e.jsx)(F.Z,{}),"\u65B0\u589E\u7528\u6237\u7EC4"]},"add")]},grid:{gutter:8,xs:1,sm:1,md:3,lg:3,xl:4,xxl:5},headerTitle:"\u7528\u6237\u7EC4\u5217\u8868",form:{syncToUrl:function(t,a){return a==="get"?h()({},t):t}},metas:{title:{dataIndex:"name",title:"\u7528\u6237\u7EC4\u540D\u79F0",render:function(t,a){return(0,e.jsx)($.Z,{placement:"topLeft",title:a.name,children:(0,e.jsx)("a",{onClick:function(){N(a.id)},children:t})})}},avatar:{search:!1,render:function(t,a){return(0,e.jsx)(b.C,{children:a.name.substring(0,1).toLocaleUpperCase()})}},content:{search:!1,dataIndex:"remark",render:function(t,a){return(0,e.jsx)(sr,{className:"user-group-remark",ellipsis:{tooltip:a.remark},title:a.remark,children:a.remark?a.remark:(0,e.jsx)(e.Fragment,{children:"\xA0"})})}},actions:{cardActionProps:"actions",render:function(t,a){return[(0,e.jsx)("a",{onClick:function(){N(a.id)},children:"\u8BE6\u60C5"},"member"),(0,e.jsx)(V.Z,{title:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237\u7EC4\u5417\uFF1F",placement:"bottomRight",icon:(0,e.jsx)(M.Z,{style:{color:"red"}}),onConfirm:f()(u()().mark(function c(){var g,P,D;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,v.AG)(a.id);case 2:if(g=C.sent,P=g.success,!P){C.next=8;break}return G.ZP.success("\u64CD\u4F5C\u6210\u529F"),(D=i.current)===null||D===void 0||D.reload(),C.abrupt("return");case 8:case"end":return C.stop()}},c)})),okText:"\u662F",cancelText:"\u5426",children:(0,e.jsx)("a",{target:"_blank",style:{color:"red"},children:"\u5220\u9664"},"remove")},"delete")]}}},request:v.S4}),(0,e.jsx)(w,{visible:A,onFinish:function(){var d=f()(u()().mark(function t(a){var c,g,P;return u()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,v.wZ)(a);case 3:if(g=n.sent,P=g.success,(c=i.current)===null||c===void 0||c.reload(),!P){n.next=10;break}return G.ZP.success("\u64CD\u4F5C\u6210\u529F"),m(!1),n.abrupt("return",!0);case 10:return n.abrupt("return",!1);case 13:return n.prev=13,n.t0=n.catch(0),n.abrupt("return",!1);case 16:case"end":return n.stop()}},t,null,[[0,13]])}));return function(t){return d.apply(this,arguments)}}(),onCancel:function(){m(!1)}})]})})},or=ur}}]);

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

@ -1,18 +0,0 @@
/*
* eiam-console - Employee Identity and Access Management Program
* Copyright © 2020-2023 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[648],{27755:function(C,o,t){t.r(o),t.d(o,{default:function(){return O}});var u=t(84019),r=t.n(u),n=t(76091),a=t.n(n),s=t(32061),f=t.n(s),e=t(7206),d=t(75109),E=t(46022),m=t(78035),v=t(51391),p=t(30708),c=t(63342),x=function(){var i=(0,E.useModel)("@@initialState"),R=i.initialState,S=i.setInitialState,F=(0,E.useLocation)();return(0,m.Z)(f()(r()().mark(function T(){return r()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:v.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var j=f()(r()().mark(function Z(){var h,P,l,I,g,D;return r()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,S(a()(a()({},R),{},{currentUser:void 0}));case 2:h=p.Z.parse(F.search),P=h,l=P.redirect_uri,I={pathname:e.wm},g=l&&l.split("/"),l&&l!==g[0]+"//"+g[2]+"/"&&(I=a()(a()({},I),{},{search:p.Z.stringify({redirect_uri:l})})),D=d.m.createHref(I),window.location.replace(D);case 9:case"end":return M.stop()}},Z)}));function U(){return j.apply(this,arguments)}return U}()});case 1:case"end":return y.stop()}},T)}))),(0,c.jsx)(c.Fragment,{})},O=function(){return(0,c.jsx)(x,{})}},78035:function(C,o,t){var u=t(79685),r=t(43865),n=t(15035);const a=s=>{n.Z&&((0,r.mf)(s)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof s}".`)),(0,u.useEffect)(()=>{s==null||s()},[])};o.Z=a},43865:function(C,o,t){t.d(o,{mf:function(){return r}});const u=e=>e!==null&&typeof e=="object",r=e=>typeof e=="function",n=e=>typeof e=="string",a=e=>typeof e=="boolean",s=e=>typeof e=="number",f=e=>typeof e=="undefined"},15035:function(C,o){o.Z=!1},19498:function(C,o,t){t.d(o,{RV:function(){return f},Rk:function(){return e},Ux:function(){return E},aM:function(){return d},q3:function(){return a},qI:function(){return s}});var u=t(59067),r=t(8779),n=t(79685);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),f=m=>{const v=(0,r.Z)(m,["prefixCls"]);return n.createElement(u.RV,Object.assign({},v))},e=n.createContext({prefixCls:""}),d=n.createContext({}),E=m=>{let{children:v,status:p,override:c}=m;const x=(0,n.useContext)(d),O=(0,n.useMemo)(()=>{const i=Object.assign({},x);return c&&delete i.isFormItemInput,p&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[p,c,x]);return n.createElement(d.Provider,{value:O},v)}}}]);

View File

@ -0,0 +1,18 @@
/*
* eiam-console - Employee Identity and Access Management Program
* Copyright © 2020-2023 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[648],{65626:function(C,o,t){t.r(o),t.d(o,{default:function(){return O}});var u=t(84019),r=t.n(u),n=t(76091),a=t.n(n),s=t(32061),f=t.n(s),e=t(74958),d=t(59251),E=t(96104),m=t(78035),v=t(27101),p=t(18541),c=t(63342),x=function(){var i=(0,E.useModel)("@@initialState"),R=i.initialState,S=i.setInitialState,F=(0,E.useLocation)();return(0,m.Z)(f()(r()().mark(function T(){return r()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:v.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var j=f()(r()().mark(function Z(){var h,P,l,I,g,D;return r()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,S(a()(a()({},R),{},{currentUser:void 0}));case 2:h=p.Z.parse(F.search),P=h,l=P.redirect_uri,I={pathname:e.wm},g=l&&l.split("/"),l&&l!==g[0]+"//"+g[2]+"/"&&(I=a()(a()({},I),{},{search:p.Z.stringify({redirect_uri:l})})),D=d.m.createHref(I),window.location.replace(D);case 9:case"end":return M.stop()}},Z)}));function U(){return j.apply(this,arguments)}return U}()});case 1:case"end":return y.stop()}},T)}))),(0,c.jsx)(c.Fragment,{})},O=function(){return(0,c.jsx)(x,{})}},78035:function(C,o,t){var u=t(79685),r=t(43865),n=t(15035);const a=s=>{n.Z&&((0,r.mf)(s)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof s}".`)),(0,u.useEffect)(()=>{s==null||s()},[])};o.Z=a},43865:function(C,o,t){t.d(o,{mf:function(){return r}});const u=e=>e!==null&&typeof e=="object",r=e=>typeof e=="function",n=e=>typeof e=="string",a=e=>typeof e=="boolean",s=e=>typeof e=="number",f=e=>typeof e=="undefined"},15035:function(C,o){o.Z=!1},44299:function(C,o,t){t.d(o,{RV:function(){return f},Rk:function(){return e},Ux:function(){return E},aM:function(){return d},q3:function(){return a},qI:function(){return s}});var u=t(72079),r=t(57231),n=t(79685);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),f=m=>{const v=(0,r.Z)(m,["prefixCls"]);return n.createElement(u.RV,Object.assign({},v))},e=n.createContext({prefixCls:""}),d=n.createContext({}),E=m=>{let{children:v,status:p,override:c}=m;const x=(0,n.useContext)(d),O=(0,n.useMemo)(()=>{const i=Object.assign({},x);return c&&delete i.isFormItemInput,p&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[p,c,x]);return n.createElement(d.Provider,{value:O},v)}}}]);

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -15,4 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[97],{34097:function(l,n,t){t.r(n),t.d(n,{default:function(){return E}});var s=t(79685),u=t(46022),o=t(63342);function E(){var a=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:a})}}}]);
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[578],{97578:function(l,n,t){t.r(n),t.d(n,{default:function(){return E}});var s=t(79685),u=t(96104),o=t(63342);function E(){var a=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:a})}}}]);

View File

@ -25,10 +25,10 @@
<link rel="shortcut icon" href="/favicon.ico">
<title>统一身份认证平台</title>
<link rel="stylesheet" href="/umi.d85528d9.css">
<script src="/framework.c7075530.js"></script>
<script src="/framework.973cdd3b.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/umi.284522d7.js"></script>
<script src="/umi.9cc95996.js"></script>
</body></html>

View File

@ -15,4 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[571],{98546:function(r,n,t){t.r(n);var o=t(38916),s=t(9101),u=t(46022),a=t(63342),i=function(){return(0,a.jsx)(o.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,a.jsx)(s.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=i}}]);
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[571],{19628:function(r,n,t){t.r(n);var o=t(10430),s=t(87101),u=t(96104),a=t(63342),i=function(){return(0,a.jsx)(o.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,a.jsx)(s.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=i}}]);

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

@ -15,4 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[26],{4154:function(u,n,_){_.r(n);var s=_(84019),t=_.n(s),i=_(76091),o=_.n(i),r=_(32061),c=_.n(r),e=_(65173),E=_(75109),y=_(78035),v=_(51391),f=_(30708),I=_(46022),P=_(63342);n.default=function(){var M=(0,I.useModel)("@@initialState"),U=M.initialState,h=M.setInitialState;return(0,y.Z)(c()(t()().mark(function C(){return t()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:v.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var T=c()(t()().mark(function g(){var O,D,a,l,d,b;return t()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,h(o()(o()({},U),{},{currentUser:void 0}));case 2:O=f.Z.parse(E.m.location.search),D=O,a=D.redirect_uri,l={pathname:e.wm},d=a&&a.split("/"),a&&a!==d[0]+"//"+d[2]+"/"&&(l=o()(o()({},l),{},{search:f.Z.stringify({redirect_uri:a})})),b=E.m.createHref(l),window.location.replace(b);case 9:case"end":return m.stop()}},g)}));function j(){return T.apply(this,arguments)}return j}()});case 1:case"end":return p.stop()}},C)}))),(0,P.jsx)(P.Fragment,{})}},78035:function(u,n,_){var s=_(79685),t=_(43865),i=_(15035);const o=r=>{i.Z&&((0,t.mf)(r)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof r}".`)),(0,s.useEffect)(()=>{r==null||r()},[])};n.Z=o},43865:function(u,n,_){_.d(n,{mf:function(){return t}});const s=e=>e!==null&&typeof e=="object",t=e=>typeof e=="function",i=e=>typeof e=="string",o=e=>typeof e=="boolean",r=e=>typeof e=="number",c=e=>typeof e=="undefined"},15035:function(u,n){n.Z=!1}}]);
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[26],{92918:function(u,n,_){_.r(n);var s=_(84019),t=_.n(s),i=_(76091),o=_.n(i),r=_(32061),c=_.n(r),e=_(7058),E=_(59251),y=_(78035),v=_(27101),f=_(18541),I=_(96104),P=_(63342);n.default=function(){var M=(0,I.useModel)("@@initialState"),U=M.initialState,h=M.setInitialState;return(0,y.Z)(c()(t()().mark(function C(){return t()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:v.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var T=c()(t()().mark(function g(){var O,D,a,l,d,b;return t()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,h(o()(o()({},U),{},{currentUser:void 0}));case 2:O=f.Z.parse(E.m.location.search),D=O,a=D.redirect_uri,l={pathname:e.wm},d=a&&a.split("/"),a&&a!==d[0]+"//"+d[2]+"/"&&(l=o()(o()({},l),{},{search:f.Z.stringify({redirect_uri:a})})),b=E.m.createHref(l),window.location.replace(b);case 9:case"end":return m.stop()}},g)}));function j(){return T.apply(this,arguments)}return j}()});case 1:case"end":return p.stop()}},C)}))),(0,P.jsx)(P.Fragment,{})}},78035:function(u,n,_){var s=_(79685),t=_(43865),i=_(15035);const o=r=>{i.Z&&((0,t.mf)(r)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof r}".`)),(0,s.useEffect)(()=>{r==null||r()},[])};n.Z=o},43865:function(u,n,_){_.d(n,{mf:function(){return t}});const s=e=>e!==null&&typeof e=="object",t=e=>typeof e=="function",i=e=>typeof e=="string",o=e=>typeof e=="boolean",r=e=>typeof e=="number",c=e=>typeof e=="undefined"},15035:function(u,n){n.Z=!1}}]);

View File

@ -15,5 +15,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[790],{8492:function(P,g,n){n.r(g),n.d(g,{default:function(){return L}});var A=n(84019),o=n.n(A),C=n(32061),v=n.n(C),y=n(12210),I=n(65352),S=n(87370),x=n(20645),j=n(98346),E=n(46673),R=n(97978),T=n(55807),Z=n(79685),w=n(46022);function B(i){return p.apply(this,arguments)}function p(){return p=v()(o()().mark(function i(d){return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,w.request)("/api/session/list",{method:"get",params:d}).then(function(t){var e={data:t!=null&&t.result?t==null?void 0:t.result:[],success:t==null?void 0:t.success};return Promise.resolve(e)}));case 1:case"end":return r.stop()}},i)})),p.apply(this,arguments)}function F(i){return h.apply(this,arguments)}function h(){return h=v()(o()().mark(function i(d){return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,w.request)("/api/session/remove",{method:"delete",requestType:"form",data:{sessionIds:d}}));case 1:case"end":return r.stop()}},i)})),h.apply(this,arguments)}var s=n(63342),L=function(){var i=(0,Z.useRef)(),d=[{title:"\u4F1A\u8BDD ID",dataIndex:"sessionId",ellipsis:!0,copyable:!0,align:"center",width:150,fixed:"left",search:!1},{title:"\u7528\u6237\u540D",dataIndex:"username",width:120,ellipsis:!0,fieldProps:{autoComplete:"off"}},{title:"\u6D3B\u52A8IP\u5730\u5740",width:130,dataIndex:"ip",ellipsis:!0,search:!1,render:function(r,t){var e=t.geoLocation;return e.ip?(0,s.jsx)(x.Z,{status:"success",text:e.ip}):(0,s.jsx)(x.Z,{status:"error",text:"\u672A\u77E5"})}},{title:"\u6D3B\u52A8\u5730\u70B9",width:120,ellipsis:!0,search:!1,render:function(r,t){var e=t.geoLocation;return e&&e.country&&e.province&&e.city&&e.country+"."+e.province+"."+e.city||"-"}},{title:"\u8BBE\u5907\u7C7B\u578B",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return(e==null?void 0:e.deviceType)||"-"}},{title:"\u64CD\u4F5C\u7CFB\u7EDF",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return e!=null&&e.platform&&e!==null&&e!==void 0&&e.platformVersion&&(e==null?void 0:e.platform)+" "+(e==null?void 0:e.platformVersion)||"-"}},{title:"\u6D4F\u89C8\u5668",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return e!=null&&e.browser&&e!==null&&e!==void 0&&e.browserMajorVersion&&(e==null?void 0:e.browser)+" "+(e==null?void 0:e.browserMajorVersion)||"-"}},{title:"\u767B\u5F55\u65F6\u95F4",ellipsis:!0,dataIndex:"loginTime",align:"center",width:200,valueType:"dateTime",search:!1},{title:"\u6700\u540E\u64CD\u4F5C\u65F6\u95F4",ellipsis:!0,dataIndex:"lastRequest",width:170,valueType:"dateTime",search:!1},{title:"\u64CD\u4F5C",valueType:"option",width:60,align:"center",fixed:"right",render:function(r,t){var e=t.sessionId;return[(0,s.jsx)(j.Z,{title:"\u60A8\u786E\u5B9A\u8981\u4E0B\u7EBF\u8BE5\u7528\u6237\u5417\uFF1F",placement:"bottomRight",icon:(0,s.jsx)(y.Z,{style:{color:"red"}}),onConfirm:v()(o()().mark(function f(){var u,m,a;return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,F(e);case 2:u=c.sent,m=u.success,m&&(E.ZP.success("\u64CD\u4F5C\u6210\u529F"),(a=i.current)===null||a===void 0||a.reload());case 5:case"end":return c.stop()}},f)})),okText:"\u662F",cancelText:"\u5426",children:(0,s.jsx)("a",{target:"_blank",style:{color:"red"},children:"\u4E0B\u7EBF"},"remove")},"offline")]}}];return(0,s.jsx)(I._z,{content:`\u4F1A\u8BDD\u7BA1\u7406\u53EF\u4EE5\u67E5\u770B\u6240\u6709\u5F53\u524D\u4ECD\u7136\u6709\u6548\u7684\u4F1A\u8BDD\u5217\u8868\uFF0C\u5E76\u4E14\u53EF\u4EE5\u5F3A\u5236\u6CE8\u9500\u67D0\u4E2A\u7528\u6237\u7684\u4F1A\u8BDD\u3002\u6CE8\u9500\u540E\uFF0C\u8BE5\u7528\u6237\u51ED\u8BC1\u5373\u523B\u5931\u6548\uFF0C\u4E4B\u540E\u7684\u6240\u6709\u64CD\u4F5C\u90FD\u9700\u8981\u91CD\u65B0\u8BA4\u8BC1\u3002
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[790],{23860:function(P,g,n){n.r(g),n.d(g,{default:function(){return L}});var A=n(84019),o=n.n(A),C=n(32061),v=n.n(C),y=n(12210),I=n(24558),S=n(44143),x=n(9200),j=n(75098),E=n(92479),R=n(61898),T=n(96597),Z=n(79685),w=n(96104);function B(i){return p.apply(this,arguments)}function p(){return p=v()(o()().mark(function i(d){return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,w.request)("/api/session/list",{method:"get",params:d}).then(function(t){var e={data:t!=null&&t.result?t==null?void 0:t.result:[],success:t==null?void 0:t.success};return Promise.resolve(e)}));case 1:case"end":return r.stop()}},i)})),p.apply(this,arguments)}function F(i){return h.apply(this,arguments)}function h(){return h=v()(o()().mark(function i(d){return o()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,w.request)("/api/session/remove",{method:"delete",requestType:"form",data:{sessionIds:d}}));case 1:case"end":return r.stop()}},i)})),h.apply(this,arguments)}var s=n(63342),L=function(){var i=(0,Z.useRef)(),d=[{title:"\u4F1A\u8BDD ID",dataIndex:"sessionId",ellipsis:!0,copyable:!0,align:"center",width:150,fixed:"left",search:!1},{title:"\u7528\u6237\u540D",dataIndex:"username",width:120,ellipsis:!0,fieldProps:{autoComplete:"off"}},{title:"\u6D3B\u52A8IP\u5730\u5740",width:130,dataIndex:"ip",ellipsis:!0,search:!1,render:function(r,t){var e=t.geoLocation;return e.ip?(0,s.jsx)(x.Z,{status:"success",text:e.ip}):(0,s.jsx)(x.Z,{status:"error",text:"\u672A\u77E5"})}},{title:"\u6D3B\u52A8\u5730\u70B9",width:120,ellipsis:!0,search:!1,render:function(r,t){var e=t.geoLocation;return e&&e.country&&e.province&&e.city&&e.country+"."+e.province+"."+e.city||"-"}},{title:"\u8BBE\u5907\u7C7B\u578B",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return(e==null?void 0:e.deviceType)||"-"}},{title:"\u64CD\u4F5C\u7CFB\u7EDF",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return e!=null&&e.platform&&e!==null&&e!==void 0&&e.platformVersion&&(e==null?void 0:e.platform)+" "+(e==null?void 0:e.platformVersion)||"-"}},{title:"\u6D4F\u89C8\u5668",ellipsis:!0,width:110,search:!1,render:function(r,t){var e=t.userAgent;return e!=null&&e.browser&&e!==null&&e!==void 0&&e.browserMajorVersion&&(e==null?void 0:e.browser)+" "+(e==null?void 0:e.browserMajorVersion)||"-"}},{title:"\u767B\u5F55\u65F6\u95F4",ellipsis:!0,dataIndex:"loginTime",align:"center",width:200,valueType:"dateTime",search:!1},{title:"\u6700\u540E\u64CD\u4F5C\u65F6\u95F4",ellipsis:!0,dataIndex:"lastRequest",width:170,valueType:"dateTime",search:!1},{title:"\u64CD\u4F5C",valueType:"option",width:60,align:"center",fixed:"right",render:function(r,t){var e=t.sessionId;return[(0,s.jsx)(j.Z,{title:"\u60A8\u786E\u5B9A\u8981\u4E0B\u7EBF\u8BE5\u7528\u6237\u5417\uFF1F",placement:"bottomRight",icon:(0,s.jsx)(y.Z,{style:{color:"red"}}),onConfirm:v()(o()().mark(function f(){var u,m,a;return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,F(e);case 2:u=c.sent,m=u.success,m&&(E.ZP.success("\u64CD\u4F5C\u6210\u529F"),(a=i.current)===null||a===void 0||a.reload());case 5:case"end":return c.stop()}},f)})),okText:"\u662F",cancelText:"\u5426",children:(0,s.jsx)("a",{target:"_blank",style:{color:"red"},children:"\u4E0B\u7EBF"},"remove")},"offline")]}}];return(0,s.jsx)(I._z,{content:`\u4F1A\u8BDD\u7BA1\u7406\u53EF\u4EE5\u67E5\u770B\u6240\u6709\u5F53\u524D\u4ECD\u7136\u6709\u6548\u7684\u4F1A\u8BDD\u5217\u8868\uFF0C\u5E76\u4E14\u53EF\u4EE5\u5F3A\u5236\u6CE8\u9500\u67D0\u4E2A\u7528\u6237\u7684\u4F1A\u8BDD\u3002\u6CE8\u9500\u540E\uFF0C\u8BE5\u7528\u6237\u51ED\u8BC1\u5373\u523B\u5931\u6548\uFF0C\u4E4B\u540E\u7684\u6240\u6709\u64CD\u4F5C\u90FD\u9700\u8981\u91CD\u65B0\u8BA4\u8BC1\u3002
`,children:(0,s.jsx)(S.Z,{search:!1,options:{density:!1,setting:!0,reload:!0,search:!1},cardProps:{style:{overflow:"auto"}},scroll:{x:700},columns:d,rowSelection:{selections:[R.Z.SELECTION_ALL,R.Z.SELECTION_INVERT]},tableAlertRender:function(r){var t=r.selectedRowKeys,e=r.onCleanSelected;return(0,s.jsx)(T.Z,{size:24,children:(0,s.jsxs)("span",{children:["\u5DF2\u9009 ",t.length," \u9879",(0,s.jsx)("a",{style:{marginLeft:8},onClick:e,children:"\u53D6\u6D88\u9009\u62E9"})]})})},tableAlertOptionRender:function(r){return(0,s.jsx)(T.Z,{size:16,children:(0,s.jsx)(j.Z,{title:"\u60A8\u786E\u5B9A\u8981\u6279\u91CF\u4E0B\u7EBF\u9009\u4E2D\u7528\u6237\u5417\uFF1F",placement:"bottomRight",icon:(0,s.jsx)(y.Z,{style:{color:"red"}}),onConfirm:v()(o()().mark(function t(){var e,f,u;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,F(r.selectedRowKeys.join(","));case 2:e=a.sent,f=e.success,f&&(E.ZP.success("\u64CD\u4F5C\u6210\u529F"),r.onCleanSelected(),(u=i.current)===null||u===void 0||u.reload());case 5:case"end":return a.stop()}},t)})),okText:"\u662F",cancelText:"\u5426",children:(0,s.jsx)("a",{target:"_blank",style:{color:"red"},children:"\u6279\u91CF\u4E0B\u7EBF"},"remove")},"offline")})},actionRef:i,pagination:{defaultPageSize:10},request:B,rowKey:"sessionId",dateFormatter:"string"})})}}}]);

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[297],{51012:function(A,v,o){o.r(v),o.d(v,{default:function(){return j}});var C=o(99759),b=o(21654),O=o(65352),i=o(63342),$=function(){return(0,i.jsx)(O._z,{children:(0,i.jsx)(C.Z,{children:(0,i.jsx)(b.Z,{banner:!0,description:"\u6B22\u8FCE\u4F7F\u7528 TopIAM \u4F01\u4E1A\u6570\u5B57\u8EAB\u4EFD\u7BA1\u63A7\u5E73\u53F0",type:"success"})})})},z=$,j=z},99759:function(A,v,o){o.d(v,{Z:function(){return ie}});var C=o(68591),b=o.n(C),O=o(8779),i=o(79685),$=o(86787),z=o(26102),j=o(869),H=o(72611),Z=function(e,a){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&a.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(e);r<t.length;r++)a.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(n[t[r]]=e[t[r]]);return n},B=e=>{var{prefixCls:a,className:n,hoverable:t=!0}=e,r=Z(e,["prefixCls","className","hoverable"]);const{getPrefixCls:l}=i.useContext($.E_),c=l("card",a),f=b()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:t});return i.createElement("div",Object.assign({},r,{className:f}))},K=o(83763),F=o(92232),p=o(62371);const X=e=>{const{antCls:a,componentCls:n,cardHeadHeight:t,cardPaddingBase:r,cardHeadTabsMarginBottom:l}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:t,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[`
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[297],{57108:function(A,v,o){o.r(v),o.d(v,{default:function(){return j}});var C=o(33331),b=o(10071),O=o(24558),i=o(63342),$=function(){return(0,i.jsx)(O._z,{children:(0,i.jsx)(C.Z,{children:(0,i.jsx)(b.Z,{banner:!0,description:"\u6B22\u8FCE\u4F7F\u7528 TopIAM \u4F01\u4E1A\u6570\u5B57\u8EAB\u4EFD\u7BA1\u63A7\u5E73\u53F0",type:"success"})})})},z=$,j=z},33331:function(A,v,o){o.d(v,{Z:function(){return ie}});var C=o(68591),b=o.n(C),O=o(57231),i=o(79685),$=o(14981),z=o(25937),j=o(96845),H=o(91970),Z=function(e,a){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&a.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(e);r<t.length;r++)a.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(n[t[r]]=e[t[r]]);return n},B=e=>{var{prefixCls:a,className:n,hoverable:t=!0}=e,r=Z(e,["prefixCls","className","hoverable"]);const{getPrefixCls:l}=i.useContext($.E_),c=l("card",a),f=b()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:t});return i.createElement("div",Object.assign({},r,{className:f}))},K=o(53650),F=o(67920),p=o(45680);const X=e=>{const{antCls:a,componentCls:n,cardHeadHeight:t,cardPaddingBase:r,cardHeadTabsMarginBottom:l}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:t,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,p.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},p.vS),{[`
> ${n}-typography,
> ${n}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${a}-tabs-top`]:{clear:"both",marginBottom:l,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},J=e=>{const{cardPaddingBase:a,colorBorderSecondary:n,cardShadow:t,lineWidth:r}=e;return{width:"33.33%",padding:a,border:0,borderRadius:0,boxShadow:`

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

Some files were not shown because too many files have changed in this diff Show More