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
21 KiB
1 line
21 KiB
5 years ago
|
webpackJsonp([167],{1454:function(e,t,a){"use strict";var n=a(166),o=(a.n(n),a(165)),r=a.n(o),s=a(65),c=(a.n(s),a(66)),i=a.n(c),l=a(30),p=(a.n(l),a(31)),u=a.n(p),m=a(284),h=(a.n(m),a(282)),f=a.n(h),d=a(287),g=(a.n(d),a(283)),b=a.n(g),y=a(0),w=a.n(y),_=a(45),v=a(169),k=(a.n(v),a(5),a(12)),E=(a.n(k),a(163),a(876)),x=a(1242),O=a(293),C=(a.n(O),a(314)),N=function(e,t,a){return t&&j(e.prototype,t),a&&j(e,a),e};function j(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}b.a.Option,f.a.Group,u.a.confirm,window.$,i.a.Search,r.a.Group;var S=(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.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(P,y.Component),N(P,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.course_name,a=e.homework_name,n=(e.search,e.page,e.loadingstate,e.homework_status),o=(e.description,e.noTab),r=e.view_answer,s=e.author_name,c=e.category,i=e.work_id,l=e.current_user,p=this.props.match.params.coursesId,u=c&&c.category_id,m=c&&c.category_name,h=this.props.match.params.workId,f=this.props.match.params.studentWorkId,d=(this.props.isGroup(),this.props.getModuleName()),g=this.props.moduleName;return w.a.createElement(w.a.Fragment,null,w.a.createElement("div",null,w.a.createElement("div",{className:"newMain clearfix worklist1 workDetailPageHeader"},w.a.createElement("div",{className:"educontent mt20"},w.a.createElement("style",null,"\n .memoContent {\n background: #fff;\n }\n .workDetailPageHeader .summaryname {\n line-height:28px\n }\n "),w.a.createElement(C.a,{items:[{to:l&&l.first_category_url,name:t},{to:"/courses/"+p+"/"+d+"/"+u,name:m},-1==window.location.pathname.indexOf("appraise")?{}:{to:"/courses/"+p+"/"+d+"/"+h+"/list",name:"作业详情"},-1==window.location.pathname.indexOf("appraise")?{name:"作业详情"}:{name:s}]}),w.a.createElement("div",{className:"clearfix mt20 mb20"},w.a.createElement("span",{className:" fl color-black summaryname"},a),w.a.createElement(E.a,{typelist:n,typesylename:"mt3"}),c&&w.a.createElement("a",{className:"color-grey-6 fr font-16 ml30 mr30 lineh-25",onClick:this.goback},"返回"),this.props.update_atta&&w.a.createElement(w.a.Fragment,null,!0===this.state.accessoryVisible?w.a.createElement(x.a,Object.assign({},this.props,{modalname:"补交附件",visible:this.state.accessoryVisible,Cancelname:"取消",Savesname:"确认",Cancel:this.Cancelvisible,setupdate:this.setupdate,seeworks:void 0,reviseAttachmentUrl:"/student_works/"+(i||f)+"/revise_attachment.json"})):"",w.a.createElement("a",{className:"fr color-blue font-16 ",href:"javascript:void(0)",onClick:this.addAccessory,style:{marginTop:"-4px"}},"补交附件"))),!0!==o&&w.a.createElement("div",{className:"stud-class-set bor-bottom-greyE"},w.a.createElement("div",{className:"mt10 clearfix edu-back-white poll_list pl5"},w.a.createElement(_.b,{className:("作品列表"==g?"active":"")+" ",to:"/courses/"+p+"/"+d+"/"+h+"/list"},"作品列表"),w.a.createElement(_.b,{className:("作业描述"==g?"active":"")+" ",to:"/courses/"+p+"/"+d+"/"+h+"/question"},"作业描述"),1==r&&w.a.createElement(_.b,{className:("参考答案"==g?"active":"")+" ",to:"/courses/"+p+"/"+d+"/"+h+"/answer"},"参考答案"),w.a.createElement(_.b,{className:("设置"==g?"active":"")+" ",style:{paddingLeft:this.props.isAdmin()?"38px":"20px"},to:"/courses/"+p+"/"+d+"/"+h+"/setting"},this.props.isAdmin()?"设置":"得分规则"),this.props.tabRightComponents)),this.props.children))))}}]),P);function P(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,P);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() ha
|