(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-506e0b77"],{"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},i=[],s=n("6db5"),r=s["a"],o=n("2877"),c=Object(o["a"])(r,a,i,!1,null,null,null);t["a"]=c.exports},"6db5":function(e,t,n){"use strict";(function(e){n("c5f6");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 n=e("#framediv"),a=n.get()[0]||0,i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("1157"))},c18d:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,metaName:"bizchance_info",packageName:"bizchance",modelName:"bizopt",tblheight:a-120,refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=n("06d3"),r=n("391e"),o=n("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,n){return n(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,n){return n()},formatCol:function(e,t,n){var a=e[t];return o["a"][t]&&o["a"][t][e[t]]&&(a=o["a"][t][e[t]]),a},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=n("2877"),d=Object(f["a"])(u,a,i,!1,null,null,null);t["default"]=d.exports}}]);