/*! * build: Hopaheal * copyright: Mead * time: 2022-6-7 11:38:49 */ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47c150ca"],{"0e3c":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{"before-close":t.handleClose1,center:"",title:"",visible:t.detail_visable,width:"50%"},on:{"update:visible":function(e){t.detail_visable=e}}},[a("div",{staticClass:"detail_wrap"},[a("div",{staticClass:"top"},[a("div",{staticClass:"img clearfix"},[a("img",{attrs:{alt:"",src:t.d_list.headimg}})]),a("div",{staticClass:"list clearfix"},[a("span",[t._v("教工号:"+t._s(t.d_list.account||"--"))]),a("span",[t._v("姓名:"+t._s(t.d_list.truename))]),a("span",[t._v("手机号:"+t._s(t.d_list.mobile||"--"))]),a("span",[t._v("邮箱:"+t._s(t.d_list.email||"--"))]),a("span",[t._v("毕业院校:"+t._s(t.d_list.school||"--"))]),a("span",[t._v("学科:"+t._s(t.d_list.subject||"--"))]),a("div",[t._v("担任课程:"+t._s(t.d_list.class||"--"))])])]),a("div",{staticClass:"bottom",attrs:{if:t.d_list.direction}},[a("div",{staticClass:"b_wrap"},[a("span"),a("div",[t._v("研究方向")]),a("span")]),a("div",{staticClass:"content"},[t._v(t._s(t.d_list.direction))])]),a("div",{staticClass:"bottom",attrs:{if:t.d_list.project}},[a("div",{staticClass:"b_wrap"},[a("span"),a("div",[t._v("承担项目")]),a("span")]),a("div",{staticClass:"content"},[t._v(t._s(t.d_list.project))])]),a("div",{staticClass:"bottom",attrs:{if:t.d_list.results}},[a("div",{staticClass:"b_wrap"},[a("span"),a("div",[t._v("代表成果")]),a("span")]),a("div",{staticClass:"content"},[t._v(t._s(t.d_list.results))])])]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.detail_visable=!1}}},[t._v(" 确 定 ")])],1)])},i=[],r={data:function(){return{d_list:{},detail_visable:!1}},methods:{showEdit:function(t){this.d_list=t.teacher,console.log(t),this.detail_visable=!0},handleClose1:function(){this.detail_visable=!1}}},n=r,l=(a("38ec"),a("2877")),o=Object(l["a"])(n,s,i,!1,null,"6e1a6006",null);e["default"]=o.exports},"38ec":function(t,e,a){"use strict";a("efff")},"799e":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"role-management-container"},[s("vab-query-form",[s("vab-query-form-left-panel",{attrs:{span:19}},[s("el-form",{attrs:{inline:!0,model:t.queryForm},nativeOn:{submit:function(t){t.preventDefault()}}},[s("el-form-item",[s("el-input",{staticStyle:{width:"160px","margin-right":"5px"},attrs:{clearable:"",placeholder:"请输入教师姓名"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.queryData.apply(null,arguments)}},model:{value:t.queryForm.teacher_name,callback:function(e){t.$set(t.queryForm,"teacher_name","string"===typeof e?e.trim():e)},expression:"queryForm.teacher_name"}})],1),s("el-form-item",[s("el-date-picker",{attrs:{format:"yyyy-MM-dd",placeholder:"请选择日期",type:"date","value-format":"yyyy-MM-dd"},model:{value:t.queryForm.day,callback:function(e){t.$set(t.queryForm,"day",e)},expression:"queryForm.day"}})],1),s("el-form-item",[s("el-button",{attrs:{icon:"el-icon-search",type:"primary"},on:{click:t.queryData}},[t._v(" 查询 ")])],1)],1)],1)],1),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{border:"",data:t.list},scopedSlots:t._u([{key:"empty",fn:function(){return[s("el-image",{staticClass:"vab-data-empty",attrs:{src:a("f1f0")}})]},proxy:!0}])},[s("el-table-column",{attrs:{align:"center",label:"序号",sortable:"",type:"index",width:"60"}}),s("el-table-column",{attrs:{align:"center",label:"预约日期",prop:"day","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{align:"center",label:"预约时间段",prop:"day","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(" "+t._s(a.start_time)+"--"+t._s(a.end_time)+" ")]}}])}),s("el-table-column",{attrs:{align:"center",label:"辅导教师",prop:"teacher.truename","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{align:"center",label:"联系方式",prop:"teacher.mobile","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{align:"center",label:"教师所属学科",prop:"teacher.subject","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{align:"center",label:"预约备注",prop:"remark","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{align:"center",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[s("el-button",{attrs:{type:"text"},on:{click:function(e){return t.handleDetail(a)}}},[t._v("详情")])]}}])})],1),s("el-pagination",{attrs:{background:"","current-page":t.queryForm.page,layout:t.layout,"page-size":t.queryForm.per_page,"page-sizes":[15,20,30,40,50,100],total:t.queryForm.total},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}}),s("detail",{ref:"details"})],1)},i=[],r=a("1da1"),n=a("5530"),l=(a("96cf"),a("afda")),o=a("f121"),c=a("2f62"),u=a("0e3c"),d={name:"RoleManagement",components:{Detail:u["default"]},data:function(){return{list:[],listLoading:!0,layout:"total, sizes, prev, pager, next, jumper",selectRows:"",queryForm:{page:1,per_page:15,student_id:"",teacher_name:"",day:""}}},computed:Object(n["a"])({},Object(c["c"])({token:"user/token",language:"settings/language"})),watch:{$route:"getRecordList"},created:function(){this.queryForm.student_id=this.$store.state.user.type_id,this.action=o["baseURL"]+"/base/common/upload",this.fileList=[],this.getRecordList()},methods:{handleDetail:function(t){this.$refs["details"].showEdit(t)},getRecordList:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var a,s,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["recordList"])(t.queryForm);case 2:a=e.sent,s=a.data,console.log(s,"排班列表"),t.list=s.list,i=s.meta,t.queryForm.total=i.pagination.total,t.listLoading=!1;case 9:case"end":return e.stop()}}),e)})))()},handleSizeChange:function(t){this.queryForm.per_page=t,this.getRecordList()},handleCurrentChange:function(t){this.queryForm.page=t,this.getRecordList()},queryData:function(){this.queryForm.page=1,this.getRecordList()}}},p=d,f=(a("9258"),a("2877")),m=Object(f["a"])(p,s,i,!1,null,"0fe9329e",null);e["default"]=m.exports},9258:function(t,e,a){"use strict";a("fdc5")},afda:function(t,e,a){"use strict";a.r(e),a.d(e,"recordList",(function(){return i}));var s=a("b775");function i(t){return Object(s["default"])({url:"/mentor/scheduling",method:"get",params:t})}},efff:function(t,e,a){},f1f0:function(t,e,a){t.exports=a.p+"static/img/data_empty.475a2a1e.png"},fdc5:function(t,e,a){}}]);