合并
This commit is contained in:
@ -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,
|
||||
|
@ -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();
|
||||
};
|
||||
/** 查询地块信息列表 */
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user