去/caption
This commit is contained in:
parent
82792c99b5
commit
5636d9f770
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增数据类型
|
||||
export function addKyFilesMultiClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/multi/addKyFilesMultiClassify',
|
||||
url: '/files/multi/addKyFilesMultiClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addKyFilesMultiClassifyAPI(data) {
|
|||
// 修改数据类型
|
||||
export function updateKyFilesMultiClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/multi/updateKyFilesMultiClassify',
|
||||
url: '/files/multi/updateKyFilesMultiClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function updateKyFilesMultiClassifyAPI(data) {
|
|||
// 删除数据类型
|
||||
export function delKyFilesMultiClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/multi/delKyFilesMultiClassify',
|
||||
url: '/files/multi/delKyFilesMultiClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function delKyFilesMultiClassifyAPI(data) {
|
|||
// 查询数据类型列表
|
||||
export function getKyFilesMultiClassifyListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/multi/getKyFilesMultiClassifyList',
|
||||
url: '/files/multi/getKyFilesMultiClassifyList',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增自定义分类
|
||||
export function addKyFilesCustomizeClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/customize/addKyFilesCustomizeClassify',
|
||||
url: '/files/customize/addKyFilesCustomizeClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addKyFilesCustomizeClassifyAPI(data) {
|
|||
// 修改自定义分类
|
||||
export function updateKyFilesCustomizeClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/customize/updateKyFilesCustomizeClassify',
|
||||
url: '/files/customize/updateKyFilesCustomizeClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function updateKyFilesCustomizeClassifyAPI(data) {
|
|||
// 删除自定义分类
|
||||
export function delKyFilesCustomizeClassifyAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/customize/delKyFilesCustomizeClassify',
|
||||
url: '/files/customize/delKyFilesCustomizeClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function delKyFilesCustomizeClassifyAPI(data) {
|
|||
// 查询自定义分类列表
|
||||
export function getKyFilesCustomizeClassifyListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/files/customize/getKyFilesCustomizeClassifyList',
|
||||
url: '/files/customize/getKyFilesCustomizeClassifyList',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增文件分类命名规范识别
|
||||
export function addClassifyNameStandardAPI(data) {
|
||||
return request({
|
||||
url: '/caption/classifyNameStandard/add',
|
||||
url: '/classifyNameStandard/add',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addClassifyNameStandardAPI(data) {
|
|||
// 修改文件分类命名规范识别
|
||||
export function editClassifyNameStandardAPI(data) {
|
||||
return request({
|
||||
url: '/caption/classifyNameStandard/edit',
|
||||
url: '/classifyNameStandard/edit',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function editClassifyNameStandardAPI(data) {
|
|||
// 删除文件分类命名规范识别
|
||||
export function delClassifyNameStandardAPI(data) {
|
||||
return request({
|
||||
url: '/caption/classifyNameStandard/del',
|
||||
url: '/classifyNameStandard/del',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function delClassifyNameStandardAPI(data) {
|
|||
// 查询文件分类命名规范识别列表
|
||||
export function getClassifyNameStandardListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/classifyNameStandard/list',
|
||||
url: '/classifyNameStandard/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增文件分类标记
|
||||
export function addArchivalCatalogueAPI(data) {
|
||||
return request({
|
||||
url: '/caption/filesClassifyMark/addArchivalCatalogue',
|
||||
url: '/filesClassifyMark/addArchivalCatalogue',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addArchivalCatalogueAPI(data) {
|
|||
// 修改文件分类标记
|
||||
export function editArchivalCatalogueAPI(data) {
|
||||
return request({
|
||||
url: '/caption/filesClassifyMark/editArchivalCatalogue',
|
||||
url: '/filesClassifyMark/editArchivalCatalogue',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function editArchivalCatalogueAPI(data) {
|
|||
// 删除文件分类标记
|
||||
export function delArchivalCatalogueAPI(data) {
|
||||
return request({
|
||||
url: '/caption/filesClassifyMark/delArchivalCatalogue',
|
||||
url: '/filesClassifyMark/delArchivalCatalogue',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function delArchivalCatalogueAPI(data) {
|
|||
// 查询文件分类标记列表
|
||||
export function getFilesClassifyMarkListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/filesClassifyMark/list',
|
||||
url: '/filesClassifyMark/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import request from '@/utils/request'
|
|||
// 查询项目数据列表
|
||||
export function getProListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getProjectList',
|
||||
url: '/fileManage/getProjectList',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
@ -14,7 +14,7 @@ export function getProListAPI(data) {
|
|||
// 获取档案目录树
|
||||
export function getFileManageTreeApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileManageTree',
|
||||
url: '/fileManage/getFileManageTree',
|
||||
method: 'get',
|
||||
params:params,
|
||||
})
|
||||
|
|
@ -23,7 +23,7 @@ export function getFileManageTreeApi(params) {
|
|||
// 获取档案目录树(新增/编辑)
|
||||
export function getFileManageTreeByAddOrUpdateApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileManageTreeByAddOrUpdate',
|
||||
url: '/fileManage/getFileManageTreeByAddOrUpdate',
|
||||
method: 'get',
|
||||
params:params,
|
||||
})
|
||||
|
|
@ -32,7 +32,7 @@ export function getFileManageTreeByAddOrUpdateApi(params) {
|
|||
// 新增档案目录
|
||||
export function addFileManageLeftApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/addFileManageLeft',
|
||||
url: '/fileManage/addFileManageLeft',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -41,7 +41,7 @@ export function addFileManageLeftApi(data) {
|
|||
// 新增档案表格数据
|
||||
export function addFileManageRightApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/addFileManageRight',
|
||||
url: '/fileManage/addFileManageRight',
|
||||
method: 'post',
|
||||
data:data,
|
||||
headers: {
|
||||
|
|
@ -53,7 +53,7 @@ export function addFileManageRightApi(data) {
|
|||
// 修改档案目录
|
||||
export function updateFileManageLeftApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/updateFileManageLeft',
|
||||
url: '/fileManage/updateFileManageLeft',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -62,7 +62,7 @@ export function updateFileManageLeftApi(data) {
|
|||
// 修改档案目录
|
||||
export function updateFileManageRightApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/updateFileManageRight',
|
||||
url: '/fileManage/updateFileManageRight',
|
||||
method: 'post',
|
||||
data:data,
|
||||
headers: {
|
||||
|
|
@ -74,7 +74,7 @@ export function updateFileManageRightApi(data) {
|
|||
// 删除档案目录
|
||||
export function delFileManageApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/delFileManage',
|
||||
url: '/fileManage/delFileManage',
|
||||
method: 'post',
|
||||
data:data,
|
||||
})
|
||||
|
|
@ -83,7 +83,7 @@ export function delFileManageApi(data) {
|
|||
// 编辑-详情
|
||||
export function getArchivalCatalogueByIdApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getArchivalCatalogueById',
|
||||
url: '/fileManage/getArchivalCatalogueById',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
|
|
@ -92,7 +92,7 @@ export function getArchivalCatalogueByIdApi(params) {
|
|||
// 列表
|
||||
export function getFileManageApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileManage',
|
||||
url: '/fileManage/getFileManage',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
|
|
@ -101,7 +101,7 @@ export function getFileManageApi(params) {
|
|||
// 查询序号
|
||||
export function geMaxSortApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getMaxSort',
|
||||
url: '/fileManage/getMaxSort',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
|
|
@ -110,7 +110,7 @@ export function geMaxSortApi(params) {
|
|||
// 查询详情
|
||||
export function getFileManageByIdApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileManageById',
|
||||
url: '/fileManage/getFileManageById',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
|
|
@ -119,7 +119,7 @@ export function getFileManageByIdApi(params) {
|
|||
// 档案移交确认
|
||||
export function updateIntegrityStatusApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/updateIntegrityStatus',
|
||||
url: '/fileManage/updateIntegrityStatus',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
|
@ -128,7 +128,7 @@ export function updateIntegrityStatusApi(data) {
|
|||
// 档案抽取
|
||||
export function fileExtractApi(data) {
|
||||
return request({
|
||||
url: '/caption/fileManage/fileExtract',
|
||||
url: '/fileManage/fileExtract',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
|
@ -137,7 +137,7 @@ export function fileExtractApi(data) {
|
|||
// 文件预览
|
||||
export function getFileAsBase64Api(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileAsBase64',
|
||||
url: '/fileManage/getFileAsBase64',
|
||||
method: 'get',
|
||||
params:params
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 获取档案目录树
|
||||
export function getArchivalCatalogueTreeApi(params) {
|
||||
return request({
|
||||
url: '/caption/archive/getArchivalCatalogueTree',
|
||||
url: '/archive/getArchivalCatalogueTree',
|
||||
method: 'get',
|
||||
params:params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getArchivalCatalogueTreeApi(params) {
|
|||
// 新增档案目录
|
||||
export function addArchiveLeftApi(data) {
|
||||
return request({
|
||||
url: '/caption/archive/addLeft',
|
||||
url: '/archive/addLeft',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function addArchiveLeftApi(data) {
|
|||
// 新增档案表格数据
|
||||
export function addArchiveRightApi(data) {
|
||||
return request({
|
||||
url: '/caption/archive/addRight',
|
||||
url: '/archive/addRight',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function addArchiveRightApi(data) {
|
|||
// 修改档案目录
|
||||
export function editArchiveLeftApi(data) {
|
||||
return request({
|
||||
url: '/caption/archive/editLeft',
|
||||
url: '/archive/editLeft',
|
||||
method: 'post',
|
||||
data:data,
|
||||
})
|
||||
|
|
@ -39,7 +39,7 @@ export function editArchiveLeftApi(data) {
|
|||
// 修改档案目录
|
||||
export function editArchiveRightApi(data) {
|
||||
return request({
|
||||
url: '/caption/archive/editRight',
|
||||
url: '/archive/editRight',
|
||||
method: 'post',
|
||||
data:data,
|
||||
})
|
||||
|
|
@ -48,7 +48,7 @@ export function editArchiveRightApi(data) {
|
|||
// 删除档案目录
|
||||
export function delArchiveApi(data) {
|
||||
return request({
|
||||
url: '/caption/archive/del',
|
||||
url: '/archive/del',
|
||||
method: 'post',
|
||||
data:data,
|
||||
})
|
||||
|
|
@ -57,7 +57,7 @@ export function delArchiveApi(data) {
|
|||
// 编辑-详情
|
||||
export function getArchivalCatalogueByIdApi(params) {
|
||||
return request({
|
||||
url: '/caption/archive/getArchivalCatalogueById',
|
||||
url: '/archive/getArchivalCatalogueById',
|
||||
method: 'get',
|
||||
params:params
|
||||
})
|
||||
|
|
@ -66,7 +66,7 @@ export function getArchivalCatalogueByIdApi(params) {
|
|||
// 列表
|
||||
export function getArchivalCatalogueListApi(params) {
|
||||
return request({
|
||||
url: '/caption/archive/getArchivalCatalogue',
|
||||
url: '/archive/getArchivalCatalogue',
|
||||
method: 'get',
|
||||
params:params
|
||||
})
|
||||
|
|
@ -75,7 +75,7 @@ export function getArchivalCatalogueListApi(params) {
|
|||
// 查询序号
|
||||
export function geMaxSortApi(params) {
|
||||
return request({
|
||||
url: '/caption/archive/geMaxSort',
|
||||
url: '/archive/geMaxSort',
|
||||
method: 'get',
|
||||
params:params
|
||||
})
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import request from '@/utils/request'
|
|||
// 查询项目数据列表
|
||||
export function getProListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/project/getProjectList',
|
||||
url: '/project/getProjectList',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
@ -13,7 +13,7 @@ export function getProListAPI(data) {
|
|||
// 配置档案类型
|
||||
export function updateContentsNameAPI(data) {
|
||||
return request({
|
||||
url: '/caption/project/updateContentsName',
|
||||
url: '/project/updateContentsName',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -22,7 +22,7 @@ export function updateContentsNameAPI(data) {
|
|||
// 档案类型下拉选
|
||||
export function getFileCatalogSelectAPI(data) {
|
||||
return request({
|
||||
url: '/caption/project/getFileCatalogSelect',
|
||||
url: '/project/getFileCatalogSelect',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增数据类型
|
||||
export function addDataClassAPI(data) {
|
||||
return request({
|
||||
url: '/caption/data/classify/addKyDataClassify',
|
||||
url: '/data/classify/addKyDataClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addDataClassAPI(data) {
|
|||
// 修改数据类型
|
||||
export function updateDataClassAPI(data) {
|
||||
return request({
|
||||
url: '/caption/data/classify/updateKyDataClassify',
|
||||
url: '/data/classify/updateKyDataClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function updateDataClassAPI(data) {
|
|||
// 删除数据类型
|
||||
export function deleteDataClassAPI(data) {
|
||||
return request({
|
||||
url: '/caption/data/classify/delKyDataClassify',
|
||||
url: '/data/classify/delKyDataClassify',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function deleteDataClassAPI(data) {
|
|||
// 查询数据类型列表
|
||||
export function getListDataClassAPI(data) {
|
||||
return request({
|
||||
url: '/caption/data/classify/list',
|
||||
url: '/data/classify/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 获取左侧树列表接口
|
||||
export function getLeftTreeListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/data/classify/listAll',
|
||||
url: '/data/classify/listAll',
|
||||
method: 'GET',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getLeftTreeListAPI(data) {
|
|||
// 获取数据列表接口
|
||||
export function getListDataSetAPI(query) {
|
||||
return request({
|
||||
url: '/caption/data/Collect/list',
|
||||
url: '/data/Collect/list',
|
||||
method: 'GET',
|
||||
params: query,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 获取左侧树列表接口
|
||||
export function getLeftTreeListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/file/share/listAll',
|
||||
url: '/file/share/listAll',
|
||||
method: 'GET',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getLeftTreeListAPI(data) {
|
|||
// 获取数据列表接口
|
||||
export function getListDataSetAPI(query) {
|
||||
return request({
|
||||
url: '/caption/file/share/list',
|
||||
url: '/file/share/list',
|
||||
method: 'GET',
|
||||
params: query,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 移交接收管理列表
|
||||
export function getTransferReceiceListApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferReceice/getTransferReceiceList',
|
||||
url: '/transferReceice/getTransferReceiceList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -13,7 +13,7 @@ export function getTransferReceiceListApi(params) {
|
|||
// 详情
|
||||
export function getTransferReceiceDetailApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferReceice/getTransferReceiceDetail',
|
||||
url: '/transferReceice/getTransferReceiceDetail',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -22,7 +22,7 @@ export function getTransferReceiceDetailApi(params) {
|
|||
// 详情列表
|
||||
export function getTransferReceiceFilesApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferReceice/getTransferReceiceFiles',
|
||||
url: '/transferReceice/getTransferReceiceFiles',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -31,7 +31,7 @@ export function getTransferReceiceFilesApi(params) {
|
|||
// 确认接收
|
||||
export function transferReceiveApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferReceice/transferReceive',
|
||||
url: '/transferReceice/transferReceive',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 档案移交申请列表
|
||||
export function getTransferApplyListApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferApplyList',
|
||||
url: '/transferApply/getTransferApplyList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getTransferApplyListApi(params) {
|
|||
// 新增档案移交申请
|
||||
export function saveTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferApply/saveTransferApply',
|
||||
url: '/transferApply/saveTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function saveTransferApplyApi(data) {
|
|||
// 编辑档案移交申请
|
||||
export function editTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferApply/editTransferApply',
|
||||
url: '/transferApply/editTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function editTransferApplyApi(data) {
|
|||
// 档案移交申请详情
|
||||
export function getTransferApplyApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferApply',
|
||||
url: '/transferApply/getTransferApply',
|
||||
method: 'GET',
|
||||
params: params
|
||||
})
|
||||
|
|
@ -39,7 +39,7 @@ export function getTransferApplyApi(params) {
|
|||
// 档案移交申请-列表详情
|
||||
export function getTransferApplyFilesByApplyIdApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferApplyFilesByApplyId',
|
||||
url: '/transferApply/getTransferApplyFilesByApplyId',
|
||||
method: 'GET',
|
||||
params: params
|
||||
})
|
||||
|
|
@ -48,7 +48,7 @@ export function getTransferApplyFilesByApplyIdApi(params) {
|
|||
// 删除档案移交申请
|
||||
export function delTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferApply/delTransferApply',
|
||||
url: '/transferApply/delTransferApply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
|
|
@ -57,7 +57,7 @@ export function delTransferApplyApi(data) {
|
|||
// 已移交确认工程下拉选
|
||||
export async function getProSelectApi(data) {
|
||||
return await request({
|
||||
url: '/caption/transferApply/getProSelect',
|
||||
url: '/transferApply/getProSelect',
|
||||
method: 'GET',
|
||||
data
|
||||
})
|
||||
|
|
@ -66,7 +66,7 @@ export async function getProSelectApi(data) {
|
|||
// 获取档案目录树
|
||||
export function getFileManageTreeApi(params) {
|
||||
return request({
|
||||
url: '/caption/fileManage/getFileManageTree',
|
||||
url: '/fileManage/getFileManageTree',
|
||||
method: 'get',
|
||||
params:params,
|
||||
})
|
||||
|
|
@ -75,7 +75,7 @@ export function getFileManageTreeApi(params) {
|
|||
// 获取移交档案文件
|
||||
export function getTransferApplyFilesApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferApplyFiles',
|
||||
url: '/transferApply/getTransferApplyFiles',
|
||||
method: 'get',
|
||||
params:params,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 档案移交审核列表
|
||||
export function getTransferAuditListApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferAuditList',
|
||||
url: '/transferApply/getTransferAuditList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getTransferAuditListApi(params) {
|
|||
// 审核
|
||||
export function auditTransferApplyApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferApply/auditTransferApply',
|
||||
url: '/transferApply/auditTransferApply',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function auditTransferApplyApi(data) {
|
|||
// 档案移交审核详情
|
||||
export function getTransferAuditApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferAudit',
|
||||
url: '/transferApply/getTransferAudit',
|
||||
method: 'GET',
|
||||
params: params
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function getTransferAuditApi(params) {
|
|||
// 档案移交审核-列表详情
|
||||
export function getTransferAudieFilesByApplyIdApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferApply/getTransferAudieFilesByApplyId',
|
||||
url: '/transferApply/getTransferAudieFilesByApplyId',
|
||||
method: 'GET',
|
||||
params: params
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增加密类型列表
|
||||
export function addEncryTypeAPI(data) {
|
||||
return request({
|
||||
url: '/caption/system/encry/type/addEncryType',
|
||||
url: '/system/encry/type/addEncryType',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addEncryTypeAPI(data) {
|
|||
// 修改加密类型列表
|
||||
export function updateEncryTypeAPI(data) {
|
||||
return request({
|
||||
url: '/caption/system/encry/type/editEncryType',
|
||||
url: '/system/encry/type/editEncryType',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function updateEncryTypeAPI(data) {
|
|||
// 删除加密类型列表
|
||||
export function deleteEncryTypeAPI(data) {
|
||||
return request({
|
||||
url: '/caption/system/encry/type/delEncryType',
|
||||
url: '/system/encry/type/delEncryType',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function deleteEncryTypeAPI(data) {
|
|||
// 档案加密类型列表
|
||||
export function getEncryTypeListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/system/encry/type/list',
|
||||
url: '/system/encry/type/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 移交问题管理列表
|
||||
export function getTransferProblemListApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferProblem/getTransferProblemList',
|
||||
url: '/transferProblem/getTransferProblemList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getTransferProblemListApi(params) {
|
|||
// 新增移交问题
|
||||
export function addTransferProblemApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferProblem/addTransferProblem',
|
||||
url: '/transferProblem/addTransferProblem',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function addTransferProblemApi(data) {
|
|||
// 修改移交问题
|
||||
export function editTransferProblemApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferProblem/editTransferProblem',
|
||||
url: '/transferProblem/editTransferProblem',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function editTransferProblemApi(data) {
|
|||
// 删除移交问题
|
||||
export function delTransferProblemApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferProblem/delTransferProblem',
|
||||
url: '/transferProblem/delTransferProblem',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -39,7 +39,7 @@ export function delTransferProblemApi(data) {
|
|||
// 已移交确认工程下拉选
|
||||
export async function getProSelectApi(data) {
|
||||
return await request({
|
||||
url: '/caption/transferApply/getProSelect',
|
||||
url: '/transferApply/getProSelect',
|
||||
method: 'GET',
|
||||
data
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 档案移交申请列表
|
||||
export function getTransferRecordListApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferRecord/getTransferRecordList',
|
||||
url: '/transferRecord/getTransferRecordList',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getTransferRecordListApi(params) {
|
|||
// 移交清单
|
||||
export function getTransferRecordFilesApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferRecord/getTransferRecordFiles',
|
||||
url: '/transferRecord/getTransferRecordFiles',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function getTransferRecordFilesApi(params) {
|
|||
// 维护
|
||||
export function updateTransferRecordFileApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferRecord/updateTransferRecordFile',
|
||||
url: '/transferRecord/updateTransferRecordFile',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function updateTransferRecordFileApi(data) {
|
|||
// 移交
|
||||
export function updateTransferRecordFilesStatusApi(data) {
|
||||
return request({
|
||||
url: '/caption/transferRecord/updateTransferRecordFilesStatus',
|
||||
url: '/transferRecord/updateTransferRecordFilesStatus',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -39,7 +39,7 @@ export function updateTransferRecordFilesStatusApi(data) {
|
|||
// 详情
|
||||
export function getTransferRecordDetailApi(params) {
|
||||
return request({
|
||||
url: '/caption/transferRecord/getTransferRecordDetail',
|
||||
url: '/transferRecord/getTransferRecordDetail',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 归档配置查询
|
||||
export function queryAPI(params) {
|
||||
return request({
|
||||
url: '/caption/archivedSetting/query',
|
||||
url: '/archivedSetting/query',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function queryAPI(params) {
|
|||
// 修改归档配置
|
||||
export function editAPI(data) {
|
||||
return request({
|
||||
url: '/caption/archivedSetting/edit',
|
||||
url: '/archivedSetting/edit',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询标签列表
|
||||
export function getSelectedAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getSelected',
|
||||
url: '/image/caption/getSelected',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getSelectedAPI(data) {
|
|||
// 查询左侧历史记录
|
||||
export function getImageListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getImageList',
|
||||
url: '/image/caption/getImageList',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function getImageListAPI(data) {
|
|||
//查询右侧的历史记录详情
|
||||
export function getImageListDetailsAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getImageListDetails',
|
||||
url: '/image/caption/getImageListDetails',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function getImageListDetailsAPI(data) {
|
|||
//新增标注
|
||||
export function addImageInfoAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/addImageInfo',
|
||||
url: '/image/caption/addImageInfo',
|
||||
method: 'POST',
|
||||
data,
|
||||
headers: {
|
||||
|
|
@ -42,7 +42,7 @@ export function addImageInfoAPI(data) {
|
|||
//修改图片
|
||||
export function updateImageSureAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/updateImageSure',
|
||||
url: '/image/caption/updateImageSure',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询标签列表
|
||||
export function getSelectedAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getSelected',
|
||||
url: '/image/caption/getSelected',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function getSelectedAPI(data) {
|
|||
// 查询左侧历史记录
|
||||
export function getImageListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getImageList',
|
||||
url: '/image/caption/getImageList',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function getImageListAPI(data) {
|
|||
//查询右侧的历史记录详情
|
||||
export function getImageListDetailsAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getImageListDetails',
|
||||
url: '/image/caption/getImageListDetails',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function getImageListDetailsAPI(data) {
|
|||
//新增标注
|
||||
export function addImageEvaluateAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/addImageEvaluate',
|
||||
url: '/image/caption/addImageEvaluate',
|
||||
method: 'POST',
|
||||
data,
|
||||
headers: {
|
||||
|
|
@ -42,7 +42,7 @@ export function addImageEvaluateAPI(data) {
|
|||
//修改图片
|
||||
export function updateImageSureAPI(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/updateImageSure',
|
||||
url: '/image/caption/updateImageSure',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询参数列表
|
||||
export function getAllImagelist(query) {
|
||||
return request({
|
||||
url: '/caption/image/caption/list',
|
||||
url: '/image/caption/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -11,7 +11,7 @@ export function getAllImagelist(query) {
|
|||
|
||||
export function deleteFile(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/deleteFile',
|
||||
url: '/image/caption/deleteFile',
|
||||
method: 'POST',
|
||||
params:data,
|
||||
})
|
||||
|
|
@ -19,7 +19,7 @@ export function deleteFile(data) {
|
|||
|
||||
export function exportImages(data) {
|
||||
return request({
|
||||
url: '/caption/image/caption/getPackageDownload',
|
||||
url: '/image/caption/getPackageDownload',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export function login(username, password, code, uuid) {
|
|||
uuid
|
||||
}
|
||||
return request({
|
||||
url: '/caption/login',
|
||||
url: '/login',
|
||||
headers: {
|
||||
isToken: false,
|
||||
repeatSubmit: false,
|
||||
|
|
@ -23,7 +23,7 @@ export function login(username, password, code, uuid) {
|
|||
// 注册方法
|
||||
export function register(data) {
|
||||
return request({
|
||||
url: '/caption/register',
|
||||
url: '/register',
|
||||
headers: {
|
||||
isToken: false,
|
||||
skipReplayProtection: true
|
||||
|
|
@ -36,7 +36,7 @@ export function register(data) {
|
|||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: '/caption/getInfo',
|
||||
url: '/getInfo',
|
||||
headers: {
|
||||
skipReplayProtection: true
|
||||
},
|
||||
|
|
@ -47,7 +47,7 @@ export function getInfo() {
|
|||
// 退出方法
|
||||
export function logout() {
|
||||
return request({
|
||||
url: '/caption/logout',
|
||||
url: '/logout',
|
||||
headers: {
|
||||
skipReplayProtection: true
|
||||
},
|
||||
|
|
@ -58,7 +58,7 @@ export function logout() {
|
|||
// 获取验证码
|
||||
export function getCodeImg() {
|
||||
return request({
|
||||
url: '/caption/captchaImage',
|
||||
url: '/captchaImage',
|
||||
headers: {
|
||||
isToken: false,
|
||||
skipReplayProtection: true
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 获取路由
|
||||
export const getRouters = () => {
|
||||
return request({
|
||||
url: '/caption/getRouters',
|
||||
url: '/getRouters',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询缓存详细
|
||||
export function getCache() {
|
||||
return request({
|
||||
url: '/caption/monitor/cache',
|
||||
url: '/monitor/cache',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@ export function getCache() {
|
|||
// 查询缓存名称列表
|
||||
export function listCacheName() {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/getNames',
|
||||
url: '/monitor/cache/getNames',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ export function listCacheName() {
|
|||
// 查询缓存键名列表
|
||||
export function listCacheKey(cacheName) {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/getKeys/' + cacheName,
|
||||
url: '/monitor/cache/getKeys/' + cacheName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -27,7 +27,7 @@ export function listCacheKey(cacheName) {
|
|||
// 查询缓存内容
|
||||
export function getCacheValue(cacheName, cacheKey) {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/getValue/' + cacheName + '/' + cacheKey,
|
||||
url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@ export function getCacheValue(cacheName, cacheKey) {
|
|||
// 清理指定名称缓存
|
||||
export function clearCacheName(cacheName) {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/clearCacheName/' + cacheName,
|
||||
url: '/monitor/cache/clearCacheName/' + cacheName,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -43,7 +43,7 @@ export function clearCacheName(cacheName) {
|
|||
// 清理指定键名缓存
|
||||
export function clearCacheKey(cacheKey) {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/clearCacheKey/' + cacheKey,
|
||||
url: '/monitor/cache/clearCacheKey/' + cacheKey,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -51,7 +51,7 @@ export function clearCacheKey(cacheKey) {
|
|||
// 清理全部缓存
|
||||
export function clearCacheAll() {
|
||||
return request({
|
||||
url: '/caption/monitor/cache/clearCacheAll',
|
||||
url: '/monitor/cache/clearCacheAll',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询定时任务调度列表
|
||||
export function listJob(query) {
|
||||
return request({
|
||||
url: '/caption/monitor/job/list',
|
||||
url: '/monitor/job/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listJob(query) {
|
|||
// 查询定时任务调度详细
|
||||
export function getJob(jobId) {
|
||||
return request({
|
||||
url: '/caption/monitor/job/' + jobId,
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getJob(jobId) {
|
|||
// 新增定时任务调度
|
||||
export function addJob(data) {
|
||||
return request({
|
||||
url: '/caption/monitor/job',
|
||||
url: '/monitor/job',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,7 +29,7 @@ export function addJob(data) {
|
|||
// 修改定时任务调度
|
||||
export function updateJob(data) {
|
||||
return request({
|
||||
url: '/caption/monitor/job',
|
||||
url: '/monitor/job',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updateJob(data) {
|
|||
// 删除定时任务调度
|
||||
export function delJob(jobId) {
|
||||
return request({
|
||||
url: '/caption/monitor/job/' + jobId,
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -50,7 +50,7 @@ export function changeJobStatus(jobId, status) {
|
|||
status
|
||||
}
|
||||
return request({
|
||||
url: '/caption/monitor/job/changeStatus',
|
||||
url: '/monitor/job/changeStatus',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -64,7 +64,7 @@ export function runJob(jobId, jobGroup) {
|
|||
jobGroup
|
||||
}
|
||||
return request({
|
||||
url: '/caption/monitor/job/run',
|
||||
url: '/monitor/job/run',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询调度日志列表
|
||||
export function listJobLog(query) {
|
||||
return request({
|
||||
url: '/caption/monitor/jobLog/list',
|
||||
url: '/monitor/jobLog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listJobLog(query) {
|
|||
// 删除调度日志
|
||||
export function delJobLog(jobLogId) {
|
||||
return request({
|
||||
url: '/caption/monitor/jobLog/' + jobLogId,
|
||||
url: '/monitor/jobLog/' + jobLogId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function delJobLog(jobLogId) {
|
|||
// 清空调度日志
|
||||
export function cleanJobLog() {
|
||||
return request({
|
||||
url: '/caption/monitor/jobLog/clean',
|
||||
url: '/monitor/jobLog/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询登录日志列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/caption/monitor/logininfor/list',
|
||||
url: '/monitor/logininfor/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function list(query) {
|
|||
// 删除登录日志
|
||||
export function delLogininfor(infoId) {
|
||||
return request({
|
||||
url: '/caption/monitor/logininfor/' + infoId,
|
||||
url: '/monitor/logininfor/' + infoId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function delLogininfor(infoId) {
|
|||
// 解锁用户登录状态
|
||||
export function unlockLogininfor(userName) {
|
||||
return request({
|
||||
url: '/caption/monitor/logininfor/unlock/' + userName,
|
||||
url: '/monitor/logininfor/unlock/' + userName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function unlockLogininfor(userName) {
|
|||
// 清空登录日志
|
||||
export function cleanLogininfor() {
|
||||
return request({
|
||||
url: '/caption/monitor/logininfor/clean',
|
||||
url: '/monitor/logininfor/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询在线用户列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/caption/monitor/online/list',
|
||||
url: '/monitor/online/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function list(query) {
|
|||
// 强退用户
|
||||
export function forceLogout(tokenId) {
|
||||
return request({
|
||||
url: '/caption/monitor/online/' + tokenId,
|
||||
url: '/monitor/online/' + tokenId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询操作日志列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/caption/monitor/operlog/list',
|
||||
url: '/monitor/operlog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function list(query) {
|
|||
// 删除操作日志
|
||||
export function delOperlog(operId) {
|
||||
return request({
|
||||
url: '/caption/monitor/operlog/' + operId,
|
||||
url: '/monitor/operlog/' + operId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function delOperlog(operId) {
|
|||
// 清空操作日志
|
||||
export function cleanOperlog() {
|
||||
return request({
|
||||
url: '/caption/monitor/operlog/clean',
|
||||
url: '/monitor/operlog/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 获取服务信息
|
||||
export function getServer() {
|
||||
return request({
|
||||
url: '/caption/monitor/server',
|
||||
url: '/monitor/server',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 文件分类标记-通用下拉选
|
||||
export async function getClassifyMarkSelApi(params) {
|
||||
return await request({
|
||||
url: '/caption/archive/getFilesClassifyMarkSelect',
|
||||
url: '/archive/getFilesClassifyMarkSelect',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export async function getClassifyMarkSelApi(params) {
|
|||
// 部门下拉树
|
||||
export async function getDeptSelectApi(params) {
|
||||
return await request({
|
||||
url: '/caption/system/dept/getDeptSelect',
|
||||
url: '/system/dept/getDeptSelect',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export async function getDeptSelectApi(params) {
|
|||
// 角色下拉选
|
||||
export async function getRoleSelectApi(params) {
|
||||
return await request({
|
||||
url: '/caption/system/role/select',
|
||||
url: '/system/role/select',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询参数列表
|
||||
export function listConfig(query) {
|
||||
return request({
|
||||
url: '/caption/system/config/list',
|
||||
url: '/system/config/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listConfig(query) {
|
|||
// 查询参数详细
|
||||
export function getConfig(configId) {
|
||||
return request({
|
||||
url: '/caption/system/config/' + configId,
|
||||
url: '/system/config/' + configId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getConfig(configId) {
|
|||
// 根据参数键名查询参数值
|
||||
export function getConfigKey(configKey) {
|
||||
return request({
|
||||
url: '/caption/system/config/configKey/' + configKey,
|
||||
url: '/system/config/configKey/' + configKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function getConfigKey(configKey) {
|
|||
// 新增参数配置
|
||||
export function addConfig(data) {
|
||||
return request({
|
||||
url: '/caption/system/config',
|
||||
url: '/system/config',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -37,7 +37,7 @@ export function addConfig(data) {
|
|||
// 修改参数配置
|
||||
export function updateConfig(data) {
|
||||
return request({
|
||||
url: '/caption/system/config',
|
||||
url: '/system/config',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -46,7 +46,7 @@ export function updateConfig(data) {
|
|||
// 删除参数配置
|
||||
export function delConfig(configId) {
|
||||
return request({
|
||||
url: '/caption/system/config/' + configId,
|
||||
url: '/system/config/' + configId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ export function delConfig(configId) {
|
|||
// 刷新参数缓存
|
||||
export function refreshCache() {
|
||||
return request({
|
||||
url: '/caption/system/config/refreshCache',
|
||||
url: '/system/config/refreshCache',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询部门列表
|
||||
export function listDept(query) {
|
||||
return request({
|
||||
url: '/caption/system/dept/list',
|
||||
url: '/system/dept/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listDept(query) {
|
|||
// 查询部门列表(排除节点)
|
||||
export function listDeptExcludeChild(deptId) {
|
||||
return request({
|
||||
url: '/caption/system/dept/list/exclude/' + deptId,
|
||||
url: '/system/dept/list/exclude/' + deptId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function listDeptExcludeChild(deptId) {
|
|||
// 查询部门详细
|
||||
export function getDept(deptId) {
|
||||
return request({
|
||||
url: '/caption/system/dept/' + deptId,
|
||||
url: '/system/dept/' + deptId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function getDept(deptId) {
|
|||
// 新增部门
|
||||
export function addDept(data) {
|
||||
return request({
|
||||
url: '/caption/system/dept',
|
||||
url: '/system/dept',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -37,7 +37,7 @@ export function addDept(data) {
|
|||
// 修改部门
|
||||
export function updateDept(data) {
|
||||
return request({
|
||||
url: '/caption/system/dept',
|
||||
url: '/system/dept',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -46,7 +46,7 @@ export function updateDept(data) {
|
|||
// 删除部门
|
||||
export function delDept(deptId) {
|
||||
return request({
|
||||
url: '/caption/system/dept/' + deptId,
|
||||
url: '/system/dept/' + deptId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询字典数据列表
|
||||
export function listData(query) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data/list',
|
||||
url: '/system/dict/data/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listData(query) {
|
|||
// 查询字典数据详细
|
||||
export function getData(dictCode) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data/' + dictCode,
|
||||
url: '/system/dict/data/' + dictCode,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getData(dictCode) {
|
|||
// 根据字典类型查询字典数据信息
|
||||
export function getDicts(dictType) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data/type/' + dictType,
|
||||
url: '/system/dict/data/type/' + dictType,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function getDicts(dictType) {
|
|||
// 新增字典数据
|
||||
export function addData(data) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data',
|
||||
url: '/system/dict/data',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -37,7 +37,7 @@ export function addData(data) {
|
|||
// 修改字典数据
|
||||
export function updateData(data) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data',
|
||||
url: '/system/dict/data',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -46,7 +46,7 @@ export function updateData(data) {
|
|||
// 删除字典数据
|
||||
export function delData(dictCode) {
|
||||
return request({
|
||||
url: '/caption/system/dict/data/' + dictCode,
|
||||
url: '/system/dict/data/' + dictCode,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询字典类型列表
|
||||
export function listType(query) {
|
||||
return request({
|
||||
url: '/caption/system/dict/type/list',
|
||||
url: '/system/dict/type/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listType(query) {
|
|||
// 查询字典类型详细
|
||||
export function getType(dictId) {
|
||||
return request({
|
||||
url: '/caption/system/dict/type/' + dictId,
|
||||
url: '/system/dict/type/' + dictId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getType(dictId) {
|
|||
// 新增字典类型
|
||||
export function addType(data) {
|
||||
return request({
|
||||
url: '/caption/system/dict/type',
|
||||
url: '/system/dict/type',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,7 +29,7 @@ export function addType(data) {
|
|||
// 修改字典类型
|
||||
export function updateType(data) {
|
||||
return request({
|
||||
url: '/caption/system/dict/type',
|
||||
url: '/system/dict/type',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updateType(data) {
|
|||
// 删除字典类型
|
||||
export function delType(dictId) {
|
||||
return request({
|
||||
url: '/caption/system/dict/type/' + dictId,
|
||||
url: '/system/dict/type/' + dictId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -46,7 +46,7 @@ export function delType(dictId) {
|
|||
// 刷新字典缓存
|
||||
export function refreshCache() {
|
||||
return request({
|
||||
url: '/caption/system/dict/type/refreshCache',
|
||||
url: '/system/dict/type/refreshCache',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ export function refreshCache() {
|
|||
// 获取字典选择框列表
|
||||
export function optionselect() {
|
||||
return request({
|
||||
url: '/caption/system/dict/type/optionselect',
|
||||
url: '/system/dict/type/optionselect',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import request from '@/utils/request'
|
|||
//查询业务日志列表
|
||||
export function getYwLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/getYwLogs',
|
||||
url: '/sys/sysLog/getYwLogs',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -11,7 +11,7 @@ export function getYwLogs(data) {
|
|||
//备份业务日志列表
|
||||
export function downloadYwLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/downloadYwLogs',
|
||||
url: '/sys/sysLog/downloadYwLogs',
|
||||
method: 'get',
|
||||
params: data,
|
||||
responseType: 'blob'
|
||||
|
|
@ -21,7 +21,7 @@ export function downloadYwLogs(data) {
|
|||
//查询系统日志列表
|
||||
export function getSysLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/getSystemLogs',
|
||||
url: '/sys/sysLog/getSystemLogs',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function getSysLogs(data) {
|
|||
//备份系统日志列表
|
||||
export function downloadSysLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/downloadSysLogs',
|
||||
url: '/sys/sysLog/downloadSysLogs',
|
||||
method: 'get',
|
||||
params: data,
|
||||
responseType: 'blob'
|
||||
|
|
@ -40,7 +40,7 @@ export function downloadSysLogs(data) {
|
|||
//查询异常日志列表
|
||||
export function getErrLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/getErrLogs',
|
||||
url: '/sys/sysLog/getErrLogs',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -49,7 +49,7 @@ export function getErrLogs(data) {
|
|||
//备份异常日志列表
|
||||
export function downloadErrLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/downloadErrLogs',
|
||||
url: '/sys/sysLog/downloadErrLogs',
|
||||
method: 'get',
|
||||
params: data,
|
||||
responseType: 'blob'
|
||||
|
|
@ -59,7 +59,7 @@ export function downloadErrLogs(data) {
|
|||
//获取日志分析数据
|
||||
export function getAnalyseData(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/getLogStatistics',
|
||||
url: '/sys/sysLog/getLogStatistics',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -69,7 +69,7 @@ export function getAnalyseData(data) {
|
|||
//获取日志容量
|
||||
export function getLogSize(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/getLogsSet',
|
||||
url: '/sys/sysLog/getLogsSet',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
|
@ -77,7 +77,7 @@ export function getLogSize(data) {
|
|||
//设置日志容量
|
||||
export function updateLogSize(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/setLogsSet',
|
||||
url: '/sys/sysLog/setLogsSet',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -86,7 +86,7 @@ export function getLogSize(data) {
|
|||
//添加异常Ip日志
|
||||
export function addLogs(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/addLogs',
|
||||
url: '/sys/sysLog/addLogs',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
|
|
@ -94,7 +94,7 @@ export function getLogSize(data) {
|
|||
|
||||
export function handleNoWarningLog(data) {
|
||||
return request({
|
||||
url: '/caption/sys/sysLog/logWarn',
|
||||
url: '/sys/sysLog/logWarn',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询菜单列表
|
||||
export function listMenu(query) {
|
||||
return request({
|
||||
url: '/caption/system/menu/list',
|
||||
url: '/system/menu/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listMenu(query) {
|
|||
// 查询菜单详细
|
||||
export function getMenu(menuId) {
|
||||
return request({
|
||||
url: '/caption/system/menu/' + menuId,
|
||||
url: '/system/menu/' + menuId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getMenu(menuId) {
|
|||
// 查询菜单下拉树结构
|
||||
export function treeselect() {
|
||||
return request({
|
||||
url: '/caption/system/menu/treeselect',
|
||||
url: '/system/menu/treeselect',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function treeselect() {
|
|||
// 根据角色ID查询菜单下拉树结构
|
||||
export function roleMenuTreeselect(roleId) {
|
||||
return request({
|
||||
url: '/caption/system/menu/roleMenuTreeselect/' + roleId,
|
||||
url: '/system/menu/roleMenuTreeselect/' + roleId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ export function roleMenuTreeselect(roleId) {
|
|||
// 新增菜单
|
||||
export function addMenu(data) {
|
||||
return request({
|
||||
url: '/caption/system/menu',
|
||||
url: '/system/menu',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -45,7 +45,7 @@ export function addMenu(data) {
|
|||
// 修改菜单
|
||||
export function updateMenu(data) {
|
||||
return request({
|
||||
url: '/caption/system/menu',
|
||||
url: '/system/menu',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -54,7 +54,7 @@ export function updateMenu(data) {
|
|||
// 删除菜单
|
||||
export function delMenu(menuId) {
|
||||
return request({
|
||||
url: '/caption/system/menu/' + menuId,
|
||||
url: '/system/menu/' + menuId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询公告列表
|
||||
export function listNotice(query) {
|
||||
return request({
|
||||
url: '/caption/system/notice/list',
|
||||
url: '/system/notice/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listNotice(query) {
|
|||
// 查询公告详细
|
||||
export function getNotice(noticeId) {
|
||||
return request({
|
||||
url: '/caption/system/notice/' + noticeId,
|
||||
url: '/system/notice/' + noticeId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getNotice(noticeId) {
|
|||
// 新增公告
|
||||
export function addNotice(data) {
|
||||
return request({
|
||||
url: '/caption/system/notice',
|
||||
url: '/system/notice',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,7 +29,7 @@ export function addNotice(data) {
|
|||
// 修改公告
|
||||
export function updateNotice(data) {
|
||||
return request({
|
||||
url: '/caption/system/notice',
|
||||
url: '/system/notice',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updateNotice(data) {
|
|||
// 删除公告
|
||||
export function delNotice(noticeId) {
|
||||
return request({
|
||||
url: '/caption/system/notice/' + noticeId,
|
||||
url: '/system/notice/' + noticeId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询岗位列表
|
||||
export function listPost(query) {
|
||||
return request({
|
||||
url: '/caption/system/post/list',
|
||||
url: '/system/post/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listPost(query) {
|
|||
// 查询岗位详细
|
||||
export function getPost(postId) {
|
||||
return request({
|
||||
url: '/caption/system/post/' + postId,
|
||||
url: '/system/post/' + postId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getPost(postId) {
|
|||
// 新增岗位
|
||||
export function addPost(data) {
|
||||
return request({
|
||||
url: '/caption/system/post',
|
||||
url: '/system/post',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,7 +29,7 @@ export function addPost(data) {
|
|||
// 修改岗位
|
||||
export function updatePost(data) {
|
||||
return request({
|
||||
url: '/caption/system/post',
|
||||
url: '/system/post',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updatePost(data) {
|
|||
// 删除岗位
|
||||
export function delPost(postId) {
|
||||
return request({
|
||||
url: '/caption/system/post/' + postId,
|
||||
url: '/system/post/' + postId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询角色列表
|
||||
export function listRole(query) {
|
||||
return request({
|
||||
url: '/caption/system/role/list',
|
||||
url: '/system/role/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function listRole(query) {
|
|||
// 查询角色详细
|
||||
export function getRole(roleId) {
|
||||
return request({
|
||||
url: '/caption/system/role/' + roleId,
|
||||
url: '/system/role/' + roleId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getRole(roleId) {
|
|||
// 新增角色
|
||||
export function addRole(data) {
|
||||
return request({
|
||||
url: '/caption/system/role',
|
||||
url: '/system/role',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,7 +29,7 @@ export function addRole(data) {
|
|||
// 修改角色
|
||||
export function updateRole(data) {
|
||||
return request({
|
||||
url: '/caption/system/role',
|
||||
url: '/system/role',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updateRole(data) {
|
|||
// 角色数据权限
|
||||
export function dataScope(data) {
|
||||
return request({
|
||||
url: '/caption/system/role/dataScope',
|
||||
url: '/system/role/dataScope',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -51,7 +51,7 @@ export function changeRoleStatus(roleId, status) {
|
|||
status
|
||||
}
|
||||
return request({
|
||||
url: '/caption/system/role/changeStatus',
|
||||
url: '/system/role/changeStatus',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -60,7 +60,7 @@ export function changeRoleStatus(roleId, status) {
|
|||
// 删除角色
|
||||
export function delRole(roleId) {
|
||||
return request({
|
||||
url: '/caption/system/role/' + roleId,
|
||||
url: '/system/role/' + roleId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -68,7 +68,7 @@ export function delRole(roleId) {
|
|||
// 查询角色已授权用户列表
|
||||
export function allocatedUserList(query) {
|
||||
return request({
|
||||
url: '/caption/system/role/authUser/allocatedList',
|
||||
url: '/system/role/authUser/allocatedList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -77,7 +77,7 @@ export function allocatedUserList(query) {
|
|||
// 查询角色未授权用户列表
|
||||
export function unallocatedUserList(query) {
|
||||
return request({
|
||||
url: '/caption/system/role/authUser/unallocatedList',
|
||||
url: '/system/role/authUser/unallocatedList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -86,7 +86,7 @@ export function unallocatedUserList(query) {
|
|||
// 取消用户授权角色
|
||||
export function authUserCancel(data) {
|
||||
return request({
|
||||
url: '/caption/system/role/authUser/cancel',
|
||||
url: '/system/role/authUser/cancel',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -95,7 +95,7 @@ export function authUserCancel(data) {
|
|||
// 批量取消用户授权角色
|
||||
export function authUserCancelAll(data) {
|
||||
return request({
|
||||
url: '/caption/system/role/authUser/cancelAll',
|
||||
url: '/system/role/authUser/cancelAll',
|
||||
method: 'put',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -104,7 +104,7 @@ export function authUserCancelAll(data) {
|
|||
// 授权用户选择
|
||||
export function authUserSelectAll(data) {
|
||||
return request({
|
||||
url: '/caption/system/role/authUser/selectAll',
|
||||
url: '/system/role/authUser/selectAll',
|
||||
method: 'put',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -113,7 +113,7 @@ export function authUserSelectAll(data) {
|
|||
// 根据角色ID查询部门树结构
|
||||
export function deptTreeSelect(roleId) {
|
||||
return request({
|
||||
url: '/caption/system/role/deptTree/' + roleId,
|
||||
url: '/system/role/deptTree/' + roleId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增参数
|
||||
export function addAPI(data) {
|
||||
return request({
|
||||
url: '/caption/sys/config/add',
|
||||
url: '/sys/config/add',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addAPI(data) {
|
|||
// 修改参数
|
||||
export function editAPI(data) {
|
||||
return request({
|
||||
url: '/caption/sys/config/update',
|
||||
url: '/sys/config/update',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function editAPI(data) {
|
|||
// 删除参数
|
||||
export function deleteAPI(data) {
|
||||
return request({
|
||||
url: '/caption/sys/config/del',
|
||||
url: '/sys/config/del',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function deleteAPI(data) {
|
|||
// 参数列表
|
||||
export function getListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/sys/config/list',
|
||||
url: '/sys/config/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function getListAPI(data) {
|
|||
|
||||
export function getNoAuthConfig(data) {
|
||||
return request({
|
||||
url: '/caption/sys/config/getConfig',
|
||||
url: '/sys/config/getConfig',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
headers: {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { parseStrEmpty } from "@/utils/bonus";
|
|||
// 查询用户列表
|
||||
export function listUser(query) {
|
||||
return request({
|
||||
url: '/caption/system/user/list',
|
||||
url: '/system/user/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -13,7 +13,7 @@ export function listUser(query) {
|
|||
// 查询用户详细
|
||||
export function getUser(userId) {
|
||||
return request({
|
||||
url: '/caption/system/user/' + parseStrEmpty(userId),
|
||||
url: '/system/user/' + parseStrEmpty(userId),
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@ export function getUser(userId) {
|
|||
// 新增用户
|
||||
export function addUser(data) {
|
||||
return request({
|
||||
url: '/caption/system/user',
|
||||
url: '/system/user',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function addUser(data) {
|
|||
// 修改用户
|
||||
export function updateUser(data) {
|
||||
return request({
|
||||
url: '/caption/system/user/editUser',
|
||||
url: '/system/user/editUser',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -39,7 +39,7 @@ export function updateUser(data) {
|
|||
// 删除用户
|
||||
export function delUser(data) {
|
||||
return request({
|
||||
url: '/caption/system/user/del',
|
||||
url: '/system/user/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
|
@ -52,7 +52,7 @@ export function resetUserPwd(userId, password) {
|
|||
password
|
||||
}
|
||||
return request({
|
||||
url: '/caption/system/user/resetPwd',
|
||||
url: '/system/user/resetPwd',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -65,7 +65,7 @@ export function changeUserStatus(userId, status) {
|
|||
status
|
||||
}
|
||||
return request({
|
||||
url: '/caption/system/user/changeStatus',
|
||||
url: '/system/user/changeStatus',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -74,7 +74,7 @@ export function changeUserStatus(userId, status) {
|
|||
// 查询用户个人信息
|
||||
export function getUserProfile() {
|
||||
return request({
|
||||
url: '/caption/system/user/profile',
|
||||
url: '/system/user/profile',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ export function getUserProfile() {
|
|||
// 修改用户个人信息
|
||||
export function updateUserProfile(data) {
|
||||
return request({
|
||||
url: '/caption/system/user/profile',
|
||||
url: '/system/user/profile',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -95,7 +95,7 @@ export function updateUserPwd(oldPassword, newPassword) {
|
|||
newPassword
|
||||
}
|
||||
return request({
|
||||
url: '/caption/system/user/profile/updatePwd',
|
||||
url: '/system/user/profile/updatePwd',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -104,7 +104,7 @@ export function updateUserPwd(oldPassword, newPassword) {
|
|||
// 用户头像上传
|
||||
export function uploadAvatar(data) {
|
||||
return request({
|
||||
url: '/caption/system/user/profile/avatar',
|
||||
url: '/system/user/profile/avatar',
|
||||
method: 'post',
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
data: data
|
||||
|
|
@ -114,7 +114,7 @@ export function uploadAvatar(data) {
|
|||
// 查询授权角色
|
||||
export function getAuthRole(userId) {
|
||||
return request({
|
||||
url: '/caption/system/user/authRole/' + userId,
|
||||
url: '/system/user/authRole/' + userId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ export function getAuthRole(userId) {
|
|||
// 保存授权角色
|
||||
export function updateAuthRole(data) {
|
||||
return request({
|
||||
url: '/caption/system/user/authRole',
|
||||
url: '/system/user/authRole',
|
||||
method: 'put',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -131,7 +131,7 @@ export function updateAuthRole(data) {
|
|||
// 查询部门下拉树结构
|
||||
export function deptTreeSelect() {
|
||||
return request({
|
||||
url: '/caption/system/user/deptTree',
|
||||
url: '/system/user/deptTree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 新增白名单
|
||||
export function addWhiteAPI(data) {
|
||||
return request({
|
||||
url: '/caption/whitelist/add',
|
||||
url: '/whitelist/add',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -12,7 +12,7 @@ export function addWhiteAPI(data) {
|
|||
// 修改白名单
|
||||
export function updateWhiteAPI(data) {
|
||||
return request({
|
||||
url: '/caption/whitelist/edit',
|
||||
url: '/whitelist/edit',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -21,7 +21,7 @@ export function updateWhiteAPI(data) {
|
|||
// 删除白名单
|
||||
export function deleteWhiteAPI(data) {
|
||||
return request({
|
||||
url: '/caption/whitelist/del',
|
||||
url: '/whitelist/del',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
})
|
||||
|
|
@ -30,7 +30,7 @@ export function deleteWhiteAPI(data) {
|
|||
// 白名单列表
|
||||
export function getWhiteListAPI(data) {
|
||||
return request({
|
||||
url: '/caption/whitelist/list',
|
||||
url: '/whitelist/list',
|
||||
method: 'GET',
|
||||
params: data,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
// 查询生成表数据
|
||||
export function listTable(query) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/list',
|
||||
url: '/tool/gen/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -11,7 +11,7 @@ export function listTable(query) {
|
|||
// 查询db数据库列表
|
||||
export function listDbTable(query) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/db/list',
|
||||
url: '/tool/gen/db/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
@ -20,7 +20,7 @@ export function listDbTable(query) {
|
|||
// 查询表详细信息
|
||||
export function getGenTable(tableId) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/' + tableId,
|
||||
url: '/tool/gen/' + tableId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ export function getGenTable(tableId) {
|
|||
// 修改代码生成信息
|
||||
export function updateGenTable(data) {
|
||||
return request({
|
||||
url: '/caption/tool/gen',
|
||||
url: '/tool/gen',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -37,7 +37,7 @@ export function updateGenTable(data) {
|
|||
// 导入表
|
||||
export function importTable(data) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/importTable',
|
||||
url: '/tool/gen/importTable',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -46,7 +46,7 @@ export function importTable(data) {
|
|||
// 创建表
|
||||
export function createTable(data) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/createTable',
|
||||
url: '/tool/gen/createTable',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
|
|
@ -55,7 +55,7 @@ export function createTable(data) {
|
|||
// 预览生成代码
|
||||
export function previewTable(tableId) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/preview/' + tableId,
|
||||
url: '/tool/gen/preview/' + tableId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -63,7 +63,7 @@ export function previewTable(tableId) {
|
|||
// 删除表数据
|
||||
export function delTable(tableId) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/' + tableId,
|
||||
url: '/tool/gen/' + tableId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
@ -71,7 +71,7 @@ export function delTable(tableId) {
|
|||
// 生成代码(自定义路径)
|
||||
export function genCode(tableName) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/genCode/' + tableName,
|
||||
url: '/tool/gen/genCode/' + tableName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ export function genCode(tableName) {
|
|||
// 同步数据库
|
||||
export function synchDb(tableName) {
|
||||
return request({
|
||||
url: '/caption/tool/gen/synchDb/' + tableName,
|
||||
url: '/tool/gen/synchDb/' + tableName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
|
|||
const name = process.env.VUE_APP_TITLE || '图像评估与自动标注系统' // 网页标题
|
||||
|
||||
// const baseUrl = 'http://localhost:8080' // 后端接口
|
||||
const baseUrl = 'http://192.168.0.50:58080' //本地
|
||||
const baseUrl = 'http://192.168.2.188:58080/caption' //本地
|
||||
// const baseUrl = 'http://192.168.0.14:6006' //测试环境
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
|
|
|
|||
Loading…
Reference in New Issue