新增数据,开始安全巡检模块

This commit is contained in:
Zy
2026-04-17 19:39:21 +08:00
parent 4184f1c55d
commit 9a95e2b7e3
74 changed files with 1942 additions and 403 deletions

View File

@@ -186,7 +186,6 @@ const initFormData: RepairProjectForm = {
const data = reactive<PageData<RepairProjectForm, RepairProjectQuery>>({
form: { ...initFormData },
queryParams: {
villageId: Number(localStorage.getItem('villageid')),
projectName: undefined,
parentId: undefined,
projectType: undefined,
@@ -259,14 +258,14 @@ const handleSelectionChange = (selection: RepairProjectVO[]) => {
/** 新增按钮操作 */
const handleAdd = () => {
router.push({
path: '/repair/addRepairProjectList'
path: '/system/addRepairProjectList'
});
};
/** 修改按钮操作 */
const handleUpdate = async (row?: RepairProjectVO) => {
router.push({
path: '/repair/addRepairProjectList',
path: '/system/addRepairProjectList',
query: {
id: row.id
}