From 3417b6f1d60b9065d6a875d8da4eb2e6349cc287 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Mon, 18 Mar 2024 16:48:23 +0800 Subject: [PATCH] update --- src/api/supervision_participating_units.ts | 39 +++++++++++++++---- src/api/supervision_project.ts | 36 +++++++++++++---- .../supervision_commencement_report/index.vue | 6 ++- .../index.vue | 6 ++- .../index.vue | 5 ++- .../supervision_contract_disclosure/index.vue | 5 ++- .../supervision_design_disclosure/index.vue | 5 ++- src/views/supervision_first_meeting/index.vue | 5 ++- .../supervision_large_equipment/index.vue | 7 +++- .../index.vue | 5 +++ .../supervision_participating_units/index.vue | 6 ++- .../index.vue | 6 ++- .../index.vue | 10 ++++- src/views/supervision_planning/index.vue | 6 ++- src/views/supervision_rules/index.vue | 5 ++- .../supervision_rules_disclosure/index.vue | 6 ++- .../index.vue | 6 ++- .../index.vue | 6 ++- 18 files changed, 138 insertions(+), 32 deletions(-) diff --git a/src/api/supervision_participating_units.ts b/src/api/supervision_participating_units.ts index 0725be3..47770ae 100644 --- a/src/api/supervision_participating_units.ts +++ b/src/api/supervision_participating_units.ts @@ -1,32 +1,57 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 工程监理--参建单位列表 export function apiSupervisionParticipatingUnitsLists(params: any) { - return request.get({ url: '/supervision_project.supervision_participating_units/lists', params }) + return request.get({ + url: "/supervision_project.supervision_participating_units/lists", + params, + }); } // 添加工程监理--参建单位 export function apiSupervisionParticipatingUnitsAdd(params: any) { - return request.post({ url: '/supervision_project.supervision_participating_units/add', params }) + return request.post({ + url: "/supervision_project.supervision_participating_units/add", + params, + }); } // 编辑工程监理--参建单位 export function apiSupervisionParticipatingUnitsEdit(params: any) { - return request.post({ url: '/supervision_project.supervision_participating_units/edit', params }) + return request.post({ + url: "/supervision_project.supervision_participating_units/edit", + params, + }); } // 删除工程监理--参建单位 export function apiSupervisionParticipatingUnitsDelete(params: any) { - return request.post({ url: '/supervision_project.supervision_participating_units/delete', params }) + return request.post({ + url: "/supervision_project.supervision_participating_units/delete", + params, + }); } // 工程监理--参建单位详情 export function apiSupervisionParticipatingUnitsDetail(params: any) { - return request.get({ url: '/supervision_project.supervision_participating_units/detail', params }) + return request.get({ + url: "/supervision_project.supervision_participating_units/detail", + params, + }); } // 工程监理--参建单位列表 export function supervision_participating_units_contactsapi(params: any) { - return request.get({ url: '/supervision_project.supervision_participating_units_contacts/lists', params }) + return request.get({ + url: "/supervision_project.supervision_participating_units_contacts/lists", + params, + }); } +//apiSupervisionParticipatingUnitsSearch +export function apiSupervisionParticipatingUnitsSearch(params: any) { + return request.get({ + url: "/supervision_project.supervision_participating_units/datas", + params, + }); +} diff --git a/src/api/supervision_project.ts b/src/api/supervision_project.ts index cbead12..38593ff 100644 --- a/src/api/supervision_project.ts +++ b/src/api/supervision_project.ts @@ -1,26 +1,48 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 工程监理--监理项目信息列表 export function apiSupervisionProjectLists(params: any) { - return request.get({ url: '/supervision_project.supervision_project/lists', params }) + return request.get({ + url: "/supervision_project.supervision_project/lists", + params, + }); } // 添加工程监理--监理项目信息 export function apiSupervisionProjectAdd(params: any) { - return request.post({ url: '/supervision_project.supervision_project/add', params }) + return request.post({ + url: "/supervision_project.supervision_project/add", + params, + }); } // 编辑工程监理--监理项目信息 export function apiSupervisionProjectEdit(params: any) { - return request.post({ url: '/supervision_project.supervision_project/edit', params }) + return request.post({ + url: "/supervision_project.supervision_project/edit", + params, + }); } // 删除工程监理--监理项目信息 export function apiSupervisionProjectDelete(params: any) { - return request.post({ url: '/supervision_project.supervision_project/delete', params }) + return request.post({ + url: "/supervision_project.supervision_project/delete", + params, + }); } // 工程监理--监理项目信息详情 export function apiSupervisionProjectDetail(params: any) { - return request.get({ url: '/supervision_project.supervision_project/detail', params }) -} \ No newline at end of file + return request.get({ + url: "/supervision_project.supervision_project/detail", + params, + }); +} + +export function apiSupervisionProjectSearch(params: any) { + return request.get({ + url: "/supervision_project.supervision_project/datas", + params, + }); +} diff --git a/src/views/supervision_commencement_report/index.vue b/src/views/supervision_commencement_report/index.vue index 3536818..c403531 100644 --- a/src/views/supervision_commencement_report/index.vue +++ b/src/views/supervision_commencement_report/index.vue @@ -2,7 +2,9 @@
- + + + @@ -72,8 +74,8 @@