😎1、升级文件树组件 2、升级依赖
This commit is contained in:
parent
695b3c35af
commit
1a97ca3ed8
@ -17,7 +17,7 @@
|
||||
<PackageReference Include="AngleSharp" Version="1.1.2" />
|
||||
<PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
|
||||
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
|
||||
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.16.1" />
|
||||
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.16.2" />
|
||||
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.5.26" />
|
||||
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.5.26" />
|
||||
<PackageReference Include="Furion.Pure" Version="4.9.5.26" />
|
||||
@ -47,7 +47,7 @@
|
||||
<PackageReference Include="SSH.NET" Version="2024.2.0" />
|
||||
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.9" />
|
||||
<PackageReference Include="System.Net.Http" Version="4.3.4" />
|
||||
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1128" />
|
||||
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1129" />
|
||||
<PackageReference Include="UAParser" Version="3.1.47" />
|
||||
<PackageReference Include="Yitter.IdGenerator" Version="1.0.14" />
|
||||
</ItemGroup>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "admin.net.pro",
|
||||
"type": "module",
|
||||
"version": "2.4.33",
|
||||
"lastBuildTime": "2024.11.25",
|
||||
"lastBuildTime": "2024.11.26",
|
||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||
"author": "zuohuaijun",
|
||||
"license": "MIT",
|
||||
@ -29,7 +29,7 @@
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"animate.css": "^4.1.1",
|
||||
"async-validator": "^4.2.5",
|
||||
"axios": "^1.7.7",
|
||||
"axios": "^1.7.8",
|
||||
"countup.js": "^2.8.0",
|
||||
"cropperjs": "^1.6.2",
|
||||
"crypto-js": "^4.2.0",
|
||||
@ -71,7 +71,7 @@
|
||||
"vue-i18n": "^10.0.4",
|
||||
"vue-json-pretty": "^2.4.0",
|
||||
"vue-plugin-hiprint": "^0.0.58-fix",
|
||||
"vue-router": "^4.4.5",
|
||||
"vue-router": "^4.5.0",
|
||||
"vue-signature-pad": "^3.0.2",
|
||||
"vue3-tree-org": "^4.2.2",
|
||||
"vxe-pc-ui": "^4.3.6",
|
||||
@ -85,11 +85,11 @@
|
||||
"@iconify/vue": "^4.1.2",
|
||||
"@plugin-web-update-notification/vite": "^1.7.1",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/node": "^20.17.7",
|
||||
"@types/node": "^20.17.8",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/sortablejs": "^1.15.8",
|
||||
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
||||
"@typescript-eslint/parser": "^8.15.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.16.0",
|
||||
"@typescript-eslint/parser": "^8.16.0",
|
||||
"@vitejs/plugin-vue": "^5.2.0",
|
||||
"@vitejs/plugin-vue-jsx": "^4.1.0",
|
||||
"@vue/compiler-sfc": "^3.5.13",
|
||||
@ -97,13 +97,13 @@
|
||||
"eslint": "^9.15.0",
|
||||
"eslint-plugin-vue": "^9.31.0",
|
||||
"globals": "^15.12.0",
|
||||
"less": "^4.2.0",
|
||||
"prettier": "^3.3.3",
|
||||
"less": "^4.2.1",
|
||||
"prettier": "^3.4.0",
|
||||
"rollup-plugin-visualizer": "^5.12.0",
|
||||
"sass": "^1.81.0",
|
||||
"terser": "^5.36.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^5.4.11",
|
||||
"vite": "^6.0.0",
|
||||
"vite-plugin-cdn-import": "^1.0.1",
|
||||
"vite-plugin-compression2": "^1.3.1",
|
||||
"vite-plugin-vue-setup-extend": "^0.4.0",
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div class="card-header">
|
||||
<div class="tree-h-flex">
|
||||
<div class="tree-h-left">
|
||||
<el-input :prefix-icon="Search" v-model.lazy="filterText" clearable placeholder="机构名称" />
|
||||
<el-input :prefix-icon="Search" v-model.lazy="filterText" clearable placeholder="文件名称" />
|
||||
</div>
|
||||
<div class="tree-h-right">
|
||||
<el-dropdown @command="handleCommand">
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="sys-file-container">
|
||||
<splitpanes class="default-theme">
|
||||
<pane size="15" style="display: flex">
|
||||
<FolderTree ref="folderTreeRef" @node-click="handleNodeChange" />
|
||||
<FileTree ref="fileTreeRef" @node-click="handleNodeChange" />
|
||||
</pane>
|
||||
|
||||
<pane size="80" style="display: flex; flex-direction: column">
|
||||
@ -155,8 +155,8 @@ import VueOfficePdf from '@vue-office/pdf';
|
||||
import '@vue-office/docx/lib/index.css';
|
||||
import '@vue-office/excel/lib/index.css';
|
||||
|
||||
import FolderTree from '/@/views/system/file/component/folderTree.vue';
|
||||
import EditFile from '/@/views/system/file/component/editFile.vue';
|
||||
import FileTree from './component/fileTree.vue';
|
||||
import EditFile from './component/editFile.vue';
|
||||
|
||||
import { getAPI } from '/@/utils/axios-utils';
|
||||
import { SysFileApi } from '/@/api-services/api';
|
||||
@ -166,7 +166,7 @@ const xGrid = ref<VxeGridInstance>();
|
||||
// const baseUrl = window.__env__.VITE_API_URL;
|
||||
const uploadRef = ref<UploadInstance>();
|
||||
const editRef = ref<InstanceType<typeof EditFile>>();
|
||||
const folderTreeRef = ref<InstanceType<typeof FolderTree>>();
|
||||
const fileTreeRef = ref<InstanceType<typeof FileTree>>();
|
||||
|
||||
const state = reactive({
|
||||
queryParams: {
|
||||
@ -206,9 +206,9 @@ const options = useVxeTable<SysFile>(
|
||||
// { type: 'checkbox', width: 40, fixed: 'left' },
|
||||
{ type: 'seq', title: '序号', width: 60, fixed: 'left' },
|
||||
{ field: 'fileName', title: '名称', minWidth: 200, showOverflow: 'tooltip' },
|
||||
{ field: 'suffix', title: '后缀', minWidth: 80, showOverflow: 'tooltip', slots: { default: 'row_suffix' } },
|
||||
{ field: 'sizeKb', title: '大小(KB)', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'url', title: '预览', minWidth: 100, slots: { default: 'row_url' } },
|
||||
{ field: 'sizeKb', title: '大小(KB)', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'suffix', title: '后缀', minWidth: 80, showOverflow: 'tooltip', slots: { default: 'row_suffix' } },
|
||||
{ field: 'bucketName', title: '存储位置', minWidth: 180, showOverflow: 'tooltip' },
|
||||
{ field: 'id', title: '存储标识', minWidth: 120, showOverflow: 'tooltip' },
|
||||
{ field: 'isPublic', title: '是否公开', minWidth: 140, showOverflow: 'tooltip', slots: { default: 'row_isPublic' } },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user