后台管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
7.6 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3d88170c"],{"5a1b":function(e,t,i){e.exports=i.p+"static/img/file.8bc3a8bc.png"},"5c01":function(e,t,i){"use strict";i("f186")},f186:function(e,t,i){},f454:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.subloading,expression:"subloading"}],staticClass:"filemange_container",attrs:{"element-loading-text":"文件夹获取中..."}},[o("div",{staticClass:"use_button"},[o("el-button",{attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.dirbox=!0}}},[e._v("创建目录")])],1),o("div",{on:{click:e.fileTableMClick}},[o("el-table",{staticClass:"filesmd verleft",staticStyle:{width:"100%"},attrs:{data:e.dirdata,"empty-text":"暂无文件夹数据","row-style":{"background-color":"#fffdfa"}}},[o("el-table-column",{attrs:{align:"left",prop:"name",label:"名称"}}),o("el-table-column",{attrs:{align:"left",label:"类型",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(e){return[o("div",{staticClass:"type_file_click"},[o("el-tooltip",{attrs:{content:"点击进入子文件夹",placement:"bottom-start",effect:"light"}},[o("a",{attrs:{href:"#/filemange/subfile?id="+e.row.id}},[o("img",{attrs:{src:i("5a1b"),alt:"图片"}})])])],1)]}}])}),o("el-table-column",{attrs:{align:"left",label:"操作",width:"auto"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("div",{staticClass:"file_caozuo"},[o("el-button",{attrs:{size:"mini",filenames:t.row.name,mark:"rename"}},[e._v("重命名")])],1),o("div",{staticClass:"file_caozuo2"},[o("el-button",{attrs:{size:"mini",realpath:t.row.frealpath,mark:"movefiledir"}},[e._v("移动")]),o("el-button",{attrs:{size:"mini",mark:"dirdelete",filenames:t.row.name,type:"danger"}},[e._v("删除")])],1)]}}])})],1)],1),o("el-dialog",{attrs:{title:"创建目录",visible:e.dirbox},on:{"update:visible":function(t){e.dirbox=t}}},[o("el-form",{attrs:{model:e.dirform}},[o("el-form-item",{attrs:{label:"目录名称","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.dirform.dir,callback:function(t){e.$set(e.dirform,"dir",t)},expression:"dirform.dir"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dirbox=!1}}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.mkdirs}},[e._v("确 定")])],1)],1),o("el-dialog",{attrs:{title:"重命名",visible:e.renamebox},on:{"update:visible":function(t){e.renamebox=t}}},[o("el-form",{attrs:{model:e.renamefileform}},[o("el-form-item",{attrs:{label:"新名称","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.renamefileform.to,callback:function(t){e.$set(e.renamefileform,"to",t)},expression:"renamefileform.to"}},[e.filesuffix?o("template",{slot:"append"},[e._v(e._s(e.filesuffix))]):e._e()],2)],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.renamebox=!1}}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",loading:e.mkdirloadings},on:{click:e.renameFileDir}},[e._v("确 定")])],1)],1),o("el-dialog",{attrs:{title:"目录移动弹出框",visible:e.movebox},on:{"update:visible":function(t){e.movebox=t}}},[o("el-form",{attrs:{model:e.movefileform}},[o("el-form-item",{attrs:{label:"当前位置","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.from,callback:function(t){e.$set(e.movefileform,"from",t)},expression:"movefileform.from"}})],1),o("el-form-item",{attrs:{label:"目标位置(请参考当前位置的格式填写目标位置,需要带上当前的文件名称)","label-width":e.formLabelWidth}},[o("el-input",{attrs:{autocomplete:"off"},model:{value:e.movefileform.to,callback:function(t){e.$set(e.movefileform,"to",t)},expression:"movefileform.to"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on