1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b35667fa"],{"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"},"1daa":function(t,e,i){},2855:function(t,e,i){"use strict";i("e93e")},3651:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABdSURBVHgB7dbBCcAgEETRSUgbKSRV2kcaSSHBPlzBCkZhQf6HAY8PPKjkV2J1rMjsVHIAAAAAAADAIf8le2L3OP+xT0YdUJVY+hVcsVdeS65gJn5EAAAAAABgD0ADsnsMK/MXLQcAAAAASUVORK5CYII="},"3c70":function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bar",style:{background:t.num?"#005CCD":"#f9f9f9",color:t.num?"#fff":"rgba(0, 0, 0, 0.90)"}},[e("van-icon",{attrs:{name:"arrow-left"},on:{click:t.back}}),e("div",[t._v(" "+t._s(t.tit)+" ")]),e("div",[t.num?e("div",{staticStyle:{"font-size":"14px"}},[t._t("btn")],2):t._e()])],1)},s=[],a=(i("a9e3"),i("14d9"),{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)}}}),o=a,c=(i("2855"),i("2877")),r=Object(c["a"])(o,n,s,!1,null,"622aa13e",null);e["a"]=r.exports},"5fa8":function(t,e,i){"use strict";i("ae8a")},"6b61":function(t,e,i){"use strict";i("1daa")},"6d2e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH1SURBVHgB7ZgxbtswFIZ/Wk7jpouOoE5Ftmro7t6gN0h7grhTgCxVhgzZ3BPUuUm3Am0AjUGDAtYRtBRODJivZAABBhvFj3yxs7xvEG2TNPyLH8EnA4qiKIqiKEoy9R86+nlDb/FMGAj4cU3FXoaagHb4F2VZmpY7dzKhfH//Nr+4eNlAwAAC3I//5prc3YXCvsIX7ryTk0VxcLCcZ9lg7l6PISA5wNUNHbtm3L13qzD5dU3jiK/I/SXLUEBAUgCvjmuq/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exSLW+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,i){"use strict";i.r(e);i("b0c0");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"studentDetail"},[e("bar",{attrs:{tit:"学生记录",backPage:1}}),e("div",{staticStyle:{height:"50px"}}),e("div",{staticClass:"top"},[e("div",{staticClass:"UserInfo",staticStyle:{flex:"1"}},[e("div",{staticClass:"sInfo"},[e("div",{staticClass:"userName"},[t._v(t._s(t.studentInfo.name))])]),e("div",{staticClass:"cla"},[t._v(t._s(t.studentInfo.cname))]),t.isSelectShow?e("div",{staticClass:"backPage",on:{click:t.fuClick1}}):t._e(),e("selectStyle",{ref:"claSel",attrs:{listCont:t.termList,tit:"请选择学期",choose:t.termData},on:{shadeIsShow:t.shadeIsShow,"update-search":t.handleUpdateSearch}}),e("div",{staticClass:"dataNum"},[t._v("本学期共计"+t._s(t.TermRecord.length)+" 条记录")])],1)]),e("div",{staticStyle:{position:"relative",top:"-15px"}},[t._m(0),e("div",{staticClass:"observe_box"},t._l(t.filtrate,(function(i,n){return e("div",{key:n,staticClass:"observe_boxCon",class:{active:t.activeItem===n},on:{click:function(e){return t.addFil(i.id,n)},touchstart:function(e){return t.touchStart(n)},touchend:function(e){return t.touchend(n)},touchmove:function(e){return t.gtouchmove()}}},[e("div",{staticClass:"txt"},[t._v(t._s(i.name))]),e("div",{ref:"loop",refInFor:!0,staticClass:"loopList"},[t._v(" "+t._s(i.name)+" ")])])})),0),t._l(t.conList,(function(n,s){return e("van-swipe-cell",{directives:[{name:"show",rawName:"v-show",value:t.conList.length,expression:"conList.length"}],key:s,scopedSlots:t._u([{key:"right",fn:function(){return[e("div",{staticClass:"observe_contentDel",on:{click:function(e){return t.delPop(n.rid)}}},[e("img",{staticStyle:{width:"20px",height:"20px"},attrs:{src:i("7966"),alt:""}})])]},proxy:!0}],null,!0)},[e("div",{staticClass:"observe_content",on:{click:function(e){return t.recordContinue(n.rid)}}},[e("div",{staticClass:"observe_contentTit"},[t._v(" 观察内容 ")]),e("div",{staticClass:"observe_contentBir"},[e("div",[t._v(t._s(n.username))]),e("div",[t._v(t._s(n.recordDate))])]),e("div",{staticClass:"observe_contentTxt"},[t._v(" "+t._s(n.recordContent)+" ")])])])})),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.conList.length,expression:"!conList.length"}],staticStyle:{width:"100%",height:"10px","background-color":"#F0F2F5"}}),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.conList.length,expression:"!conList.length"}],staticClass:"observe_content observe_content2"},[e("img",{attrs:{src:i("96b4"),alt:""}}),e("div",{staticClass:"tit"},[t._v("暂无内容")]),e("div",{staticClass:"tit2",on:{click:t.addRecord}},[t._v("快去添加新记录吧 >")])])],2),e("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[e("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[e("div",{staticClass:"btn",staticStyle:{color:"rgba(251,67,25,1)"},on:{click:t.delCon}},[t._v("确认")])]},proxy:!0}])}),e("div",{staticClass:"addRecord",on:{click:t.addRecord}},[e("img",{attrs:{src:i("3651"),alt:""}})])],1)},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"observe_tit"},[e("div",{staticClass:"left"},[e("img",{staticClass:"img",attrs:{src:i("0f09"),alt:""}}),e("div",[t._v("观察记录")])]),e("img",{staticClass:"img",attrs:{src:i("6d2e"),alt:""}})])}],a=(i("d3b7"),i("159b"),i("14d9"),i("cc0e")),o=i("f7c8"),c=i("3c70"),r=i("feb1"),A={components:{bar:c["a"],pop:r["a"],selectStyle:o["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}},methods:{touchStart:function(t){var e=this;return this.timeOutEvent=setTimeout((function(){e.timeOutEvent=0;var i=e.$refs.loop[t];i.style.display="block",t%4!==0&&(console.log(0),i.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 i=e.$refs.loop[t];i.style.display="none"}),1e3)},getData:function(){var t=this,e={uid:this.stuId,trm:this.termData[0]};console.log(e),Object(a["g"])(e).then((function(e){t.studentInfo=e[0][0],console.log("获取学生信息",t.studentInfo)}));var i={uid:this.stuId,trm:this.termData[0],txt:""};Object(a["d"])(i).then((function(e){console.log("获取所有学生记录",e[0]),t.conList=e[0]}));var n={oid:this.$store.state.user.userinfo.organizeid};Object(a["i"])(n).then((function(e){t.filtrate=e[0]}))},selTerm:function(){var t=this;Object(a["h"])().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(a["k"])(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 i=this;this.activeItem===e?(this.activeItem=null,t=""):this.activeItem=e;var n={uid:localStorage.getItem("userId"),trm:this.termData[0],txt:t};Object(a["d"])(n).then((function(t){console.log("获取所有学生记录",t),i.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:""};console.log(" 获取所有学生记录aaaaaaaaaaaaaaaaaaaaaaa",e),Object(a["d"])(e).then((function(e){console.log("获取所有学生记录",e),t.TermRecord=e[0]}))},handleUpdateSearch:function(t){var e=this;this.isSelectShow=!1;var i={uid:this.stuId,trm:this.termData[0],txt:""};Object(a["d"])(i).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))}},created:function(){this.stuId=localStorage.getItem("userId"),this.selTerm()}},u=A,l=(i("6b61"),i("2877")),d=Object(l["a"])(u,n,s,!1,null,"8aefea88",null);e["default"]=d.exports},"96b4":function(t,e,i){t.exports=i.p+"static/img/rqq.aa7ebe0e.png"},ae8a:function(t,e,i){},cc0e:function(t,e,i){"use strict";i.d(e,"j",(function(){return s})),i.d(e,"b",(function(){return a})),i.d(e,"g",(function(){return o})),i.d(e,"i",(function(){return c})),i.d(e,"a",(function(){return r})),i.d(e,"d",(function(){return A})),i.d(e,"e",(function(){return u})),i.d(e,"k",(function(){return l})),i.d(e,"l",(function(){return d})),i.d(e,"f",(function(){return h})),i.d(e,"h",(function(){return f})),i.d(e,"c",(function(){return v}));var n=i("b775");function s(t){return Object(n["a"])({url:"/select_techerAllClass",method:"get",params:t,hideloading:!1})}function a(t){return Object(n["a"])({url:"/selectClassStudent",method:"get",params:t,hideloading:!1})}function o(t){return Object(n["a"])({url:"/selectStudentDetail",method:"get",params:t,hideloading:!1})}function c(t){return Object(n["a"])({url:"/selectVeiDoo",method:"get",params:t,hideloading:!1})}function r(t){return Object(n["a"])({url:"/insertRecord",method:"post",data:t,hideloading:!1})}function A(t){return Object(n["a"])({url:"/selectRecord",method:"get",params:t,hideloading:!1})}function u(t){return Object(n["a"])({url:"/selectRecordDetail",method:"get",params:t,hideloading:!1})}function l(t){return Object(n["a"])({url:"/updateRecord",method:"post",data:t,hideloading:!1})}function d(t){return Object(n["a"])({url:"/updateRecordData",method:"post",data:t,hideloading:!1})}function h(t){return Object(n["a"])({url:"/selectSerStudent",method:"get",params:t,hideloading:!1})}function f(t){return Object(n["a"])({url:"/selectTerm",method:"get",params:t,hideloading:!1})}function v(t){return Object(n["a"])({url:"/selectManyClassStudent",method:"get",params:t,hideloading:!1})}},de07:function(t,e,i){"use strict";i("e7cb")},e7cb:function(t,e,i){},e93e:function(t,e,i){},f7c8:function(t,e,i){"use strict";i("b0c0"),i("caad"),i("2532");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"selcts",on:{click:t.icoIsShow}},[e("div",{staticStyle:{flex:"1"}},[t.choose.length?t._e():e("div",{staticStyle:{color:"rgba(0, 0, 0, 0.40)"}},[t._v(t._s(t.tit))]),e("div",{staticClass:"choosePerCon"},t._l(t.listCont,(function(i,n){return e("div",{key:n+"p"},[i.id===t.choose[0]?e("div",{staticClass:"choosePerTxt"},[t._v(" "+t._s(i.name)+" ")]):t._e()])})),0)]),e("div",{staticClass:"ico"},[e("van-icon",{attrs:{size:"14px",name:t.ico?"arrow-left":"arrow-down"}})],1),t.ico?e("div",{staticClass:"list"},t._l(t.listCont,(function(n,s){return e("div",{key:s+"w",staticClass:"ol",on:{click:function(e){return e.stopPropagation(),t.cho(n)}}},[e("div",[t._v(" "+t._s(n.name)+" ")]),e("div",[e("img",{style:{display:t.choose.includes(n.id)?"":"none"},attrs:{src:i("87f1"),alt:""}})])])})),0):t._e()])},s=[],a={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){this.choose[0]=t.id,this.ico=!1,this.$emit("update-search","aaa")}}},o=a,c=(i("5fa8"),i("2877")),r=Object(c["a"])(o,n,s,!1,null,"73cde974",null);e["a"]=r.exports},feb1:function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pop"},[e("div",{staticStyle:{width:"100%",height:"100vh","background-color":"rgba(0,0,0,0.76)",position:"fixed","z-index":"11",left:"0",top:"0"}},[e("div",{staticClass:"mask"},[e("div",{staticClass:"maskTit"},[t._t("tit")],2),e("div",{staticClass:"maskCon"},[t._t("con")],2),e("div",{staticClass:"maskBtn"},[t._t("btn1"),t._t("btn2")],2)])])])},s=[],a={data:function(){return{}}},o=a,c=(i("de07"),i("2877")),r=Object(c["a"])(o,n,s,!1,null,"77d9021c",null);e["a"]=r.exports}}]);
|