1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c8f09c96"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=i(),s=e-o,u=20,l=0;t="undefined"===typeof t?500:t;var c=function e(){l+=u;var i=Math.easeInOutQuad(l,o,s,t);r(i),l<t?a(e):n&&"function"===typeof n&&n()};c()}},"333d":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},r=[],i=(n("c5f6"),n("09f4")),o={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(i["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(i["a"])(0,800)}}},s=o,u=(n("c0b9"),n("2877")),l=Object(u["a"])(s,a,r,!1,null,"31cb099a",null);t["a"]=l.exports},"6a3d":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-container"},[e._m(0),e._v(" "),n("div",{staticClass:"m-core"},[n("el-form",{attrs:{inline:!0,model:e.searchForm}},[n("el-form-item",[n("el-input",{attrs:{placeholder:"老师名称"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),n("el-form-item",[n("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.organList,function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1)],1),e._v(" "),n("el-form-item",[n("el-select",{attrs:{clearable:"",filterable:"",placeholder:"申诉状态"},model:{value:e.searchForm.complaintsStatus,callback:function(t){e.$set(e.searchForm,"complaintsStatus","string"===typeof t?t.trim():t)},expression:"searchForm.complaintsStatus"}},[n("el-option",{attrs:{label:"已拒绝",value:0}}),e._v(" "),n("el-option",{attrs:{label:"已通过",value:1}}),e._v(" "),n("el-option",{attrs:{label:"待处理",value:2}}),e._v(" "),n("el-option",{attrs:{label:"已撤销",value:3}})],1)],1),e._v(" "),n("el-form-item",[n("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[e._v("重置")])],1)],1),e._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[n("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",label:"课程编号"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"courseScheduleName",label:"课程名称"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",width:"180",prop:"courseScheduleTime",label:"课程时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("p",[e._v(e._s(t.row.courseScheduleTime)+" "+e._s(e._f("timerForMinFormat")(t.row.courseScheduleStartTime))+"-"+e._s(e._f("timerForMinFormat")(t.row.courseScheduleEndTime)))])])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"status",label:"签到状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("p",[e._v(e._s(e._f("attendanceType")(t.row.signInStatus)))])])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"status",label:"签退状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("p",[e._v(e._s(e._f("attendanceOutType")(t.row.signOutStatus)))])])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"老师名称"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("complaintsStatusEnum")(t.row.complaintsStatusEnum))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"operatorName",label:"申诉处理者"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e.permission("teacherAttendance/operation")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.lookDetail(t.row)}}},[e._v("操作")]):e._e()],1)]}}])})],1),e._v(" "),n("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)],1),e._v(" "),n("el-dialog",{attrs:{title:"课时申述",visible:e.dialogVisible,width:"400px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",[n("div",{staticClass:"titleP"},[n("p",[e._v("签到时间:"+e._s(e.visibleForm.signInTime))]),e._v(" "),n("p",[e._v("签退时间:"+e._s(e.visibleForm.signOutTime))])]),e._v(" "),n("el-form",{ref:"visibleForm",staticClass:"visibleForm",attrs:{model:e.visibleForm}},[n("el-form-item",{attrs:{label:"申诉内容",rules:[{required:!0,message:"请填写申诉内容",trigger:"blur"}],prop:"complaintsContent"}},[n("el-input",{attrs:{type:"textarea",rows:5,disabled:"2"!=e.visibleForm.complaintsStatusEnum},model:{value:e.visibleForm.complaintsContent,callback:function(t){e.$set(e.visibleForm,"complaintsContent","string"===typeof t?t.trim():t)},expression:"visibleForm.complaintsContent"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"处理意见",rules:[{required:!0,message:"请填写处理意见",trigger:"blur"}],prop:"disposeContent"}},[n("el-input",{attrs:{type:"textarea",rows:5,disabled:"2"!=e.visibleForm.complaintsStatusEnum},model:{value:e.visibleForm.disposeContent,callback:function(t){e.$set(e.visibleForm,"disposeContent","string"===typeof t?t.trim():t)},expression:"visibleForm.disposeContent"}})],1),e._v(" "),"2"==e.visibleForm.complaintsStatusEnum?n("el-form-item",{attrs:{label:"请选择需要补正的状态"}},[n("br"),e._v(" "),n("el-checkbox",{model:{value:e.visibleForm.reSignInStatus,callback:function(t){e.$set(e.visibleForm,"reSignInStatus",t)},expression:"visibleForm.reSignInStatus"}},[e._v("签到状态")]),e._v(" "),n("el-checkbox",{model:{value:e.visibleForm.reSignOutStatus,callback:function(t){e.$set(e.visibleForm,"reSignOutStatus",t)},expression:"visibleForm.reSignOutStatus"}},[e._v("签退状态")])],1):e._e()],1)],1),e._v(" "),"2"==e.visibleForm.complaintsStatusEnum?n("div",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"teacherAttendance/rejectTeacherAttendanceComplaints",expression:"'teacherAttendance/rejectTeacherAttendanceComplaints'"}],on:{click:function(t){return e.subreset("DENIED")}}},[e._v("拒绝")]),e._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"teacherAttendance/agreeTeacherAttendanceComplaints",expression:"'teacherAttendance/agreeTeacherAttendanceComplaints'"}],attrs:{type:"primary"},on:{click:function(t){return e.subreset("AGREED")}}},[e._v("同意")])],1):e._e()])],1)},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[n("div",{staticClass:"squrt"}),e._v("课时申诉\n ")])}],i=(n("386d"),n("bc3a"),n("5f87"),n("333d")),o=(n("3908"),n("1cc7")),s=n("ec8a"),u=n("d8fc"),l={components:{pagination:i["a"]},data:function(){return{searchForm:{search:null,organId:null,complaintsStatus:null,timer:[]},teacherList:[],tableList:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},dialogVisible:!1,visibleForm:{complaintsContent:null,complaintsStatusEnum:null,disposeContent:null,signInStatus:null,signOutStatus:null,teacherAttendanceId:null,reSignInStatus:null,reSignOutStatus:null}}},created:function(){},mounted:function(){var e=this;Object(o["S"])().then(function(t){200==t.code&&(e.organList=t.data)}),this.init()},activated:function(){this.init()},methods:{init:function(){this.getList()},permission:function(e){return Object(s["a"])(e)},getList:function(){var e=this,t={};Object.assign(t,this.searchForm),t.timer&&t.timer.length>0&&(t.courseScheduleStartDate=t.timer[0],t.courseScheduleEndDate=t.timer[1]),t.rows=this.rules.limit,t.page=this.rules.page,delete t.timer,Object(u["n"])(t).then(function(t){200==t.code&&(e.rules.total=t.data.total,e.tableList=t.data.rows)})},search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.searchForm={search:null,organId:null,complaintsStatus:null,timer:[]},this.search()},subreset:function(e){var t=this;"AGREED"==e?this.$refs["visibleForm"].validate(function(e){if(e){var n={};if(!t.visibleForm.reSignInStatus&&!t.visibleForm.reSignOutStatus)return void t.$message.error("请修正签到状态或签退状态");t.visibleForm.reSignInStatus&&(n.signInStatus=1),t.visibleForm.reSignOutStatus&&(n.signOutStatus=1),n.content=t.visibleForm.disposeContent,n.teacherAttendanceId=t.visibleForm.teacherAttendanceId,Object(u["a"])(n).then(function(e){200==e.code&&(t.dialogVisible=!1,t.$message.success("同意申诉成功"),t.getList())})}}):this.$refs["visibleForm"].validate(function(e){if(e){var n={};n.content=t.visibleForm.disposeContent,n.teacherAttendanceId=t.visibleForm.teacherAttendanceId,Object(u["p"])(n).then(function(e){200==e.code&&(t.dialogVisible=!1,t.$message.success("拒绝申诉成功"),t.getList())})}})},lookDetail:function(e){this.visibleForm={complaintsContent:e.complaintsContent,complaintsStatusEnum:e.complaintsStatusEnum,disposeContent:e.disposeContent,signInStatus:e.signInStatus,signOutStatus:e.signOutStatus,signInTime:e.signInTime,signOutTime:e.signOutTime,teacherAttendanceId:e.teacherAttendanceId,reSignInStatus:null,reSignOutStatus:null},this.dialogVisible=!0}},watch:{dialogVisible:function(e){e||(this.visibleForm={complaintsContent:null,complaintsStatusEnum:null,disposeContent:null,signInStatus:null,signOutStatus:null,teacherAttendanceId:null,reSignInStatus:null,reSignOutStatus:null})}}},c=l,d=(n("ef0a"),n("2877")),m=Object(d["a"])(c,a,r,!1,null,"3042adc6",null);t["default"]=m.exports},c0b9:function(e,t,n){"use strict";var a=n("fa3b"),r=n.n(a);r.a},c64f:function(e,t,n){},d8fc:function(e,t,n){"use strict";n.d(t,"l",function(){return s}),n.d(t,"r",function(){return u}),n.d(t,"q",function(){return l}),n.d(t,"m",function(){return c}),n.d(t,"f",function(){return d}),n.d(t,"k",function(){return m}),n.d(t,"b",function(){return p}),n.d(t,"i",function(){return f}),n.d(t,"o",function(){return g}),n.d(t,"h",function(){return h}),n.d(t,"c",function(){return b}),n.d(t,"v",function(){return v}),n.d(t,"g",function(){return S}),n.d(t,"j",function(){return y}),n.d(t,"d",function(){return _}),n.d(t,"u",function(){return O}),n.d(t,"s",function(){return F}),n.d(t,"t",function(){return C}),n.d(t,"e",function(){return T}),n.d(t,"n",function(){return k}),n.d(t,"a",function(){return j}),n.d(t,"p",function(){return I});var a=n("b775"),r=n("4328"),i=n.n(r),o="/api-web";function s(e){return Object(a["a"])({url:o+"/sysMessage/queryCountOfUnread",method:"get",params:e})}function u(e){return Object(a["a"])({url:o+"/sysMessage/list",method:"get",params:e})}function l(e){return Object(a["a"])({url:o+"/sysMessage/setRead",method:"post",data:i.a.stringify(e)})}function c(e){return Object(a["a"])({url:o+"/courseSchedule/queryCourseScheduleComplaintsDetail",method:"get",params:e})}function d(e){return Object(a["a"])({url:o+"/courseSchedule/courseScheduleCommplaintAudit",method:"post",data:i.a.stringify(e)})}function m(e){return Object(a["a"])({url:o+"/vipGroupManage/queryApplyRefundDetail",method:"get",params:e})}function p(e){return Object(a["a"])({url:o+"/vipGroupManage/applyRefundAudit",method:"POST",data:i.a.stringify(e)})}function f(e){return Object(a["a"])({url:o+"/musicGroupQuit/query",method:"get",params:e})}function g(e){return Object(a["a"])({url:o+"/musicGroupQuit/quitMusicGroup",method:"POST",data:i.a.stringify(e)})}function h(e){return Object(a["a"])({url:o+"/teacherLeaveRecord/queryDetail",method:"get",params:e})}function b(e){return Object(a["a"])({url:o+"/teacherLeaveRecord/approve",method:"POST",data:i.a.stringify(e)})}function v(e){return Object(a["a"])({url:o+"/vipGroupManage/vipApplyAudit",method:"POST",data:i.a.stringify(e)})}function S(e){return Object(a["a"])({url:o+"/courseScheduleTeacherSalary/findIsSettlementCourseSalarys",method:"GET",params:e})}function y(e){return Object(a["a"])({url:o+"/courseScheduleTeacherSalary/openSalaryConfirm",method:"GET",params:e})}function _(e){return Object(a["a"])({url:o+"/courseScheduleTeacherSalary/closeSalaryConfirm",method:"GET",params:e})}function O(e){return Object(a["a"])({url:o+"/teacherSalaryModifyLog/add",method:"POST",data:i.a.stringify(e)})}function F(e){return Object(a["a"])({url:o+"/teacherSalaryComplaints/queryPage",method:"GET",params:e})}function C(e){return Object(a["a"])({url:o+"/teacherSalaryComplaints/get",method:"GET",params:e})}function T(e){return Object(a["a"])({url:o+"/teacherSalaryComplaints/complaintsDispose",method:"post",data:i.a.stringify(e)})}function k(e){return Object(a["a"])({url:o+"/teacherAttendance/queryTeacherAttendanceComplaints",method:"post",data:i.a.stringify(e)})}function j(e){return Object(a["a"])({url:o+"/teacherAttendance/agreeTeacherAttendanceComplaints",method:"post",data:i.a.stringify(e)})}function I(e){return Object(a["a"])({url:o+"/teacherAttendance/rejectTeacherAttendanceComplaints",method:"post",data:i.a.stringify(e)})}},ec8a:function(e,t,n){"use strict";n.d(t,"a",function(){return a});n("6762"),n("2fdb"),n("28a5");function a(e,t){var n=window.localStorage.getItem("permission");return n=n.split(","),t=t||null,!(!n.includes(e)||t)||!(!n.includes(e)||!n.includes(t))}},ef0a:function(e,t,n){"use strict";var a=n("c64f"),r=n.n(a);r.a},fa3b:function(e,t,n){}}]);
|