From 0ccd9ca4b3a0ac1474c8cb9445d8b669654c7a81 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 28 十月 2024 17:37:59 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3 --- src/api/model/pre/item/index.ts | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/api/model/pre/item/index.ts b/src/api/model/pre/item/index.ts index 30a9017..795ca65 100644 --- a/src/api/model/pre/item/index.ts +++ b/src/api/model/pre/item/index.ts @@ -13,25 +13,31 @@ // 查询MmItemType列表 export const getMmItemTypePage = (params: MmItemTypePageReqVO) => { - return request.get({ url: '/pre/item-type/page', params }) + return request.get({ url: '/model/pre/item-type/page', params }) } // 查询MmItemType详情 export const getMmItemType = (id: number) => { - return request.get({ url: `/pre/item-type/get/${id}`}) + return request.get({ url: `/model/pre/item-type/get/${id}`}) } // 新增MmItemType export const createMmItemType = (data: MmItemTypeVO) => { - return request.post({ url: '/pre/item-type/create', data }) + return request.post({ url: '/model/pre/item-type/create', data }) } // 修改MmItemType export const updateMmItemType = (data: MmItemTypeVO) => { - return request.put({ url: '/pre/item-type/update', data }) + return request.put({ url: '/model/pre/item-type/update', data }) } // 删除MmItemType export const deleteMmItemType = (id: number) => { - return request.delete({ url: '/pre/item-type/delete?id=' + id }) + return request.delete({ url: '/model/pre/item-type/delete?id=' + id }) +} + + +// 查询getItemTypeList详情 +export const getItemTypeList = () => { + return request.get({ url: `/model/pre/item-type/list`}) } -- Gitblit v1.9.3