You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
64 KiB
1 line
64 KiB
5 years ago
|
webpackJsonp([154],{4319:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e(831),a=(e.n(i),e(834)),s=e.n(a),o=e(70),r=(e.n(o),e(71)),l=e.n(r),p=e(0),c=e.n(p),u=e(12),A=e.n(u),g=e(5),d=e(1921),m=(e.n(d),e(303)),h=function(n,t,e){return t&&f(n.prototype,t),e&&f(n,e),n};function f(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}var C=(function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(b,p.Component),h(b,[{key:"componentDidMount",value:function(){this.getdata("",this.state.page);try{this.props.Mtab(1)}catch(n){}this.props.triggerRef(this)}},{key:"componentWillUnmount",value:function(){this.setState=function(n,t){}}},{key:"render",value:function(){var i=this,n=this.state,t=n.page,e=n.limit,a=n.typeysl,o=n.count,r=n.isSpin,p=n.data;return console.log(p),c.a.createElement("div",{className:"clearfix ml20"},c.a.createElement("ul",{className:"pl10 ridingNav clearfix edu-back-white"},c.a.createElement("li",{className:""===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("",1)}},"全部")),c.a.createElement("li",{className:a&&"course"===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("course",1)}},"课堂提醒")),c.a.createElement("li",{className:a&&"project"===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("project",1)}},"项目提醒")),c.a.createElement("li",{className:a&&"interaction"===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("interaction",1)}},"互动提醒")),c.a.createElement("li",{className:a&&"apply"===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("apply",1)}},"审核")),c.a.createElement("li",{className:a&&"notice"===a?"active":""},c.a.createElement("a",{onClick:function(){return i.getdata("notice",1)}},"通知"))),c.a.createElement("div",{className:"bor-top-greyE mycenter"},c.a.createElement("div",{className:"myw100baifenbi"},c.a.createElement(l.a,{size:"large",className:"myw100baifenbi mt10",spinning:r},void 0===p?c.a.createElement(m.a,null):0===p.length?c.a.createElement(m.a,null):p.map(function(n,t){var e=!0;return"PraiseTread"!==n.container_type&&"Grade"!==n.container_type&&"ChallengeWorkScore"!==n.container_type||(e=!1),"JournalsForMessage"===n.container_type&&("Principal"===n.parent_container_type&&(e=!1),"HomeworkCommon"===n.parent_container_type&&(null!==n.homework_type&&void 0!==n.homework_type||(e=!1))),"ProjectPackage"===n.container_type&&("Destroyed_end"===n.tiding_type&&(e=!1),"Destroyed"===n.tiding_type&&(e=!1)),"Course"===n.container_type&&"Delete"===n.tiding_type&&(e=!1),"DeleteCourse"===n.container_type&&"System"===n.tiding_type&&(e=!1),"DeleteCourseMember"===n.container_type&&"System"===n.tiding_type&&(e=!1),c.a.createElement("div",{className:"pl25 ridinglist edu-back-white",key:t},c.a.createElement("div",{className:!0===e?"ridinglist-sub clearfix df tiding_item":"ridinglist-subs clearfix df tiding_item",onClick:function(){return i.gettourl(n)}},c.a.createElement("img",{onMouseDown:function(){return i.myCome(n)},src:Object(g.M)("images/"+n.trigger_user.image_url),className:"radius mr10 fl myimgw48 myimgh48"}),c.a.createElement("div",{className:"fl flex1"},c.a.createElement("p",null,c.a.createElement("a",{className:"mr20 private_message_a",onMouseDown:function(){return i.myCome(n)}},n.trigger_user.name),c.a.createElement("span",{className:"color-grey-c"},n.time),"Apply"===n.tiding_type&&0===n.status?c.a.createElement("span",{className:"edu-filter-btn ml20 edu-filter-btn-red"},"待处理"):"","Apply"===n.tiding_type&&1===n.status?c.a.createElement("span",{className:"edu-filter-btn ml20 edu-filter-btn-green"},"已处理"):""),c.a.createElement("style",null,".yslspansk sp
|