(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-506f6cae"],{"391e":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=a("9ee1"),r=s["a"],o=a("9ca4"),c=Object(o["a"])(r,n,i,!1,null,null,null);t["a"]=c.exports},"9ee1":function(e,t,a){"use strict";(function(e){a("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var a=e("#framediv"),n=a.get()[0]||0,i=window.innerHeight-n.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,a("a336"))},c18d:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var n=t.adjustHeight;return[a("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,metaName:"bizchance_info",packageName:"bizchance",modelName:"bizopt",tblheight:n-120,refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=a("06d3"),r=a("391e"),o=a("db7f"),c={name:"businessList",data:function(){return{}},components:{BizTable:s["a"],PageSpace:r["a"]},watch:{$route:function(e,t){this.$refs.bt.fetchData()}},methods:{beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,a){return a(t)},onexec:function(e,t){switch(e){case"info":this.$router.push({name:"bizchanceinfo",query:{id:t.id,type:t.business_type}});break;case"created_scheme":this.$router.push({name:"createdScheme",query:{bizId:t.id,type:t.business_type}});break}},validmethod:function(e,t,a){return a()},formatCol:function(e,t,a){var n=e[t];return o["a"][t]&&o["a"][t][e[t]]&&(n=o["a"][t][e[t]]),n},oninitbtn:function(e,t){switch(t.business_status){case"beforeSubmission":"created_scheme"===e.key&&("isReject"===t.schemeStatus?e.ishide=!0:e.ishide=!1);break;case"beforeConfirmation":case"isFinished":case"isClosed":"created_scheme"===e.key&&(e.ishide=!0);break}}}},u=c,f=a("9ca4"),d=Object(f["a"])(u,n,i,!1,null,null,null);t["default"]=d.exports}}]);