diff --git a/src/api/enterpriseinspections/index.ts b/src/api/enterpriseinspections/index.ts index 4806c06..f4cbd2c 100644 --- a/src/api/enterpriseinspections/index.ts +++ b/src/api/enterpriseinspections/index.ts @@ -50,4 +50,9 @@ export const EnterpriseInspectionsApi = { return await request.get({ url: `/system/enterprise-inspections/getListByUserIdAndTaskName`, params }) }, + // 新增企业检查记录表,用于记录与企业相关的环保检查信息。 + passOn: async (data:any) => { + return await request.post({ url: `/system/enterprise-inspections/passOn`, data }) + }, + } diff --git a/src/views/enterpriseinspections/ChangeUser.vue b/src/views/enterpriseinspections/ChangeUser.vue index d1c0ffb..83a840e 100644 --- a/src/views/enterpriseinspections/ChangeUser.vue +++ b/src/views/enterpriseinspections/ChangeUser.vue @@ -1,8 +1,8 @@ diff --git a/src/views/task/index.vue b/src/views/task/index.vue index a8ed44a..a5f4d93 100644 --- a/src/views/task/index.vue +++ b/src/views/task/index.vue @@ -146,15 +146,14 @@ @@ -251,6 +250,7 @@ const getList = async () => { loading.value = true try { const data = await TaskInfoApi.getTaskInfoPage(queryParams) + console.log("data==>", data) list.value = data.list total.value = data.total } finally {