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 @@