1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppealResult"],{"38f0":function(t,e,a){"use strict";var n=a("5b7e"),r=a.n(n);r.a},"4a3f":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(),a("van-panel",{scopedSlots:t._u([{key:"header",fn:function(){return[a("div",{staticClass:"title"},[t._v(t._s(t._f("getMonthDay")(t.dataInfo.createTime))+"提交的课酬申诉")]),"AGREED"==t.dataInfo.statusEnum?a("div",{staticClass:"status",class:["AGREED"==t.dataInfo.statusEnum?"agree":""]},[t._v("已同意")]):t._e(),"DENIED"==t.dataInfo.statusEnum?a("div",{staticClass:"status",class:["DENIED"==t.dataInfo.statusEnum?"error":""]},[t._v("已拒绝")]):t._e(),"WITHDRAWN"==t.dataInfo.statusEnum?a("div",{staticClass:"status"},[t._v("已撤销")]):t._e(),"Done"==t.dataInfo.statusEnum?a("div",{staticClass:"status"},[t._v("已完成")]):t._e()]},proxy:!0}])},[a("div",{staticClass:"appealContent van-hairline--top"},[a("h2",[t._v("申诉内容:")]),a("div",{staticClass:"desc"},[a("van-field",{attrs:{autosize:"",disabled:"",type:"textarea"},model:{value:t.dataInfo.reason,callback:function(e){t.$set(t.dataInfo,"reason",e)},expression:"dataInfo.reason"}})],1)])]),a("div",{staticClass:"appealContent"},[a("h2",[t._v("处理意见:")]),a("div",{staticClass:"desc"},[a("van-field",{attrs:{autosize:"",disabled:"",type:"textarea"},model:{value:t.dataInfo.handingSuggestion,callback:function(e){t.$set(t.dataInfo,"handingSuggestion",e)},expression:"dataInfo.handingSuggestion"}})],1)])],1)},r=[],i=a("6e6e"),o=a("ff51"),s=a("530a"),u={name:"teacherList",components:{MHeader:i["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(o["b"])().android||Object(o["b"])().iPhone)&&(this.headerStatus=!1),this.__init()},methods:{__init:function(){var t=this,e=this.$route.query;this.$toast.loading({duration:0,forbidClick:!0,message:"加载中..."}),Object(s["j"])({id:e.id}).then(function(e){var a=e.data;t.$toast.clear(),200==a.code?t.dataInfo=a.data:t.$toast(a.msg)})}},filters:{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+"日"}}},c=u,l=(a("f12d"),a("2877")),d=Object(l["a"])(c,n,r,!1,null,"201fe876",null);e["default"]=d.exports},"530a":function(t,e,a){"use strict";a.d(e,"e",function(){return s}),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 p}),a.d(e,"k",function(){return v}),a.d(e,"g",function(){return g}),a.d(e,"a",function(){return m});var n=a("4328"),r=a.n(n),i=a("981f").default,o="/api-teacher",s=function(t){return i({url:o+"/courseScheduleTeacherSalary/findTeacherSettlementCourseSalarys",method:"get",params:t})},u=function(t){return i({url:o+"/courseScheduleTeacherSalary/findTeacherRewards",method:"get",params:t})},c=function(t){return i({url:o+"/courseScheduleTeacherSalary/confirmTeacherMonthSalary",method:"post",data:r.a.stringify(t)})},l=function(t){return i({url:o+"/teacherSalaryComplaints/add",method:"post",data:r.a.stringify(t)})},d=function(t){return i({url:o+"/teacherSalaryComplaints/get",method:"get",params:t})},f=function(t){return i({url:o+"/teacherSalaryComplaints/findByMonth",method:"post",data:r.a.stringify(t)})},h=function(t){return i({url:o+"/teacherSalaryComplaints/repealComplaints",method:"post",data:r.a.stringify(t)})},p=function(t){return i({url:o+"/courseScheduleTeacherSalary/findTeacherYearSalarys",method:"get",params:t})},v=function(t){return i({url:o+"/teacherSalaryComplaints/queryPage",method:"get",params:t})},g=function(t){return i({url:o+"/courseReview/getOnlineCourse",method:"get",params:t})},m=function(t){return i({url:o+"/courseReview/addHomeWork",method:"post",data:t})}},"5b7e":function(t,e,a){},"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",style:{height:"calc("+t.titleHeight+"px + "+t.navBarHeight+"px)"}},[a("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""],style:[t.headStyle]},[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",[t._v(t._s(t.name?t.name:this.$route.meta.descrition))])],2),a("div",{staticClass:"m-nav-bar__right"},[t._t("right")],2)])])},r=[],i=a("a34a"),o=a.n(i),s=a("ddf4");function u(t,e,a,n,r,i,o){try{var s=t[i](o),u=s.value}catch(c){return void a(c)}s.done?e(u):Promise.resolve(u).then(n,r)}function c(t){return function(){var e=this,a=arguments;return new Promise(function(n,r){var i=t.apply(e,a);function o(t){u(i,n,r,o,s,"next",t)}function s(t){u(i,n,r,o,s,"throw",t)}o(void 0)})}}var l={name:"mheader",props:{name:String,isNative:{type:Boolean,default:!0},isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},data:function(){return{navBarHeight:0,headStyle:{},titleHeight:44}},mounted:function(){this.isNative||(Object(s["b"])({api:"setBarStatus",content:{status:0}}),this.getNav(),this.isBack=!1)},methods:{getNav:function(){var t=c(o.a.mark(function t(){var e,a,n=this;return o.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(e=sessionStorage.getItem("navHeight"),a=sessionStorage.getItem("titleHeight"),!e||!a){t.next=7;break}this.navBarHeight=e,this.headStyle={paddingTop:e+"px",height:a+"px",lineHeight:a+"px"},t.next=9;break;case 7:return t.next=9,Object(s["b"])({api:"getNavHeight"},function(t){var e=t.content,a={},r=e.dpi||2;if(e.navHeight){var i=e.navHeight/r;sessionStorage.setItem("navHeight",i),n.navBarHeight=i,a={paddingTop:i+"px"}}if(e.titleHeight){var o=e.titleHeight/r;sessionStorage.setItem("titleHeight",o),n.titleHeight=o,a.height=o+"px",a.lineHeight=o+"px"}n.headStyle=a});case 9:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),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)}},beforeDestroy:function(){this.isNative||(Object(s["b"])({api:"setBarStatus",content:{status:1}}),this.isBack=!0)}},d=l,f=(a("38f0"),a("2877")),h=Object(f["a"])(d,n,r,!1,null,"6a74717c",null);e["a"]=h.exports},ddf4:function(t,e,a){"use strict";a.d(e,"b",function(){return f}),a.d(e,"a",function(){return h});var n=a("ff51");function r(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)}return a}function i(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?r(Object(a),!0).forEach(function(e){o(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function o(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}var u=function(){},c={},l=Object(n["b"])();l.isApp&&window.addEventListener("message",function(t){try{var e=t.data?"object"===s(t.data)?t.data:JSON.parse(t.data):{},a=e.content.uuid||e.uuid;try{e.content&&(e.content=JSON.parse(e.content))}catch(v){}if(!a){var n=Object.keys(c).filter(function(t){return 0===t.indexOf(e.api)}),r=!0,i=!1,o=void 0;try{for(var l,d=n[Symbol.iterator]();!(r=(l=d.next()).done);r=!0){var f=l.value,h=c[f]||u;h(e)}}catch(g){i=!0,o=g}finally{try{r||null==d.return||d.return()}finally{if(i)throw o}}return}var p=c[e.content.uuid||e.uuid||e.api+e.uuid]||u;p(e)}catch(v){console.error("通信消息解析错误",v)}});var d=window.DAYA||window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DAYA,f=function(t,e){if(l.isApp){var a=Object(n["g"])();c[a]=e||u,t.content=t.content?i({},t.content,{uuid:a}):{uuid:a},d.postMessage(JSON.stringify(t))}},h=function(t,e){if(l.isApp){var a=t+Object(n["g"])();c[a]=e||u}}},e069:function(t,e,a){},f12d:function(t,e,a){"use strict";var n=a("e069"),r=a.n(n);r.a}}]);
|