物业之前,新工作台

This commit is contained in:
Zy
2026-04-16 21:03:35 +08:00
parent cf9a1f1585
commit 4184f1c55d
91 changed files with 1781 additions and 588 deletions

View File

@@ -61,7 +61,7 @@ const route = useRoute();
const formRef = ref();
const form = ref({
id: null,
villageId: null,
villageId: Number(localStorage.getItem('villageid')),
areaName: null,
areaCode: null,
area: null,
@@ -90,6 +90,7 @@ if (route.query.id) {
const submitForm = () => {
formRef.value?.validate(async (valid: boolean) => {
if (valid) {
form.value.villageId = Number(localStorage.getItem('villageid'));
if (parkingid.value) {
updateArea(form.value).then(() => {
ElMessage.success('编辑成功');