|
|
|
|
webpackJsonp([124],{1210:function(n,e,t){"use strict";var o=t(30),r=(t.n(o),t(31)),A=t.n(r),l=t(0),a=t.n(l),i=function(n,e,t){return e&&s(n.prototype,e),t&&s(n,t),n};function s(n,e){for(var t=0;t<e.length;t++){var o=e[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}var c=(function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(d,l.Component),i(d,[{key:"render",value:function(){return a.a.createElement(A.a,{keyboard:!1,title:"提示",visible:void 0!==this.props.modalsType&&this.props.modalsType,closable:!1,footer:null,destroyOnClose:!0,centered:!0,width:"530px"},a.a.createElement("div",{className:"task-popup-content"},500===this.props.value?a.a.createElement("p",null,a.a.createElement("p",{className:"task-popup-text-center font-16"},"因附件资料超过500M,您可以通过检索分批下载"),a.a.createElement("p",{className:"task-popup-text-center font-16 mt5"},"或者通过微信或者QQ联系管理员辅助您打包下载")):100===this.props.value?a.a.createElement("p",null,a.a.createElement("p",{className:"task-popup-text-center font-16"},"已超出文件导出的上限数量( ",a.a.createElement("span",{className:"color-orange-tip"},"100")," ),建议:"),a.a.createElement("p",{className:"task-popup-text-center font-16 mt20"},"1.通过检索分批次下载"),a.a.createElement("p",{className:"task-popup-text-center font-16 mt5"},"2.联系管理员辅助下载")):"",a.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},a.a.createElement("a",{className:"task-btn mr30",onClick:this.props.modalCancel},"取消"),a.a.createElement("a",{className:"task-btn task-btn-orange",onClick:this.setDownload},"立即联系"))))}}]),d);function d(n){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d);var e=function(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?n:e}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,n));return e.setDownload=function(){e.props.modalCancel(),window.open("/messages/"+e.props.user.login+"/message_detail?target_ids=1")},e.state={funmodalsType:!1,istype:!1},e}e.a=c},2913:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t(85),r=(t.n(o),t(72)),X=t.n(r),A=t(862),l=(t.n(A),t(863)),$=t.n(l),a=t(874),i=(t.n(a),t(875)),L=t.n(i),s=t(162),c=(t.n(s),t(161)),K=t.n(c),d=t(284),C=(t.n(d),t(282)),J=t.n(C),f=t(65),m=(t.n(f),t(66)),nn=t.n(m),B=t(166),b=(t.n(B),t(165)),u=t.n(b),p=t(287),x=(t.n(p),t(283)),g=t.n(x),h=t(0),en=t.n(h),k=(t(45),t(169)),tn=t.n(k),w=t(5),y=t(12),E=t.n(y),on=t(163),rn=t(1210),An=(t(876),t(978)),D=t(84),ln=t.n(D),v=function(n,e,t){return e&&z(n.prototype,e),t&&z(n,t),n};function z(n,e){for(var t=0;t<e.length;t++){var o=e[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}g.a.Option,u.a.Group;function _(n,e){for(var t=[],o=n;o<e;o++)t.push(o);return t}function an(){return{disabledMinutes:function(){return _(1,30).concat(_(31,60))}}}function sn(n){return n&&n<ln()().endOf("day").subtract(1,"days")}var S=(function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(O,h.Component),v(O,[{key:"componentDidMount",value:function(){var n=this.props.location.search.split("?tab="),e=parseInt(n[1]);this.getsettings(),!0===this.props.isAdmin()&&isNaN(e)&&this.editSetting();var t=this.props.tab;this.props.setTab&&this.props.setTab(t);try{this.props.triggerRef(this)}catch(n){}}},
|