|
|
|
@ -100,7 +100,7 @@ |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" class="query_item query_item1"> |
|
|
|
<a-space :size="21"> |
|
|
|
<a-button type="primary" class="query_button" @click="showAdd">查 询</a-button> |
|
|
|
<a-button type="primary" class="query_button" @click="showAdd(1)">查 询</a-button> |
|
|
|
<a-button class="query_button" @click="resetQurey">重 置</a-button> |
|
|
|
</a-space> |
|
|
|
</a-col> |
|
|
|
@ -197,7 +197,7 @@ export default { |
|
|
|
// align:'center' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
title: '创建时间', |
|
|
|
title: '发布时间', |
|
|
|
dataIndex: 'createtime', |
|
|
|
// align:'center' |
|
|
|
}, |
|
|
|
@ -344,9 +344,12 @@ export default { |
|
|
|
onSelectChange1(keys){ |
|
|
|
this.selectedRowKeys1 = keys; |
|
|
|
}, |
|
|
|
showAdd(){ |
|
|
|
showAdd(type){ |
|
|
|
let data=this.query1 |
|
|
|
data.limit=this.limit |
|
|
|
if(type==1){ |
|
|
|
this.page=1 |
|
|
|
} |
|
|
|
data.page=this.page |
|
|
|
getAllDate(data).then(res=>{ |
|
|
|
if(res.code==200){ |
|
|
|
|