新增数据,开始安全巡检模块
This commit is contained in:
@@ -100,7 +100,6 @@ const form = ref({
|
||||
residentId: null, // 住户id
|
||||
parkingStatus: '', // 车位状态
|
||||
remark: '', // 备注
|
||||
villageId: Number(localStorage.getItem('villageid')),
|
||||
parkingCode: '' // 车位编码
|
||||
});
|
||||
const rules = ref({
|
||||
@@ -142,7 +141,6 @@ 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('编辑成功');
|
||||
|
||||
Reference in New Issue
Block a user