This commit is contained in:
qsh
2023-03-21 23:51:03 +08:00
parent fc3f3fa3de
commit fbbba80e23
5 changed files with 263 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
<template>
<div>
<el-card shadow="always" :body-style="{ padding: '20px' }" />
<SearchForm />
<div class="p20">
<el-card shadow="always" :body-style="{ padding: '20px' }">
<SearchForm ref="SearchForm" @search="getTableList" />
</el-card>
</div>
</template>
@@ -18,6 +19,14 @@ export default {
pageSize: 20
}
};
},
methods: {
getTableList() {
const tempForm = this.$refs.SearchForm.searchForm;
const params = { ...this.searchForm, ...tempForm };
console.log(params);
// api.list(params)
}
}
};
</script>