/* empty css                                                              */import{n as r}from"./vueComponentNormalizer.9ef17bb1.js";/* empty css                                                                   */import{T as p}from"./TableLayout.05a39499.js";import{D as n}from"./DialogLayout.e3af3567.js";/* empty css                                                               *//* empty css                                                    */import"./ActionBar.1725b1a3.js";/* empty css                                                     */var c=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("DialogLayout",{staticClass:"upload_dialog",attrs:{title:"\u4E0A\u4F20\u8D44\u6E90",width:"680px",visible:t.$store.upload_dialog.visible,actionBarOption:{noCencel:!0,right:!0,confirmTxt:"\u5173\u95ED"}},on:{onConfirm:t.closeDialog,onCancel:t.closeDialog}},[o("div",{staticClass:"upload_item"},[o("div",{staticClass:"upload_label"},[t._v("\u4E0A\u4F20\u8BF4\u660E\uFF1A")]),o("div",{staticClass:"upload_ctx ml-12"},[o("p",[t._v("\u6587\u672C\u6587\u4EF6\uFF1A.doc\u3001.docx\u3001.pdf")]),o("p",[t._v("\u97F3\u9891\u6587\u4EF6\uFF1A.mp3\u3001.acc\u3001.flac\u7B49")]),o("p",[t._v("\u8868\u683C\u6587\u4EF6\uFF1A.xls\u3001.xlsx")]),o("p",[t._v("\u89C6\u9891\u6587\u4EF6\uFF1A.mp4\u3001.avi\u3001.mkv\u3001.wmv\u7B49")]),o("p",[t._v("\u6F14\u793A\u6587\u7A3F\uFF1A.ppt\u3001.pptx")]),o("p",[t._v("\u56FE\u7247\u6587\u4EF6\uFF1A.jpg\u3001.jepg\u3001.bmp\u3001.png\u3001.gif\u7B49")]),o("p",[t._v("\u97F3\u9891\u6587\u4EF6\u3001\u89C6\u9891\u6587\u4EF6\u4E0D\u5F97\u8D85\u8FC7500MB\uFF0C\u5176\u4ED6\u6587\u4EF6\u4E0D\u5F97\u8D85\u8FC7200MB\uFF1B")])])]),o("div",{staticClass:"upload_item flex-center"},[o("div",{staticClass:"upload_label"},[t._v("\u4E0A\u4F20\u6587\u4EF6\uFF1A")]),o("div",{staticClass:"upload_ctx ml-12"},[o("button",{staticClass:"upload_button el-icon-plus",on:{click:t.toUpload}},[t._v(" \u6DFB\u52A0\u6587\u4EF6 ")])])]),o("div",{staticClass:"upload_label mt-12 mb-12"},[t._v("\u4E0A\u4F20\u8BE6\u60C5\uFF1A")]),o("TableLayout",{attrs:{height:"300",column:t.column,data:t.$store.upload_dialog.tasks},scopedSlots:t._u([{key:"size",fn:function(l){var s,i=l.row;return[t._v(t._s((s=i.size)===null||s===void 0?void 0:s.formatFileSize()))]}},{key:"progress",fn:function(l){var s=l.row;return[o("div",{staticClass:"flex-h flex-center",class:"status_"+s.status},[o("div",{staticClass:"upload_progress",style:`--progress:${s.progress}%`}),o("div",{staticClass:"ml-12 mr-12 progress_status",class:[,,"el-icon-success","el-icon-error"][s.status],attrs:{"data-progress":s.progress+"%"}})])]}}])})],1)},d=[];const _={name:"UploadDialog",components:{DialogLayout:n,TableLayout:p},data:()=>({res_list:[{progress:30}]}),created(){this.column=[{prop:"name",label:"\u6587\u4EF6\u540D"},{prop:"type",label:"\u6587\u4EF6\u7C7B\u578B"},{prop:"size",label:"\u6587\u4EF6\u5927\u5C0F"},{prop:"progress",label:"\u4E0A\u4F20\u8FDB\u5EA6",width:"200px"}]},methods:{toUpload(){this.$store.upload()},closeDialog(){this.$store.upload_dialog.visible=!1,this.$store.upload_dialog.form_data=void 0,this.$emit("onCloseUploadDialog")}}},e={};var u=r(_,c,d,!1,v,null,null,null);function v(t){for(let a in e)this[a]=e[a]}const $=function(){return u.exports}();export{$ as default};
