订阅修改
This commit is contained in:
@@ -3,7 +3,32 @@
|
||||
<a-card :bordered="false">
|
||||
<div class="subscribtion-search-wrapper">
|
||||
<div class="subscribtion-search-header">
|
||||
<search :url="url" :flag="'1'"></search>
|
||||
<!-- <search :url="url" :flag="'1'"></search>-->
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="6" :sm="6">
|
||||
<a-form-item :label="$t('standard')">
|
||||
<a-input :placeholder="$t('enterNumber')" v-model="queryParams.serialNumber"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="6">
|
||||
<a-form-item :label="$t('title')">
|
||||
<a-input :placeholder="$t('enterTitle')" v-model="queryParams.title"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="6">
|
||||
<a-form-item :label="$t('status')">
|
||||
<j-dict-select-tag type="list" v-model="queryParams.state" dictCode="file_type" :placeholder="$t('selectStatus')" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="4">
|
||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-button type="primary" @click="searchQuery" icon="search">{{$t('query')}}</a-button>
|
||||
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">{{$t('reset')}}</a-button>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-operator">
|
||||
@@ -134,7 +159,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// this.loadData()
|
||||
this.loadData()
|
||||
},
|
||||
methods:{
|
||||
//获取列表数据
|
||||
@@ -143,9 +168,10 @@
|
||||
...this.queryParams
|
||||
}
|
||||
this.loading=true
|
||||
getAction(`subscribe/onlCgformSubscribe/page`,params).then(res=>{
|
||||
postAction(`subscribe/onlCgformSubscribe/page`,params).then(res=>{
|
||||
if(res.success){
|
||||
this.tableData= [ ...res.result.records ]
|
||||
this.total=res.result.total
|
||||
this.loading=false
|
||||
}
|
||||
})
|
||||
@@ -280,10 +306,16 @@
|
||||
.subscribtion-content{
|
||||
.ant-form-item-control-wrapper{
|
||||
min-width: 180px;
|
||||
.ant-form-item{
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.subscribtion-search-header{
|
||||
.ant-form-item-control-wrapper{
|
||||
min-width: 200px;
|
||||
}
|
||||
.table-page-search-submitButtons{
|
||||
float: none!important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user