标签管理
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<div class="table-page-search-wrapper">
|
||||
<search :flag="'1'" :url="url" :searchList="searchList"/>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleExport()" type="primary">数据导出</a-button>
|
||||
<a-button @click="handleFileExport()" type="primary">带文件导出</a-button>
|
||||
<a-button @click="handleAdd()" type="primary">{{$t('add')}}</a-button>
|
||||
<a-button @click="handleModule()" type="primary">模板下载</a-button>
|
||||
<a-button @click="handleModule()" type="primary">导入</a-button>
|
||||
<a-button @click="handleDel()" type="primary">批量删除</a-button>
|
||||
<a-button @click="handleCompare()" type="primary" icon="plus">推送</a-button>
|
||||
</div>
|
||||
<div>
|
||||
<tableData
|
||||
:flag="'1'"
|
||||
:OperationList="OperationList"
|
||||
@editTable="editTable"
|
||||
@deleteTable="deleteTable"
|
||||
:url="url"
|
||||
/>
|
||||
</div>
|
||||
<addForm ref="addFormClick1"/>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import search from '@/components/search/index'
|
||||
import tableData from '@/components/tableDate/index'
|
||||
import addForm from './modules/addForm'
|
||||
|
||||
export default {
|
||||
name: 'docLibrary',
|
||||
components: {
|
||||
search,
|
||||
addForm,
|
||||
tableData
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
searchList: [
|
||||
{ name: '名称', placeholder: '请输入姓名', attrModel: 'name', enName: 'title' },
|
||||
{ name: '标题', placeholder: '请输入标题', attrModel: 'title', enName: 'title' }
|
||||
],
|
||||
OperationList: [
|
||||
{
|
||||
text: '编辑',
|
||||
ClickEvent: 'editTable'
|
||||
},
|
||||
{
|
||||
text: '删除',
|
||||
ClickEvent: 'deleteTable'
|
||||
},
|
||||
{
|
||||
text: '收藏',
|
||||
ClickEvent: 'Collection'
|
||||
},
|
||||
{
|
||||
text: '订阅',
|
||||
ClickEvent: 'subscribe'
|
||||
}
|
||||
],
|
||||
selectedRowKeys: [],
|
||||
loading: false,
|
||||
url:{
|
||||
tableHeader:'document/bussDocumentLibraryEO/getHeader',
|
||||
seachList:'document/bussDocumentLibraryEO/queryCondition',
|
||||
tableList:'/document/bussDocumentLibraryEO/queryPageInfo',
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onSelectChange() {
|
||||
|
||||
},
|
||||
handleExport(){
|
||||
|
||||
},
|
||||
handleFileExport(){
|
||||
|
||||
},
|
||||
handleAdd(){
|
||||
this.$refs.addFormClick1.add()
|
||||
},
|
||||
handleModule(){
|
||||
|
||||
},
|
||||
handleDel(){
|
||||
|
||||
},
|
||||
handleCompare() {
|
||||
// this.$refs.addFormClick1.add()
|
||||
},
|
||||
handleFileImport(){
|
||||
|
||||
},
|
||||
editTable(item) {
|
||||
console.log(item)
|
||||
},
|
||||
deleteTable(){
|
||||
console.log(3)
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user