(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bb140e72"],{"576d":function(t,n,e){},"5b30":function(t,n,e){"use strict";e("576d")},ae95:function(t,n,e){"use strict";e.d(n,"e",(function(){return o})),e.d(n,"d",(function(){return a})),e.d(n,"a",(function(){return u})),e.d(n,"f",(function(){return s})),e.d(n,"b",(function(){return f})),e.d(n,"c",(function(){return i}));var r=e("b775");function o(t){return Object(r["b"])({url:"/flowable/form/list",method:"get",params:t})}function a(t){return Object(r["b"])({url:"/flowable/form/"+t,method:"get"})}function u(t){return Object(r["b"])({url:"/flowable/form",method:"post",data:t})}function s(t){return Object(r["b"])({url:"/flowable/form/edit",method:"post",data:t})}function f(t){return Object(r["b"])({url:"/flowable/form/"+t,method:"post"})}function i(t){return Object(r["b"])({url:"/flowable/form/export",method:"get",params:t})}},af06:function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t._self._c;return n("k-form-design",{ref:"kfd",attrs:{showHead:!1},on:{save:t.handleSave,close:t.handleClose}})},o=[],a=(e("b64b"),e("ae95")),u={name:"Model",data:function(){return{show:!1,form:null,callBack:null}},activated:function(){this.$route.params&&this.$route.params.form?(this.form=this.$route.params.form,this.form&&this.form.formContent&&this.importData(this.form.formContent)):this.form=null,this.callBack=this.$route.params.callBack,this.show=!0},deactivated:function(){this.form=null,this.show=!1},methods:{handleSave:function(t){var n=this;this.form.formContent=t;var e=JSON.parse(JSON.stringify(this.form));Object(a["f"])(e).then((function(t){n.$message.success("保存成功",3),n.$multiTab.closeCurrentPage()})).catch((function(t){return!1}))},handleClose:function(){this.$multiTab.closeCurrentPage()},importData:function(t){this.$refs.kfd.handleSetData(JSON.parse(t))}}},s=u,f=(e("5b30"),e("2877")),i=Object(f["a"])(s,r,o,!1,null,null,null);n["default"]=i.exports}}]);