(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-220d3613"],{"00d3":function(e,r,t){"use strict";var i=t("1723");t.n(i).a},1723:function(e,r,t){},"7bcf":function(e,r,t){"use strict";t.r(r);var i={name:"widgetImg",components:{uploadFrom:t("b0e7").a},data:function(){return{isChoice:"单选",isChoiceD:"多选",gridPic:{xl:4,lg:4,md:8,sm:12,xs:12},gridBtn:{xl:4,lg:4,md:4,sm:8,xs:8}}},mounted:function(){},methods:{getPicD:function(e){if("dialog"===this.$route.query.fodder);else{var r=this.$route.query.fodder;if("undefined"!=typeof form_create_helper){var t=window.form_create_helper.get(this.$route.query.fodder)||[];e=e.map((function(e){return e.att_dir}));var i=t.concat(e),o=Array.from(new Set(i));form_create_helper.set(r,o),form_create_helper.close(r)}else{var n=window.parent.$fromSubmit[r].getValue()||[];e=e.map((function(e){return e.att_dir}));var a=n.concat(e),c=Array.from(new Set(a));window.parent.$fromSubmit[r].setValue(c),window.parent.$fromSubmit[r].closeUploadFrame()}}},getPic:function(e){var r=this.$route.query.fodder;"undefined"!=typeof form_create_helper?(form_create_helper.set(r,e.att_dir),form_create_helper.close(r)):(window.parent.$fromSubmit[r].setValue(e),window.parent.$fromSubmit[r].closeUploadFrame())}}},o=(t("00d3"),t("2877")),n=Object(o.a)(i,(function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"box"},["dialog"===this.$route.query.fodder||"many"===this.$route.query.type?t("upload-from",{attrs:{isChoice:e.isChoiceD,gridPic:e.gridPic,gridBtn:e.gridBtn},on:{getPicD:e.getPicD}}):t("upload-from",{attrs:{isChoice:e.isChoice,gridPic:e.gridPic,gridBtn:e.gridBtn},on:{getPic:e.getPic}})],1)}),[],!1,null,"1627bf86",null);r.default=n.exports}}]);