物业之前,新工作台
This commit is contained in:
@@ -100,7 +100,6 @@ function init() {
|
||||
...form.value,
|
||||
...res.data
|
||||
};
|
||||
console.log(form.value);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -113,6 +112,7 @@ if (route.query.id) {
|
||||
const submitForm = () => {
|
||||
formRef.value?.validate(async (valid: boolean) => {
|
||||
if (valid) {
|
||||
form.value.villageId = Number(localStorage.getItem('villageid'));
|
||||
if (userid.value) {
|
||||
updateHandleLog(form.value).then(() => {
|
||||
ElMessage.success('编辑成功');
|
||||
|
||||
Reference in New Issue
Block a user