|
|
@@ -22,7 +22,7 @@
|
|
|
>
|
|
|
<template v-slot:toolbar v-if="type != 'view'">
|
|
|
<el-button type="primary" @click="fileEditOpen">本地上传</el-button>
|
|
|
- <el-button type="primary" @click="fileShow = true">
|
|
|
+ <el-button type="primary" @click="openFileList">
|
|
|
关联文档库
|
|
|
</el-button>
|
|
|
</template>
|
|
|
@@ -182,6 +182,12 @@
|
|
|
}
|
|
|
this.init();
|
|
|
},
|
|
|
+ openFileList() {
|
|
|
+ this.fileShow = true;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.doc_templateRef.query()
|
|
|
+ })
|
|
|
+ },
|
|
|
fileEditOpen() {
|
|
|
this.$refs.fileEditRef.open();
|
|
|
},
|