1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["StartedDetail"],{"38f0":function(t,e,a){"use strict";var n=a("5b7e"),s=a.n(n);s.a},"44ed":function(t,e,a){},"5b7e":function(t,e,a){},"5c33":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:"starteddetail"},[a("m-header"),a("van-cell",{attrs:{center:!0}},[a("template",{slot:"icon"},[a("img",{staticClass:"logo",attrs:{src:"http://dev.dayaedu.com/img/teacher1.91bf990d.png",alt:""}})]),a("template",{slot:"default"},[t._v("连续旷到2次")]),a("template",{slot:"title"},[t._v("阿曼湾")]),a("template",{slot:"label"},[t._v("审批通过")])],2),t._m(0),a("div",{staticClass:"section"},[a("div",{staticClass:"node success"},[t._m(1),a("van-icon",{attrs:{name:"checked"}}),a("div",{staticClass:"step-line"})],1),a("div",{staticClass:"node success"},[t._m(2),a("van-icon",{attrs:{name:"checked"}}),a("div",{staticClass:"step-line"})],1),a("div",{staticClass:"node underway"},[t._m(3),a("van-icon",{attrs:{name:"underway"}}),a("div",{staticClass:"step-line"})],1),a("div",{staticClass:"node empty"},[t._m(4),a("van-icon"),a("div",{staticClass:"step-line"})],1),a("div",{staticClass:"node error"},[t._m(5),a("van-icon",{attrs:{name:"clear"}}),a("div",{staticClass:"step-line"})],1)]),a("div",{staticClass:"button-group"},[a("van-button",{attrs:{type:"primary"}},[t._v("取消审批")])],1)],1)},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"started-info"},[a("p",[t._v("审批事项:合班")]),a("p",[t._v("开始时间:2019-09-01 9:00")]),a("p",[t._v("结束时间:2019-09-01 18:00")]),a("p",[t._v("备注:01班人数较少,01班人数较少01班人数较少\n 01班人数较少01班人数较少01班人数较少01班人数\n 01班人数较少01班人数较少01班人数较少较少")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message"},[a("p",{staticClass:"name"},[t._v("我")]),a("p",{staticClass:"content"},[t._v("我发起的")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message "},[a("p",{staticClass:"name"},[t._v("我")]),a("p",{staticClass:"content"},[t._v("我发起的")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message "},[a("p",{staticClass:"name"},[t._v("主管")]),a("p",{staticClass:"content"},[t._v("审批中")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message "},[a("p",{staticClass:"name"},[t._v("总经理")]),a("p",{staticClass:"content"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"message "},[a("p",{staticClass:"name"},[t._v("总经理")]),a("p",{staticClass:"content"},[t._v("已拒绝(原因:理由不充分)")])])}],i=a("6e6e"),r={name:"starteddetail",components:{MHeader:i["a"]}},c=r,o=(a("e0ea"),a("2877")),l=Object(o["a"])(c,n,s,!1,null,"11e51621",null);e["default"]=l.exports},"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)])])},s=[],i=a("a34a"),r=a.n(i),c=a("ddf4");function o(t,e,a,n,s,i,r){try{var c=t[i](r),o=c.value}catch(l){return void a(l)}c.done?e(o):Promise.resolve(o).then(n,s)}function l(t){return function(){var e=this,a=arguments;return new Promise(function(n,s){var i=t.apply(e,a);function r(t){o(i,n,s,r,c,"next",t)}function c(t){o(i,n,s,r,c,"throw",t)}r(void 0)})}}var u={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(c["b"])({api:"setBarStatus",content:{status:0}}),this.getNav(),this.isBack=!1)},methods:{getNav:function(){var t=l(r.a.mark(function t(){var e,a,n=this;return r.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(c["b"])({api:"getNavHeight"},function(t){var e=t.content,a={},s=e.dpi||2;if(e.navHeight){var i=e.navHeight/s;sessionStorage.setItem("navHeight",i),n.navBarHeight=i,a={paddingTop:i+"px"}}if(e.titleHeight){var r=e.titleHeight/s;sessionStorage.setItem("titleHeight",r),n.titleHeight=r,a.height=r+"px",a.lineHeight=r+"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(c["b"])({api:"setBarStatus",content:{status:1}}),this.isBack=!0)}},v=u,d=(a("38f0"),a("2877")),p=Object(d["a"])(v,n,s,!1,null,"6a74717c",null);e["a"]=p.exports},ddf4:function(t,e,a){"use strict";a.d(e,"b",function(){return d}),a.d(e,"a",function(){return p});var n=a("ff51");function s(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?s(Object(a),!0).forEach(function(e){r(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function c(t){return c="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},c(t)}var o=function(){},l={},u=Object(n["b"])();u.isApp&&window.addEventListener("message",function(t){try{var e=t.data?"object"===c(t.data)?t.data:JSON.parse(t.data):{},a=e.content.uuid||e.uuid;try{e.content&&(e.content=JSON.parse(e.content))}catch(h){}if(!a){var n=Object.keys(l).filter(function(t){return 0===t.indexOf(e.api)}),s=!0,i=!1,r=void 0;try{for(var u,v=n[Symbol.iterator]();!(s=(u=v.next()).done);s=!0){var d=u.value,p=l[d]||o;p(e)}}catch(m){i=!0,r=m}finally{try{s||null==v.return||v.return()}finally{if(i)throw r}}return}var f=l[e.content.uuid||e.uuid||e.api+e.uuid]||o;f(e)}catch(h){console.error("通信消息解析错误",h)}});var v=window.DAYA||window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DAYA,d=function(t,e){if(u.isApp){var a=Object(n["g"])();l[a]=e||o,t.content=t.content?i({},t.content,{uuid:a}):{uuid:a},v.postMessage(JSON.stringify(t))}},p=function(t,e){if(u.isApp){var a=t+Object(n["g"])();l[a]=e||o}}},e0ea:function(t,e,a){"use strict";var n=a("44ed"),s=a.n(n);s.a}}]);
|