(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f285db4a"],{"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"),o=s["a"],r=a("9ca4"),u=Object(r["a"])(o,n,i,!1,null,null,null);t["a"]=u.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],i=window.innerHeight-n.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,a("a336"))},ea6a: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,modelName:"bizopt",metaName:"allchance_info",packageName:"bizchance",tblheight:n-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec,oninitbtn:e.oninitbtn}})]}}])})},i=[],s=a("06d3"),o=a("391e"),r=a("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 a=!0;"beforeSubmission"==t.business_status&&(a=!1),e.ishide=a}},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){"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,a){return a()},formatCol:function(e,t,a){var n=e[t];if("business_type"===t){var i=r["a"].businessType[n];return i}if("business_status"===t){var s=r["a"].businessStatus[n];return s}if("source"===t){var o=r["a"].source[n];return o}}}},c=u,f=a("9ca4"),l=Object(f["a"])(c,n,i,!1,null,null,null);t["default"]=l.exports}}]);