This commit is contained in:
2025-07-28 18:46:48 +08:00
parent 09c8cf2333
commit ab8fb27e23
5 changed files with 20 additions and 13 deletions

View File

@ -253,16 +253,6 @@ const handleDelete = async (row?: EnterRoadVO) => {
await getList();
};
/** 导出按钮操作 */
const handleExport = () => {
proxy?.download(
'land/enterRoad/export',
{
...queryParams.value
},
`enterRoad_${new Date().getTime()}.xlsx`
);
};
//监听项目id刷新数据
const listeningProject = watch(
() => currentProject.value.id,

View File

@ -323,7 +323,6 @@ const submitForm = () => {
}
});
};
/** 删除按钮操作 */
const handleDelete = async (row?: LandTransferLedgerVO) => {
const _ids = row?.id || ids.value;
@ -334,7 +333,6 @@ const handleDelete = async (row?: LandTransferLedgerVO) => {
};
// 选择地块
const handleLandBlockChange = (val) => {
console.log(val);
getListRoad();
};
/** 查询地块信息列表 */

View File

@ -292,6 +292,19 @@ const handleLandBlockChange = (val) => {
console.log(val);
getListRoad();
};
//监听项目id刷新数据
const listeningProject = watch(
() => currentProject.value.id,
(nid, oid) => {
queryParams.value.projectId = nid;
getListLand();
getList();
}
);
onUnmounted(() => {
listeningProject();
});
onMounted(() => {
getListLand();
getList();