物业之前,新工作台

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

@@ -100,6 +100,7 @@ const form = ref({
residentId: null, // 住户id
parkingStatus: '', // 车位状态
remark: '', // 备注
villageId: Number(localStorage.getItem('villageid')),
parkingCode: '' // 车位编码
});
const rules = ref({
@@ -132,8 +133,6 @@ getAreaList();
const holderInfo = ref(null);
function handleChange(pop) {
console.log('获得数据');
console.log(pop);
holderInfo.value = pop;
}
@@ -143,6 +142,7 @@ const submitForm = () => {
formRef.value?.validate(async (valid: boolean) => {
if (valid) {
form.value.residentId = holderInfo.value;
form.value.villageId = Number(localStorage.getItem('villageid'));
if (userid.value) {
updateParking(form.value).then((res) => {
ElMessage.success('编辑成功');