ljlong_2630
2 months ago
8 changed files with 255 additions and 241 deletions
@ -1,55 +0,0 @@ |
|||||
import request from '@/config/axios' |
|
||||
|
|
||||
export interface ApiMqDetailVO { |
|
||||
id: number |
|
||||
masterId: number |
|
||||
number: string |
|
||||
type: string |
|
||||
content: string |
|
||||
times: number |
|
||||
available: string |
|
||||
departmentCode: string |
|
||||
extraProperties: string |
|
||||
siteId: string |
|
||||
} |
|
||||
|
|
||||
// 查询mq执行记录子列表
|
|
||||
export const getApiMqDetailPage = async (params) => { |
|
||||
if (params.isSearch) { |
|
||||
delete params.isSearch |
|
||||
const data = {...params} |
|
||||
return await request.post({ url: '/infra/api-mq-detail/senior', data }) |
|
||||
} else { |
|
||||
return await request.get({ url: `/infra/api-mq-detail/page`, params }) |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
// 查询mq执行记录子详情
|
|
||||
export const getApiMqDetail = async (id: number) => { |
|
||||
return await request.get({ url: `/infra/api-mq-detail/get?id=` + id }) |
|
||||
} |
|
||||
|
|
||||
// 新增mq执行记录子
|
|
||||
export const createApiMqDetail = async (data: ApiMqDetailVO) => { |
|
||||
return await request.post({ url: `/infra/api-mq-detail/create`, data }) |
|
||||
} |
|
||||
|
|
||||
// 修改mq执行记录子
|
|
||||
export const updateApiMqDetail = async (data: ApiMqDetailVO) => { |
|
||||
return await request.put({ url: `/infra/api-mq-detail/update`, data }) |
|
||||
} |
|
||||
|
|
||||
// 删除mq执行记录子
|
|
||||
export const deleteApiMqDetail = async (id: number) => { |
|
||||
return await request.delete({ url: `/infra/api-mq-detail/delete?id=` + id }) |
|
||||
} |
|
||||
|
|
||||
// 导出mq执行记录子 Excel
|
|
||||
export const exportApiMqDetail = async (params) => { |
|
||||
return await request.download({ url: `/infra/api-mq-detail/export-excel`, params }) |
|
||||
} |
|
||||
|
|
||||
// 下载用户导入模板
|
|
||||
export const importTemplate = () => { |
|
||||
return request.download({ url: '/infra/api-mq-detail/get-import-template' }) |
|
||||
} |
|
@ -0,0 +1,55 @@ |
|||||
|
import request from '@/config/axios' |
||||
|
|
||||
|
export interface ApiMqErrorVO { |
||||
|
id: number |
||||
|
number: string |
||||
|
type: string |
||||
|
content: string |
||||
|
times: number |
||||
|
available: string |
||||
|
departmentCode: string |
||||
|
extraProperties: string |
||||
|
siteId: string |
||||
|
concurrencyStamp: number |
||||
|
} |
||||
|
|
||||
|
// 查询mq执行异常记录列表
|
||||
|
export const getApiMqErrorPage = async (params) => { |
||||
|
if (params.isSearch) { |
||||
|
delete params.isSearch |
||||
|
const data = {...params} |
||||
|
return await request.post({ url: '/infra/api-mq-error/senior', data }) |
||||
|
} else { |
||||
|
return await request.get({ url: `/infra/api-mq-error/page`, params }) |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// 查询mq执行异常记录详情
|
||||
|
export const getApiMqError = async (id: number) => { |
||||
|
return await request.get({ url: `/infra/api-mq-error/get?id=` + id }) |
||||
|
} |
||||
|
|
||||
|
// 新增mq执行异常记录
|
||||
|
export const createApiMqError = async (data: ApiMqErrorVO) => { |
||||
|
return await request.post({ url: `/infra/api-mq-error/create`, data }) |
||||
|
} |
||||
|
|
||||
|
// 修改mq执行异常记录
|
||||
|
export const updateApiMqError = async (data: ApiMqErrorVO) => { |
||||
|
return await request.put({ url: `/infra/api-mq-error/update`, data }) |
||||
|
} |
||||
|
|
||||
|
// 删除mq执行异常记录
|
||||
|
export const deleteApiMqError = async (id: number) => { |
||||
|
return await request.delete({ url: `/infra/api-mq-error/delete?id=` + id }) |
||||
|
} |
||||
|
|
||||
|
// 导出mq执行异常记录 Excel
|
||||
|
export const exportApiMqError = async (params) => { |
||||
|
return await request.download({ url: `/infra/api-mq-error/export-excel`, params }) |
||||
|
} |
||||
|
|
||||
|
// 下载用户导入模板
|
||||
|
export const importTemplate = () => { |
||||
|
return request.download({ url: '/infra/api-mq-error/get-import-template' }) |
||||
|
} |
@ -0,0 +1,54 @@ |
|||||
|
import request from '@/config/axios' |
||||
|
|
||||
|
export interface ApiMqHisVO { |
||||
|
id: number |
||||
|
number: string |
||||
|
type: string |
||||
|
times: number |
||||
|
available: string |
||||
|
departmentCode: string |
||||
|
extraProperties: string |
||||
|
siteId: string |
||||
|
concurrencyStamp: number |
||||
|
} |
||||
|
|
||||
|
// 查询mq执行历史记录列表
|
||||
|
export const getApiMqHisPage = async (params) => { |
||||
|
if (params.isSearch) { |
||||
|
delete params.isSearch |
||||
|
const data = {...params} |
||||
|
return await request.post({ url: '/infra/api-mq-his/senior', data }) |
||||
|
} else { |
||||
|
return await request.get({ url: `/infra/api-mq-his/page`, params }) |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// 查询mq执行历史记录详情
|
||||
|
export const getApiMqHis = async (id: number) => { |
||||
|
return await request.get({ url: `/infra/api-mq-his/get?id=` + id }) |
||||
|
} |
||||
|
|
||||
|
// 新增mq执行历史记录
|
||||
|
export const createApiMqHis = async (data: ApiMqHisVO) => { |
||||
|
return await request.post({ url: `/infra/api-mq-his/create`, data }) |
||||
|
} |
||||
|
|
||||
|
// 修改mq执行历史记录
|
||||
|
export const updateApiMqHis = async (data: ApiMqHisVO) => { |
||||
|
return await request.put({ url: `/infra/api-mq-his/update`, data }) |
||||
|
} |
||||
|
|
||||
|
// 删除mq执行历史记录
|
||||
|
export const deleteApiMqHis = async (id: number) => { |
||||
|
return await request.delete({ url: `/infra/api-mq-his/delete?id=` + id }) |
||||
|
} |
||||
|
|
||||
|
// 导出mq执行历史记录 Excel
|
||||
|
export const exportApiMqHis = async (params) => { |
||||
|
return await request.download({ url: `/infra/api-mq-his/export-excel`, params }) |
||||
|
} |
||||
|
|
||||
|
// 下载用户导入模板
|
||||
|
export const importTemplate = () => { |
||||
|
return request.download({ url: '/infra/api-mq-his/get-import-template' }) |
||||
|
} |
@ -1,53 +0,0 @@ |
|||||
import request from '@/config/axios' |
|
||||
|
|
||||
export interface ApiMqMainVO { |
|
||||
id: number |
|
||||
number: string |
|
||||
type: string |
|
||||
times: number |
|
||||
available: string |
|
||||
departmentCode: string |
|
||||
extraProperties: string |
|
||||
siteId: string |
|
||||
} |
|
||||
|
|
||||
// 查询mq执行记录主列表
|
|
||||
export const getApiMqMainPage = async (params) => { |
|
||||
if (params.isSearch) { |
|
||||
delete params.isSearch |
|
||||
const data = {...params} |
|
||||
return await request.post({ url: '/infra/api-mq-main/senior', data }) |
|
||||
} else { |
|
||||
return await request.get({ url: `/infra/api-mq-main/page`, params }) |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
// 查询mq执行记录主详情
|
|
||||
export const getApiMqMain = async (id: number) => { |
|
||||
return await request.get({ url: `/infra/api-mq-main/get?id=` + id }) |
|
||||
} |
|
||||
|
|
||||
// 新增mq执行记录主
|
|
||||
export const createApiMqMain = async (data: ApiMqMainVO) => { |
|
||||
return await request.post({ url: `/infra/api-mq-main/create`, data }) |
|
||||
} |
|
||||
|
|
||||
// 修改mq执行记录主
|
|
||||
export const updateApiMqMain = async (data: ApiMqMainVO) => { |
|
||||
return await request.put({ url: `/infra/api-mq-main/update`, data }) |
|
||||
} |
|
||||
|
|
||||
// 删除mq执行记录主
|
|
||||
export const deleteApiMqMain = async (id: number) => { |
|
||||
return await request.delete({ url: `/infra/api-mq-main/delete?id=` + id }) |
|
||||
} |
|
||||
|
|
||||
// 导出mq执行记录主 Excel
|
|
||||
export const exportApiMqMain = async (params) => { |
|
||||
return await request.download({ url: `/infra/api-mq-main/export-excel`, params }) |
|
||||
} |
|
||||
|
|
||||
// 下载用户导入模板
|
|
||||
export const importTemplate = () => { |
|
||||
return request.download({ url: '/infra/api-mq-main/get-import-template' }) |
|
||||
} |
|
Loading…
Reference in new issue