|
|
|
@ -17,14 +17,8 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :md="6" :sm="24">
|
|
|
|
|
<a-form-item label="分类">
|
|
|
|
|
<a-select
|
|
|
|
|
v-model="queryParam.cateCode"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择分类"
|
|
|
|
|
mode="multiple"
|
|
|
|
|
allow-clear
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="item in CateData" :key="item.id" :value="item.code">
|
|
|
|
|
<a-select v-model="queryParam.cateCode" style="width: 100%" placeholder="请选择分类" allow-clear>
|
|
|
|
|
<a-select-option v-for="item in CateData" :key="item.id" :value="`[${item.code}]`">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
@ -46,7 +40,7 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :md="4" :sm="24">
|
|
|
|
|
<span class="table-page-search-submitButtons">
|
|
|
|
|
<a-button type="primary" @click="FnGetData">查询</a-button>
|
|
|
|
|
<a-button type="primary" @click="FnQueryData">查询</a-button>
|
|
|
|
|
<a-button style="margin-left: 8px" @click="init">重置</a-button>
|
|
|
|
|
<!-- <a @click="toggleAdvanced" style="margin-left: 8px">
|
|
|
|
|
{{ advanced ? '收起' : '展开' }}
|
|
|
|
@ -419,6 +413,11 @@ export default {
|
|
|
|
|
this.queryParam.totalResult = res.data.totalRows
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
FnQueryData() {
|
|
|
|
|
this.queryParam.pageNo = 1
|
|
|
|
|
this.queryParam.pageSize = 10
|
|
|
|
|
this.FnGetData()
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 查询参数组装
|
|
|
|
|
*/
|
|
|
|
|