添加文档库弹框组件

This commit is contained in:
qq787203167
2022-02-15 17:53:00 +08:00
parent 469c190dc1
commit 12ac3223e1
7 changed files with 863 additions and 294 deletions
@@ -19,6 +19,7 @@
@editTable="editTable"
@deleteTable="deleteTable"
:url="url"
showAction
@Collection="Collection"
@subscribe="subscribe"
/>
@@ -28,6 +29,11 @@
:url="url"
:flag="'1'"
/>
<frameAssembly
:url="url"
ref="frameAssemblyRef"
/>
</a-card>
</template>
@@ -35,14 +41,15 @@
import search from '@/components/search/index'
import tableData from '@/components/tableDate/index'
import addForm from './modules/addForm'
import frameAssembly from '@/components/frameAssembly/index'
export default {
name: 'docLibrary',
components: {
search,
addForm,
tableData
tableData,
frameAssembly
},
data() {
return {
@@ -74,7 +81,7 @@
addInfo:'document/bussDocumentLibraryEO/addInfo', //新增
updateInfo:'document/bussDocumentLibraryEO/updateInfo', //编辑
getDocumentInfo:'document/bussDocumentLibraryEO/getDocumentInfoById', //查看
}
},
}
},
methods: {
@@ -97,6 +104,9 @@
},
handleCompare() {
this.$nextTick(()=>{
this.$refs.frameAssemblyRef.visible = true
})
// this.$refs.addFormRef.add()
},
handleFileImport(){
@@ -104,8 +114,7 @@
},
//编辑按钮
editTable(val) {
this.$refs.addFormRef.edit()
console.log(val)
this.$refs.addFormRef.edit(val)
},
//删除按钮
deleteTable(val){