新增数据,开始安全巡检模块
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user