Files
dm-manage-web/src/views/finance/administration/index.vue

36 lines
676 B
Vue
Raw Normal View History

2023-03-21 00:53:28 +08:00
<template>
2023-03-21 23:51:03 +08:00
<div class="p20">
<el-card shadow="always" :body-style="{ padding: '20px' }">
<SearchForm ref="SearchForm" @search="getTableList" />
</el-card>
2023-03-21 00:53:28 +08:00
</div>
</template>
<script>
import SearchForm from './components/SearchForm.vue';
export default {
components: {
SearchForm
},
data() {
return {
searchForm: {
pageNum: 1,
pageSize: 20
}
};
2023-03-21 23:51:03 +08:00
},
methods: {
getTableList() {
const tempForm = this.$refs.SearchForm.searchForm;
const params = { ...this.searchForm, ...tempForm };
console.log(params);
// api.list(params)
}
2023-03-21 00:53:28 +08:00
}
};
</script>
<style lang="scss" scoped>
</style>