|
|
|
@ -436,19 +436,27 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 点击上传操作 */
|
|
|
|
/** 点击上传操作 */
|
|
|
|
handleUpload() {
|
|
|
|
handleUpload() {
|
|
|
|
this.getTreeselect();
|
|
|
|
this.$modal.confirm(`是否确认选择【${this.dangAnNode.label}】档案目录?`).then(() => {
|
|
|
|
this.fileList = []
|
|
|
|
this.getTreeselect();
|
|
|
|
this.upload.shelfId=undefined;
|
|
|
|
this.fileList = []
|
|
|
|
this.upload.wlsjNode=undefined;
|
|
|
|
this.upload.shelfId=undefined;
|
|
|
|
this.upload.open = true;
|
|
|
|
this.upload.wlsjNode=undefined;
|
|
|
|
|
|
|
|
this.upload.open = true;
|
|
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
this.upload.open = false;
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 点击扫描上传
|
|
|
|
// 点击扫描上传
|
|
|
|
handleScan(){
|
|
|
|
handleScan(){
|
|
|
|
this.getTreeselect();
|
|
|
|
this.$modal.confirm(`是否确认选择【${this.dangAnNode.label}】档案目录?`).then(() => {
|
|
|
|
this.smwj.list = [];
|
|
|
|
this.getTreeselect();
|
|
|
|
this.smwj.shelfId=undefined;
|
|
|
|
this.smwj.list = [];
|
|
|
|
this.smwj.wlsjNode=undefined;
|
|
|
|
this.smwj.shelfId=undefined;
|
|
|
|
this.smwj.open = true;
|
|
|
|
this.smwj.wlsjNode=undefined;
|
|
|
|
|
|
|
|
this.smwj.open = true;
|
|
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
|
|
|
this.smwj.open = false;
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 查询目录下拉树结构 */
|
|
|
|
/** 查询目录下拉树结构 */
|
|
|
|
getTreeselect() {
|
|
|
|
getTreeselect() {
|
|
|
|
@ -676,4 +684,8 @@ export default {
|
|
|
|
.sm_row{
|
|
|
|
.sm_row{
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
|
|
|
|
|
|
|
|
background-color: #fff18e;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|