From 211f2a22b89c68d5c2b4bb6749fe46600f059144 Mon Sep 17 00:00:00 2001 From: wanglei Date: Mon, 3 Jun 2024 11:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/dangan/collection/index.vue | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 239baf0..9533924 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -436,19 +436,27 @@ export default { }, /** 点击上传操作 */ handleUpload() { - this.getTreeselect(); - this.fileList = [] - this.upload.shelfId=undefined; - this.upload.wlsjNode=undefined; - this.upload.open = true; + this.$modal.confirm(`是否确认选择【${this.dangAnNode.label}】档案目录?`).then(() => { + this.getTreeselect(); + this.fileList = [] + this.upload.shelfId=undefined; + this.upload.wlsjNode=undefined; + this.upload.open = true; + }).catch(() => { + this.upload.open = false; + }); }, // 点击扫描上传 handleScan(){ - this.getTreeselect(); - this.smwj.list = []; - this.smwj.shelfId=undefined; - this.smwj.wlsjNode=undefined; - this.smwj.open = true; + this.$modal.confirm(`是否确认选择【${this.dangAnNode.label}】档案目录?`).then(() => { + this.getTreeselect(); + this.smwj.list = []; + this.smwj.shelfId=undefined; + this.smwj.wlsjNode=undefined; + this.smwj.open = true; + }).catch(() => { + this.smwj.open = false; + }); }, /** 查询目录下拉树结构 */ getTreeselect() { @@ -676,4 +684,8 @@ export default { .sm_row{ margin-bottom: 10px; } + +::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { + background-color: #fff18e; +}