From 05ba26afc5ee6414ed7834fe2d1e43d85b53d0bc Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期六, 23 十一月 2024 15:31:28 +0800 Subject: [PATCH] 项目库基本样式完善2 --- src/views/projectEngineering/projectLibrary/index.vue | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue index 3d16906..9abbf0d 100644 --- a/src/views/projectEngineering/projectLibrary/index.vue +++ b/src/views/projectEngineering/projectLibrary/index.vue @@ -164,7 +164,7 @@ </div> <VisibilityToolbar v-model:showSearch="showSearch" - :columns="columnList" + :columns="columns" @queryTable="handleQuery" ></VisibilityToolbar> <!-- @update:columns="handleUpdateColumns"--> @@ -239,27 +239,28 @@ @pagination="getList" /> -<!-- <FileDialog--> -<!-- v-model:fileDialogVisible="fileDialogVisible"--> -<!-- :isImportOrExport="isImportOrExport"--> -<!-- @fileDialogCancel="fileDialogCancel"--> -<!-- :currentColumns="currentColumns"--> -<!-- />--> + <FileDialog + :fileDialogVisible.sync="fileDialogVisible" + :isImportOrExport="isImportOrExport" + @fileDialogCancel="fileDialogCancel" + :currentColumns="columns" + /> </div> </template> <script> import { listInfo, getInfo, delInfo, addInfo, updateInfo } from "@/api/projectInfo"; import { current } from './list'; - +import FileDialog from '../component/FileDialog'; export default { name: "projectInfo", + components: { + FileDialog + }, data() { return { isImportOrExport: false, fileDialogVisible: false, - //鎺у埗鏄鹃殣鐨勮〃鍗� - columnList: [], //鏄惁闇�瑕佹柊澧炴寜閽�(鍌ㄨ搫椤圭洰闇�瑕�) isReserve: false, //琛ㄥご @@ -327,6 +328,13 @@ this.getList(); }, methods: { + // 鍏抽棴鏂囦欢澶勭悊寮规鐨勬柟娉� + fileDialogCancel() { + this.tableLoading = true; + this.fileDialogVisible = false; + // this.getList(); + this.tableLoading = false; + }, handlePopover() { this.popoverValue.value = !this.popoverValue.value; }, -- Gitblit v1.8.0