1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["AppealResult"],{"04a4":function(t,e,r){"use strict";r("3761")},3761:function(t,e,r){},"4a3f":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"wrap"},[t.headerStatus?r("m-header"):t._e(),r("van-panel",{scopedSlots:t._u([{key:"header",fn:function(){return[r("div",{staticClass:"title"},[t._v(t._s(t._f("getMonthDay")(t.dataInfo.createTime))+"提交的课酬申诉")]),"AGREED"==t.dataInfo.statusEnum?r("div",{staticClass:"status",class:["AGREED"==t.dataInfo.statusEnum?"agree":""]},[t._v("已同意")]):t._e(),"DENIED"==t.dataInfo.statusEnum?r("div",{staticClass:"status",class:["DENIED"==t.dataInfo.statusEnum?"error":""]},[t._v("已拒绝")]):t._e(),"WITHDRAWN"==t.dataInfo.statusEnum?r("div",{staticClass:"status"},[t._v("已撤销")]):t._e(),"Done"==t.dataInfo.statusEnum?r("div",{staticClass:"status"},[t._v("已完成")]):t._e()]},proxy:!0}])},[r("div",{staticClass:"appealContent van-hairline--top"},[r("h2",[t._v("申诉内容:")]),r("div",{staticClass:"desc"},[r("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)])]),r("div",{staticClass:"appealContent"},[r("h2",[t._v("处理意见:")]),r("div",{staticClass:"desc"},[r("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)},a=[],o=r("6e6e"),i=r("ff51"),u=r("530a"),c={name:"teacherList",components:{MHeader:o["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,e=this.$route.query;this.$toast.loading({duration:0,forbidClick:!0,message:"加载中..."}),Object(u["j"])({id:e.id}).then((function(e){var r=e.data;t.$toast.clear(),200==r.code?t.dataInfo=r.data:t.$toast(r.msg)}))}},filters:{getMonthDay:function(t){var e=t||new Date;"string"==typeof e&&(e=new Date(t.replace(/-/gi,"/")));var r=e.getMonth()+1,n=e.getDate();return r+"月"+n+"日"}}},s=c,l=(r("a4a5"),r("2877")),f=Object(l["a"])(s,n,a,!1,null,"014e8a11",null);e["default"]=f.exports},"530a":function(t,e,r){"use strict";r.d(e,"e",(function(){return u})),r.d(e,"d",(function(){return c})),r.d(e,"b",(function(){return s})),r.d(e,"i",(function(){return l})),r.d(e,"j",(function(){return f})),r.d(e,"c",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"f",(function(){return p})),r.d(e,"k",(function(){return y})),r.d(e,"g",(function(){return v})),r.d(e,"a",(function(){return g}));var n=r("4328"),a=r.n(n),o=r("981f").default,i="/api-teacher",u=function(t){return o({url:i+"/courseScheduleTeacherSalary/findTeacherSettlementCourseSalarys",method:"get",params:t})},c=function(t){return o({url:i+"/courseScheduleTeacherSalary/findTeacherRewards",method:"get",params:t})},s=function(t){return o({url:i+"/courseScheduleTeacherSalary/confirmTeacherMonthSalary",method:"post",data:a.a.stringify(t)})},l=function(t){return o({url:i+"/teacherSalaryComplaints/add",method:"post",data:a.a.stringify(t)})},f=function(t){return o({url:i+"/teacherSalaryComplaints/get",method:"get",params:t})},h=function(t){return o({url:i+"/teacherSalaryComplaints/findByMonth",method:"post",data:a.a.stringify(t)})},d=function(t){return o({url:i+"/teacherSalaryComplaints/repealComplaints",method:"post",data:a.a.stringify(t)})},p=function(t){return o({url:i+"/courseScheduleTeacherSalary/findTeacherYearSalarys",method:"get",params:t})},y=function(t){return o({url:i+"/teacherSalaryComplaints/queryPage",method:"get",params:t})},v=function(t){return o({url:i+"/courseReview/getOnlineCourse",method:"get",params:t})},g=function(t){return o({url:i+"/courseReview/addHomeWork",method:"post",data:t})}},"6e6e":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mheader",style:{height:"calc("+t.titleHeight+"px + "+t.navBarHeight+"px)"}},[r("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""],style:[t.headStyle]},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:t.goBack}},[r("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),r("div",{staticClass:"m-nav-bar__title"},[t._t("default",(function(){return[t._v(t._s(t.name?t.name:this.$route.meta.descrition))]}))],2),r("div",{staticClass:"m-nav-bar__right"},[t._t("right")],2)])])},a=[],o=r("ddf4");function i(t){return i="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},i(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(I){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),i=new j(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return k()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var u=x(i,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=f(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,i),o}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(I){return{type:"throw",arg:I}}}t.wrap=l;var h={};function d(){}function p(){}function y(){}var v={};s(v,a,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(E([])));m&&m!==e&&r.call(m,a)&&(v=m);var b=y.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(a,o,u,c){var s=f(t[a],t,o);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==i(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(h).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var a;this._invoke=function(t,r){function o(){return new e((function(e,a){n(t,r,e,a)}))}return a=a?a.then(o,o):o()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=y,s(b,"constructor",y),s(y,"constructor",p),p.displayName=s(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(S.prototype),s(S.prototype,o,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new S(l(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(b),s(b,c,"Generator"),s(b,a,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function c(t,e,r,n,a,o,i){try{var u=t[o](i),c=u.value}catch(s){return void r(s)}u.done?e(c):Promise.resolve(c).then(n,a)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var o=t.apply(e,r);function i(t){c(o,n,a,i,u,"next",t)}function u(t){c(o,n,a,i,u,"throw",t)}i(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(o["b"])({api:"setBarStatus",content:{status:0}}),this.getNav(),this.isBack=!1)},methods:{getNav:function(){var t=s(u().mark((function t(){var e,r,n=this;return u().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=sessionStorage.getItem("navHeight"),r=sessionStorage.getItem("titleHeight"),!e||!r){t.next=7;break}this.navBarHeight=e,this.headStyle={paddingTop:e+"px",height:r+"px",lineHeight:r+"px"},t.next=9;break;case 7:return t.next=9,Object(o["b"])({api:"getNavHeight"},(function(t){var e=t.content,r={},a=e.dpi||2;if(e.navHeight){var o=e.navHeight/a;sessionStorage.setItem("navHeight",o),n.navBarHeight=o,r={paddingTop:o+"px"}}if(e.titleHeight){var i=e.titleHeight/a;sessionStorage.setItem("titleHeight",i),n.titleHeight=i,r.height=i+"px",r.lineHeight=i+"px"}n.headStyle=r}));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(o["b"])({api:"setBarStatus",content:{status:1}}),this.isBack=!0)}},f=l,h=(r("04a4"),r("2877")),d=Object(h["a"])(f,n,a,!1,null,"641fc55e",null);e["a"]=d.exports},a4a5:function(t,e,r){"use strict";r("cb66")},cb66:function(t,e,r){},ddf4:function(t,e,r){"use strict";r.d(e,"b",(function(){return y})),r.d(e,"a",(function(){return v}));var n=r("ff51");function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=c(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function c(t,e){if(t){if("string"===typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function l(t){return l="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},l(t)}var f=function(){},h={},d=Object(n["b"])();d.isApp&&window.addEventListener("message",(function(t){try{var e=t.data?"object"===l(t.data)?t.data:JSON.parse(t.data):{},r=e.content.uuid||e.uuid;try{e.content&&(e.content=JSON.parse(e.content))}catch(d){}if(!r){var n,a=Object.keys(h).filter((function(t){return 0===t.indexOf(e.api)})),o=u(a);try{for(o.s();!(n=o.n()).done;){var i=n.value,c=h[i]||f;c(e)}}catch(p){o.e(p)}finally{o.f()}return}var s=h[e.content.uuid||e.uuid||e.api+e.uuid]||f;s(e)}catch(d){console.error("通信消息解析错误",d)}}));var p=window.DAYA||window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DAYA,y=function(t,e){if(d.isApp){var r=Object(n["g"])();h[r]=e||f,t.content=t.content?o(o({},t.content),{},{uuid:r}):{uuid:r},p.postMessage(JSON.stringify(t))}},v=function(t,e){if(d.isApp){var r=t+Object(n["g"])();h[r]=e||f}}}}]);
|