build/static/js/33.8f6aca21.chunk.js

2 lines
250 KiB
JavaScript
Raw Normal View History

2023-02-13 11:44:36 +08:00
/*! For license information please see 33.8f6aca21.chunk.js.LICENSE.txt */
(this.webpackJsonp=this.webpackJsonp||[]).push([[33,7,8,13],{"+0x5":function(e,t,n){},"/k9T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("kLXV"));n("k3Gp");var o=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}n("L9fm"),t.default=function(e){var t=e.title,n=e.children,i=e.btn,a=e.onCancel,u=e.visible;return o.default.createElement(r.default,{visible:u,onCancel:a,title:t,width:"520px",footer:i,centered:!0,wrapClassName:"deleteBox"},n)}},"07mW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("kLXV"));n("k3Gp");var o=a(n("q1tI")),i=n("sYIF");function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.QQVisible,a=e.setQQVisible;return o.default.createElement(r.default,{centered:!0,destroyOnClose:!0,visible:t,title:"提示",width:"500px",okText:"立即联系",cancelText:"取消",onOk:function(){(0,i.openNewWindow)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:function(){return a(!1)}},o.default.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},o.default.createElement("p",null,"您可以在QQ服务群向管理员申请获得继续操作的权限"),o.default.createElement("img",{src:n("wZ8e"),width:200,height:200,alt:""}),o.default.createElement("p",null,"群号693542422 ")))}},"09Wf":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("CWQg"),o=Object(r.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"1enj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("kLXV")),o=s(n("2/Rp")),i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("L/Qf");var a=n("q1tI"),u=s(a);n("hREH"),n("7dqz");var l=s(n("bjH3")),c=s(n("vDqi"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.showNotice,n=e.system_notification,s=e.history,f=e.login,p=e.hideSystemNotice,d=(0,a.useState)(!1),h=i(d,2),v=h[0],m=h[1];return(0,a.useEffect)((function(){n&&!n.is_read&&t&&f&&m(!0)}),[n,f]),u.default.createElement(r.default,{visible:v,width:"1000px",footer:!1,title:!1,centered:!0,closable:!1,wrapClassName:"systemBox"},u.default.createElement("div",{className:"sysBox"},u.default.createElement("div",{className:"sysnoticeBox"},u.default.createElement("p",{className:"ntitle"},n&&n.subject),u.default.createElement("p",{className:"nSubtitle"},n&&n.sub_subject),u.default.createElement(l.default,{className:"break_word_comments imageLayerParent",value:n&&n.content,url:s.location}),u.default.createElement("div",{className:"nBtn"},u.default.createElement(o.default,{type:"primary",className:"btnblue",onClick:function(){if(f&&n&&n.id){var e="/users/"+f+"/system_notification_histories.json";c.default.post(e,{system_notification_id:n.id}).then((function(e){m(!1),p()})).catch((function(e){m(!1),p()}))}else m(!1),p()}},"确认并继续")))))}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("q1tI"),i=u(o),a=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n("7dqz");var s=function(e){function t(){return l(this,t),c(this