|
@ -88,27 +88,31 @@ export const ApiTable = { |
|
|
//数据质量
|
|
|
//数据质量
|
|
|
standardDocFolders: 'standard-doc-folders', |
|
|
standardDocFolders: 'standard-doc-folders', |
|
|
standardDocs: 'standard-docs', |
|
|
standardDocs: 'standard-docs', |
|
|
postFolderFile:'postFolderFile', |
|
|
postFolderFile: 'postFolderFile', |
|
|
businessRules:'business-rules', |
|
|
businessRules: 'business-rules', |
|
|
delBusinessRules:'business-rules/{id}', |
|
|
delBusinessRules: 'business-rules/{id}', |
|
|
regularBasis:'regular-basis', |
|
|
regularBasis: 'regular-basis', |
|
|
|
|
|
|
|
|
//数据安全规范上传
|
|
|
//数据安全规范上传
|
|
|
specifications:'data-security/specifications', |
|
|
specifications: 'data-security/specifications', |
|
|
delSpecifications:'data-security/specifications/{fileIds}', |
|
|
delSpecifications: 'data-security/specifications/{fileIds}', |
|
|
//元数据检索
|
|
|
packBulk: 'packBulk', |
|
|
searchMetadata: "meta/data/search", |
|
|
|
|
|
|
|
|
//元数据检索
|
|
|
//备份恢复
|
|
|
searchMetadata: "meta/data/search", |
|
|
getBackupsList: 'meta/backups', |
|
|
|
|
|
addBackups: 'meta/backups', |
|
|
//备份恢复
|
|
|
modifyBackups: 'meta/backups/{id}', |
|
|
getBackupsList: 'meta/backups', |
|
|
restoreBackups:'backups/restore' |
|
|
addBackups: 'meta/backups', |
|
|
|
|
|
modifyBackups: 'meta/backups/{id}', |
|
|
|
|
|
restoreBackups: 'backups/restore' |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const RouteTable = { |
|
|
export const RouteTable = { |
|
|
fileUpload: '/_upload/new', |
|
|
fileUpload: '/_upload/new', |
|
|
cleanUpUploadTrash: '/_upload/cleanup', |
|
|
cleanUpUploadTrash: '/_upload/cleanup', |
|
|
|
|
|
packBulk: '/packBulk/{}', |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const resultHandler = (resolve, reject) => (err, res) => { |
|
|
const resultHandler = (resolve, reject) => (err, res) => { |
|
|