From 5b558fb3c39cc89c16ae73434470f92eaa9c0d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Thu, 15 Aug 2024 17:41:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E4=B8=8A=E7=BA=BF=E7=AE=B1=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ContainerManagement/dsxxcl/api.ts | 13 +++++++++++-- src/views/ContainerManagement/dsxxcl/index.vue | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/ContainerManagement/dsxxcl/api.ts b/src/views/ContainerManagement/dsxxcl/api.ts index d2747be8..0189a306 100644 --- a/src/views/ContainerManagement/dsxxcl/api.ts +++ b/src/views/ContainerManagement/dsxxcl/api.ts @@ -2,7 +2,8 @@ import { request } from '/@/utils/request' import { DataResult, PageRequest } from '/@/api/model/baseModel' enum Api { - list = '/containerManagementApi/CM_State_Change/GetCM_State_ChangeList', + list = '/containerManagementApi/CM_CurrentState/GetCM_CurrentStateList', + Changelist = '/containerManagementApi/CM_State_Change/GetCM_State_ChangeList', edit = '/containerManagementApi/CM_State_Change/EditCM_State_Change', multiEdit = '/containerManagementApi/CM_State_Change/CM_State_Change_Multi', Changeinfo = '/containerManagementApi/CM_State_Change/GetCM_State_Change', @@ -16,6 +17,14 @@ enum Api { ExistList = '/mainApi/CodeCtn/GetExistCodeCtnList', Import = '/mainApi/CodeCtn/ImportCodeCtn', } +// 列表 (Auth) +export function ApiList(data: PageRequest) { + return request({ + url: Api.list, + method: 'post', + data, + }) +} // 批量上线 (Auth) export function ApiOnLine(data: PageRequest) { return request({ @@ -35,7 +44,7 @@ export function ApiOffLine(data: PageRequest) { // 列表 (Auth) export function ApiChangeList(data: PageRequest) { return request({ - url: Api.list, + url: Api.Changelist, method: 'post', data, }) diff --git a/src/views/ContainerManagement/dsxxcl/index.vue b/src/views/ContainerManagement/dsxxcl/index.vue index b138e2b5..1417bd8c 100644 --- a/src/views/ContainerManagement/dsxxcl/index.vue +++ b/src/views/ContainerManagement/dsxxcl/index.vue @@ -17,7 +17,7 @@