2 lines
5.9 KiB
JavaScript
2 lines
5.9 KiB
JavaScript
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[41234],{7867:function(M){M.exports={authmodalbox:"authmodalbox___2RM11"}},15285:function(M,v,d){"use strict";d.r(v),d.d(v,{default:function(){return s}});var E=d(66456),f=d(5322),g=d(34895),i=d(79508),O=d(51964),L=d.n(O),y=d(28216),A=d(67294),I=d(30672),C=d(7867),D=d.n(C),w=d(37406),e=d(85893),r,t,s=(r=(0,y.$j)(m=>{var c=m.common;return{common:c}}),r(t=class extends A.PureComponent{constructor(){super(...arguments);this.state={modelZindex:100,fullScreen:!1,current:1,total:0,target:{},getInfoLoading:!0,viewUrl:""}}componentDidMount(){var c=this}componentWillUnmount(){var c=this,l=this.props,R=l.dispatch,_=l.sourceID,p=l.iframeUrl,T=p===void 0?"":p,U=l.common,j=l.path,P=j===void 0?"":j,B=U.shareCode}render(){var c=this,l=c.props,R=l.dispatch,_=l.common,p=l.open,T=l.setOpenModel,U=l.videoOption,j=l.iframeUrl,P=l.iframeName,B=P===void 0?"":P,K=l.issmall,H=l.path,k=l.name,W=l.authData,z=W===void 0?{}:W,$=l.showIndex,V=_.sourceID,X=_.shareCode,b=_.authList,x=this.state,N=x.modelZindex,Z=x.fileInfo,Y=Z===void 0?{}:Z,G=x.fullScreen,J=x.getInfoLoading,Q=x.viewUrl,u=(0,I.lw)((0,I.Kd)()),F=h=>{c.setState({modelZindex:h})},S=[{title:u.formatMessage({id:"admin.menu.auth"}),dataIndex:"a",className:"tablecolums",key:"a",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsxs)("div",{className:"authUser",children:[(0,e.jsx)("div",{className:"authcolor",style:{background:a.label}}),(0,e.jsx)("div",{className:"authname",children:a.roleName})]})}},{title:u.formatMessage({id:"admin.auth.show"}),dataIndex:"b",key:"b",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("1")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"admin.auth.view"}),dataIndex:"c",key:"c",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("3")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"admin.auth.download"}),dataIndex:"d",key:"d",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("4")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"common.upload"}),dataIndex:"e",key:"e",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("5")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"admin.auth.edit"}),dataIndex:"f",key:"f",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("8")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"common.delete"}),dataIndex:"g",key:"g",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("10")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"common.share"}),dataIndex:"h",key:"h",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("11")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"admin.auth.comment"}),dataIndex:"i",key:"i",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("12")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"explorer.panel.logName"}),dataIndex:"j",key:"j",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("13")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}},{title:u.formatMessage({id:"admin.auth.root"}),dataIndex:"k",key:"k",render:(h,a)=>{var n=a.auth||"",o=n.split(",");return(0,e.jsx)("div",{children:o.indexOf("14")>-1&&(0,e.jsx)(i.Z,{style:{color:"#722ed1"}})})}}];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(g.Z,{open:p,issmall:K,modelZindex:N,showIndex:$,setOpenModel:T,setModelZindex:F,type:"authTable",title:u.formatMessage({id:"explorer.authDialog"}),children:(0,e.jsx)("div",{className:D().authmodalbox,children:(0,e.jsxs)(L(),{children:[(0,e.jsx)(f.Z,{bordered:!0,columns:S,size:"small",pagination:!1,dataSource:b,scroll:{y:400}}),(0,e.jsx)("div",{style:{margin:"8px 12px",color:"
|