点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 行业软件>> 在线考试系统>> 源文件浏览
[免费版 Free] WebForm,下载次数:261 次 | 关键字: 考试 办公 高校 竞赛 企事业单位

源码截图

源码目录树

;
当前路径:public/static/control/p__personAffair__exam__mockExam.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[23],{ohsW:function(e,t,n){"use strict";n.r(t);n("IzEo");var a=n("bx4M"),r=n("fWQN"),i=n("mtLc"),l=n("yKVA"),o=n("879j"),u=(n("g9YV"),n("wCAj")),c=n("q1tI"),m=n.n(c),s=n("9kvl"),d=n("Hx5s"),f=n("syfa"),p=n("FfOG"),h=Object(f["a"])(u["a"]),y=function(e){Object(l["a"])(n,e);var t=Object(o["a"])(n);function n(e){var a;return Object(r["a"])(this,n),a=t.call(this,e),a.filterParams={type:"simulate",current:1,pageSize:10},a.state={},a}return Object(i["a"])(n,[{key:"componentDidMount",value:function(){this.loadData()}},{key:"loadData",value:function(){var e=this.props.dispatch;e({type:"exam/examAll",payload:this.filterParams})}},{key:"handleStartExam",value:function(e){var t=this.props.dispatch;t({type:"exam/examCreate",payload:{id:e}}).then((function(t){t&&p["b"].push({pathname:"/personAffair/examPage",query:{id:e}})}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.exam,r=n.examList,i=n.total,l=t.loading,o={total:i,current:this.filterParams.current,position:"bottom",showQuickJumper:!0,showSizeChanger:!0,defaultPageSize:this.filterParams.pageSize,showTotal:function(e,t){return"\u7b2c ".concat(t[0]," - ").concat(t[1]," \u6761\uff0c\u5171 ").concat(e," \u6761")},onChange:function(t){e.filterParams.current=t,e.loadData()},onShowSizeChange:function(t,n){e.filterParams.pageSize=n,e.loadData()}};return m.a.createElement(d["b"],{title:"\u6a21\u62df\u8003\u8bd5"},m.a.createElement(a["a"],null,m.a.createElement(h,{rowKey:"id",className:"paginationLeft",type:"mock",pagination:o,dataSource:r,loading:l.all,onSubmit:function(t){return e.handleStartExam(t)}})))}}]),n}(c["PureComponent"]);t["default"]=Object(s["a"])((function(e){var t=e.exam,n=e.loading;return{exam:t,loading:{all:n.effects["exam/examAll"]}}}))(y)},syfa:function(e,t,n){"use strict";var a=n("0Owb"),r=n("q1tI"),i=n.n(r),l=n("5YGV"),o=n("wd/R"),u=n.n(o);t["a"]=function(e){return function(t){var n=t.type,r=t.onSubmit,o=[{title:"\u8bd5\u5377\u540d\u79f0",Key:"title",width:350,render:function(e){return i.a.createElement("div",null,e.title)}},{title:"\u51fa\u9898\u65b9\u5f0f",Key:"way",render:function(e){return i.a.createElement("div",null,Object(l["o"])(e.way))}},{title:"\u7b54\u9898\u65f6\u95f4",Key:"time",render:function(e){return i.a.createElement("div",null,Object(l["k"])(e.time))}},{title:function(){return i.a.createElement("div",null,"competition"===n?"\u6709\u6548\u65f6\u95f4":null)},Key:"date",render:function(e){return i.a.createElement("div",null,u()(e.timeStart,"X").format("YYYY-MM-DD HH:mm:ss")," ~",u()(e.timeEnd,"X").format("YYYY-MM-DD HH:mm:ss"))}},{title:"\u6570\u91cf",Key:"totalQuestionNum",render:function(e){return i.a.createElement("div",null,e.totalQuestionNum)}},{title:"\u603b\u5206",Key:"totalPoints",render:function(e){return i.a.createElement("div",null,e.totalPoints)}},{title:"\u51fa\u5377\u4eba",Key:"founderTitle",render:function(e){return i.a.createElement("div",null,e.founderTitle)}},{title:"\u64cd\u4f5c",Key:"action",width:160,align:"left",render:function(e){return i.a.createElement(i.a.Fragment,null,i.a.createElement("a",{onClick:function(){return r&&r(e.id)}},"\u5f00\u59cb\u8003\u8bd5"))}}];return i.a.createElement(e,Object(a["a"])({},t,{columns:o}))}}}}]);
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号