index-legacy-c1a1b8dd-1708220053196.js 6.7 KB

1
  1. System.register(["./teacherIcon-legacy-3eeb62c3-1708220053196.js","./api-legacy-381e138c-1708220053196.js","./index-legacy-2f7e396d-1708220053196.js"],(function(e,t){"use strict";var o,n,_,i,r,a,m,s,l,w,d,b,c,u,x;return{setters:[e=>{o=e.d},e=>{n=e.d},e=>{_=e.d,i=e.b,r=e.e,a=e.f,m=e.k,s=e.a8,l=e.K,w=e.h,d=e.w,b=e.j,c=e.l,u=e.m,x=e.s}],execute:function(){var v=document.createElement("style");v.textContent="._commonWork_x4bwt_1{width:24.63541667vw;background:#FFFFFF;border-radius:.83333333vw;position:relative;padding:0 1.5625vw 1.82291667vw}._commonWork_x4bwt_1 ._downMoveBg_x4bwt_8{position:absolute;top:0;left:0;width:24.63541667vw;height:6.30208333vw}._commonWork_x4bwt_1 ._dingPng_x4bwt_15{width:8.4375vw;height:5.10416667vw;position:absolute;left:50%;margin-left:-4.21875vw;top:-2.55208333vw;z-index:100}._commonWork_x4bwt_1 ._closeAble_x4bwt_24{cursor:pointer;width:1.30208333vw;height:1.30208333vw;position:absolute;top:.9375vw;right:1.04166667vw}._commonWork_x4bwt_1 h2{margin-top:3.33333333vw;height:1.71875vw;font-size:1.25rem;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000;line-height:1.71875vw;text-align:center;margin-bottom:.78125vw}._commonWork_x4bwt_1 ._header_x4bwt_43{display:flex;align-items:center;padding:0 0 .67708333vw}._commonWork_x4bwt_1 ._header_x4bwt_43 ._navatar_x4bwt_48{width:3.125vw;height:3.125vw;border-radius:50%;padding:.10416667vw;border:1px solid #198CFE;margin-right:.78125vw;flex-shrink:0;background-color:#fff!important}._commonWork_x4bwt_1 ._header_x4bwt_43 ._navatar_x4bwt_48 img{border-radius:50%}._commonWork_x4bwt_1 ._header_x4bwt_43 ._userInfo_x4bwt_61{padding-top:.20833333vw;flex:1}._commonWork_x4bwt_1 ._header_x4bwt_43 ._userInfo_x4bwt_61 h3{font-size:max(.88541667rem,14Px);font-weight:600;color:#131415;line-height:1.45833333vw}._commonWork_x4bwt_1 ._header_x4bwt_43 ._userInfo_x4bwt_61 p{font-size:max(.83333333rem,12Px);color:#777;line-height:1.45833333vw}._commonWork_x4bwt_1 ._textarea_x4bwt_76{margin-top:.41666667vw;background-color:#f2f4f7!important;border-radius:.52083333vw;--n-border: 1px solid #F2F4F7 !important}._commonWork_x4bwt_1 .n-button{min-width:8.125vw}._commonWork_x4bwt_1 ._submitAppBtn_x4bwt_85{background:linear-gradient(305deg,#40C8FF 0%,#3192FF 100%);border-radius:1.25vw;border:none}._commonWork_x4bwt_1 ._submitAppBtn_x4bwt_85 .n-button__border,._commonWork_x4bwt_1 ._submitAppBtn_x4bwt_85 .n-button__state-border{display:none}._removeVisiable1_x4bwt_96{width:24.63541667vw}._removeVisiable1_x4bwt_96 .n-card-header{font-size:max(1.14583333rem,16Px)}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102{padding:1.04166667vw 2.08333333vw 0}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102 p{font-size:max(.9375rem,14Px);color:#777;line-height:1.5625vw}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102 p span{color:#ea4132}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102 ._selectBtn_x4bwt_113{display:flex;justify-content:center;padding-top:.67708333vw;padding-bottom:.41666667vw}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102 ._selectBtn_x4bwt_113 .n-checkbox{display:flex;align-items:center;--n-border-radius: 50% !important}._removeVisiable1_x4bwt_96 ._studentRemove_x4bwt_102 ._selectBtn_x4bwt_113 .n-checkbox__label{font-size:max(.83333333rem,12Px);color:#777;line-height:1.25vw}._removeVisiable1_x4bwt_96 ._btnGroupModal_x4bwt_129{padding:1.66666667vw 0}._removeVisiable1_x4bwt_96 ._btnGroupModal_x4bwt_129 .n-button{height:2.44791667vw;min-width:8.125vw}\n",document.head.appendChild(v),e("n",""+new URL("nosub-edbc4601.png",t.meta.url).href),e("q",""+new URL("qualified-5f6fc5ac.png",t.meta.url).href),e("u",""+new URL("unqualified-89af2593.png",t.meta.url).href);const p="_commonWork_x4bwt_1",g="_downMoveBg_x4bwt_8",h="_dingPng_x4bwt_15",f="_closeAble_x4bwt_24",k="_header_x4bwt_43",A="_navatar_x4bwt_48",C="_userInfo_x4bwt_61",R="_textarea_x4bwt_76",F="_submitAppBtn_x4bwt_85",y="_removeVisiable1_x4bwt_96",B="_studentRemove_x4bwt_102",W="_selectBtn_x4bwt_113",V="_btnGroupModal_x4bwt_129",I=""+new URL("common-bg-21ff5439.png",t.meta.url).href,L=""+new URL("common-top-49f36bee.png",t.meta.url).href;e("C",_({name:"commit-work",props:{comment:{type:String,default:""},workInfo:{type:Object,default:()=>({})}},emits:["close","confrim"],setup(e,{emit:t}){const _=i(),v=r({removeVisiable1:!1,comment:e.comment,btnLoading:!1,commentRemind:!0}),M=async()=>{if(1==x.get("isCommentRemind")){v.btnLoading=!0;try{await n({comment:v.comment,id:e.workInfo.studentLessonTrainingId}),_.success("点评成功"),t("confrim")}catch{}v.btnLoading=!1}else v.removeVisiable1=!0},j=()=>{v.commentRemind&&x.set("isCommentRemind",1),v.removeVisiable1=!1,M()};return()=>a("div",{class:p},[a("img",{src:L,class:h,alt:""},null),a("img",{src:I,class:g,alt:""},null),a("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAdFJREFUWEftlr1KA0EQx2eXq0KuFKyCjVZa5TbBIp2CreAbKD6AhZVWWmsn+FGKjYj4AErKbG7vCbSzESsRuSskGdlwCWG5j529IhbZenb+v52d+e8ymPFiM9aHOcD/rIAQQiDiIef8rt/vP1bpk06ns5AkySlj7DMMw2MzV2YFgiC4R8QdAEAA2I+i6MYFIhV/QcRVvd/zvBUp5et0rkyAVqu1PRgMHgBGTeoEYYoDgFRKrTPGdL7Jyu2BZrO5BwBXLhCmOGNM1ev1zW63+2V1BeMgFwiKuNYpnQIKBFXcCkAH2UC4iFsDlEG4ipMA8iBqtdpTkiSTUStquKxRLu0Bc1PGdbwDQGN0moJuz/MRMoBOFATBLiJeG00c+b6/kTVqRSbmBKDvPI5jNT55evoDpdQ51THJAKn4MwCsGWJOjkkCyLDXiDF2i4hnLo5JmoKiUTN6glQJqwrYzLkrRCmAjXiVt6MQgCLuCpEL4CLuApEJUEWcCpH3JbtExH1Xe82B+OWcN8Iw/Cj9EQkhTobD4ZH+Rvm+v0W112mB9O24AIAfz/OWpJTfpQA6oN1uL/d6vTfzD0e1Wh0vhFjknMemOMmIXIRt9pT6gE2SKjFzgD9jrG8wBso1CwAAAABJRU5ErkJggg==",class:f,onClick:()=>{t("close")},alt:""},null),a("h2",null,[m("点评作业")]),a("div",{class:k},[a(s,{class:A,round:!0,src:o},null),a("div",{class:C},[a("h3",null,[e.workInfo.studentName]),a("p",null,[m("提交时间:"),l(e.workInfo.submitTime).format("YYYY-MM-DD")])])]),a(w,{class:R,type:"textarea",rows:10,maxlength:500,showCount:!0,autosize:!1,disabled:e.workInfo.isLook,value:v.comment,"onUpdate:value":e=>v.comment=e,placeholder:"请输入评语…"},null),!e.workInfo.isLook&&a(d,{style:{padding:"25px 0 0 0"},justify:"center"},{default:()=>[a(b,{round:!0,type:"default",onClick:()=>t("close")},{default:()=>[m("取消")]}),a(b,{class:F,round:!0,type:"primary",loading:v.btnLoading,onClick:M},{default:()=>[m("确定")]})]}),a(c,{show:v.removeVisiable1,"onUpdate:show":e=>v.removeVisiable1=e,preset:"card",class:["modalTitle",y],title:"提交评语"},{default:()=>[a("div",{class:B},[a("p",null,[m("评语提交后"),a("span",null,[m("不可修改或删除")]),m(",请确认是否提交")]),a("div",{class:W},[a(u,{checked:v.commentRemind,"onUpdate:checked":e=>v.commentRemind=e},{default:()=>[m("下次不在提醒")]})]),a(d,{class:V,justify:"center"},{default:()=>[a(b,{round:!0,onClick:()=>v.removeVisiable1=!1},{default:()=>[m("取消")]}),a(b,{round:!0,type:"primary",onClick:j},{default:()=>[m("确定")]})]})])]})])}}))}}}));