(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f288b8d2"],{"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("6b08"),o=s["a"],r=n("4023"),u=Object(r["a"])(o,a,i,!1,null,null,null);t["a"]=u.exports},"6b08":function(e,t,n){"use strict";(function(e){n("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 n=e("#framediv"),a=n.get()[0],i=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("a336"))},ea6a: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,modelName:"bizopt",metaName:"allchance_info",packageName:"bizchance",tblheight:a-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=n("06d3"),o=n("391e"),r=n("db7f"),u={name:"allchance_page",data:function(){return{}},components:{PageSpace:o["a"],BizTable:s["a"]},methods:{oninitbtn:function(e,t){if("submit_case"==e.key){var n=!0;"beforeSubmission"==t.business_status&&(n=!1),e.ishide=n}},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){"submit_case"===e?(console.log("turn to case page: ",t),this.$router.push({name:"bizcase",query:{bizType:t.business_type,bizCode:t.demand_code}})):"bizdetails"===e&&(console.log("turn to details page: ",t),this.$router.push({name:"bizdetails",query:{bizType:t.business_type,bizCode:t.demand_code}}))},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){var a=e[t];if("business_type"===t){var i=r["a"].businessType[a];return i}if("business_status"===t){var s=r["a"].businessStatus[a];return s}if("source_name"===t){var o=r["a"].source[a];return o}}}},c=u,f=n("4023"),l=Object(f["a"])(c,a,i,!1,null,null,null);t["default"]=l.exports}}]);