质量管理/安全知识库
This commit is contained in:
@ -13,9 +13,9 @@ import {
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const listKnowledgeDocument = (query?: KnowledgeDocumentQuery): AxiosPromise<KnowledgeDocumentVO[]> => {
|
||||
export const listKnowledgeDocument = (query?: any): AxiosPromise<KnowledgeDocumentVO[]> => {
|
||||
return request({
|
||||
url: '/safety/knowledgeDocument/file/list',
|
||||
url: '/safety/knowledgeDocument/file/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -92,8 +92,43 @@ export const documentDataEdit = (data: KnowledgeDocumentPutFileNameQuery) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const uniFolderDownload = (data: any): AxiosPromise<KnowledgeDocumentVO> => {
|
||||
return request({});
|
||||
//查询质量知识库文件下载列表
|
||||
export const getUniFolderDownloadList = (id: string): AxiosPromise<KnowledgeDocumentVO> => {
|
||||
return request({
|
||||
url: '/safety/knowledgeDocument/file/list/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
//查询安全知识库回收站文件列表
|
||||
export const documentDataAllList = (query: any) => {
|
||||
return request({
|
||||
url: '/safety/knowledgeDocument/recycleBin/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据主键id批量恢复
|
||||
* @param data
|
||||
*/
|
||||
export const dataRecyclingStation = (ids: string) => {
|
||||
return request({
|
||||
url: '/safety/knowledgeDocument/recovery/' + ids,
|
||||
method: 'post'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据主键id批量删除
|
||||
* @param data
|
||||
*/
|
||||
export const templateRecycleBin = (ids: string) => {
|
||||
return request({
|
||||
url: '/safety/knowledgeDocument/file/recycleBin/' + ids,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
|
||||
export const getProfileDetail = (data: any): AxiosPromise<KnowledgeDocumentVO> => {
|
||||
|
Reference in New Issue
Block a user