AppealResult.8ed48f77.js 5.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppealResult"],{"4a3f":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"wrap"},[t.headerStatus?e("m-header"):t._e(),e("van-panel",{scopedSlots:t._u([{key:"header",fn:function(){return[e("div",{staticClass:"title"},[t._v(t._s(t._f("getMonthDay")(t.dataInfo.createTime))+"提交的课酬申诉")]),"AGREED"==t.dataInfo.statusEnum?e("div",{staticClass:"status",class:["AGREED"==t.dataInfo.statusEnum?"agree":""]},[t._v("已同意")]):t._e(),"DENIED"==t.dataInfo.statusEnum?e("div",{staticClass:"status",class:["DENIED"==t.dataInfo.statusEnum?"error":""]},[t._v("已拒绝")]):t._e(),"WITHDRAWN"==t.dataInfo.statusEnum?e("div",{staticClass:"status"},[t._v("已撤销")]):t._e(),"Done"==t.dataInfo.statusEnum?e("div",{staticClass:"status"},[t._v("已完成")]):t._e()]},proxy:!0}])},[e("div",{staticClass:"appealContent van-hairline--top"},[e("h2",[t._v("申诉内容:")]),e("div",{staticClass:"desc"},[e("van-field",{attrs:{autosize:"",disabled:"",type:"textarea"},model:{value:t.dataInfo.reason,callback:function(a){t.$set(t.dataInfo,"reason",a)},expression:"dataInfo.reason"}})],1)])]),e("div",{staticClass:"appealContent"},[e("h2",[t._v("处理意见:")]),e("div",{staticClass:"desc"},[e("van-field",{attrs:{autosize:"",disabled:"",type:"textarea"},model:{value:t.dataInfo.handingSuggestion,callback:function(a){t.$set(t.dataInfo,"handingSuggestion",a)},expression:"dataInfo.handingSuggestion"}})],1)])],1)},r=[],s=e("6e6e"),i=e("ff51"),o=e("530a"),u={name:"teacherList",components:{MHeader:s["a"]},data:function(){return{headerStatus:!0,dataInfo:{reason:null,handingSuggestion:null}}},mounted:function(){var t=this.$route.query;t.Authorization&&(localStorage.setItem("Authorization",decodeURI(t.Authorization)),localStorage.setItem("userInfo",decodeURI(t.Authorization))),document.title="处理结果",t.history?this.headerStatus=!0:(Object(i["b"])().android||Object(i["b"])().iPhone)&&(this.headerStatus=!1),this.__init()},methods:{__init:function(){var t=this,a=this.$route.query;this.$toast.loading({duration:0,forbidClick:!0,message:"加载中..."}),Object(o["j"])({id:a.id}).then((function(a){var e=a.data;t.$toast.clear(),200==e.code?t.dataInfo=e.data:t.$toast(e.msg)}))}},filters:{getMonthDay:function(t){var a=t||new Date;"string"==typeof a&&(a=new Date(t.replace(/-/gi,"/")));var e=a.getMonth()+1,n=a.getDate();return e+"月"+n+"日"}}},c=u,d=(e("a4a5"),e("2877")),l=Object(d["a"])(c,n,r,!1,null,"014e8a11",null);a["default"]=l.exports},"530a":function(t,a,e){"use strict";e.d(a,"e",(function(){return o})),e.d(a,"d",(function(){return u})),e.d(a,"b",(function(){return c})),e.d(a,"i",(function(){return d})),e.d(a,"j",(function(){return l})),e.d(a,"c",(function(){return f})),e.d(a,"h",(function(){return h})),e.d(a,"f",(function(){return m})),e.d(a,"k",(function(){return p})),e.d(a,"g",(function(){return v})),e.d(a,"a",(function(){return g}));var n=e("4328"),r=e.n(n),s=e("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)})},d=function(t){return s({url:i+"/teacherSalaryComplaints/add",method:"post",data:r.a.stringify(t)})},l=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})},v=function(t){return s({url:i+"/courseReview/getOnlineCourse",method:"get",params:t})},g=function(t){return s({url:i+"/courseReview/addHomeWork",method:"post",data:t})}},"6e6e":function(t,a,e){"use strict";var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mheader"},[e("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""]},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:t.goBack}},[e("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),e("div",{staticClass:"m-nav-bar__title"},[t._t("default",(function(){return[t._v(t._s(t.name?t.name:t.$route.meta.descrition))]}))],2),e("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=(e("70bb"),e("2877")),u=Object(o["a"])(i,n,r,!1,null,"10a70108",null);a["a"]=u.exports},"70bb":function(t,a,e){"use strict";e("c905")},a4a5:function(t,a,e){"use strict";e("cb66")},c905:function(t,a,e){},cb66:function(t,a,e){}}]);