chunk-2219752a.5e10ab1a.js 15 KB

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