新增数据,开始安全巡检模块

This commit is contained in:
Zy
2026-04-17 19:39:21 +08:00
parent 4184f1c55d
commit 9a95e2b7e3
74 changed files with 1942 additions and 403 deletions

View File

@@ -129,8 +129,7 @@ const submitForm = () => {
formRef.value?.validate(async (valid: boolean) => {
if (valid) {
const data = {
...form.value,
villageId: Number(localStorage.getItem('villageid'))
...form.value
};
if (storeRoomid.value !== null) {
updateStoreroom(data).then(() => {

View File

@@ -106,7 +106,6 @@ const data = reactive<PageData<StoreroomForm, StoreroomQuery>>({
queryParams: {
pageNum: 1,
pageSize: 10,
villageId: Number(localStorage.getItem('villageid')),
buildingId: undefined,
unitNo: undefined,
storeroomNo: undefined,