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; +}