后台管理系统
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
8.1 KiB

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