拆分列表
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
<template>
|
||||
<div class="splitting">
|
||||
<a-card :bordered="false">
|
||||
<div class="splitting-search-wrapper">
|
||||
<search :flag="'1'" :url="url"/>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleModule()" type="primary">拆分已入库文本</a-button>
|
||||
<a-button @click="handleExport()" type="primary">导入拆分结果</a-button>
|
||||
<a-button @click="handleDel()" type="danger">批量删除</a-button>
|
||||
</div>
|
||||
<div class="splitting-table">
|
||||
<tableData
|
||||
:flag="'1'"
|
||||
:OperationList="OperationList"
|
||||
@editTable="seeTable"
|
||||
@deleteTable="deleteTable"
|
||||
:url="url"
|
||||
showAction
|
||||
@returnBack="returnBack"
|
||||
/>
|
||||
</div>
|
||||
</a-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import search from '@/components/search/index'
|
||||
import tableData from '@/components/tableDate/index'
|
||||
import frameAssembly from '@/components/frameAssembly/index'
|
||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
||||
import eventBUs from '../../../common/event'
|
||||
export default {
|
||||
name: 'splitting',
|
||||
components: {
|
||||
search,
|
||||
tableData,
|
||||
frameAssembly
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
OperationList: [
|
||||
{
|
||||
text: '回传至文档库',
|
||||
ClickEvent: 'returnBack'
|
||||
},
|
||||
{
|
||||
text: '查看',
|
||||
ClickEvent: 'seeTable'
|
||||
},
|
||||
{
|
||||
text: '删除',
|
||||
ClickEvent: 'deleteTable'
|
||||
}
|
||||
],
|
||||
url: {
|
||||
tableHeader: 'document/bussDocumentLibraryEO/getHeader', //表格头部字段
|
||||
seachList: 'document/bussDocumentLibraryEO/queryCondition', //搜索字段
|
||||
tableList: 'document/bussDocumentLibraryEO/queryPageInfo', //表格数据
|
||||
getAddForm: 'document/bussDocumentLibraryEO/getAddForm', // 表单的字段
|
||||
addInfo: 'document/bussDocumentLibraryEO/addInfo', //新增
|
||||
updateInfo: 'document/bussDocumentLibraryEO/updateInfo', //编辑
|
||||
getDocumentInfo: 'document/bussDocumentLibraryEO/getDocumentInfoById', //查看
|
||||
deleteBatch: 'document/bussDocumentLibraryEO/deleteBatch' //删除
|
||||
}
|
||||
}
|
||||
},
|
||||
props:{
|
||||
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods:{
|
||||
//拆分已入库文本
|
||||
handleModule(){
|
||||
|
||||
},
|
||||
//导入拆分结果
|
||||
handleExport(){
|
||||
|
||||
},
|
||||
//批量删除
|
||||
handleDel(){
|
||||
|
||||
},
|
||||
//回传至文档库
|
||||
returnBack(){
|
||||
|
||||
},
|
||||
//查看
|
||||
seeTable(){
|
||||
|
||||
},
|
||||
//删除
|
||||
deleteTable(){
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
<style lang="less">
|
||||
.splitting{
|
||||
.splitting-search-wrapper{
|
||||
.table-page-search-submitButtons{
|
||||
float: none!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user