1 line
8.8 KiB
JavaScript
1 line
8.8 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[9],{jXWt:function(e,t,a){"use strict";a.d(t,"h",(function(){return u})),a.d(t,"j",(function(){return o})),a.d(t,"k",(function(){return p})),a.d(t,"n",(function(){return f})),a.d(t,"i",(function(){return d})),a.d(t,"l",(function(){return h})),a.d(t,"m",(function(){return Y})),a.d(t,"g",(function(){return E})),a.d(t,"e",(function(){return w})),a.d(t,"f",(function(){return y})),a.d(t,"a",(function(){return D})),a.d(t,"o",(function(){return M})),a.d(t,"c",(function(){return O})),a.d(t,"d",(function(){return H})),a.d(t,"b",(function(){return v}));var n=a("9og8"),r=a("WmNS"),m=a.n(r),s=a("Xe+6");window.location.port;a("/xke");var c=a("TeRw"),i=e=>{c["default"].open({message:"\u63d0\u793a",description:e})};function u(e){return l.apply(this,arguments)}function l(){return l=Object(n["a"])(m.a.mark((function e(t){var a;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["a"])({url:"/api/applyInformation/adminList",method:"get",params:t});case 2:if(a=e.sent,"success"!==a.message){e.next=7;break}return e.abrupt("return",a.data);case 7:i(a.message||"\u8bf7\u6c42\u9519\u8bef");case 8:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function o(e){return Object(s["a"])({url:"/api/applyInformation/delete",method:"post",data:e})}function p(e){return Object(s["a"])({url:"/api/applyInformation/updateSort",method:"post",data:e})}function f(e){return Object(s["a"])({url:"/api/applyInformation/updateTaskSort",method:"post",data:e})}function d(e){return b.apply(this,arguments)}function b(){return b=Object(n["a"])(m.a.mark((function e(t){var a;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["a"])({url:"/api/studentApply/list",method:"get",params:t});case 2:if(a=e.sent,"success"!==a.message){e.next=7;break}return e.abrupt("return",a.data);case 7:i(a.message||"\u8bf7\u6c42\u9519\u8bef");case 8:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function h(e){return Object(s["a"])({url:"/api/studentApply/auditRegTask",method:"post",data:e})}function Y(e){return Object(s["a"])({url:"/api/studentApply/delete",method:"post",data:e})}function E(e){return g.apply(this,arguments)}function g(){return g=Object(n["a"])(m.a.mark((function e(t){var a;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["a"])({url:"/api/examineMaterial/getExamineBackendInfoList",method:"get",params:t});case 2:if(a=e.sent,"success"!==a.message){e.next=7;break}return e.abrupt("return",a.data);case 7:i(a.message||"\u8bf7\u6c42\u9519\u8bef");case 8:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function w(e){return x.apply(this,arguments)}function x(){return x=Object(n["a"])(m.a.mark((function e(t){var a;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["a"])({url:"/api/tutorEvaluation/getExamineResultBackendInfoList",method:"get",params:t});case 2:if(a=e.sent,"success"!==a.message){e.next=7;break}return e.abrupt("return",a.data);case 7:i(a.message||"\u8bf7\u6c42\u9519\u8bef");case 8:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function y(e){return j.apply(this,arguments)}function j(){return j=Object(n["a"])(m.a.mark((function e(t){var a;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(s["a"])({url:"/api/glccSettings/settingList",method:"get",params:t});case 2:if(a=e.sent,"success"!==a.message){e.next=7;break}return e.abrupt("return",a.data);case 7:i(a.message||"\u8bf7\u6c42\u9519\u8bef");case 8:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function D(e){return Object(s["a"])({url:"/api/glccSettings/",method:"post",data:e})}function M(e){return Object(s["a"])({url:"/api/glccSettings/",method:"put",data:e})}function O(e){return Object(s["a"])({url:"/api/applyInformation/checkTask",method:"get",params:e})}function H(e){return Object(s["a"])({url:"/api/applyInformation/findStudentTaskByTaskId",method:"get",params:e})}function v(e){return Object(s["a"])({url:"/api/admin/applyProject/autoMatch",method:"get",params:e})}},jgfO:function(e,t,a){e.exports={glccSetting:"glccSetting___2iozN",rowBox:"rowBox___2LPWA",colBox:"colBox___19TtG",head:"head___2dlZp"}},yVeT:function(e,t,a){"use strict";a.r(t);var n=a("0Owb"),r=(a("+L6B"),a("2/Rp")),m=(a("y8nQ"),a("Vl3Y")),s=(a("miYZ"),a("tsqr")),c=a("tJVT"),i=(a("iQDF"),a("+eQT")),u=a("q1tI"),l=a.n(u),o=a("MuoO"),p=a("jXWt"),f=a("jgfO"),d=a.n(f),b=a("wd/R"),h=a.n(b),Y=i["a"].RangePicker,E=e=>{var t=e.form,a=t.getFieldDecorator,i=t.setFieldsValue,o=t.validateFieldsAndScroll,f=e.match.params.id,b=Object(u["useState"])(2),E=Object(c["a"])(b,2),g=E[0],w=(E[1],Object(u["useState"])({})),x=Object(c["a"])(w,2),y=x[0],j=x[1];function D(e,t){if(t){var a=[t[0].format("YYYY-MM-DD HH:mm:ss"),t[1].format("YYYY-MM-DD HH:mm:ss")].toString();y[e]?Object(p["o"])({round:g,name:e,value:a}):Object(p["a"])({round:g,name:e,value:a})}}function M(e){e.preventDefault(),o(((e,t)=>{if(!e){for(var a in t)D(a,t[a]);s["default"].success("\u64cd\u4f5c\u6210\u529f")}}))}Object(u["useEffect"])((()=>{Object(p["f"])({round:g}).then((e=>{var t={};e&&e.map((e=>{var a=[];e.value.split(",").map((e=>{a.push(h()(e))})),t[e.name]=a}));var a=t.repoApply,n=t.repoApply1,r=t.repoPublic,m=t.resultPublic,s=t.stuApply,c=t.stuApply1,u=t.stuPublic,l=t.mediumExamine1,o=t.mediumExamine2,p=t.mediumExamine3,f=t.finalExamine1,d=t.finalExamine2,b=t.finalExamine3,Y=t.matching;i({repoApply:a,repoApply1:n,repoPublic:r,stuApply:s,stuApply1:c,stuPublic:u,mediumExamine1:l,mediumExamine2:o,mediumExamine3:p,finalExamine1:f,finalExamine2:d,finalExamine3:b,resultPublic:m,matching:Y}),j(t)}))}),[g]);var O={labelCol:{span:6},wrapperCol:{span:14}},H={};function v(){Object(p["b"])({round:g})}return l.a.createElement("div",{className:"content glcc"},l.a.createElement("div",{className:d.a.head},"GLCC",f,"\u914d\u7f6e"),l.a.createElement(m["a"],Object(n["a"])({className:d.a.glccSetting},O,{onSubmit:M}),l.a.createElement(m["a"].Item,{label:"\u9879\u76ee\u62a5\u540d\uff0c\u63d0\u4ea4\u8bfe\u9898\u65f6\u95f4"},a("repoApply",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u9879\u76ee\u62a5\u540d\uff0c\u63d0\u4ea4\u8bfe\u9898\u65f6\u95f4\uff08\u8865\u5f55\uff09"},a("repoApply1",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u516c\u793a\u9879\u76ee\u3001\u8bfe\u9898\u540d\u5355"},a("repoPublic",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u5b66\u751f\u62a5\u540d\uff0c\u63d0\u4ea4Proposal(\u7b2c\u4e00\u9636\u6bb5)"},a("stuApply",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u5b66\u751f\u62a5\u540d\uff0c\u63d0\u4ea4Proposal(\u8865\u5f55\u9636\u6bb5)"},a("stuApply1",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u5bfc\u5e08-\u5b66\u751f\u914d\u5bf9\u9636\u6bb5"},a("matching",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u516c\u793a\u5165\u9009\u5b66\u751f\u540d\u5355"},a("stuPublic",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u4e2d\u671f\u8003\u6838-\u5b66\u751f\u63d0\u4ea4\u6750\u6599"},a("mediumExamine1",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u4e2d\u671f\u5ba1\u6838-\u5bfc\u5e08\u8bc4\u5ba1"},a("mediumExamine2",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u4e2d\u671f\u5ba1\u6838-\u516c\u793a\u8003\u6838\u7ed3\u679c"},a("mediumExamine3",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u7ed3\u9879\u5ba1\u6838-\u5b66\u751f\u63d0\u4ea4\u6750\u6599"},a("finalExamine1",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u7ed3\u9879\u5ba1\u6838-\u5bfc\u5e08\u8bc4\u5ba1"},a("finalExamine2",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u7ed3\u9879\u5ba1\u6838-\u516c\u793a\u8003\u6838\u7ed3\u679c"},a("finalExamine3",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{label:"\u8bc4\u9009\u516c\u5e03\u4f18\u79c0\u9879\u76ee\u548c\u5b66\u5458"},a("resultPublic",H)(l.a.createElement(Y,{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}))),l.a.createElement(m["a"].Item,{wrapperCol:{span:12,offset:4}},l.a.createElement(r["a"],{type:"primary",htmlType:"submit",style:{width:"120px",marginRight:"20px"}},"\u63d0\u4ea4"),l.a.createElement(r["a"],{type:"primary",style:{width:"120px"},onClick:v},"\u5f00\u59cb\u914d\u5bf9"))))};t["default"]=Object(o["connect"])((e=>{var t=e.user;return{currentUser:t.currentUser}}))(m["a"].create()(E))}}]); |