(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a2ea5dd2"],{"00a5":function(e,t,o){e.exports=o.p+"assets/img/_questionaire.da3956ee.svg"},"262f":function(e,t,o){},"2a14":function(e,t,o){e.exports=o.p+"assets/img/_information.8cb26912.svg"},"425c":function(e,t,o){e.exports=o.p+"assets/img/information.bcebf498.svg"},"47d8":function(e,t,o){"use strict";o("d66a")},"4d26":function(e,t,o){e.exports=o.p+"assets/img/coursesEn.6ff77966.png"},6241:function(e,t,o){e.exports=o.p+"assets/img/speech.582380a0.svg"},"8c39":function(e,t,o){e.exports=o.p+"assets/img/message.ff552214.svg"},9290:function(e,t,o){},"95fb":function(e,t,o){"use strict";o("9290")},9709:function(e,t,o){e.exports=o.p+"assets/img/questionaire.3b33c6a3.svg"},"978c":function(e,t,o){e.exports=o.p+"assets/img/_speech.ac714510.svg"},"9d4a":function(e,t,o){"use strict";o("9ff6")},"9f0f":function(e,t,o){e.exports=o.p+"assets/img/download.6a95d1c5.svg"},"9ff6":function(e,t,o){},a6f7:function(e,t,o){"use strict";o("d2f0")},bbe2:function(e,t,o){e.exports=o.p+"assets/img/_message.d35e9f73.svg"},c88f:function(e,t,o){"use strict";o("262f")},d2f0:function(e,t,o){},d66a:function(e,t,o){},d733:function(e,t,o){"use strict";o.r(t);var a=o("f2bf");const l=e=>(Object(a["pushScopeId"])("data-v-3fb6eab4"),e=e(),Object(a["popScopeId"])(),e),c={class:"courses-header"},s={class:"courses-title"},n={class:"courses-title-left"},i={class:"title-right"},r={class:"courses-switch"},d=l(()=>Object(a["createElementVNode"])("span",{class:"switch-time"},"* 24 hour clock",-1)),m=["src"],u=["src"],b={class:"mooc-text"},h={class:"mooc-title"},g={class:"mooc-author"},p={key:0,class:"time-color"},O=l(()=>Object(a["createElementVNode"])("div",{class:"live"},"live",-1)),j=["src"],v=["src"],f={class:"mooc-text"},k={class:"mooc-title"},C={class:"mooc-author"},V={key:0,class:"time-color"},N={class:"admin-list-card"},E={key:1,class:"courses-teacher-tip"},x=l(()=>Object(a["createElementVNode"])("span",null,"Go to watch the live broadcast ? ",-1)),w={class:"dialog-footer"};function y(e,t,o,l,y,B){const S=Object(a["resolveComponent"])("el-option"),L=Object(a["resolveComponent"])("el-select"),I=Object(a["resolveComponent"])("el-card"),T=Object(a["resolveComponent"])("el-button"),F=Object(a["resolveComponent"])("el-col"),$=Object(a["resolveComponent"])("el-row"),D=Object(a["resolveComponent"])("Comment"),_=Object(a["resolveComponent"])("score"),A=Object(a["resolveComponent"])("el-dialog"),U=Object(a["resolveComponent"])("suspend");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[y.isStudent||"admin"==y.pageType?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:0,class:Object(a["normalizeClass"])("admin"==y.pageType?"admin-courses":"courses")},[Object(a["createElementVNode"])("div",c,[Object(a["createElementVNode"])("div",s,[Object(a["createElementVNode"])("div",n,[Object(a["createTextVNode"])(Object(a["toDisplayString"])("admin"==y.pageType?"":"My Seminar&Workshop   ")+" ",1),"admin"==y.pageType?(Object(a["openBlock"])(),Object(a["createBlock"])(L,{key:0,modelValue:y.currentClassId,"onUpdate:modelValue":t[0]||(t[0]=e=>y.currentClassId=e),placeholder:"请选择",onChange:B.selectClass},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(y.classRes,e=>(Object(a["openBlock"])(),Object(a["createBlock"])(S,{key:e.id,label:e.className,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])):Object(a["createCommentVNode"])("",!0)]),Object(a["createElementVNode"])("div",i,[Object(a["createElementVNode"])("div",{class:Object(a["normalizeClass"])(["title-right-live",{"tab-selected":0==y.tabSelectIndex}]),onClick:t[1]||(t[1]=e=>y.tabSelectIndex=0)},"LIVE",2),Object(a["createElementVNode"])("div",{class:Object(a["normalizeClass"])(["title-right-live",{"tab-selected":1==y.tabSelectIndex}]),onClick:t[2]||(t[2]=e=>y.tabSelectIndex=1)},"RECORD",2),Object(a["createElementVNode"])("div",{class:Object(a["normalizeClass"])(["title-right-live",{"tab-selected":2==y.tabSelectIndex}]),onClick:t[3]||(t[3]=(...e)=>B.handleClickComment&&B.handleClickComment(...e))},"COMMENT",2)])]),Object(a["createElementVNode"])("div",r,[Object(a["createVNode"])(L,{modelValue:y.chooseIndex,"onUpdate:modelValue":t[4]||(t[4]=e=>y.chooseIndex=e),placeholder:"UTC","popper-class":"courses-select","popper-append-to-body":!1,onChange:t[5]||(t[5]=e=>B.selectChange(e))},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(y.options,e=>(Object(a["openBlock"])(),Object(a["createBlock"])(S,{key:e.value,label:e.label,value:e.index},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),d])]),Object(a["withDirectives"])(Object(a["createVNode"])($,{class:"admin-list-card",gutter:24},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(y.list,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],{key:t},[2==e.type?(Object(a["openBlock"])(),Object(a["createBlock"])(F,{key:0,xs:18,sm:10,md:8,lg:8,style:{"margin-bottom":"30px"}},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(I,{"body-style":{padding:"0px"},shadow:"hover",class:"l-card",onClick:t=>B.detail(e)},{default:Object(a["withCtx"])(()=>[e.image?(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",{key:0,src:e.image,class:"mooc-image"},null,8,m)):(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",{key:1,src:y.imageLive,class:"mooc-image"},null,8,u)),Object(a["createElementVNode"])("div",b,[Object(a["createElementVNode"])("div",h,[Object(a["createElementVNode"])("span",null,Object(a["toDisplayString"])(e.title),1)]),Object(a["createElementVNode"])("div",g,[Object(a["createElementVNode"])("span",null,[Object(a["withDirectives"])(Object(a["createElementVNode"])("p",null,"Presenter: "+Object(a["toDisplayString"])(e.presenter),513),[[a["vShow"],e.presenter]]),0!=e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createElementBlock"])("p",p,Object(a["toDisplayString"])(B.getCurrentTime(e.startTime,y.chooseValue,1)),1)):Object(a["createCommentVNode"])("",!0)]),0==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createElementBlock"])("span",{key:0,class:Object(a["normalizeClass"])(["mooc-time",["mooc-time","time-color"]])},Object(a["toDisplayString"])(B.getCurrentTime(e.startTime,y.chooseValue,1)),1)):Object(a["createCommentVNode"])("",!0)])]),O]),_:2},1032,["onClick"]),1==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createBlock"])(T,{key:0,class:"mooc-evaluation",type:"text",onClick:t=>B.evaluation(e)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Evaluation")]),_:2},1032,["onClick"])):Object(a["createCommentVNode"])("",!0),2==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createBlock"])(T,{key:1,class:"mooc-evaluation",type:"text",onClick:t=>B.toLive(e)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(" Live broadcast ")]),_:2},1032,["onClick"])):Object(a["createCommentVNode"])("",!0)]),_:2},1024)):Object(a["createCommentVNode"])("",!0)],64))),128))]),_:1},512),[[a["vShow"],0==y.tabSelectIndex]]),Object(a["withDirectives"])(Object(a["createVNode"])($,{class:"admin-list-card",gutter:24},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(y.list,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],{key:t},[1==e.type?(Object(a["openBlock"])(),Object(a["createBlock"])(F,{key:0,xs:18,sm:10,md:8,lg:8,style:{"margin-bottom":"30px"}},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(I,{"body-style":{padding:"0px"},shadow:"hover",class:"l-card",onClick:t=>B.detail(e)},{default:Object(a["withCtx"])(()=>[e.image?(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",{key:0,src:e.image,class:"mooc-image"},null,8,j)):(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",{key:1,src:y.image,class:"mooc-image"},null,8,v)),Object(a["createElementVNode"])("div",f,[Object(a["createElementVNode"])("div",k,[Object(a["createElementVNode"])("span",null,Object(a["toDisplayString"])(e.title),1)]),Object(a["createElementVNode"])("div",C,[Object(a["createElementVNode"])("span",null,[Object(a["withDirectives"])(Object(a["createElementVNode"])("p",null,"Presenter: "+Object(a["toDisplayString"])(e.presenter),513),[[a["vShow"],e.presenter]]),1==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createElementBlock"])("p",V,Object(a["toDisplayString"])(B.getCurrentTime(e.startTime,y.chooseValue,1)),1)):Object(a["createCommentVNode"])("",!0)]),0==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createElementBlock"])("span",{key:0,class:Object(a["normalizeClass"])(["mooc-time",["mooc-time",(e.type,"time-color")]])},Object(a["toDisplayString"])(B.getCurrentTime(e.startTime,y.chooseValue))+" ~ "+Object(a["toDisplayString"])(B.getCurrentTime(e.endTime,y.chooseValue)),3)):Object(a["createCommentVNode"])("",!0)])])]),_:2},1032,["onClick"]),1==e.evaluateFlag?(Object(a["openBlock"])(),Object(a["createBlock"])(T,{key:0,class:"mooc-evaluation",type:"text",onClick:t=>B.evaluation(e)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Evaluation")]),_:2},1032,["onClick"])):Object(a["createCommentVNode"])("",!0)]),_:2},1024)):Object(a["createCommentVNode"])("",!0)],64))),128))]),_:1},512),[[a["vShow"],1==y.tabSelectIndex]]),Object(a["withDirectives"])(Object(a["createElementVNode"])("div",N,[Object(a["createVNode"])(D,{ref:"child",scheduleId:0,classId:y.currentClassId,timezoneStr:y.chooseValue},null,8,["classId","timezoneStr"])],512),[[a["vShow"],2==y.tabSelectIndex]])],2)):Object(a["createCommentVNode"])("",!0),y.isStudent||"course"!=y.pageType?Object(a["createCommentVNode"])("",!0):(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",E,[Object(a["createElementVNode"])("p",null,[Object(a["createTextVNode"])("您是管理员, 请前往管理页面查看"),Object(a["createElementVNode"])("a",{onClick:t[6]||(t[6]=(...e)=>B.gotoCourse&&B.gotoCourse(...e))},"往期课程")])])),Object(a["createVNode"])(_,{class:"login",dialogFormVisible:y.dialogFormVisible,evaluate:y.evaluate,id:y.id,presenter:y.presenter,title:y.title,className:y.className,onCloseview:B.closeview},null,8,["dialogFormVisible","evaluate","id","presenter","title","className","onCloseview"]),Object(a["createVNode"])(A,{modelValue:y.centerDialogLive,"onUpdate:modelValue":t[9]||(t[9]=e=>y.centerDialogLive=e),width:"25%",top:"30vh",center:""},{footer:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("span",w,[Object(a["createVNode"])(T,{onClick:t[7]||(t[7]=e=>y.centerDialogLive=!1)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Cancel")]),_:1}),Object(a["createVNode"])(T,{type:"primary",onClick:t[8]||(t[8]=e=>B.submitLive())},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("   Go to  ")]),_:1})])]),default:Object(a["withCtx"])(()=>[x]),_:1},8,["modelValue"]),"admin"!=y.pageType?(Object(a["openBlock"])(),Object(a["createBlock"])(U,{key:2})):Object(a["createCommentVNode"])("",!0)],64)}var B=o("1a1b"),S=o("978c"),L=o.n(S),I=o("6241"),T=o.n(I),F=o("bbe2"),$=o.n(F),D=o("8c39"),_=o.n(D),A=o("2a14"),U=o.n(A),H=o("425c"),R=o.n(H),q=o("00a5"),Q=o.n(q),z=o("9709"),M=o.n(z),G=o("e4e7"),W=o.n(G),P=o("9f0f"),J=o.n(P);const K=e=>(Object(a["pushScopeId"])("data-v-e0ac82f8"),e=e(),Object(a["popScopeId"])(),e),Z={key:0,class:"back-top"},Y=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:L.a,alt:""},null,-1)),X=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:T.a,alt:""},null,-1)),ee=K(()=>Object(a["createElementVNode"])("p",null,"Speech",-1)),te=[Y,X,ee],oe=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:$.a,alt:""},null,-1)),ae=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:_.a,alt:""},null,-1)),le=K(()=>Object(a["createElementVNode"])("p",null,"Evaluation",-1)),ce=[oe,ae,le],se=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:U.a,alt:""},null,-1)),ne=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:R.a,alt:""},null,-1)),ie=K(()=>Object(a["createElementVNode"])("p",null,"Information",-1)),re=[se,ne,ie],de=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:Q.a,alt:""},null,-1)),me=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:M.a,alt:""},null,-1)),ue=K(()=>Object(a["createElementVNode"])("p",null,"Questionaire",-1)),be=[de,me,ue],he=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:W.a,alt:""},null,-1)),ge=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:J.a,alt:""},null,-1)),pe=K(()=>Object(a["createElementVNode"])("p",null,"Feedback",-1)),Oe=[he,ge,pe],je={key:1,class:"back-top"},ve=K(()=>Object(a["createElementVNode"])("img",{class:"img1",src:$.a,alt:""},null,-1)),fe=K(()=>Object(a["createElementVNode"])("img",{class:"img2",src:_.a,alt:""},null,-1)),ke=K(()=>Object(a["createElementVNode"])("p",null,"Students",-1)),Ce=[ve,fe,ke];function Ve(e,t,o,l,c,s){const n=Object(a["resolveComponent"])("questionaire"),i=Object(a["resolveComponent"])("evaluation"),r=Object(a["resolveComponent"])("registration"),d=Object(a["resolveComponent"])("studentlist"),m=Object(a["resolveComponent"])("score-list"),u=Object(a["resolveComponent"])("score"),b=Object(a["resolveComponent"])("speech"),h=Object(a["resolveComponent"])("feedback");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[c.isStudent?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",Z,[c.speechContent?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:0,class:"information",onClick:t[0]||(t[0]=e=>s.showSpeech())},te)):Object(a["createCommentVNode"])("",!0),Object(a["createElementVNode"])("div",{class:"evaluation",onClick:t[1]||(t[1]=e=>s.totalEvaluation())},ce),Object(a["createElementVNode"])("div",{class:"information",onClick:t[2]||(t[2]=e=>s.registration())},re),c.showQuestionaire?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:1,class:"information",onClick:t[3]||(t[3]=e=>s.openQuestionaire())},be)):Object(a["createCommentVNode"])("",!0),c.fbHeader?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:2,class:"information",onClick:t[4]||(t[4]=e=>s.showFeedback())},Oe)):Object(a["createCommentVNode"])("",!0)])):(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",je,[Object(a["createElementVNode"])("div",{class:"studentlist",onClick:t[5]||(t[5]=e=>s.showStudentList())},Ce)])),Object(a["createVNode"])(n,{dialogQuestionaire:c.dialogQuestionaire,onCloseQuestionaire:s.closeQuestionaire},null,8,["dialogQuestionaire","onCloseQuestionaire"]),Object(a["createVNode"])(i,{dialogEvaluation:c.dialogEvaluation,userData:c.userData,onCloseEvaluation:s.closeEvaluation},null,8,["dialogEvaluation","userData","onCloseEvaluation"]),Object(a["createVNode"])(r,{dialogRegistration:c.dialogRegistration,userData:c.userData,showCloseBtn:c.canColseInfoEL,onCloseRegistration:s.closeRegistration},null,8,["dialogRegistration","userData","showCloseBtn","onCloseRegistration"]),Object(a["createVNode"])(d,{dialogStudentList:c.dialogStudentList,onCloseStudentlist:s.closeStudentList,onShowEvaluation:s.viewEvaluation,onShowInfo:s.viewInfo},null,8,["dialogStudentList","onCloseStudentlist","onShowEvaluation","onShowInfo"]),Object(a["createVNode"])(m,{class:"login",dialogFormVisible:c.scoreListVisible,listData:c.scoreList,onCloseview:s.closeScore,onShowEvaluation:s.viewScore},null,8,["dialogFormVisible","listData","onCloseview","onShowEvaluation"]),Object(a["createVNode"])(u,{class:"login",dialogFormVisible:c.dialogUnrated,evaluate:c.unrated.evaluate,id:c.unrated.id,presenter:c.unrated.presenter,title:c.unrated.title,className:c.unrated.className,onCloseview:s.closeUnrated},null,8,["dialogFormVisible","evaluate","id","presenter","title","className","onCloseview"]),Object(a["createVNode"])(b,{dialogFormVisible:c.dialogSpeech,"onUpdate:dialogFormVisible":t[6]||(t[6]=e=>c.dialogSpeech=e),content:c.speechContent},null,8,["dialogFormVisible","content"]),Object(a["createVNode"])(h,{dialogFormVisible:c.dialogFeedback,"onUpdate:dialogFormVisible":t[7]||(t[7]=e=>c.dialogFeedback=e),fbHeader:c.fbHeader,fbList:c.fbList},null,8,["dialogFormVisible","fbHeader","fbList"])],64)}var Ne=o("3b41"),Ee=o("9eb3");const xe=e=>(Object(a["pushScopeId"])("data-v-26382de6"),e=e(),Object(a["popScopeId"])(),e),we={class:"studentlist",style:{margin:"5px 20px"}},ye={border:"1",style:{"border-collapse":"collapse",width:"100%"}},Be=xe(()=>Object(a["createElementVNode"])("tr",null,[Object(a["createElementVNode"])("th",{colspan:"4",class:"table-problem",style:{background:"rgba(151,151,151,0.08)",height:"40px"}},"Student name")],-1)),Se={class:"student-item"};function Le(e,t,o,l,c,s){const n=Object(a["resolveComponent"])("el-button"),i=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createBlock"])(i,{customClass:"customWidth","model-value":o.dialogStudentList,top:"10vh","lock-scroll":!1,onClose:t[0]||(t[0]=e=>s.close("form")),onOpen:s.open,width:"650px"},{default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",we,[Object(a["createElementVNode"])("table",ye,[Be,(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(c.list,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("tr",{key:t},[Object(a["createElementVNode"])("td",null,[Object(a["createElementVNode"])("div",Se,[Object(a["createElementVNode"])("span",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.firstName+" "+e.lastName)+" ",1),e.record?Object(a["createCommentVNode"])("",!0):(Object(a["openBlock"])(),Object(a["createElementBlock"])("a",{key:0,class:Object(a["normalizeClass"])({unfill:!e.record})},"(Unfilled)",2))]),Object(a["createVNode"])(n,{type:"danger",plain:"",onClick:t=>s.viewEvaluation(e)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Evaluate")]),_:2},1032,["onClick"]),Object(a["createVNode"])(n,{type:"warning",plain:"",onClick:t=>s.viewInfo(e)},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Infomation")]),_:2},1032,["onClick"])])])]))),128))])])]),_:1},8,["model-value","onOpen"])}var Ie={name:"studentlist",inject:["$global","$api","$message"],emits:{"close-studentlist":null,"show-evaluation":e=>""!=e.id.length,"show-info":e=>""!=e.id.length},props:{dialogStudentList:Boolean},data(){return{list:[]}},created(){let e=this.$global.ss.getItem("role")||"";-1==e.indexOf("student")&&this.$EventBus.on("update-studentlist",()=>this.getUserList())},methods:{open(){this.getUserList()},getUserList(){let e={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.courses.getUserList(e).then(e=>{let t=e.data;"0"==t.code&&(this.list=t.data)})},close(){this.$emit("close-studentlist",!1)},viewEvaluation(e){this.$emit("show-evaluation",e)},viewInfo(e){this.$emit("show-info",e)}}},Te=(o("c88f"),o("6b0d")),Fe=o.n(Te);const $e=Fe()(Ie,[["render",Le],["__scopeId","data-v-26382de6"]]);var De=$e;const _e=e=>(Object(a["pushScopeId"])("data-v-0cdc89ac"),e=e(),Object(a["popScopeId"])(),e),Ae=_e(()=>Object(a["createElementVNode"])("div",{class:"container"},[Object(a["createElementVNode"])("h2",{class:"letter-title"}," A Letter to International Alumni of the China National Academy of Governance "),Object(a["createElementVNode"])("p",null," Dear Alumni, "),Object(a["createElementVNode"])("p",{class:"section-indent"}," Greetings! "),Object(a["createElementVNode"])("p",{class:"section-indent"}," How time flies and the affection is lingering. It was a great pleasure to get in touch with you again after your training at the China National Academy of Governance. On behalf of the entire faculty and staff of the China National Academy of Governance, we would like to extend our cordial greetings to you and your families! "),Object(a["createElementVNode"])("p",{class:"section-indent"}," For the purposes of knowing more about the evaluation of our training work by alumni, the actual effectiveness of the training, and their suggestions for improving the training as well as the liaison and service work of overseas alumni, we are especially organizing the activity of “Evaluation of the Effectiveness of the International Training Program of the China National Academy of Governance”. Please fill out the evaluation questionnaire (see attachment) and return it to this email address by November 1. We would like to express our sincere gratitude to all alumni for their active participation and support. We look forward to your selection as one of the 100 Best “Practices Alumni” and your participation in the related activities. "),Object(a["createElementVNode"])("p",{class:"section-indent"}," A bosom friend afar brings a distant land near. We look forward to the opportunity for all alumni to return to our alma mater for a reunion. We will be excited to work together, hand in hand, to promote the building of a community of human destiny and a better world! "),Object(a["createElementVNode"])("p",{class:"section-indent"}," We wish all alumni good health and family happiness! "),Object(a["createElementVNode"])("p",{class:"section-right"}," The International, Hong Kong, and Macao Training "),Object(a["createElementVNode"])("p",{class:"section-right"}," Centre of the China National Academy of Governance "),Object(a["createElementVNode"])("br"),Object(a["createElementVNode"])("p",{class:"section-right"},[Object(a["createTextVNode"])(" Please download the file "),Object(a["createElementVNode"])("a",{href:"https://partyschool.oss-accelerate.aliyuncs.com/ppt/Training%20evaluation.doc"},"Training evaluation2021.9.10")]),Object(a["createElementVNode"])("p",{class:"section-right"}," Fill it out and send it to 13810667103@126.com ")],-1));function Ue(e,t,o,l,c,s){const n=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createBlock"])(n,{customClass:"customWidth","model-value":o.dialogQuestionaire,top:"10vh",width:"650px","lock-scroll":!1,onClose:s.close,"destroy-on-close":!0,center:""},{default:Object(a["withCtx"])(()=>[Ae]),_:1},8,["model-value","onClose"])}var He={name:"questionaire",emits:["close-questionaire"],props:{dialogQuestionaire:Boolean},methods:{close(){this.$emit("close-questionaire",!1)}}};o("95fb");const Re=Fe()(He,[["render",Ue],["__scopeId","data-v-0cdc89ac"]]);var qe=Re,Qe=o("12d4");const ze={class:"speech-dialog"},Me=Object(a["createElementVNode"])("div",{style:{height:"25px"}},null,-1),Ge=["innerHTML"],We={class:"dialog-footer"};function Pe(e,t,o,l,c,s){const n=Object(a["resolveComponent"])("el-button"),i=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",ze,[Object(a["createVNode"])(i,{modelValue:e.dialog,"onUpdate:modelValue":t[0]||(t[0]=t=>e.dialog=t),width:"60%","before-close":s.handleClose,"destroy-on-close":""},{title:Object(a["withCtx"])(()=>[Me]),default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",{innerHTML:o.content},null,8,Ge)]),footer:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("span",We,[Object(a["createVNode"])(n,{onClick:s.handleClose},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("OK")]),_:1},8,["onClick"])])]),_:1},8,["modelValue","before-close"])])}var Je={name:"speech",inject:["$global","$api","$message"],props:{dialogFormVisible:Boolean,content:String},data(){},created(){},mounted(){},watch:{dialogFormVisible(e){this.dialog=e}},methods:{handleClose(){this.$emit("update:dialogFormVisible",!1)}}};o("a6f7");const Ke=Fe()(Je,[["render",Pe]]);var Ze=Ke;const Ye={class:"feedback-dialog"},Xe=Object(a["createElementVNode"])("div",{style:{height:"25px"}},null,-1),et=["innerHTML"],tt=["innerHTML"],ot=["innerHTML"],at=Object(a["createElementVNode"])("br",null,null,-1),lt=Object(a["createElementVNode"])("br",null,null,-1),ct={class:"dialog-footer"};function st(e,t,o,l,c,s){const n=Object(a["resolveComponent"])("el-input"),i=Object(a["resolveComponent"])("el-button"),r=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",Ye,[Object(a["createVNode"])(r,{modelValue:c.dialog,"onUpdate:modelValue":t[2]||(t[2]=e=>c.dialog=e),width:"60%","before-close":s.handleClose,"destroy-on-close":""},{title:Object(a["withCtx"])(()=>[Xe]),default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",{innerHTML:o.fbHeader},null,8,et),(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(c.fb_list,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:t},[1==e.type?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:0,innerHTML:e.text},null,8,tt)):Object(a["createCommentVNode"])("",!0),2==e.type?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:1,innerHTML:e.text,style:{"text-align":"right"}},null,8,ot)):Object(a["createCommentVNode"])("",!0),1==e.type?(Object(a["openBlock"])(),Object(a["createBlock"])(n,{key:2,modelValue:c.questionArr[t].content,"onUpdate:modelValue":e=>c.questionArr[t].content=e,rows:3,type:"textarea",maxlength:e.maxLen,"show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","maxlength"])):Object(a["createCommentVNode"])("",!0),2==e.type?(Object(a["openBlock"])(),Object(a["createBlock"])(n,{key:3,modelValue:c.questionArr[t].content,"onUpdate:modelValue":e=>c.questionArr[t].content=e,rows:3,type:"textarea",maxlength:e.maxLen,"show-word-limit":"",style:{"text-align":"right",direction:"rtl"}},null,8,["modelValue","onUpdate:modelValue","maxlength"])):Object(a["createCommentVNode"])("",!0),at,lt]))),128))]),footer:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("span",ct,[Object(a["createVNode"])(i,{onClick:t[0]||(t[0]=e=>{s.save()})},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Save")]),_:1}),Object(a["createVNode"])(i,{onClick:t[1]||(t[1]=e=>{s.submit()})},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])("Sumbit")]),_:1})])]),_:1},8,["modelValue","before-close"])])}var nt=o("7864"),it={name:"feedback",inject:["$global","$api","$message"],props:{dialogFormVisible:Boolean,fbHeader:String,fbList:Array},data(){return{dialog:this.dialogFormVisible,fb_list:this.fbList,questionArr:[]}},watch:{dialogFormVisible(e){this.dialog=e},fbList(e){this.fb_list=e,this.questionArr=[],this.fb_list.map((e,t)=>{this.questionArr.push({feedBackQuestionId:e.id,content:e.content||"",type:e.type,maxLen:e.maxLen,minLen:e.minLen})}),console.log("xxxxxxx",this.fb_list,this.questionArr)}},created(){},methods:{handleClose(){this.$emit("update:dialogFormVisible",!1)},save(){console.log("保存: ",this.questionArr);let e=this.questionArr,t={action:0};this.$api.login.postFeedBack(t,e).then(e=>{let t=e.data;0==t.code?(console.log("postFeedBack save success"),Object(nt["a"])({message:"Save success!",type:"success"})):nt["a"].error("Save Failed!")}).catch(()=>{nt["a"].error("Save Failed!")})},submit(){console.log("提交: ",this.questionArr);for(const o of this.questionArr)if(1==o.type&&o.content.length{let t=e.data;0==t.code?(console.log("postFeedBack submit success"),Object(nt["a"])({message:"Submit success!",type:"success"}),this.handleClose()):nt["a"].error("Submit Failed!")}).catch(()=>{nt["a"].error("Submit Failed!")})},checkRule(){}}};o("47d8");const rt=Fe()(it,[["render",st]]);var dt=rt,mt={name:"suspend",inject:["$global","$api","$message"],components:{evaluation:Ne["a"],registration:Ee["a"],studentlist:De,questionaire:qe,scoreList:Qe["a"],score:B["a"],speech:Ze,feedback:dt},data(){return{showQuestionaire:!1,dialogQuestionaire:!1,dialogEvaluation:!1,dialogRegistration:!1,dialogStudentList:!1,isStudent:!0,userData:{},canColseInfoEL:!0,scoreListVisible:!1,dialogUnrated:!1,scoreList:{},unrated:{evaluate:"",id:"",presenter:"",title:"",className:""},dialogSpeech:!1,speechContent:null,dialogFeedback:!1,fbHeader:null,fbList:null}},created(){this.getRole();const e=this.$global.ss.getItem("userInfo");e&&(this.showQuestionaire=5===e.partySchoolClassId),this.toCheckStatus(),this.$EventBus.on("show-ev",()=>{console.log("xxxxxxxxxxxx"),this.userData={},this.dialogEvaluation=!0})},methods:{getRole(){let e=this.$global.ss.getItem("role")||"";-1==e.indexOf("student")&&(this.isStudent=!1)},totalEvaluation(){this.userData={},this.dialogEvaluation=!0},closeEvaluation(){this.dialogEvaluation=!1},openQuestionaire(){this.dialogQuestionaire=!0},closeQuestionaire(){this.dialogQuestionaire=!1},registration(){this.userData={},this.dialogRegistration=!0},closeRegistration(){this.dialogRegistration=!1},showStudentList(){this.dialogStudentList=!0},closeStudentList(){this.dialogStudentList=!1},viewEvaluation(e){this.userData=e,this.dialogEvaluation=!0},viewInfo(e){this.userData=e,this.dialogRegistration=!0},viewScore(e){this.unrated=e,this.dialogUnrated=!0},closeScore(){},closeUnrated(e){e&&this.check2(),this.dialogUnrated=!1},toCheckStatus(){this.isStudent&&(this.check2(),this.check4(),this.check5())},check2(){let e={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.login.getScoreList(e).then(e=>{let t=e.data;0===t.code?(console.log("getScoreList success",t.data),null==t.data||0==t.data.length?(this.scoreListVisible=!1,this.scoreList={}):(this.scoreListVisible=!0,this.scoreList=t.data)):console.log("getScoreList error")}).catch(()=>{console.log("getScoreList error")})},check3(){let e={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.courses.getUserInfoRecord(e).then(e=>{let t=e.data;if("0"==t.code){console.log("api getUserInfoRecord success ",t);const e=["name","nationality","sex","birth","religion","instituteEn","positionEn","telephone","mail","address"];if(t.data){let o=t.data||{};for(const t in o){let a=o[t]||"";if(e.includes(t)&&""==a.trim()){this.canColseInfoEL=!1,this.registration(),console.log("need fill info");break}}}else this.canColseInfoEL=!1,this.registration(),console.log("need fill info")}else console.log("api getUserInfoRecord error")}).catch(e=>{console.log("api getUserInfoRecord error:",e)})},check4(){let e={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.login.getSpeech(e).then(e=>{let t=e.data;console.log(t),0==t.code&&t.data.content&&(console.log("getSpeech success"),this.speechContent=t.data.content)}).catch(()=>{console.log("getSpeech error")})},check5(){let e={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.login.getFeedBack(e).then(e=>{let t=e.data;if(console.log(t),0==t.code&&t.data){console.log("getFeedBack success"),this.fbHeader=t.data.describeInfo;let e=[];t.data.feedBackList.map(t=>{e.push({id:t.id,text:t.question,content:t.content,type:t.type,maxLen:t.maxLen,minLen:t.minLen})}),this.fbList=e}}).catch(()=>{console.log("getFeedBack error")})},showSpeech(){this.dialogSpeech=!0},showFeedback(){this.dialogFeedback=!0}}};o("e109");const ut=Fe()(mt,[["render",Ve],["__scopeId","data-v-e0ac82f8"]]);var bt=ut,ht=o("4ea3"),gt={name:"courses",inject:["$global","$api","$message"],components:{score:B["a"],suspend:bt,Comment:ht["a"]},data(){return{tabSelectIndex:0,dialogFormVisible:!1,image:o("4d26"),imageLive:o("4d26"),activeName:"first",centerDialogLive:!1,options:[],chooseIndex:-1,chooseValue:"0",deptName:"ETH",vmr:"",vmrpd:"",list:[],id:"",presenter:"",title:"",evaluate:0,liveId:"",pageType:this.$route.params.type||"course",classRes:[],currentClassId:-1,className:"",isStudent:-1!=this.$global.getLoginRole().indexOf("student")}},created(){this.getTimezone(),"admin"!=this.pageType?this.myList():this.classList()},methods:{getTimezone(){this.options=[],this.chooseIndex=-1,this.chooseValue="0";let e={token:this.$global.ss.getItem("userToken")};this.$api.courses.getTimezone(e).then(e=>{let t=e.data;if("0"==t.code){let e=this.$global.ss.getItem("timezoneSort")||-1;console.log("api getTimezone success ",t.data,e),t.data&&t.data.length>0&&(t.data.forEach(t=>{let o={};o.index=t.sort,o.value=t.timeZone,o.label=t.timeZoneName,(1==t.current&&-1==e||e==o.index)&&(this.chooseIndex=o.index,this.chooseValue=o.value,this.deptName=o.label),this.options.push(o)}),this.options.sort((e,t)=>e.index-t.index))}else console.log("api getTimezone error")}).catch(()=>{console.log("api getTimezone error")})},classList(){let e={token:this.$global.ss.getItem("userToken")};this.$api.admin.classList(e).then(e=>{let t=e.data;"0"==t.code?(console.log("api classList success ",t.data),this.classRes=t.data,this.currentClassId=this.classRes[0].id,this.selectClass()):console.log("api classList error")}).catch(()=>{console.log("api classList error")})},selectClass(){let e={token:this.$global.ss.getItem("userToken")};this.$api.courses.myList(e,this.currentClassId).then(e=>{let t=e.data;"0"==t.code?(console.log("api selectClass success"),this.list=t.data):console.log("api selectClass error")}).catch(()=>{console.log("api selectClass error")})},myList(){const e=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});let t={token:this.$global.ss.getItem("userToken"),"Access-Control-Allow-Headers":"Origin"};this.$api.courses.myList(t).then(t=>{let o=t.data;"0"==o.code?(console.log("api myList success"),this.list=o.data,e.close()):(e.close(),console.log("api myList error"))}).catch(t=>{e.close(),console.log("api myList error")})},selectChange(e){console.log(e),this.$global.ss.setItem("timezoneSort",e),this.chooseIndex=e,this.chooseValue=e?this.options.find(t=>t.index===e).value:0,this.deptName=e?this.options.find(t=>t.index===e).label:"BEIJING"},detail(e){2==e.type?this.$router.push({path:"/live-detail",query:{id:e.id,utc:this.chooseValue,city:this.deptName}}):this.$router.push({path:"/detail",query:{id:e.id,utc:this.chooseValue,city:this.deptName}})},toLive(e){this.liveId=e.liveId,this.centerDialogLive=!0},submitLive(){let e="http://on-line.cloudp.cc/#/"+this.liveId;window.open(e),this.centerDialogLive=!1},evaluation(e){this.id=e.id,this.evaluate=e.evaluate,this.presenter=e.presenter,this.title=e.title,this.className=e.className,this.dialogFormVisible=!0},closeview(e){e&&this.myList(),this.dialogFormVisible=!1},getCurrentTime(e,t,o=2){e*=1e3,t||(t=8);const a=new Date(e),l=a.getTime(),c=6e4*a.getTimezoneOffset(),s=l+c,n=new Date(s+36e5*t),i=(n.getFullYear(),n.getMonth()+1),r=n.getDate(),d=n.getHours(),m=n.getMinutes();n.getSeconds();function u(e){return e<10?"0"+e:e}let b="";return b=1==o?u(i)+"-"+u(r)+" "+u(d)+":"+u(m):u(i)+"-"+u(r),b},handleClickComment(){this.tabSelectIndex=2,this.$refs.child.initList()},gotoCourse(){this.$router.push({path:"/admin/courses-list/admin"})}}};o("9d4a");const pt=Fe()(gt,[["render",y],["__scopeId","data-v-3fb6eab4"]]);t["default"]=pt},e109:function(e,t,o){"use strict";o("fdcf")},e4e7:function(e,t,o){e.exports=o.p+"assets/img/_download.f0fbcef2.svg"},fdcf:function(e,t,o){}}]);