| 1 |
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-d42dbce6"], { "09f4": function (t, e, n) { "use strict"; n.d(e, "a", (function () { return s })), Math.easeInOutQuad = function (t, e, n, r) { return t /= r / 2, t < 1 ? n / 2 * t * t + e : (t--, -n / 2 * (t * (t - 2) - 1) + e) }; var r = function () { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (t) { window.setTimeout(t, 1e3 / 60) } }(); function a (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 s (t, e, n) { var s = i(), o = t - s, l = 20, u = 0; e = "undefined" === typeof e ? 500 : e; var c = function t () { u += l; var i = Math.easeInOutQuad(u, s, o, e); a(i), u < e ? r(t) : n && "function" === typeof n && n() }; c() } }, 4262: function (t, e, n) { "use strict"; n("a5ac") }, "6a3d": function (t, e, n) { "use strict"; n.r(e); var r = 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": "课程结束日期", "picker-options": { firstDayOfWeek: 1 } }, 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", [t.permission("teacherAttendance/operation") ? n("el-button", { attrs: { type: "text" }, on: { click: function (n) { return t.lookDetail(e.row) } } }, [t._v("操作")]) : t._e()], 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", { directives: [{ name: "permission", rawName: "v-permission", value: "teacherAttendance/rejectTeacherAttendanceComplaints", expression: "'teacherAttendance/rejectTeacherAttendanceComplaints'" }], on: { click: function (e) { return t.subreset("DENIED") } } }, [t._v("拒绝")]), t._v(" "), n("el-button", { directives: [{ name: "permission", rawName: "v-permission", value: "teacherAttendance/agreeTeacherAttendanceComplaints", expression: "'teacherAttendance/agreeTeacherAttendanceComplaints'" }], attrs: { type: "primary" }, on: { click: function (e) { return t.subreset("AGREED") } } }, [t._v("同意")])], 1) : t._e()])], 1) }, a = [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")), s = (n("3908"), n("1cc7")), o = n("ec8a"), l = n("d8fc"), u = { 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(s["V"])().then((function (e) { 200 == e.code && (t.organList = e.data) })), this.init() }, activated: function () { this.init() }, methods: { init: function () { this.getList() }, permission: function (t) { return Object(o["a"])(t) }, 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(l["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(l["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(l["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 }) } } }, c = u, d = (n("4262"), n("2877")), m = Object(d["a"])(c, r, a, !1, null, "8a8e90ea", null); e["default"] = m.exports }, a5ac: function (t, e, n) { }, d8fc: function (t, e, n) { "use strict"; n.d(e, "l", (function () { return o })), 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 b })), n.d(e, "h", (function () { return h })), n.d(e, "c", (function () { return v })), n.d(e, "v", (function () { return g })), 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 F })), n.d(e, "s", (function () { return O })), 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 w })); var r = n("b775"), a = n("4328"), i = n.n(a), s = "/api-web"; function o (t) { return Object(r["a"])({ url: s + "/sysMessage/queryCountOfUnread", method: "get", params: t }) } function l (t) { return Object(r["a"])({ url: s + "/sysMessage/list", method: "get", params: t }) } function u (t) { return Object(r["a"])({ url: s + "/sysMessage/setRead", method: "post", data: i.a.stringify(t) }) } function c (t) { return Object(r["a"])({ url: s + "/courseSchedule/queryCourseScheduleComplaintsDetail", method: "get", params: t }) } function d (t) { return Object(r["a"])({ url: s + "/courseSchedule/courseScheduleCommplaintAudit", method: "post", data: i.a.stringify(t) }) } function m (t) { return Object(r["a"])({ url: s + "/vipGroupManage/queryApplyRefundDetail", method: "get", params: t }) } function p (t) { return Object(r["a"])({ url: s + "/vipGroupManage/applyRefundAudit", method: "POST", data: i.a.stringify(t) }) } function f (t) { return Object(r["a"])({ url: s + "/musicGroupQuit/query", method: "get", params: t }) } function b (t) { return Object(r["a"])({ url: s + "/musicGroupQuit/quitMusicGroup", method: "POST", data: i.a.stringify(t) }) } function h (t) { return Object(r["a"])({ url: s + "/teacherLeaveRecord/queryDetail", method: "get", params: t }) } function v (t) { return Object(r["a"])({ url: s + "/teacherLeaveRecord/approve", method: "POST", data: i.a.stringify(t) }) } function g (t) { return Object(r["a"])({ url: s + "/vipGroupManage/vipApplyAudit", method: "POST", data: i.a.stringify(t) }) } function S (t) { return Object(r["a"])({ url: s + "/courseScheduleTeacherSalary/findIsSettlementCourseSalarys", method: "GET", params: t }) } function y (t) { return Object(r["a"])({ url: s + "/courseScheduleTeacherSalary/openSalaryConfirm", method: "GET", params: t }) } function _ (t) { return Object(r["a"])({ url: s + "/courseScheduleTeacherSalary/closeSalaryConfirm", method: "GET", params: t }) } function F (t) { return Object(r["a"])({ url: s + "/teacherSalaryModifyLog/add", method: "POST", data: i.a.stringify(t) }) } function O (t) { return Object(r["a"])({ url: s + "/teacherSalaryComplaints/queryPage", method: "GET", params: t }) } function C (t) { return Object(r["a"])({ url: s + "/teacherSalaryComplaints/get", method: "GET", params: t }) } function T (t) { return Object(r["a"])({ url: s + "/teacherSalaryComplaints/complaintsDispose", method: "post", data: i.a.stringify(t) }) } function k (t) { return Object(r["a"])({ url: s + "/teacherAttendance/queryTeacherAttendanceComplaints", method: "post", data: i.a.stringify(t) }) } function I (t) { return Object(r["a"])({ url: s + "/teacherAttendance/agreeTeacherAttendanceComplaints", method: "post", data: i.a.stringify(t) }) } function w (t) { return Object(r["a"])({ url: s + "/teacherAttendance/rejectTeacherAttendanceComplaints", method: "post", data: i.a.stringify(t) }) } }, ec8a: function (t, e, n) { "use strict"; n.d(e, "a", (function () { return r })); n("6762"), n("2fdb"), n("28a5"); function r (t, e) { var n = window.localStorage.getItem("permission"); return n = n.split(","), e = e || null, !(!n.includes(t) || e) || !(!n.includes(t) || !n.includes(e)) } } }]);
|