|
|
|
@ -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<DataResult>({
|
|
|
|
|
url: Api.list,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 批量上线 (Auth)
|
|
|
|
|
export function ApiOnLine(data: PageRequest) {
|
|
|
|
|
return request<DataResult>({
|
|
|
|
@ -35,7 +44,7 @@ export function ApiOffLine(data: PageRequest) {
|
|
|
|
|
// 列表 (Auth)
|
|
|
|
|
export function ApiChangeList(data: PageRequest) {
|
|
|
|
|
return request<DataResult>({
|
|
|
|
|
url: Api.list,
|
|
|
|
|
url: Api.Changelist,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|