feat: 空间管理 -> 房源列表开发

This commit is contained in:
Zzz1zz
2026-01-12 00:19:24 +08:00
parent 39ef0b7785
commit a53cd0e8b8
15 changed files with 1637 additions and 28 deletions
+8 -4
View File
@@ -21,7 +21,7 @@
</a-button>
<a-button>
<template #icon>
<icon-download />
<icon-export />
</template>
{{ t('table.export') }}
</a-button>
@@ -184,7 +184,11 @@
!edit
)
return;
edit ? (isLoadingEdit.value = true) : (isLoadingDetail.value = true);
if (edit) {
isLoadingEdit.value = true;
} else {
isLoadingDetail.value = true;
}
const { code, data } = await getProjectDetail(id);
if (code === 200 && data) {
currentProjectInfo.value = data.project;
@@ -194,7 +198,7 @@
};
const handleWatchHouse = async (id: number) => {
try {
console.log(id, 'is id');
// TODO: 实现查看房源功能
} catch (error) {
// 处理错误
}
@@ -207,7 +211,7 @@
getProjectListData();
};
const handleDel = (id: number) => {
console.log(id, 'iiii');
// TODO: 实现删除功能
};
// 分页事件处理
const onPageChange = (page: number) => {