52 lines
937 B
Vue

<template>
<CustCard>
<el-row>
<el-col></el-col>
</el-row>
<Pagina :page-data="pageData" />
</CustCard>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue';
import Pagina from '@/components/pagina.vue';
import CustCard from '@/components/CustCard.vue';
import { getLandList } from '@/apis/land.js';
onMounted(() => {
getList();
});
/* --------------- data --------------- */
// #region
const searchCondition = reactive({
name: '',
person: '',
});
const pageData = reactive({
page: 1,
size: 10,
total: 0,
});
// #endregion
/* --------------- methods --------------- */
// #region
async function getList() {
const params = { current: pageData.page, size: pageData.size };
let res = await getLandList(params);
console.log('res ---------', res);
}
// #endregion
</script>
<style lang="scss" scoped>
.container {
background-color: #fff;
border-radius: 4px;
}
</style>