(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a73ade4"],{3218:function(e,t,o){"use strict";o("4e4e")},"4e4e":function(e,t,o){},9099:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e.showReportCount?o("ReportCount"):e._e(),e.showReportDetail?o("ReportDetail"):e._e()],1)},r=[],a=(o("2397"),o("7514"),o("28a5"),o("96cf"),o("1da1")),c=o("d4ec"),u=o("bee2"),i=o("99de"),p=o("7e84"),s=o("262e"),l=o("9ab4"),f=o("60a3"),h=o("9dba"),b=o("7b87"),d=o("fc89"),m=o("482c"),R=o("6e5e");function v(e,t,o){return t=Object(p["a"])(t),Object(i["a"])(e,w()?Reflect.construct(t,o||[],Object(p["a"])(e).constructor):t.apply(e,o))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}var j=function(e){function t(){var e;return Object(c["a"])(this,t),e=v(this,t,arguments),e.routerName=[/SalesPerformanceCommission/,/TeachPerformanceCommission/],e.componentName="CommomReport",e.showReportCount=!1,e.showReportDetail=!1,e}return Object(s["a"])(t,e),Object(u["a"])(t,[{key:"watchRoutePath",value:function(e){this.reload()}},{key:"created",value:function(){this.getTable(),b["a"].GetAllApi()}},{key:"getTable",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,h["a"].SetReportConfig();case 2:t=this.$route.path.split("/")[3],"string"===typeof this.idMapAPi(t)?this.showReportCount=!0:this.showReportDetail=!0;case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"idMapAPi",value:function(e){var t=h["a"].report_config,o=t.find((function(t){return parseInt(t.id)===parseInt(e)}));return o.report_api_path}}]),t}(Object(f["d"])(R["a"]));Object(l["a"])([Object(f["c"])("reload")],j.prototype,"reload",void 0),Object(l["a"])([Object(f["j"])("$route")],j.prototype,"watchRoutePath",null),j=Object(l["a"])([Object(f["a"])({name:"CommomReport",components:{ReportCount:d["default"],ReportDetail:m["default"]}})],j);var O=j,y=O,C=(o("3218"),o("2877")),k=Object(C["a"])(y,n,r,!1,null,"ca0fa342",null);t["default"]=k.exports}}]);