12345 |
- <<<<<<<< HEAD:dist/assets/student-leave-legacy.4c93b0d2.js
- !function(){function e(e,t,a,r,o,i,n){try{var _=e[i](n),m=_.value}catch(p){return void a(p)}_.done?t(m):Promise.resolve(m).then(r,o)}function t(t){return function(){var a=this,r=arguments;return new Promise((function(o,i){var n=t.apply(a,r);function _(t){e(n,o,i,_,m,"next",t)}function m(t){e(n,o,i,_,m,"throw",t)}_(void 0)}))}}var a=document.createElement("style");a.innerHTML="._leaveWrap_12p3w_1{margin-top:.32rem}._leaveWrap_12p3w_1 ._subTitle_12p3w_4{display:flex;flex-direction:row;align-items:center}._leaveWrap_12p3w_1 ._subTitle_12p3w_4 ._subTitleIcon_12p3w_9{font-size:.53333rem;margin-right:.16rem}._leaveWrap_12p3w_1 ._subTitle_12p3w_4 span{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19{margin:.32rem .34667rem .53333rem;background-color:#fff;border-radius:.26667rem;padding:.4rem .32rem .53333rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19 ._leaveDate_12p3w_25{margin-top:.26667rem;font-size:.4rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:.56rem;margin-bottom:.53333rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19 ._leaveReason_12p3w_34{margin-top:.26667rem;font-size:.4rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:.56rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42{margin:.53333rem .34667rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42 ._courseWrapTitlte_12p3w_45{padding:0 .32rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42 ._courseList_12p3w_48{padding-top:.26667rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51{margin:0 .34667rem;border-radius:.26667rem;overflow:hidden;background-color:#fff}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._bottomIcon_12p3w_57{font-size:.53333rem;margin-right:.16rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._van-field_12p3w_61{padding:0 .32rem;min-height:5.33333rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._reasonLabelLeft_12p3w_65{display:flex;flex-direction:row;align-items:center;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._leaveWrap_12p3w_1 ._btnWrap_12p3w_74{margin-top:.8rem}._leaveWrap_12p3w_1 ._btnWrap_12p3w_74 ._unpassBtn_12p3w_77{border-radius:.58667rem}._leaveWrap_12p3w_1 .van-field__word-limit{position:absolute;top:-.8rem;right:0}._leaveWrap_12p3w_1 .van-field__control:disabled{color:#777;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#777}._titleDot_12p3w_91{width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._itemWrap_1om1w_1{margin-bottom:.32rem;padding:.32rem .4rem .4rem;border-radius:.26667rem;background-color:#fff}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-bottom:.32rem;border-bottom:.02667rem solid #f2f2f2}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15{display:flex;flex-direction:row;align-items:center}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._clockWrap_1om1w_20{width:.48rem;height:.48rem;margin-right:.16rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._clockWrap_1om1w_20 img{width:100%;height:100%}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._leftTimer_1om1w_29{font-size:.37333rem;font-weight:500;color:#333;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35{display:flex;flex-direction:row;align-items:center}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._passLabel_1om1w_40{font-size:.37333rem;font-weight:500;color:#4ab78e;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._unpassLabel_1om1w_46{font-size:.37333rem;font-weight:500;color:#f44541;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._passIcon_1om1w_52{font-size:.42667rem;margin-right:.10667rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._msgIcon_1om1w_56{font-size:.64rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59{padding-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._itemWrapBottomMain_1om1w_66{margin-bottom:.10667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;width:5.33333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._itemWrapBottomSub_1om1w_77{font-size:.37333rem;font-weight:400;color:#777;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._rejectBtn_1om1w_83{font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#f67146;line-height:.8rem;height:.8rem;background:#ffffff;border-radius:.4rem;border:.02667rem solid #ff8057;padding:0 .74667rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._rejectBtn_1om1w_83:active{opacity:.7}\n",document.head.appendChild(a),System.register(["./index-legacy.48c8d62c.js","./approval-item-legacy.63d4a9ce.js","./index-legacy.5a3e4145.js","./index-legacy.55fe5b03.js","./clock-icon-legacy.2424f549.js","./default-icon-legacy.59172ab1.js","./student-icon-legacy.91b6689d.js","./msg-icon-legacy.53a0c92f.js","./index-legacy.087e0425.js"],(function(e){"use strict";var a,r,o,i,n,_,m,p,l,s,c,u,w,d,f,g;return{setters:[function(e){a=e.d,r=e.ag,o=e.c,i=e.ah,n=e.q,_=e.F,m=e.aV,p=e.r,l=e.$,s=e.B,c=e.R,u=e.m,w=e.o},function(e){d=e.A},function(e){f=e.O},function(e){g=e.F},function(){},function(){},function(){},function(){},function(){}],execute:function(){var v="_leaveWrap_12p3w_1",W="_subTitle_12p3w_4",h="_leaveInfo_12p3w_19",b="_leaveDate_12p3w_25",A="_leaveReason_12p3w_34",T="_courseWrap_12p3w_42",y="_courseWrapTitlte_12p3w_45",x="_courseList_12p3w_48",R="_reasonWrap_12p3w_51",B="_reasonLabelLeft_12p3w_65",I="_btnWrap_12p3w_74",L="_unpassBtn_12p3w_77",C="_titleDot_12p3w_91",S={itemWrap:"_itemWrap_1om1w_1",itemWrapTop:"_itemWrapTop_1om1w_7",itemWrapTopLeft:"_itemWrapTopLeft_1om1w_15",clockWrap:"_clockWrap_1om1w_20",leftTimer:"_leftTimer_1om1w_29",itemWrapTopRight:"_itemWrapTopRight_1om1w_35",passLabel:"_passLabel_1om1w_40",unpassLabel:"_unpassLabel_1om1w_46",passIcon:"_passIcon_1om1w_52",msgIcon:"_msgIcon_1om1w_56",itemWrapBottom:"_itemWrapBottom_1om1w_59",itemWrapBottomMain:"_itemWrapBottomMain_1om1w_66",itemWrapBottomSub:"_itemWrapBottomSub_1om1w_77",rejectBtn:"_rejectBtn_1om1w_83"},j=a({props:["item","type"],name:"student-course-item",setup:function(e){var t=r(),a=function(){t.push({path:"/course-adjust",query:{id:e.item.id,isBack:"true"}})};return function(){return o(_,null,[o("div",{class:S.itemWrap},[o("div",{class:S.itemWrapTop},[o("div",{class:S.itemWrapTopLeft},[o("div",{class:S.clockWrap},[o("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAmCAYAAACsyDmTAAAAAXNSR0IArs4c6QAAA8VJREFUWEfNmDtsE0sUQO8d24qSFLxHEUChAIGo6F4R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WmBOOe6QTvdmNltH65pgGIdrqYeJW4/0gDFaj/0wmkatKRAiRo0c4zoa0/sFjYJUOIWNli8o5r8uoOvc65BDZbqjItiAJX0Kq2UWgEAP+cqHUB11GNDfRYFzzFEtAMA1rd6jgGA/xDxxk95jglL7d/+YJWk5qSdG/k+lHbhtHLfAGtPoUUd9vdqAAAAAElFTkSuQmCC",alt:""},null)]),o("p",{class:S.leftTimer},[i(e.item.startTime).format("YYYY-MM-DD HH:mm"),n(" -"),i(e.item.endTime).format("HH:mm")])])]),o("div",{class:S.itemWrapBottom},[o("div",null,[o("p",{class:S.itemWrapBottomMain},[e.item.className,n("-"),e.item.teacherName]),o("p",{class:S.itemWrapBottomSub},[e.item.orchestraName])]),o("div",{class:S.itemWrapBottomRight},["STUDENT"==e.type?null:o("div",{class:S.rejectBtn,onClick:a},[n("调整")])])])])])}}});c("wait");var k=c({}),D=c([]),Y=c(""),q=c(!1);e("default",a({name:"approval-manage",setup:function(){var e=r(),a=m(),c=p({dialogStatus:!1,dialogMessage:""}),S=function(){var e=t(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.get("/api-school/userApproveRecord/detail/".concat(a.query.id),{});case 3:t=e.sent,r=t.data,k.value=r,D.value=r.courseScheduleList||[],Y.value=k.value.approvalComments,e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),o=e.t0.message,w(o);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();l((function(){Y.value="",q.value="end"==a.query.type,S()}));var z=function(){var r=t(regeneratorRuntime.mark((function t(r){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Y.value){t.next=3;break}return w("请输入审批原因"),t.abrupt("return");case 3:return t.prev=3,t.next=6,u.post("/api-school/userApproveRecord/approval",{hideLoading:!1,data:{id:a.query.id,approvalComments:Y.value,status:r}});case 6:999===(o=t.sent).code?(c.dialogStatus=!0,c.dialogMessage=o.message):e.back(),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),w(t.t0.message||"提交失败");case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return r.apply(this,arguments)}}();return function(){return o(_,null,[o("div",{class:v},[o(d,{item:k.value,type:a.query.type},null),"LEAVE"==k.value.approveType?o("div",null,[o("div",{class:h},[o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("请假日期")])]),o("p",{class:b},[i(k.value.startTime).format("YYYY年MM月DD日"),n(" -")," ",i(k.value.endTime).format("YYYY年MM月DD日")]),o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("请假原因")])]),o("p",{class:A},[k.value.approveReason])]),D.value.length>0?o("div",{class:T},[o("div",{class:y},[" ",o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("涉及课程")])])]),o("div",{class:x},[D.value.map((function(e){return o(j,{item:e,type:k.value.clientType},null)}))])]):null]):null,"ORCHESTRA"==k.value.approveType?o("div",null,[o("div",{class:h},[o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("退团原因")])]),o("p",{class:A},[k.value.approveReason])])]):null,o("div",{class:R},[o(g,{"label-align":"top",maxlength:400,modelValue:Y.value,"onUpdate:modelValue":function(e){return Y.value=e},autosize:!0,type:"textarea",rows:5,"show-word-limit":!0,placeholder:"请输入你的审批意见",disabled:q.value},{label:function(){return o("div",null,[o("div",{class:B},[" ",o("span",{class:C},null),o("span",null,[n("意见审批")])])])}})]),q.value?null:o("div",{class:["btnGroup btnMore",I]},[o(s,{color:"#ccc",class:L,onClick:function(){return z("UNPASS")}},{default:function(){return[n("拒绝")]}}),o(s,{color:"#FF8057",class:L,onClick:function(){return z("PASS")}},{default:function(){return[n("通过")]}})]),o(f,{title:"提示",show:c.dialogStatus,"onUpdate:show":function(e){return c.dialogStatus=e},message:c.dialogMessage,confirmButtonText:"确定",onConfirm:function(){e.back()}},null)])])}}}))}}}))}();
- ========
- !function(){function e(e,t,a,r,o,i,n){try{var _=e[i](n),m=_.value}catch(p){return void a(p)}_.done?t(m):Promise.resolve(m).then(r,o)}function t(t){return function(){var a=this,r=arguments;return new Promise((function(o,i){var n=t.apply(a,r);function _(t){e(n,o,i,_,m,"next",t)}function m(t){e(n,o,i,_,m,"throw",t)}_(void 0)}))}}var a=document.createElement("style");a.innerHTML="._leaveWrap_12p3w_1{margin-top:.32rem}._leaveWrap_12p3w_1 ._subTitle_12p3w_4{display:flex;flex-direction:row;align-items:center}._leaveWrap_12p3w_1 ._subTitle_12p3w_4 ._subTitleIcon_12p3w_9{font-size:.53333rem;margin-right:.16rem}._leaveWrap_12p3w_1 ._subTitle_12p3w_4 span{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19{margin:.32rem .34667rem .53333rem;background-color:#fff;border-radius:.26667rem;padding:.4rem .32rem .53333rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19 ._leaveDate_12p3w_25{margin-top:.26667rem;font-size:.4rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:.56rem;margin-bottom:.53333rem}._leaveWrap_12p3w_1 ._leaveInfo_12p3w_19 ._leaveReason_12p3w_34{margin-top:.26667rem;font-size:.4rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#333;line-height:.56rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42{margin:.53333rem .34667rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42 ._courseWrapTitlte_12p3w_45{padding:0 .32rem}._leaveWrap_12p3w_1 ._courseWrap_12p3w_42 ._courseList_12p3w_48{padding-top:.26667rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51{margin:0 .34667rem;border-radius:.26667rem;overflow:hidden;background-color:#fff}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._bottomIcon_12p3w_57{font-size:.53333rem;margin-right:.16rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._van-field_12p3w_61{padding:0 .32rem;min-height:5.33333rem}._leaveWrap_12p3w_1 ._reasonWrap_12p3w_51 ._reasonLabelLeft_12p3w_65{display:flex;flex-direction:row;align-items:center;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._leaveWrap_12p3w_1 ._btnWrap_12p3w_74{margin-top:.8rem}._leaveWrap_12p3w_1 ._btnWrap_12p3w_74 ._unpassBtn_12p3w_77{border-radius:.58667rem}._leaveWrap_12p3w_1 .van-field__word-limit{position:absolute;top:-.8rem;right:0}._leaveWrap_12p3w_1 .van-field__control:disabled{color:#777;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#777}._titleDot_12p3w_91{width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._itemWrap_1om1w_1{margin-bottom:.32rem;padding:.32rem .4rem .4rem;border-radius:.26667rem;background-color:#fff}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-bottom:.32rem;border-bottom:.02667rem solid #f2f2f2}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15{display:flex;flex-direction:row;align-items:center}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._clockWrap_1om1w_20{width:.48rem;height:.48rem;margin-right:.16rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._clockWrap_1om1w_20 img{width:100%;height:100%}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopLeft_1om1w_15 ._leftTimer_1om1w_29{font-size:.37333rem;font-weight:500;color:#333;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35{display:flex;flex-direction:row;align-items:center}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._passLabel_1om1w_40{font-size:.37333rem;font-weight:500;color:#4ab78e;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._unpassLabel_1om1w_46{font-size:.37333rem;font-weight:500;color:#f44541;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._passIcon_1om1w_52{font-size:.42667rem;margin-right:.10667rem}._itemWrap_1om1w_1 ._itemWrapTop_1om1w_7 ._itemWrapTopRight_1om1w_35 ._msgIcon_1om1w_56{font-size:.64rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59{padding-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._itemWrapBottomMain_1om1w_66{margin-bottom:.10667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;width:5.33333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._itemWrapBottomSub_1om1w_77{font-size:.37333rem;font-weight:400;color:#777;line-height:.53333rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._rejectBtn_1om1w_83{font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#f67146;line-height:.8rem;height:.8rem;background:#ffffff;border-radius:.4rem;border:.02667rem solid #ff8057;padding:0 .74667rem}._itemWrap_1om1w_1 ._itemWrapBottom_1om1w_59 ._rejectBtn_1om1w_83:active{opacity:.7}\n",document.head.appendChild(a),System.register(["./index-legacy.c1f63540.js","./approval-item-legacy.41c45411.js","./index-legacy.8e95ea07.js","./index-legacy.45603cb6.js","./clock-icon-legacy.2424f549.js","./default-icon-legacy.59172ab1.js","./student-icon-legacy.91b6689d.js","./msg-icon-legacy.53a0c92f.js","./index-legacy.8a8e9c42.js"],(function(e){"use strict";var a,r,o,i,n,_,m,p,l,s,c,u,w,d,f,g;return{setters:[function(e){a=e.d,r=e.ag,o=e.c,i=e.ai,n=e.q,_=e.F,m=e.ah,p=e.r,l=e.$,s=e.B,c=e.R,u=e.m,w=e.o},function(e){d=e.A},function(e){f=e.O},function(e){g=e.F},function(){},function(){},function(){},function(){},function(){}],execute:function(){var v="_leaveWrap_12p3w_1",W="_subTitle_12p3w_4",h="_leaveInfo_12p3w_19",b="_leaveDate_12p3w_25",A="_leaveReason_12p3w_34",T="_courseWrap_12p3w_42",y="_courseWrapTitlte_12p3w_45",x="_courseList_12p3w_48",R="_reasonWrap_12p3w_51",B="_reasonLabelLeft_12p3w_65",I="_btnWrap_12p3w_74",L="_unpassBtn_12p3w_77",C="_titleDot_12p3w_91",S={itemWrap:"_itemWrap_1om1w_1",itemWrapTop:"_itemWrapTop_1om1w_7",itemWrapTopLeft:"_itemWrapTopLeft_1om1w_15",clockWrap:"_clockWrap_1om1w_20",leftTimer:"_leftTimer_1om1w_29",itemWrapTopRight:"_itemWrapTopRight_1om1w_35",passLabel:"_passLabel_1om1w_40",unpassLabel:"_unpassLabel_1om1w_46",passIcon:"_passIcon_1om1w_52",msgIcon:"_msgIcon_1om1w_56",itemWrapBottom:"_itemWrapBottom_1om1w_59",itemWrapBottomMain:"_itemWrapBottomMain_1om1w_66",itemWrapBottomSub:"_itemWrapBottomSub_1om1w_77",rejectBtn:"_rejectBtn_1om1w_83"},j=a({props:["item","type"],name:"student-course-item",setup:function(e){var t=r(),a=function(){t.push({path:"/course-adjust",query:{id:e.item.id,isBack:"true"}})};return function(){return o(_,null,[o("div",{class:S.itemWrap},[o("div",{class:S.itemWrapTop},[o("div",{class:S.itemWrapTopLeft},[o("div",{class:S.clockWrap},[o("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAmCAYAAACsyDmTAAAAAXNSR0IArs4c6QAAA8VJREFUWEfNmDtsE0sUQO8d24qSFLxHEUChAIGo6F4RxEcChICCDhCfCj2gDLzAsjOOkDBC4Nm1QwQp+YgOUKBDQlA8HuIjqGioEC/QAAEhP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WNli8o5r8uoOvc65BDZbqjItiAJX0Kq2UWgEAP+cqHUB11GNDfRYFzzFEtAMA1rd6jgGA/xDxxk95jglL7d/+YJWk5qSdG/k+lHbhtHLfAGtPoUUd9vdqAAAAAElFTkSuQmCC",alt:""},null)]),o("p",{class:S.leftTimer},[i(e.item.startTime).format("YYYY-MM-DD HH:mm"),n(" -"),i(e.item.endTime).format("HH:mm")])])]),o("div",{class:S.itemWrapBottom},[o("div",null,[o("p",{class:S.itemWrapBottomMain},[e.item.className,n("-"),e.item.teacherName]),o("p",{class:S.itemWrapBottomSub},[e.item.orchestraName])]),o("div",{class:S.itemWrapBottomRight},["STUDENT"==e.type?null:o("div",{class:S.rejectBtn,onClick:a},[n("调整")])])])])])}}});c("wait");var k=c({}),D=c([]),Y=c(""),q=c(!1);e("default",a({name:"approval-manage",setup:function(){var e=r(),a=m(),c=p({dialogStatus:!1,dialogMessage:""}),S=function(){var e=t(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.get("/api-school/userApproveRecord/detail/".concat(a.query.id),{});case 3:t=e.sent,r=t.data,k.value=r,D.value=r.courseScheduleList||[],Y.value=k.value.approvalComments,e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),o=e.t0.message,w(o);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();l((function(){Y.value="",q.value="end"==a.query.type,S()}));var z=function(){var r=t(regeneratorRuntime.mark((function t(r){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Y.value){t.next=3;break}return w("请输入审批原因"),t.abrupt("return");case 3:return t.prev=3,t.next=6,u.post("/api-school/userApproveRecord/approval",{hideLoading:!1,data:{id:a.query.id,approvalComments:Y.value,status:r}});case 6:999===(o=t.sent).code?(c.dialogStatus=!0,c.dialogMessage=o.message):e.back(),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),w(t.t0.message||"提交失败");case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return r.apply(this,arguments)}}();return function(){return o(_,null,[o("div",{class:v},[o(d,{item:k.value,type:a.query.type},null),"LEAVE"==k.value.approveType?o("div",null,[o("div",{class:h},[o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("请假日期")])]),o("p",{class:b},[i(k.value.startTime).format("YYYY年MM月DD日"),n(" -")," ",i(k.value.endTime).format("YYYY年MM月DD日")]),o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("请假原因")])]),o("p",{class:A},[k.value.approveReason])]),D.value.length>0?o("div",{class:T},[o("div",{class:y},[" ",o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("涉及课程")])])]),o("div",{class:x},[D.value.map((function(e){return o(j,{item:e,type:k.value.clientType},null)}))])]):null]):null,"ORCHESTRA"==k.value.approveType?o("div",null,[o("div",{class:h},[o("p",{class:W},[o("span",{class:C},null),o("span",null,[n("退团原因")])]),o("p",{class:A},[k.value.approveReason])])]):null,o("div",{class:R},[o(g,{"label-align":"top",maxlength:400,modelValue:Y.value,"onUpdate:modelValue":function(e){return Y.value=e},autosize:!0,type:"textarea",rows:5,"show-word-limit":!0,placeholder:"请输入你的审批意见",disabled:q.value},{label:function(){return o("div",null,[o("div",{class:B},[" ",o("span",{class:C},null),o("span",null,[n("意见审批")])])])}})]),q.value?null:o("div",{class:["btnGroup btnMore",I]},[o(s,{color:"#ccc",class:L,onClick:function(){return z("UNPASS")}},{default:function(){return[n("拒绝")]}}),o(s,{color:"#FF8057",class:L,onClick:function(){return z("PASS")}},{default:function(){return[n("通过")]}})]),o(f,{title:"提示",show:c.dialogStatus,"onUpdate:show":function(e){return c.dialogStatus=e},message:c.dialogMessage,confirmButtonText:"确定",onConfirm:function(){e.back()}},null)])])}}}))}}}))}();
- >>>>>>>> online:dist/assets/student-leave-legacy.3f1ef3c3.js
|