1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppealRecord"],{"031e":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrap"},[t.headerStatus?a("m-header"):t._e(),t.dataShow?a("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.getList},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.dataList,(function(e,n){return a("van-cell",{key:n,class:"WITHDRAWN"==e.statusEnum?"hideArrow":"",attrs:{"is-link":""},on:{click:function(a){return t.onGOTO(e)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t._f("getMonthDay")(e.createTime))+" "+t._s(t._f("getHourMin")(e.createTime))+" ")]},proxy:!0},{key:"default",fn:function(){return[t._v(t._s(new Date(e.salarySettlementMonth+"-01").getMonth()+1)+"月课酬申诉\n "),a("span",{class:e.statusEnum},[t._v(t._s(t._f("statusFilter")(e.statusEnum)))])]},proxy:!0}],null,!0)})})),1):a("m-empty",{key:"data",staticClass:"empty",attrs:{msg:"暂无数据"}})],1)},r=[],s=a("6e6e"),i=a("d678"),o=a("ff51"),u=a("530a"),c={name:"appealReocrd",components:{MHeader:s["a"],MEmpty:i["a"]},data:function(){return{headerStatus:!0,loading:!1,finished:!1,dataShow:!0,dataList:[],params:{page:1,rows:20}}},mounted:function(){var t=this.$route.query;t.Authorization&&(localStorage.setItem("Authorization",decodeURI(t.Authorization)),localStorage.setItem("userInfo",decodeURI(t.Authorization))),document.title="课酬申诉记录"},methods:{onGOTO:function(t){"PENDING"==t.statusEnum?this.$router.push({path:"appealDetail",query:{record:1,haveComplaints:1,appealDateStr:t.salarySettlementMonth,history:!0}}):"DONE"!=t.statusEnum&&"AGREED"!=t.statusEnum&&"DENIED"!=t.statusEnum||this.$router.push({path:"appealResult",query:{id:t.id,history:!0}})},getList:function(){var t=this,e=this.params;Object(u["k"])().then((function(a){var n=a.data;t.loading=!1,200==n.code?(e.page=n.data.pageNo,t.dataList=t.dataList.concat(n.data.rows),e.page>=n.data.totalPage&&(t.finished=!0),t.params.page++):t.finished=!0,t.dataList.length<=0&&(t.dataShow=!1)}))}},filters:{getHourMin:function(t){var e=t;if(!t)return"";"string"==typeof e&&(e=new Date(t.replace(/-/gi,"/")));var a=e.getHours(),n=e.getMinutes();return Object(o["h"])(a)+":"+Object(o["h"])(n)},getMonthDay:function(t){var e=t||new Date;"string"==typeof e&&(e=new Date(t.replace(/-/gi,"/")));var a=e.getMonth()+1,n=e.getDate();return a+"月"+n+"日"},statusFilter:function(t){var e={PENDING:"处理中",DONE:"已完成",AGREED:"已同意",DENIED:"已拒绝",WITHDRAWN:"已撤销"};return e[t]}}},l=c,d=(a("9666"),a("2877")),f=Object(d["a"])(l,n,r,!1,null,"0e918a59",null);e["default"]=f.exports},"530a":function(t,e,a){"use strict";a.d(e,"e",(function(){return o})),a.d(e,"d",(function(){return u})),a.d(e,"b",(function(){return c})),a.d(e,"i",(function(){return l})),a.d(e,"j",(function(){return d})),a.d(e,"c",(function(){return f})),a.d(e,"h",(function(){return h})),a.d(e,"f",(function(){return m})),a.d(e,"k",(function(){return p})),a.d(e,"g",(function(){return g})),a.d(e,"a",(function(){return y}));var n=a("4328"),r=a.n(n),s=a("981f").default,i="/api-teacher",o=function(t){return s({url:i+"/courseScheduleTeacherSalary/findTeacherSettlementCourseSalarys",method:"get",params:t})},u=function(t){return s({url:i+"/courseScheduleTeacherSalary/findTeacherRewards",method:"get",params:t})},c=function(t){return s({url:i+"/courseScheduleTeacherSalary/confirmTeacherMonthSalary",method:"post",data:r.a.stringify(t)})},l=function(t){return s({url:i+"/teacherSalaryComplaints/add",method:"post",data:r.a.stringify(t)})},d=function(t){return s({url:i+"/teacherSalaryComplaints/get",method:"get",params:t})},f=function(t){return s({url:i+"/teacherSalaryComplaints/findByMonth",method:"post",data:r.a.stringify(t)})},h=function(t){return s({url:i+"/teacherSalaryComplaints/repealComplaints",method:"post",data:r.a.stringify(t)})},m=function(t){return s({url:i+"/courseScheduleTeacherSalary/findTeacherYearSalarys",method:"get",params:t})},p=function(t){return s({url:i+"/teacherSalaryComplaints/queryPage",method:"get",params:t})},g=function(t){return s({url:i+"/courseReview/getOnlineCourse",method:"get",params:t})},y=function(t){return s({url:i+"/courseReview/addHomeWork",method:"post",data:t})}},"6e6e":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mheader"},[a("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""]},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:t.goBack}},[a("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),a("div",{staticClass:"m-nav-bar__title"},[t._t("default",(function(){return[t._v(t._s(t.name?t.name:t.$route.meta.descrition))]}))],2),a("div",{staticClass:"m-nav-bar__right"},[t._t("right")],2)])])},r=[],s={name:"mheader",props:{name:String,isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},methods:{goBack:function(){var t=this.backUrl;"function"==typeof t.callBack?t.callBack():t.path?this.$router.push({path:t.path,query:t.params}):history.go(-1)}}},i=s,o=(a("70bb"),a("2877")),u=Object(o["a"])(i,n,r,!1,null,"10a70108",null);e["a"]=u.exports},"70bb":function(t,e,a){"use strict";a("c905")},"852e":function(t,e,a){},9666:function(t,e,a){"use strict";a("9ab8")},"9ab8":function(t,e,a){},bad8:function(t,e,a){"use strict";a("852e")},c905:function(t,e,a){},d678:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mempty",class:t.full?"full":null},[a("div",{class:[t.icon?t.icon:"icon_nodata","icon"]}),a("div",{staticClass:"msg"},[t._v(t._s(t.msg?t.msg:"暂无内容"))])])},r=[],s={name:"mempty",props:{icon:String,msg:String,full:Boolean}},i=s,o=(a("bad8"),a("2877")),u=Object(o["a"])(i,n,r,!1,null,"31cc2a9d",null);e["a"]=u.exports}}]);
|