(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-24490ddc"], { "09f4": function (e, t, a) { "use strict"; a.d(t, "a", function () { return o }), Math.easeInOutQuad = function (e, t, a, n) { return e /= n / 2, e < 1 ? a / 2 * e * e + t : (e--, -a / 2 * (e * (e - 2) - 1) + t) }; var n = 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, a) { var o = i(), l = e - o, s = 20, u = 0; t = "undefined" === typeof t ? 500 : t; var c = function e () { u += s; var i = Math.easeInOutQuad(u, o, l, t); r(i), u < t ? n(e) : a && "function" === typeof a && a() }; c() } }, "333d": function (e, t, a) { "use strict"; var n = function () { var e = this, t = e.$createElement, a = e._self._c || t; return a("div", { staticClass: "pagination-container", class: { hidden: e.hidden } }, [a("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 = (a("c5f6"), a("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) } } }, l = o, s = (a("c0b9"), a("2877")), u = Object(s["a"])(l, n, r, !1, null, "31cb099a", null); t["a"] = u.exports }, "64d9": function (e, t, a) { "use strict"; a.r(t); var n = function () { var e = this, t = e.$createElement, a = e._self._c || t; return a("div", { staticClass: "m-container" }, [e._m(0), e._v(" "), a("div", { staticClass: "m-core" }, [a("el-form", { attrs: { inline: !0, model: e.searchForm } }, [a("el-form-item", { attrs: { prop: "organId" } }, [a("el-select", { staticClass: "multiple", attrs: { filterable: "", clearable: "", 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 a("el-option", { key: t, attrs: { label: e.name, value: e.id } }) }), 1)], 1), e._v(" "), a("el-form-item", [a("el-select", { attrs: { placeholder: "老师姓名", clearable: "", filterable: "" }, model: { value: e.searchForm.teacherId, callback: function (t) { e.$set(e.searchForm, "teacherId", t) }, expression: "searchForm.teacherId" } }, e._l(e.teacherList, function (e, t) { return a("el-option", { key: t, attrs: { label: e.realName, value: e.id } }) }), 1)], 1), e._v(" "), a("el-form-item", [a("el-select", { attrs: { placeholder: "状态", clearable: "" }, model: { value: e.searchForm.statusEnum, callback: function (t) { e.$set(e.searchForm, "statusEnum", t) }, expression: "searchForm.statusEnum" } }, [a("el-option", { attrs: { label: "待处理", value: "PENDING" } }), e._v(" "), a("el-option", { attrs: { label: "已完成", value: "DONE" } }), e._v(" "), a("el-option", { attrs: { label: "已同意", value: "AGREED" } }), e._v(" "), a("el-option", { attrs: { label: "已拒绝", value: "DENIED" } }), e._v(" "), a("el-option", { attrs: { label: "已撤回", value: "WITHDRAWN" } })], 1)], 1), e._v(" "), a("el-form-item", [a("el-date-picker", { attrs: { clearable: !0, type: "month", "value-format": "yyyy-MM", placeholder: "选择年月" }, model: { value: e.searchForm.salarySettlementMonth, callback: function (t) { e.$set(e.searchForm, "salarySettlementMonth", t) }, expression: "searchForm.salarySettlementMonth" } })], 1), e._v(" "), a("el-form-item", [a("el-button", { attrs: { type: "danger" }, on: { click: e.search } }, [e._v("搜索")]), e._v(" "), a("el-button", { attrs: { type: "primary" }, on: { click: e.onReSet } }, [e._v("重置")]), e._v(" "), a("el-button", { directives: [{ name: "permission", rawName: "v-permission", value: "export/teacherSalaryComplaints", expression: "'export/teacherSalaryComplaints'" }], staticStyle: { background: "#14928a", border: "1px solid #14928a" }, attrs: { type: "primary" }, on: { click: e.onExport } }, [e._v("导出")])], 1)], 1), e._v(" "), a("div", { staticClass: "tableWrap" }, [a("el-table", { staticStyle: { width: "100%" }, attrs: { "header-cell-style": { background: "#EDEEF0", color: "#444" }, data: e.tableList } }, [a("el-table-column", { attrs: { align: "center", prop: "organName", label: "分部" } }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "teacherId", label: "老师编号" } }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "realName", label: "老师姓名" } }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "salarySettlementMonth", width: "150", label: "课酬归属时间" } }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "updateTime", width: "150", label: "申诉提交" }, scopedSlots: e._u([{ key: "default", fn: function (t) { return [e._v(e._s(e._f("dateForMinFormat")(t.row.updateTime)))] } }]) }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "statusEnum", label: "状态" }, scopedSlots: e._u([{ key: "default", fn: function (t) { return [e._v(e._s(e._f("statusEnum")(t.row.statusEnum)))] } }]) }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "operatorRealName", label: "申诉处理者" } }), e._v(" "), a("el-table-column", { attrs: { align: "center", prop: "courseScheduleId", width: "150", label: "操作" }, scopedSlots: e._u([{ key: "default", fn: function (t) { return [a("div", [a("el-button", { directives: [{ name: "permission", rawName: "v-permission", value: "teacherSalaryComplaints/complaintsDispose", expression: "'teacherSalaryComplaints/complaintsDispose'" }], attrs: { type: "text" }, on: { click: function (a) { return e.lookDetail(t.row) } } }, [e._v("操作")])], 1)] } }]) })], 1), e._v(" "), a("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(" "), a("el-dialog", { attrs: { title: "课酬申诉", visible: e.dialogVisible, width: "400px" }, on: { "update:visible": function (t) { e.dialogVisible = t } } }, [a("div", [a("el-form", { ref: "visibleForm", staticClass: "visibleForm", attrs: { model: e.visibleForm } }, [a("el-form-item", { attrs: { label: "申诉内容", rules: [{ required: !0, message: "请填写申诉内容", trigger: "blur" }], prop: "reason" } }, [a("el-input", { attrs: { type: "textarea", rows: 5, disabled: "PENDING" != e.visibleForm.statusEnum }, model: { value: e.visibleForm.reason, callback: function (t) { e.$set(e.visibleForm, "reason", "string" === typeof t ? t.trim() : t) }, expression: "visibleForm.reason" } })], 1), e._v(" "), a("el-form-item", { attrs: { label: "处理意见", rules: [{ required: !0, message: "请填写处理意见", trigger: "blur" }], prop: "handingSuggestion" } }, [a("el-input", { attrs: { type: "textarea", rows: 5, disabled: "PENDING" != e.visibleForm.statusEnum }, model: { value: e.visibleForm.handingSuggestion, callback: function (t) { e.$set(e.visibleForm, "handingSuggestion", "string" === typeof t ? t.trim() : t) }, expression: "visibleForm.handingSuggestion" } })], 1), e._v(" "), "PENDING" != e.visibleForm.statusEnum ? a("el-form-item", { attrs: { label: "处理结果" } }, [e._v("\n " + e._s(e._f("statusEnum")(e.visibleForm.statusEnum)) + "\n ")]) : e._e()], 1)], 1), e._v(" "), "PENDING" == e.visibleForm.statusEnum ? a("div", { attrs: { slot: "footer" }, slot: "footer" }, [a("el-button", { on: { click: function (t) { return e.subreset("DENIED") } } }, [e._v("拒绝")]), e._v(" "), a("el-button", { 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, a = e._self._c || t; return a("h2", [a("div", { staticClass: "squrt" }), e._v("课酬申诉\n ")]) }], i = (a("386d"), a("4328")), o = a.n(i), l = a("bc3a"), s = a.n(l), u = a("5f87"), c = a("333d"), d = a("3908"), m = a("1cc7"), p = a("d8fc"), h = { components: { pagination: c["a"] }, data: function () { return { searchForm: { search: null, salarySettlementMonth: null, statusEnum: null, teacherId: null, organId: null }, teacherList: [], tableList: [], organList: [], rules: { limit: 10, page: 1, total: 0, page_size: [10, 20, 40, 50] }, dialogVisible: !1, visibleForm: { reason: null, handingSuggestion: null, teacherId: null, salarySettlementMonth: null, statusEnum: null, id: null } } }, created: function () { }, mounted: function () { var e = this; Object(m["kb"])().then(function (t) { 200 == t.code && (e.teacherList = t.data) }), Object(m["N"])().then(function (t) { 200 == t.code && (e.organList = t.data) }), this.init() }, methods: { init: function () { this.getList() }, getList: function () { var e = this; this.searchForm.page = this.rules.page, this.searchForm.rows = this.rules.limit, Object(p["p"])(this.searchForm).then(function (t) { 200 == t.code && (e.tableList = t.data.rows, e.rules.total = t.data.total) }) }, search: function () { this.rules.page = 1, this.getList() }, onReSet: function () { this.searchForm = { search: null, salarySettlementMonth: null, statusEnum: null, teacherId: null, organId: null }, this.search() }, onExport: function () { var e = this, t = "/api-web/export/teacherSalaryComplaints", a = this.searchForm, n = { method: "post", headers: { Authorization: Object(u["a"])() }, url: t, data: o.a.stringify(a), responseType: "blob" }; this.$confirm("您确定导出列表?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(function () { d["a"].startLoading(), s()(n).then(function (t) { var a = new Blob([t.data], { type: "application/vnd.ms-excel;charset=utf-8" }), n = new Response(a).text(); n.then(function (t) { if (-1 != t.indexOf("code")) { var n = JSON.parse(t); e.$message.error(n.msg) } else { var r = URL.createObjectURL(a), i = document.createElement("a"), o = new Date, l = o.getFullYear() + "" + (o.getMonth() + 1) + o.getDate() + o.getHours() + o.getMinutes(), s = l + "课酬申诉"; i.href = r, i.setAttribute("download", s), document.body.appendChild(i), i.click() } }), d["a"].endLoading() }).catch(function (t) { e.$message.error("导出数据失败,请联系管理员"), d["a"].endLoading() }) }).catch(function () { }) }, lookDetail: function (e) { var t = this; Object(p["q"])({ id: e.id }).then(function (e) { 200 == e.code && (t.visibleForm = { reason: e.data.reason, handingSuggestion: e.data.handingSuggestion, teacherId: e.data.teacherId, salarySettlementMonth: e.data.salarySettlementMonth, statusEnum: e.data.statusEnum, id: e.data.id }, t.dialogVisible = !0) }) }, subreset: function (e) { var t = this; this.$refs["visibleForm"].validate(function (a) { if (a) { var n = { reason: t.visibleForm.reason, handingSuggestion: t.visibleForm.handingSuggestion, currentReduceSalary: t.visibleForm.reduceSalary, salarySettlementMonth: t.visibleForm.salarySettlementMonth, teacherId: t.visibleForm.teacherId, statusEnum: e, id: t.visibleForm.id }; Object(p["d"])(n).then(function (e) { 200 == e.code && (t.dialogVisible = !1, t.$message.success("处理成功"), t.getList()) }) } }) } }, filters: { statusEnum: function (e) { var t = { PENDING: "待处理", DONE: "已完成", AGREED: "已同意", DENIED: "已拒绝", WITHDRAWN: "已撤回" }; return t[e] } }, watch: { dialogVisible: function (e) { e || (this.visibleForm = { reason: null, handingSuggestion: null, teacherId: null, salarySettlementMonth: null, statusEnum: null, id: null }, this.$refs["visibleForm"].resetFields()) } } }, f = h, g = a("2877"), b = Object(g["a"])(f, n, r, !1, null, "7404c700", null); t["default"] = b.exports }, c0b9: function (e, t, a) { "use strict"; var n = a("de4e"), r = a.n(n); r.a }, d8fc: function (e, t, a) { "use strict"; a.d(t, "k", function () { return l }), a.d(t, "o", function () { return s }), a.d(t, "n", function () { return u }), a.d(t, "l", function () { return c }), a.d(t, "e", function () { return d }), a.d(t, "j", function () { return m }), a.d(t, "a", function () { return p }), a.d(t, "h", function () { return h }), a.d(t, "m", function () { return f }), a.d(t, "g", function () { return g }), a.d(t, "b", function () { return b }), a.d(t, "s", function () { return v }), a.d(t, "f", function () { return y }), a.d(t, "i", function () { return S }), a.d(t, "c", function () { return _ }), a.d(t, "r", function () { return E }), a.d(t, "p", function () { return F }), a.d(t, "q", function () { return O }), a.d(t, "d", function () { return w }); var n = a("b775"), r = a("4328"), i = a.n(r), o = "/api-web"; function l (e) { return Object(n["a"])({ url: o + "/sysMessage/queryCountOfUnread", method: "get", params: e }) } function s (e) { return Object(n["a"])({ url: o + "/sysMessage/list", method: "get", params: e }) } function u (e) { return Object(n["a"])({ url: o + "/sysMessage/setRead", method: "post", data: i.a.stringify(e) }) } function c (e) { return Object(n["a"])({ url: o + "/courseSchedule/queryCourseScheduleComplaintsDetail", method: "get", params: e }) } function d (e) { return Object(n["a"])({ url: o + "/courseSchedule/courseScheduleCommplaintAudit", method: "post", data: i.a.stringify(e) }) } function m (e) { return Object(n["a"])({ url: o + "/vipGroupManage/queryApplyRefundDetail", method: "get", params: e }) } function p (e) { return Object(n["a"])({ url: o + "/vipGroupManage/applyRefundAudit", method: "POST", data: i.a.stringify(e) }) } function h (e) { return Object(n["a"])({ url: o + "/musicGroupQuit/query", method: "get", params: e }) } function f (e) { return Object(n["a"])({ url: o + "/musicGroupQuit/quitMusicGroup", method: "POST", data: i.a.stringify(e) }) } function g (e) { return Object(n["a"])({ url: o + "/teacherLeaveRecord/queryDetail", method: "get", params: e }) } function b (e) { return Object(n["a"])({ url: o + "/teacherLeaveRecord/approve", method: "POST", data: i.a.stringify(e) }) } function v (e) { return Object(n["a"])({ url: o + "/vipGroupManage/vipApplyAudit", method: "POST", data: i.a.stringify(e) }) } function y (e) { return Object(n["a"])({ url: o + "/courseScheduleTeacherSalary/findIsSettlementCourseSalarys", method: "GET", params: e }) } function S (e) { return Object(n["a"])({ url: o + "/courseScheduleTeacherSalary/openSalaryConfirm", method: "GET", params: e }) } function _ (e) { return Object(n["a"])({ url: o + "/courseScheduleTeacherSalary/closeSalaryConfirm", method: "GET", params: e }) } function E (e) { return Object(n["a"])({ url: o + "/teacherSalaryModifyLog/add", method: "POST", data: i.a.stringify(e) }) } function F (e) { return Object(n["a"])({ url: o + "/teacherSalaryComplaints/queryPage", method: "GET", params: e }) } function O (e) { return Object(n["a"])({ url: o + "/teacherSalaryComplaints/get", method: "GET", params: e }) } function w (e) { return Object(n["a"])({ url: o + "/teacherSalaryComplaints/complaintsDispose", method: "post", data: i.a.stringify(e) }) } }, de4e: function (e, t, a) { } }]);