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
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() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,e));return a.goback=function(){var e=a.props.match.params.workId;if(-1==window.location.pathname.indexOf("appraise")){var t=a.props.category.category_id;a.props.toListPage(a.props.match.params,t)}else a.props.toWorkListPage(a.props.match.params,e)},a.Cancelvisible=function(){a.setState({accessoryVisible:!1})},a.addAccessory=function(){a.setState({accessoryVisible:!0})},a.setupdate=function(){a.props.getReviseAttachments&&a.props.getReviseAttachments()},a.state={},a}t.a=S},1475:function(e,t,a){"use strict";var n=a(284),o=(a.n(n),a(282)),r=a.n(o),s=a(0),c=a.n(s),i=(a(5),function(e,t,a){return t&&l(e.prototype,t),a&&l(e,a),e});function l(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)}}var p=r.a.Group,u=(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)}(m,s.Component),i(m,[{key:"render",value:function(){var e=this.props,t=e.label,a=e.options,n=e.checkboxGroupStyle,o=this.state,r=o.checkAll,s=o.checkedValues;return c.a.createElement("li",{className:"clearfix"},c.a.createElement("style",null,"\n .groupList .ant-checkbox-group-item{\n margin-bottom:5px;\n }\n "),c.a.createElement("span",{className:"fl mr10 color-grey-8"},t),c.a.createElement("span",{className:"fl mr25"},c.a.createElement("a",{href:"javascript:void(0);",id:"comment_no_limit",className:"pl10 pr10 "+(r?"check_on":""),onClick:this.onCheckAll},"全部")),c.a.createElement("div",{className:"fl groupList",style:{maxWidth:"990px"}},1<a.length&&c.a.createElement(p,{options:a,onChange:this.onChange,value:s,style:n})))}}]),m);function m(e){var t=arguments;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m);var a=function(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}(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,e));return a.onCheckAll=function(){a.setState({checkAll:!0,checkedValues:[]}),a.props.onChange&&a.props.onChange([],!0)},a.onChange=function(e){0<e.length?(a.setState({checkAll:!1,checkedValues:e}),a.props.onChange&&a.props.onChange(e,!1)):(a.setState({checkAll:!0,checkedValues:[]}),a.props.onChange&&a.props.onChange(e,!0)),console.log(e,t)},a.state={checkAll:!0,checkedValues:[]},a}t.a=u},1513:function(e,t,a){"use strict";var n=a(284),o=(a.n(n),a(282)),r=a.n(o),s=a(287),c=(a.n(s),a(283)),i=a.n(c),l=a(0),p=a.n(l),u=a(12),m=a.n(u),h=a(297),f=a(1075),d=(a.n(f),a(5)),g=function(e,t,a){return t&&b(e.prototype,t),a&&b(e,a),e};function b(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)}}i.a.Option;var y=(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)}(w,l.Component),g(w,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.state,t=e.candidates,a=e.checkBoxValues;return e.loading,e.hasMore,e.name,e.school_name,e.graduationGroup,e.graduation_groups,e.courseGroup,e.course_groups,this.props.moduleName,p.a.createElement(h.a,Object.assign({ref:"modalWrapper",width:"700px",title:"代码查重"},this.props,{onOk:this.onOk,className:"checkCodeModal"}),p.a.createElement("style",null,"\n .demo-loading-container {\n position: absolute;\n bottom: 93px;\n width: 82%;\n text-align: center;\n }\n .df {\n display: flex;\n align-items: baseline;\n margin: 12px 0;\n }\n .firstLabel {\n flex: 0 0 60px;\n }\n .df span.label {\n margin-right: 8px;\n text-align: right;\n margin-left: 12px;\n }\n .df .ant-input-affix-wrapper {\n width: 32%;\n }\n\n .checkCodeModal label.task-hide {\n width: 100%;\n }\n "),p.a.createElement("p",{className:"clearfix mb2",style:{margin:"0px 15px 6px"}},p.a.createElement(r.a,{className:"fl",style:{visibility:"hidden"}}),p.a.createElement("span",{className:"fl with25"},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},"分班名称")),p.a.createElement("span",{className:"fl with25"},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},"有效作品数")),p.a.createElement("span",{className:"fl with45"},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},"上次查重时间"))),p.a.createElement("div",null,p.a.createElement("div",{className:"edu-back-skyblue padding10-15",style:{height:"300px",overflowY:"scroll",overflowAnchor:"none"}},p.a.createElement(r.a.Group,{style:{width:"100%"},onChange:this.onCheckBoxChange,value:a},t&&t.map(function(e){return p.a.createElement("p",{className:"clearfix mb7",key:e.id},p.a.createElement(r.a,{className:"fl",value:e.id,key:e.id}),p.a.createElement("span",{className:"fl with25"},p.a.createElement(d.g,{title:e.name,condition:e.name&&12<e.name.length},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},e.name))),p.a.createElement("span",{className:"fl with25"},p.a.createElement(d.g,{title:e.nickname,condition:e.nickname&&12<e.nickname.length},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},e.nickname))),p.a.createElement("span",{className:"fl with45"},p.a.createElement("label",{className:"task-hide fl",style:{maxWidth:"208px;"}},e.school_name)))})))))}}]),w);function w(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w);var c=function(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}(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,e));return c.fetchMemberList=function(e){var t=c.props.match.params.coursesId,a=e||c.state.page,n=c.state,o=n.name,r=n.school_name,s="/courses/"+t+"/search_teacher_candidate.json";c.setState({loading:!0}),m.a.post(s,{page:a,limit:15,school_name:r||"",name:o||""}).then(function(e){e.data.candidates&&0!=e.data.candidates.length?c.setState({candidates:1==a?e.data.candidates:c.state.candidates.concat(e.data.candidates),page:a,loading:!1,hasMore:15==e.data.candidates.length}):c.setState({page:a,loading:!1,hasMore:!1})}).catch(function(e){console.log(e)})},c.fetchOptions=function(){var e="/courses/"+c.props.match.params.coursesId+"/add_teacher_popup.json";m.a.get(e,{}).then(function(e){e.data.graduation_groups&&c.setState({graduation_groups:e.data.graduation_groups}),e.data.course_groups&&c.setState({course_groups:e.data.course_groups})}).catch(function(e){console.log(e)})},c.setVisible=function(e){e&&(c.fetchMemberList(),c.fetchOptions()),c.refs.modalWrapper.setVisible(e),0==e&&c.setState({checkBoxValues:[]})},c.onSendOk=function(){var e="/courses/"+c.props.match.params.coursesId+"/add_teacher.json",t={user_list:c.state.checkBoxValues.map(function(e){return{user_id:e}}),graduation_group_id:"2",course_group_id:"820"},a=c.state,n=a.graduationGroup,o=a.courseGroup;n&&(t.graduation_group_id=n),o&&(t.course_group_id=o),m.a.post(e,t).then(function(e){0==e.data.status&&(c.setVisible(!1),c.props.showNotification("添加成功"))}).catch(function(e){console.log(e)})},c.onOk=function(){c.onSendOk()},c.onCheckBoxChange=function(e){c.setState({checkBoxValues:e})},c.handleInfiniteOnLoad=function(){c.fetchMemberList(c.state.page+1)},c.onSearch=function(){c.fetchMemberList(1)},c.handleGradationGroupChange=function(e){c.setState({graduationGroup:e})},c.handleCourseGroupChange=function(e){c.setState({courseGroup:e})},c.state={checkBoxValues:[],candidates:[],hasMore:!0,loading:!1,page:1},c}t.a=y},1846: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),a(5),a(12)),v=a.n(_),k=a(1419),E=a(1242),x=a(1210),O=function(e,t,a){return t&&C(e.prototype,t),a&&C(e,a),e};function C(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;function N(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,N);var t=function(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}(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,e));return t.onToPublishClick=function(){},t.Cancelvisible=function(){t.setState({accessoryVisible:!1})},t.Downloadcal=function(){t.setState({DownloadType:!1,DownloadMessageval:void 0})},t.addAccessory=function(){t.setState({accessoryVisible:!0})},t.setupdate=function(){},t.publishModal=w.a.createRef(),t.endModal=w.a.createRef(),t.state={accessoryVisible:!1,DownloadType:!1,DownloadMessageval:void 0},t}(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)})(N,y.Component),O(N,[{key:"componentDidMount",value:function(){}},{key:"confirmysl",value:function(t){var a=this;v.a.get(t+"?export=true").then(function(e){e.data.status&&-1===e.data.status||(e.data.status&&-2===e.data.status?"100"===e.data.message?a.setState({DownloadType:!0,DownloadMessageval:100}):a.setState({DownloadType:!0,DownloadMessageval:500}):a.props.slowDownload(t))}).catch(function(e){console.log(e)})}},{key:"render",value:function(){var e=this,t=this.state.accessoryVisible,a=this.props,n=a.work_statuses,o=a.publish_immediately,r=a.work_id,s=a.end_immediately,c=(this.props.match.params.coursesId,this.props.match.params.category_id,this.props.match.params.workId),i=(this.props.isGroup(),this.props.getModuleName(),this.props.moduleName,this.props.isAdmin()),l=(this.props.isSuperAdmin(),"/api/homework_commons/"+c+"/works_list.zip"),p="/api/homework_commons/"+c+"/works_list.xlsx";return w.a.createElement(w.a.Fragment,null,i?w.a.createElement(w.a.Fragment,null,w.a.createElement("div",{style:{display:"inline",float:"right"}},w.a.createElement(k.a,Object.assign({ref:this.publishModal,showActionButton:!1},this.props,{checkBoxValues:[c],isPublish:!0,doWhenSuccess:this.props.doWhenSuccess,checkBeforePost:this.props.saveWorkSetting,onToPublishClick:this.onToPublishClick})),w.a.createElement(k.a,Object.assign({ref:this.endModal,showActionButton:!1},this.props,{checkBoxValues:[c],isPublish:!1,doWhenSuccess:this.props.doWhenSuccess}))),w.a.createElement(x.a,Object.assign({},this.props,{value:this.state.DownloadMessageval,modalCancel:this.Downloadcal,modalsType:this.state.DownloadType})),w.a.createElement("style",null,"\n .drop_down_menu li a {\n padding: 0px;\n font-size: 14px;\n color: #333;\n }\n .drop_down_menu {\n width: 121px;\n }\n .drop_down_menu li {\n overflow: visible;\n width: 121px;\n }\n .drop_down_menu, .drop_down_normal {\n padding-top: 10px;\n padding-bottom: 8px;\n }\n "),this.props.isAdmin()?w.a.createElement("li",{className:"li_line drop_down fr color-blue font-16 mr8 mt20",style:{padding:"0 20px"}},"导出",w.a.createElement("i",{className:"iconfont icon-xiajiantou font-12 ml2"}),w.a.createElement("ul",{className:"drop_down_menu",style:{right:"-34px",left:"unset",height:"auto"}},w.a.createElement("li",null,w.a.createElement("a",{href:p,onClick:function(){return e.confirmysl(p)},className:"color-dark"},"导出成绩")),w.a.createElement("li",null,w.a.createElement("a",{href:l,onClick:function(){return e.confirmysl(l)},className:"color-dark"},"导出作品附件")))):"",s&&w.a.createElement("a",{className:"fr color-blue font-16",onClick:function(){e.endModal.current.open()}},"立即截止"),o&&w.a.createElement("a",{className:"fr color-blue font-16",onClick:function(){e.publishModal.current.open()}},"立即发布"),i&&w.a.createElement("a",{className:"fr color-blue font-16",onClick:function(){return e.props.toEditPage(e.props.match.params,c)}},"编辑作业")):w.a.createElement(w.a.Fragment,null,n&&-1!=n.indexOf("提交作品")&&w.a.createElement("a",{className:"fr color-blue font-16",href:"javascript:void(0)",onClick:function(){e.props.toWorkPostPage(e.props.match.params)}},"提交作品"),n&&-1!=n.indexOf("修改作品")&&w.a.createElement("a",{className:"fr color-blue font-16",href:"javascript:void(0)",onClick:function(){e.props.toWorkPostPage(e.props.match.params,null,!0,r)}},"修改作品"),n&&-1!=n.indexOf("补交附件")&&w.a.createElement(w.a.Fragment,null,w.a.createElement(E.a,Object.assign({},this.props,{modalname:"补交附件",visible:t,Cancelname:"取消",Savesname:"确认",Cancel:this.Cancelvisible,setupdate:this.setupdate,reviseAttachmentUrl:"/student_works/"+r+"/revise_attachment.json"})),w.a.createElement("a",{className:"fr color-blue font-16",href:"javascript:void(0)",onClick:this.addAccessory},"补交附件"))))}}])},2261:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});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),a(169)),v=(a.n(_),a(5)),k=a(12),E=a.n(k),x=(a(163),a(876),a(978),a(1475),a(84)),O=(a.n(x),a(1513),a(295)),C=a(293),N=(a.n(C),a(1454),a(1846),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(){this.fetchData();try{this.props.triggerRef(this)}catch(e){}Object(v.Y)("commonwork_fetch_all",this.fetchAllListener)}},{key:"componentWillUnmount",value:function(){Object(v.X)("commonwork_fetch_all",this.fetchAllListener)}},{key:"render",value:function(){var e=this.state,t=(e.course_name,e.homework_name,e.search,e.page,e.loadingstate,e.homework_status,e.reference_answer),a=e.attachments;return this.props.match.params.coursesId,this.props.match.params.category_id,this.props.match.params.workId,w.a.createElement(w.a.Fragment,null,w.a.createElement("div",{className:"padding40 memoContent new_li"},t?w.a.createElement(v.s,{content:t||"还未设置答案。"}):void 0===t?"":(!a||0==a.length)&&w.a.createElement(O.a,null),a&&a.map(function(e){return w.a.createElement("div",{className:"color-grey"},w.a.createElement("a",{className:"color-grey"},w.a.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8","aria-hidden":"true"})),w.a.createElement("a",{href:e.url,className:"mr12",length:"58"},e.title),w.a.createElement("span",{className:"color-grey mt2 color-grey-6 font-12"},e.filesize))})))}}]),P);function P(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,P);var t=function(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}(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,e));return t.fetchData=function(){var e="/homework_commons/"+t.props.match.params.workId+"/reference_answer.json";E.a.get(e).then(function(e){e.data.course_id&&(t.setState(Object.assign({},e.data),function(){}),t.props.initWorkDetailCommonState&&t.props.initWorkDetailCommonState(Object.assign(Object.assign({},e.data),{moduleName:"参考答案"})))}).catch(function(e){console.log(e)})},t.fetchAllListener=function(){t.fetchData()},t.state={course_name:"",homework_name:"",search:""},t}t.default=S}}); |