新增数据,开始安全巡检模块
This commit is contained in:
@@ -138,7 +138,6 @@ 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('编辑成功');
|
||||
|
||||
@@ -87,7 +87,6 @@ const initFormData: ComplaintForm = {
|
||||
const data = reactive<PageData<ComplaintForm, ComplaintQuery>>({
|
||||
form: { ...initFormData },
|
||||
queryParams: {
|
||||
villageId: Number(localStorage.getItem('villageid')),
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
typeId: undefined,
|
||||
|
||||
Reference in New Issue
Block a user