chunk-27fb8d15.245e5d6b.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27fb8d15"],{"03e6":function(t,e,n){},"0f09":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIjSURBVHgB7Zi/SitBFMa/mf3DxSvckCfwgohWuoXWUQutFMFefQSfQB9B30CfQLGyESMWglqkC2iTUhAkglpkjeOZFQsxMWd2J7uK84MhsDm7nDMz55vdD3A4HA7Hb0YgJZdXapV+VmhM0CghHU0aNU9iBzFOojHRgCHGBZxfqQkP2FPAECxCz2v4EpvRsNg1uc+oAJ28BI6RfsZ7ol6wPjkqtrjx7ALO6moo9HBse+Y7odqYnhwTVU6sBBPap5t5JK8RHja4sewCpMAi8qNyUVcVTiCrgIvr5GF92/cdEYm69cTnBAn19da5vVF4elAfrv0rC5TKqVUaUmKcE8cq4Ct04qeHccf/5pYD/B1MXwQHdg90IwgFBgY/X9fXwhB9J/MKBJTk/HIOmXYh8woUjSugaDL3gCZuKTTvjG5JmtyGQlmR0aOD56QIE96aP0hULAtWZDR5GU5Bq4XMWJLRwDgZfUZknX2NlR7QiQQFHQVORovGnQMxNe/RQfzpdboXA3QGzC74xcuo1n/T5DX6nm8ho3omZ2gm7y2fxORO3IMBqwByCRr0od2VUlnSgFW0T8SJY20h/w9qeHPRckNJVDlxrAKi/6KpFLaRH9WpEVHjBLKb2A+xRR/3DeSA18YaN5ZdgF6FtsAS+r+V1kxMXmMRTixGSRajsO7SNUkslriW4jvp7fU62es+uXUKFWS012nse4/YjSKRq1A4HA6H4+fzCq3ZjeJBe63xAAAAAElFTkSuQmCC"},"13cf":function(t,e,n){"use strict";var i=n("03e6"),s=n.n(i);s.a},1911:function(t,e,n){"use strict";var i=n("7136"),s=n.n(i);s.a},"1c2c":function(t,e,n){},3651:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABdSURBVHgB7dbBCcAgEETRSUgbKSRV2kcaSSHBPlzBCkZhQf6HAY8PPKjkV2J1rMjsVHIAAAAAAADAIf8le2L3OP+xT0YdUJVY+hVcsVdeS65gJn5EAAAAAABgD0ADsnsMK/MXLQcAAAAASUVORK5CYII="},"3c70":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bar",style:{background:t.num?"#005CCD":"#f9f9f9",color:t.num?"#fff":"rgba(0, 0, 0, 0.90)"}},[t.num?n("div",{staticStyle:{position:"absolute",left:"10px"}},[t._t("back")],2):n("div",{staticStyle:{position:"absolute",left:"10px"}},[n("van-icon",{attrs:{name:"arrow-left"},on:{click:t.back}})],1),n("div",{staticStyle:{"font-size":"16px"}},[t._v(" "+t._s(t.tit)+" ")]),n("div",{staticStyle:{position:"absolute",right:"10px"}},[t.num?n("div",{staticStyle:{"font-size":"14px"}},[t._t("btn")],2):t._e()])])},s=[],o=(n("a9e3"),{props:{tit:{type:String,default:""},num:{type:Number,default:0},backPage:{type:Number,default:0}},data:function(){return{barBackColor:"barBackColor"}},methods:{back:function(){this.backPage?this.$router.push("/eva"):this.$router.go(-1)}}}),a=o,c=(n("bd24"),n("2877")),r=Object(c["a"])(a,i,s,!1,null,"36bb4796",null);e["a"]=r.exports},"6d2e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH1SURBVHgB7ZgxbtswFIZ/Wk7jpouOoE5Ftmro7t6gN0h7grhTgCxVhgzZ3BPUuUm3Am0AjUGDAtYRtBRODJivZAABBhvFj3yxs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u4MAQiVATknhRlvMTNzRwhAKiFtUgDapAC0SQFokwLQJgWgTQpAmxSANikAbVIA2vQQBhGeRGJfOcwVGX2AQEKZawBX5UaW+jY8bOAAzxVl7QWBuFVCVR8rR3wGZjyiLaSk31PZd6vw66Oxg4NxJGpaFOXa0kWFHD6wg7HlbO3t8Ppa0jixexSLW+84NfmMo6qbeETZzPvG5Yz4Ipl9Qik7Vln+4gM/RSgsqT0G/9OxpPJwSX0eKDzSNFxSw8vCp08sqQ51qLvz14NEQ34BP3IFH6F+b14AAAAASUVORK5CYII="},"87f1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKBAMAAACdwMn3AAAAFVBMVEUAAAA4k/84l/84lP84k/84lP84lP8HznpyAAAAB3RSTlMAgCC/QN//lDw01QAAAChJREFUeJxjQAEKEIrZAUIbQihGAyDBZMTgCuaJKqVARIWhqgKRTQAAVzACfyGEWDQAAAAASUVORK5CYII="},"8ebb":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"tabs",staticClass:"studentDetail"},[i("bar",{attrs:{tit:"学生记录",backPage:1}}),i("div",{staticStyle:{height:"50px"}}),i("div",{staticClass:"top"},[i("div",{staticClass:"UserInfo",staticStyle:{flex:"1"}},[i("div",{staticClass:"sInfo"},[i("div",{staticClass:"userName"},[t._v(t._s(t.studentInfo.name))])]),i("div",{staticClass:"cla"},[t._v(t._s(t.studentInfo.cname))]),t.isSelectShow?i("div",{staticClass:"backPage",on:{click:t.fuClick1}}):t._e(),i("selectStyle",{ref:"claSel",attrs:{listCont:t.termList,tit:"请选择学期",choose:t.termData},on:{shadeIsShow:t.shadeIsShow,"update-search":t.handleUpdateSearch}}),i("div",{staticClass:"dataNum"},[t._v("本学期共计"+t._s(t.TermRecord.length)+" 条记录")])],1)]),i("div",{staticStyle:{position:"relative",top:"-15px"}},[t._m(0),i("div",{staticClass:"observe_box"},t._l(t.filtrate,(function(e,n){return i("div",{key:n,staticClass:"observe_boxCon",class:{active:t.activeItem===n},on:{click:function(i){return t.addFil(e.id,n)},touchstart:function(e){return t.touchStart(n)},touchend:function(e){return t.touchend(n)},touchmove:function(e){return t.gtouchmove()}}},[i("div",{staticClass:"txt"},[t._v(t._s(e.name))]),i("div",{ref:"loop",refInFor:!0,staticClass:"loopList"},[t._v(" "+t._s(e.name)+" ")])])})),0),t._l(t.conList,(function(e,s){return i("van-swipe-cell",{directives:[{name:"show",rawName:"v-show",value:t.conList.length,expression:"conList.length"}],key:s,attrs:{swipeable:!0},on:{touchmove:function(e){return e.stopPropagation(),t.handleTouchMove(e)}},scopedSlots:t._u([{key:"right",fn:function(){return[i("div",{staticClass:"observe_contentDel",on:{click:function(n){return t.delPop(e.rid)}}},[i("img",{staticStyle:{width:"20px",height:"20px"},attrs:{src:n("7966"),alt:""}})])]},proxy:!0}],null,!0)},[i("div",{staticClass:"observe_content",on:{click:function(n){return t.recordContinue(e.rid)}}},[i("div",{staticClass:"observe_contentTit"},[t._v(" 观察内容 ")]),i("div",{staticClass:"observe_contentBir"},[i("div",[t._v(t._s(e.username))]),i("div",[t._v(t._s(e.recordDate))])]),i("div",{staticClass:"observe_contentTxt"},[t._v(" "+t._s(e.recordContent)+" ")])])])})),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.conList.length,expression:"!conList.length"}],staticStyle:{width:"100%",height:"10px","background-color":"#F0F2F5"}}),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.conList.length,expression:"!conList.length"}],staticClass:"observe_content observe_content2"},[i("img",{attrs:{src:n("96b4"),alt:""}}),i("div",{staticClass:"tit"},[t._v("暂无内容")]),i("div",{staticClass:"tit2",on:{click:t.addRecord}},[t._v("快去添加新记录吧 >")])])],2),i("pop",{directives:[{name:"show",rawName:"v-show",value:t.isShowMask,expression:"isShowMask"}],scopedSlots:t._u([{key:"tit",fn:function(){return[t._v("确定")]},proxy:!0},{key:"con",fn:function(){return[t._v("确定删除吗")]},proxy:!0},{key:"btn1",fn:function(){return[i("div",{staticClass:"btn",staticStyle:{color:"rgba(136,136,136,1)"},on:{click:function(e){t.isShowMask=!1}}},[t._v("取消")])]},proxy:!0},{key:"btn2",fn:function(){return[i("div",{staticClass:"btn",staticStyle:{color:"rgba(251,67,25,1)"},on:{click:t.delCon}},[t._v("确认")])]},proxy:!0}])}),i("div",{staticClass:"addRecord",on:{click:t.addRecord}},[i("img",{attrs:{src:n("3651"),alt:""}})])],1)},s=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"observe_tit"},[i("div",{staticClass:"left"},[i("img",{staticClass:"img",attrs:{src:n("0f09"),alt:""}}),i("div",[t._v("观察记录")])]),i("img",{staticClass:"img",attrs:{src:n("6d2e"),alt:""}})])}],o=(n("4160"),n("159b"),n("cc0e")),a=n("f7c8"),c=n("3c70"),r=n("feb1"),l={components:{bar:c["a"],pop:r["a"],selectStyle:a["a"]},data:function(){return{isSelectShow:!1,activeItem:null,conList:[],filtrate:[],studentInfo:{},fil:[],stuList:[],stuId:"",classInfo:this.$route.query,num:null,isShowMask:!1,delRid:"",termList:[],termData:[],TermRecord:[],timeOutEvent:0,scorllTaps:null}},methods:{handleTouchMove:function(t){t.preventDefault()},touchStart:function(t){var e=this;return this.timeOutEvent=setTimeout((function(){e.timeOutEvent=0;var n=e.$refs.loop[t];n.style.display="block",t%4!==0&&(console.log(0),n.style.right="0")}),500),!1},gtouchmove:function(){clearTimeout(this.timeOutEvent),this.timeOutEvent=0},touchend:function(t){var e=this;clearTimeout(this.timeOutEvent),0!==this.timeOutEvent?console.log("你这是点击,不是长按"):setTimeout((function(){var n=e.$refs.loop[t];n.style.display="none"}),1e3)},getData:function(){var t=this,e={uid:this.stuId,trm:this.termData[0]};console.log(e),Object(o["i"])(e).then((function(e){t.studentInfo=e[0][0],console.log("获取学生信息",t.studentInfo)}));var n={uid:this.stuId,trm:this.termData[0],txt:""};Object(o["d"])(n).then((function(e){console.log("获取所有学生记录",e[0]),t.conList=e[0]}));var i={oid:this.$store.state.user.userinfo.organizeid};Object(o["k"])(i).then((function(e){t.filtrate=e[0]}))},selTerm:function(){var t=this;Object(o["j"])().then((function(e){console.log("获取学期筛选框",e),e[0].forEach((function(e){1===e.defaultC&&t.termData.push(e.id)})),t.termList=e[0],t.getData(),t.getTermRecord()}))},delPop:function(t){this.delRid=t,this.isShowMask=!0},delCon:function(){var t=this,e=[{rid:this.delRid}];Object(o["m"])(e).then((function(e){1===e?(t.$toast({message:"删除成功",type:"success"}),t.isShowMask=!1,t.getTermRecord(),setTimeout((function(){t.getData()}),500)):t.$toast({message:"删除失败",type:"fail"})}))},addFil:function(t,e){var n=this;this.activeItem===e?(this.activeItem=null,t=""):this.activeItem=e;var i={uid:localStorage.getItem("userId"),trm:this.termData[0],txt:t};Object(o["d"])(i).then((function(t){console.log("获取所有学生记录",t),n.conList=t[0]}))},fuClick1:function(){this.isSelectShow=!1,this.$refs.claSel.close()},shadeIsShow:function(){console.log(11111),this.isSelectShow=!0},getTermRecord:function(){var t=this,e={uid:localStorage.getItem("userId"),trm:this.termData[0],txt:""};Object(o["d"])(e).then((function(e){console.log("获取所有学生记录",e),t.TermRecord=e[0]}))},handleUpdateSearch:function(t){var e=this;this.isSelectShow=!1;var n={uid:this.stuId,trm:this.termData[0],txt:""};Object(o["d"])(n).then((function(t){console.log("获取所有学生记录",t[0]),e.conList=t[0]})),this.getTermRecord()},addRecord:function(){this.$router.push("/searchStudentEva?shareShow=".concat(0,"&isSea=",0))},recordContinue:function(t){this.$router.push("/searchStudentEva?shareShow=".concat(1,"&rid=",t,"&isSea=",0))}},beforeRouteEnter:function(t,e,n){document.addEventListener("touchmove",(function(t){t.preventDefault()}),!1),n((function(t){}))},mounted:function(){},created:function(){this.stuId=localStorage.getItem("userId"),this.selTerm()}},u=l,A=(n("f6c6"),n("2877")),d=Object(A["a"])(u,i,s,!1,null,"53ed7e9a",null);e["default"]=d.exports},"96b4":function(t,e,n){t.exports=n.p+"static/img/rqq.aa7ebe0e.png"},bd24:function(t,e,n){"use strict";var i=n("da27"),s=n.n(i);s.a},cc0e:function(t,e,n){"use strict";n.d(e,"l",(function(){return s})),n.d(e,"b",(function(){return o})),n.d(e,"i",(function(){return a})),n.d(e,"k",(function(){return c})),n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"m",(function(){return A})),n.d(e,"n",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return f})),n.d(e,"c",(function(){return v})),n.d(e,"g",(function(){return m})),n.d(e,"f",(function(){return g}));var i=n("b775");function s(t){return Object(i["a"])({url:"/select_techerAllClass",method:"get",params:t,hideloading:!1})}function o(t){return Object(i["a"])({url:"/selectClassStudent",method:"get",params:t,hideloading:!1})}function a(t){return Object(i["a"])({url:"/selectStudentDetail",method:"get",params:t,hideloading:!1})}function c(t){return Object(i["a"])({url:"/selectVeiDoo",method:"get",params:t,hideloading:!1})}function r(t){return Object(i["a"])({url:"/insertRecord",method:"post",data:t,hideloading:!1})}function l(t){return Object(i["a"])({url:"/selectRecord",method:"get",params:t,hideloading:!1})}function u(t){return Object(i["a"])({url:"/selectRecordDetail",method:"get",params:t,hideloading:!1})}function A(t){return Object(i["a"])({url:"/updateRecord",method:"post",data:t,hideloading:!1})}function d(t){return Object(i["a"])({url:"/updateRecordData",method:"post",data:t,hideloading:!1})}function h(t){return Object(i["a"])({url:"/selectSerStudent",method:"get",params:t,hideloading:!1})}function f(t){return Object(i["a"])({url:"/selectTerm",method:"get",params:t,hideloading:!1})}function v(t){return Object(i["a"])({url:"/selectManyClassStudent",method:"get",params:t,hideloading:!1})}function m(t){return Object(i["a"])({url:"/selectSTEType",method:"get",params:t,hideloading:!1})}function g(t){return Object(i["a"])({url:"/selectSTEPlace",method:"get",params:t,hideloading:!1})}},da27:function(t,e,n){},f6c6:function(t,e,n){"use strict";var i=n("1c2c"),s=n.n(i);s.a},f7c8:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"selcts",on:{click:t.icoIsShow}},[i("div",{staticStyle:{flex:"1"}},[t.choose.length?t._e():i("div",{staticStyle:{color:"rgba(0, 0, 0, 0.40)"}},[t._v(t._s(t.tit))]),i("div",{staticClass:"choosePerCon"},[t._l(t.listCont,(function(e,n){return i("div",{key:n+"p"},[e.id===t.choose[0]?i("div",{staticClass:"choosePerTxt"},[t._v(" "+t._s(e.name)+" ")]):t._e()])})),t.choose[0]?t._e():i("div",{staticClass:"choosePerTxt"},[t._v(" 全部 ")])],2)]),i("div",{staticClass:"ico"},[i("van-icon",{attrs:{size:"14px",name:t.ico?"arrow-left":"arrow-down"}})],1),t.ico?i("div",{staticClass:"list"},[i("div",{staticClass:"ol",on:{click:function(e){return e.stopPropagation(),t.cho({id:""})}}},[i("div",{style:{color:t.choose[0]?"none":"#3894FF"}},[t._v(" 全部 ")]),i("div",[i("img",{style:{display:t.choose[0]?"none":""},attrs:{src:n("87f1"),alt:""}})])]),t._l(t.listCont,(function(e,s){return i("div",{key:s+"w",staticClass:"ol",on:{click:function(n){return n.stopPropagation(),t.cho(e)}}},[i("div",{style:{color:t.choose.includes(e.id)?"#3894FF":"none"}},[t._v(" "+t._s(e.name)+" ")]),i("div",[i("img",{style:{display:t.choose.includes(e.id)?"":"none"},attrs:{src:n("87f1"),alt:""}})])])}))],2):t._e()])},s=[],o={props:{tit:{type:String,default:""},listCont:{type:Array,default:function(){return[]}},choose:{type:Array,default:function(){return[]}}},data:function(){return{ico:!1,txtColor:"txtColor"}},methods:{icoIsShow:function(){this.ico=!0,this.$emit("shadeIsShow")},close:function(){this.ico=!1},cho:function(t){console.log("e",t),this.choose[0]=t.id,this.ico=!1,this.$emit("update-search")}}},a=o,c=(n("13cf"),n("2877")),r=Object(c["a"])(a,i,s,!1,null,"4a2fdd5f",null);e["a"]=r.exports},feb1:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pop"},[n("div",{staticStyle:{width:"100%",height:"100vh","background-color":"rgba(0,0,0,0.76)",position:"fixed","z-index":"11",left:"0",top:"0"}},[n("div",{staticClass:"mask"},[n("div",{staticClass:"maskTit"},[t._t("tit")],2),n("div",{staticClass:"maskCon"},[t._t("con")],2),n("div",{staticClass:"maskBtn"},[t._t("btn1"),t._t("btn2")],2)])])])},s=[],o={data:function(){return{}}},a=o,c=(n("1911"),n("2877")),r=Object(c["a"])(a,i,s,!1,null,"6d5a41fc",null);e["a"]=r.exports}}]);