This commit is contained in:
qq787203167
2022-02-23 15:22:06 +08:00
parent 742403daab
commit 81792475ca
3 changed files with 25 additions and 21 deletions
@@ -41,8 +41,8 @@
</div>
</a-col>
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button class="box-button" type="primary" @click="searchReset">{{$t('query')}}</a-button>
<a-button class="box-button" style="margin-left: 8px" @click="searchQuery">{{$t('reset')}}</a-button>
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
</span>
</a-row>
</a-form>
@@ -91,15 +91,18 @@
columns: [
{
title: this.$t('standard'),
dataIndex: 'serial_number'
dataIndex: 'serial_number',
align: 'center',
},
{
title: this.$t('title'),
dataIndex: 'title'
dataIndex: 'title',
align: 'center',
},
{
title: this.$t('TextStatus'),
dataIndex: 'state'
dataIndex: 'state',
align: 'center',
}
],
dataList: [],
@@ -114,6 +117,8 @@
methods: {
standardClick() {
this.visible = true
this.queryParam = {}
this.replacePage()
},
replacePage() {
let query = {
@@ -122,7 +127,7 @@
pageSize: this.pageSize
}
this.loading = true
getAction('document/bussDocumentLibraryEO/replacePageInfo', query).then((res) => {
postAction('document/bussDocumentLibraryEO/replacePageInfo', query).then((res) => {
this.loading = false
if (res.success) {
this.dataList = res.result.records