优化table
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<div class="table-page-search-wrapper">
|
||||
<search :searchList="searchList"/>
|
||||
<search :url="url" :searchList="searchList"/>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleCompare()" type="primary" icon="plus">{{$t('DataComparison')}}</a-button>
|
||||
@@ -11,7 +11,7 @@
|
||||
:OperationList="OperationList"
|
||||
@editTable="editTable"
|
||||
@deleteTable="deleteTable"
|
||||
:url="{}"
|
||||
:url="url"
|
||||
/>
|
||||
</div>
|
||||
<addForm ref="addFormClick"/>
|
||||
@@ -57,37 +57,11 @@
|
||||
}
|
||||
],
|
||||
selectedRowKeys: [],
|
||||
dataSource: [],
|
||||
loading: false,
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('tableName'),
|
||||
align: 'center',
|
||||
dataIndex: 'dataTable',
|
||||
width: '120'
|
||||
}, {
|
||||
title: this.$t('DataID'),
|
||||
align: 'center',
|
||||
dataIndex: 'dataId',
|
||||
width: '120'
|
||||
}, {
|
||||
title: this.$t('VersionNumber'),
|
||||
align: 'center',
|
||||
dataIndex: 'dataVersion',
|
||||
width: '50'
|
||||
}, {
|
||||
title: this.$t('DataContent'),
|
||||
align: 'center',
|
||||
dataIndex: 'dataContent',
|
||||
width: '150',
|
||||
scopedSlots: { customRender: 'dataContent' }
|
||||
}, {
|
||||
title: this.$t('creator'),
|
||||
align: 'center',
|
||||
dataIndex: 'createBy',
|
||||
width: '100'
|
||||
}
|
||||
]
|
||||
url:{
|
||||
searchHeader:'document/bussDocumentLibraryEO/getHeader',
|
||||
queryCondition:'document/bussDocumentLibraryEO/queryCondition',
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<addFormData
|
||||
ref="addFormDataRef"
|
||||
isDisplayType
|
||||
v-if="visible"
|
||||
:url="url"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user