添加文档库弹框组件
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user