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.
yanzong/public/store/js/content.1d9035ce.js

1 line
74 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["content"],{"0d0e":function(e,t,a){},"0fc8":function(e,t,a){},"2b0e8":function(e,t,a){"use strict";a.r(t);a("b0c0");var r=function(){var e=this,t=e._self._c;return t("a-card",{attrs:{bordered:!1}},[t("div",{staticClass:"card-title"},[e._v(e._s(e.$route.meta.title))]),t("div",{staticClass:"table-operator"},[t("a-row",{staticClass:"row-item-search"},[t("a-form",{staticClass:"search-form",attrs:{form:e.searchForm,layout:"inline"},on:{submit:e.handleSearch}},[t("a-form-item",{attrs:{label:"文件名称"}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["fileName"],expression:"['fileName']"}],attrs:{placeholder:"请输入文件名称"}})],1),t("a-form-item",{attrs:{label:"文件分组"}},[t("a-tree-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["groupId",{initialValue:-1}],expression:"['groupId', { initialValue: -1 }]"}],attrs:{treeDefaultExpandAll:"",allowClear:"",treeData:e.groupListTreeSelect,dropdownStyle:{maxHeight:"500px",overflow:"auto"}}})],1),t("a-form-item",{attrs:{label:"存储方式"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["storage",{initialValue:""}],expression:"['storage', { initialValue: '' }]"}]},[t("a-select-option",{attrs:{value:""}},[e._v("全部")]),e._l(e.StorageEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1),t("a-form-item",{attrs:{label:"上传来源"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["channel",{initialValue:-1}],expression:"['channel', { initialValue: -1 }]"}]},[t("a-select-option",{attrs:{value:-1}},[e._v("全部")]),e._l(e.ChannelEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1),t("a-form-item",{staticClass:"search-btn"},[t("a-button",{attrs:{type:"primary",icon:"search","html-type":"submit"}},[e._v("搜索")])],1),t("a-form-item",{staticClass:"search-btn"},[t("a-button",{on:{click:e.handleReset}},[e._v("重置")])],1)],1)],1),t("div",{staticClass:"row-item-tab clearfix"},[t("div",{staticClass:"tab-list fl-l"},[t("a-radio-group",{attrs:{defaultValue:e.queryParam.fileType},on:{change:e.handleTabs}},[t("a-radio-button",{attrs:{value:-1}},[e._v("全部")]),e._l(e.FileTypeEnum.data,(function(a,r){return t("a-radio-button",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1),e.selectedRowKeys.length?t("div",{staticClass:"button-group"},[t("a-button-group",[t("a-button",{attrs:{icon:"swap"},on:{click:e.handleBatchMove}},[e._v("移动")]),t("a-button",{attrs:{icon:"delete"},on:{click:e.handleBatchDelete}},[e._v("删除")])],1)],1):e._e()])],1),t("s-table",{ref:"table",attrs:{rowKey:"file_id",loading:e.isLoading,columns:e.columns,data:e.loadData,rowSelection:e.rowSelection,pageSize:15,scroll:{x:1300}},scopedSlots:e._u([{key:"preview_url",fn:function(e,a){return t("span",{},[t("div",{staticClass:"preview-box"},[t("a",{attrs:{href:a.external_url,target:"_blank"}},[t("img",{attrs:{src:e}})])])])}},{key:"file_name",fn:function(a){return t("span",{},[t("p",{staticClass:"oneline-hide"},[e._v(e._s(a))])])}},{key:"storage",fn:function(a){return t("span",{},[t("a-tag",[e._v(e._s(e.StorageEnum[a].name))])],1)}},{key:"file_type",fn:function(a){return t("span",{},[t("a-tag",[e._v(e._s(e.FileTypeEnum[a].name))])],1)}},{key:"action",fn:function(a,r){return t("span",{},[t("a",{directives:[{name:"action",rawName:"v-action:edit",arg:"edit"}],staticStyle:{"margin-right":"8px"},on:{click:function(t){return e.handleEdit(r)}}},[e._v("编辑")]),t("a",{directives:[{name:"action",rawName:"v-action:delete",arg:"delete"}],on:{click:function(t){return e.handleDelete(r)}}},[e._v("删除")])])}}])}),t("MoveGroupForm",{ref:"MoveGroupForm",attrs:{groupList:e.groupListTree},on:{handleSubmit:e.handleRefresh}}),t("EditForm",{ref:"EditForm",attrs:{groupList:e.groupListTree},on:{handleSubmit:e.handleRefresh}})],1)},i=[],n=a("5530"),o=(a("d3b7"),a("99af"),a("159b"),a("2518")),l=a("9aca"),s=a("2af9"),d=function(){var e=this,