From c58d5c6bd7df06c8f2d2c70f083c939cceef68bf Mon Sep 17 00:00:00 2001 From: Zhufu <1176354795@qq.com> Date: Thu, 4 Jul 2024 16:39:17 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E3=80=90=E5=9B=BE=E6=96=91=E4=B8=BE?= =?UTF-8?q?=E8=AF=81=E5=AE=A1=E6=A0=B8=E3=80=91=E7=9D=A3=E5=8A=9E=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bootstraps/index.ts | 5 ++ .../bootstraps/auditinfo/MapList/index.vue | 55 ++++++++++++++++--- 2 files changed, 52 insertions(+), 8 deletions(-) diff --git a/src/api/bootstraps/index.ts b/src/api/bootstraps/index.ts index e10a6f42..a72b0f86 100644 --- a/src/api/bootstraps/index.ts +++ b/src/api/bootstraps/index.ts @@ -27,6 +27,8 @@ enum Api { GetCaseInfoById = '/api/DroneCaseInfoSingle/GetCaseInfoById', // 更新案件行政区划 UpdateDroneCaseInfo = '/api/DroneCaseInfoSingle/UpdateDroneCaseInfo', + // 督办流程 + Supervise = '/api/WFProcess/Supervise', } /** @@ -71,3 +73,6 @@ export function getCaseInfoById(params?: { id: string }) { } export const updateDroneCaseInfo = (params: updateCaseInfoParams) => defHttp.post({ url: Api.UpdateDroneCaseInfo, params }); + +export const updateSupervise = (params: {id:string,supervise: number}) => + defHttp.post({ url: `${Api.Supervise}?id=${params.id}&supervise=${params.supervise}`, params }); diff --git a/src/views/demo/bootstraps/auditinfo/MapList/index.vue b/src/views/demo/bootstraps/auditinfo/MapList/index.vue index 835c19cd..75ea1f4b 100644 --- a/src/views/demo/bootstraps/auditinfo/MapList/index.vue +++ b/src/views/demo/bootstraps/auditinfo/MapList/index.vue @@ -95,12 +95,20 @@ -