【新增】 xlsx与pptx新增对应xml关系
This commit is contained in:

committed by
陆光LG

parent
a22a77ecc1
commit
73ef4556df
42
src/api/wps/pptx/index.ts
Normal file
42
src/api/wps/pptx/index.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface PptxVO {
|
||||
id?: number
|
||||
nodeName: string
|
||||
parentId: number
|
||||
status: number
|
||||
sort: number
|
||||
toChinese: string
|
||||
nodeFunction: string
|
||||
createTime: Date
|
||||
}
|
||||
|
||||
// 查询Pptx节点(精简)列表
|
||||
export const getSimplePptxList = async (): Promise<PptxVO[]> => {
|
||||
return await request.get({ url: '/wps/pptx/simple-list' })
|
||||
}
|
||||
|
||||
// 查询Pptx节点列表
|
||||
export const getPptxPage = async (params: PageParam) => {
|
||||
return await request.get({ url: '/wps/pptx/list', params })
|
||||
}
|
||||
|
||||
// 查询Pptx节点详情
|
||||
export const getPptx = async (id: number) => {
|
||||
return await request.get({ url: '/wps/pptx/get?id=' + id })
|
||||
}
|
||||
|
||||
// 新增Pptx节点
|
||||
export const createPptx = async (data: PptxVO) => {
|
||||
return await request.post({ url: '/wps/pptx/create', data: data })
|
||||
}
|
||||
|
||||
// 修改Pptx节点
|
||||
export const updatePptx = async (params: PptxVO) => {
|
||||
return await request.put({ url: '/wps/pptx/update', data: params })
|
||||
}
|
||||
|
||||
// 删除Pptx节点
|
||||
export const deletePptx = async (id: number) => {
|
||||
return await request.delete({ url: '/wps/pptx/delete?id=' + id })
|
||||
}
|
42
src/api/wps/xlsx/index.ts
Normal file
42
src/api/wps/xlsx/index.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface XlsxVO {
|
||||
id?: number
|
||||
nodeName: string
|
||||
parentId: number
|
||||
status: number
|
||||
sort: number
|
||||
toChinese: string
|
||||
nodeFunction: string
|
||||
createTime: Date
|
||||
}
|
||||
|
||||
// 查询Xlsx节点(精简)列表
|
||||
export const getSimpleXlsxList = async (): Promise<XlsxVO[]> => {
|
||||
return await request.get({ url: '/wps/xlsx/simple-list' })
|
||||
}
|
||||
|
||||
// 查询Xlsx节点列表
|
||||
export const getXlsxPage = async (params: PageParam) => {
|
||||
return await request.get({ url: '/wps/xlsx/list', params })
|
||||
}
|
||||
|
||||
// 查询Xlsx节点详情
|
||||
export const getXlsx = async (id: number) => {
|
||||
return await request.get({ url: '/wps/xlsx/get?id=' + id })
|
||||
}
|
||||
|
||||
// 新增Xlsx节点
|
||||
export const createXlsx = async (data: XlsxVO) => {
|
||||
return await request.post({ url: '/wps/xlsx/create', data: data })
|
||||
}
|
||||
|
||||
// 修改Xlsx节点
|
||||
export const updateXlsx = async (params: XlsxVO) => {
|
||||
return await request.put({ url: '/wps/xlsx/update', data: params })
|
||||
}
|
||||
|
||||
// 删除Xlsx节点
|
||||
export const deleteXlsx = async (id: number) => {
|
||||
return await request.delete({ url: '/wps/xlsx/delete?id=' + id })
|
||||
}
|
Reference in New Issue
Block a user