1 line
81 KiB
JavaScript
1 line
81 KiB
JavaScript
|
(this.webpackJsonp=this.webpackJsonp||[]).push([[41],{"/k9T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("kLXV"));n("k3Gp");var i=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}n("L9fm"),t.default=function(e){var t=e.title,n=e.children,o=e.btn,r=e.onCancel,l=e.visible;return i.default.createElement(a.default,{visible:l,onCancel:r,title:t,width:"520px",footer:o,centered:!0,wrapClassName:"deleteBox"},n)}},"07mW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("kLXV"));n("k3Gp");var i=r(n("q1tI")),o=n("sYIF");function r(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.QQVisible,r=e.setQQVisible;return i.default.createElement(a.default,{centered:!0,destroyOnClose:!0,visible:t,title:"提示",width:"500px",okText:"立即联系",cancelText:"取消",onOk:function(){(0,o.openNewWindow)("https://qm.qq.com/cgi-bin/qm/qr?k=DWdqQHAbbfw7_rqm0d-Q_vDn5H6bMp91&jump_from=webapi")},onCancel:function(){return r(!1)}},i.default.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},i.default.createElement("p",null,"您可以在QQ服务群向管理员申请,获得继续操作的权限"),i.default.createElement("img",{src:n("wZ8e"),width:200,height:200,alt:""}),i.default.createElement("p",null,"群号:693542422 ")))}},"1enj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("kLXV")),i=s(n("2/Rp")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,i=!1,o=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){i=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("L/Qf");var r=n("q1tI"),l=s(r);n("hREH"),n("7dqz");var u=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,d=e.hideSystemNotice,m=(0,r.useState)(!1),p=o(m,2),g=p[0],k=p[1];return(0,r.useEffect)((function(){n&&!n.is_read&&t&&f&&k(!0)}),[n,f]),l.default.createElement(a.default,{visible:g,width:"1000px",footer:!1,title:!1,centered:!0,closable:!1,wrapClassName:"systemBox"},l.default.createElement("div",{className:"sysBox"},l.default.createElement("div",{className:"sysnoticeBox"},l.default.createElement("p",{className:"ntitle"},n&&n.subject),l.default.createElement("p",{className:"nSubtitle"},n&&n.sub_subject),l.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:n&&n.content,url:s.location}),l.default.createElement("div",{className:"nBtn"},l.default.createElement(i.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){k(!1),d()})).catch((function(e){k(!1),d()}))}else k(!1),d()}},"确认并继续")))))}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n("q1tI"),o=l(i),r=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function u(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 u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.pr
|