物业之前,新工作台

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

@@ -115,12 +115,10 @@ async function init() {
...form.value,
...res.data
};
console.log(form.value);
const find = res2.rows.find((item) => item.id === form.value.typeId);
if (find) {
form.value.type = find.name;
}
console.log(form.value);
});
}
@@ -140,6 +138,7 @@ const formRef = ref();
const submitForm = () => {
formRef.value?.validate(async (valid: boolean) => {
if (valid) {
form.value.villageId = Number(localStorage.getItem('villageid'));
if (userid.value) {
updateComplaint(form.value).then(() => {
ElMessage.success('编辑成功');
@@ -165,6 +164,7 @@ function handleBack() {
.ResidentMainBody {
margin-top: 20px;
flex: 1;
font-size: 14px;
.CarinfoBox {
display: grid;