dev
This commit is contained in:
parent
9282d353f9
commit
6992ed6331
|
|
@ -9,7 +9,7 @@
|
|||
class="demo-form-inline"
|
||||
>
|
||||
<el-form-item>
|
||||
<el-input v-model="search.keyword" placeholder="项目名称/首字母/拼音"></el-input>
|
||||
<el-input v-model="search.name" placeholder="项目名称"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
|
|
@ -96,8 +96,8 @@ const rowClick = ((row: any) => {
|
|||
|
||||
const tableData = ref<any>([])
|
||||
const initData = () => {
|
||||
post(API.Item.Base.Search, {query:{pageNum: page.value, pageSize: pageSize.value, ...search.value}}).then((res: any) => {
|
||||
tableData.value = res
|
||||
post(API.Item.Base.List, {pageNum: page.value, pageSize: pageSize.value, ...search.value}).then((res: any) => {
|
||||
tableData.value = res.list
|
||||
total.value = res.total_count
|
||||
})
|
||||
id.value = ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue