You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
676 B
35 lines
676 B
<template>
|
|
<div class="p20">
|
|
<el-card shadow="always" :body-style="{ padding: '20px' }">
|
|
<SearchForm ref="SearchForm" @search="getTableList" />
|
|
</el-card>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import SearchForm from './components/SearchForm.vue';
|
|
export default {
|
|
components: {
|
|
SearchForm
|
|
},
|
|
data() {
|
|
return {
|
|
searchForm: {
|
|
pageNum: 1,
|
|
pageSize: 20
|
|
}
|
|
};
|
|
},
|
|
methods: {
|
|
getTableList() {
|
|
const tempForm = this.$refs.SearchForm.searchForm;
|
|
const params = { ...this.searchForm, ...tempForm };
|
|
console.log(params);
|
|
// api.list(params)
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
</style>
|
|
|