From 6674018c75df656e3c51ce2ea63de1f66af5b3fe Mon Sep 17 00:00:00 2001 From: dx <1242347652@qq.com> Date: Tue, 11 Feb 2025 09:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E6=B3=95=E8=AE=B0=E5=BD=95=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/enterpriseinspections/index.ts | 5 ++ .../enterpriseinspections/ChangeUser.vue | 55 +++++-------------- .../changeInspections.vue | 4 +- src/views/enterpriseinspections/detail.vue | 29 +++++----- src/views/task/index.vue | 6 +- 5 files changed, 39 insertions(+), 60 deletions(-) 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 {