(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d225995"],{e4a1:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"app-container--hd"},[n("h3",[t._v("优惠券投放")]),n("div",{staticClass:"tab-container"},[n("el-tabs",{model:{value:t.position,callback:function(e){t.position=e},expression:"position"}},[n("el-tab-pane",{attrs:{label:"随机生成券号",name:"1"}}),n("el-tab-pane",{attrs:{label:"按规律生成券号",name:"2"}}),n("el-tab-pane",{attrs:{label:"批量导入券号",name:"3"}})],1),n("div",{staticClass:"app-container--bd",staticStyle:{"margin-left":"0px"}},["1"===t.position?n("random-set",{attrs:{ground_id:t.groundId},on:{setGround:t.setGround}}):t._e(),"2"===t.position?n("regular-set",{attrs:{ground_id:t.groundId}}):t._e(),"3"===t.position?n("together-set",{attrs:{ground_id:t.groundId}}):t._e()],1)],1)])])},o=[],i=(n("2397"),n("c5f6"),n("7f7f"),n("a481"),n("6b54"),n("d4ec")),r=n("bee2"),s=n("99de"),u=n("7e84"),c=n("262e"),d=n("9ab4"),l=n("60a3"),p=n("ad3d"),b=n("cc94"),f=n("86ec"),h=n("8dde"),g=n("fe5f");function v(t,e,n){return e=Object(u["a"])(e),Object(s["a"])(t,_()?Reflect.construct(e,n||[],Object(u["a"])(t).constructor):e.apply(t,n))}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}var m=function(t){function e(){var t;return Object(i["a"])(this,e),t=v(this,e,arguments),t.groundId=0,t.position="1",t}return Object(c["a"])(e,t),Object(r["a"])(e,[{key:"mounted",value:function(){this.groundId=this.ground_id,this.$route.query.position_id&&(this.position=this.$route.query.position_id.toString())}},{key:"tabSwitch",value:function(t){this.position=t,this.$router.replace({name:this.$route.name,query:{ground_id:this.$route.query.ground_id.toString(),position_id:t}})}},{key:"setGround",value:function(t){this.groundId=t,this.position="2"}}]),e}(l["i"]);Object(d["a"])([Object(l["e"])(Number)],m.prototype,"ground_id",void 0),m=Object(d["a"])([Object(l["a"])({name:"FieldDetail",components:{TabbarLeft:p["a"],tabbarItem:b["a"],randomSet:f["default"],regularSet:h["default"],togetherSet:g["default"]}})],m);var y=m,O=y,j=n("2877"),k=Object(j["a"])(O,a,o,!1,null,"460eaed2",null);e["default"]=k.exports}}]);