新增模块API注解
This commit is contained in:
parent
bfa5e905e1
commit
fb86d5f8fd
@ -10,6 +10,7 @@ export function getAdList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getAdDetail(adId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function adAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function adUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function adDelete(adId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getAdSortList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部广告位列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getAdSortAllList(params?) {
|
export function getAdSortAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/ad/sort/list',
|
url: '/ad/sort/list',
|
||||||
@ -17,6 +23,7 @@ export function getAdSortAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getAdSortDetail(adSortId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function adSortAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function adSortUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function adSortDelete(adSortId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getArticleList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getArticleDetail(articleId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function articleAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function articleUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function articleDelete(articleId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getCategoryList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getCategoryDetail(categoryId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function categoryAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function categoryUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除部门
|
* @description: 删除部门
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getLayoutList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部推荐位列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getLayoutAllList(params?) {
|
export function getLayoutAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/layout/list',
|
url: '/layout/list',
|
||||||
@ -17,6 +23,7 @@ export function getLayoutAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getLayoutDetail(layoutId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function layoutAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function layoutUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function layoutDelete(layoutId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getLayoutList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getLayoutDetail(layoutId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function layoutAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function layoutUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function layoutDelete(layoutId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getLinkList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getLinkDetail(linkId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function linkAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function linkUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function linkDelete(linkId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getTagList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getTagDetail(tagId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function tagAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function tagUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function tagDelete(tagId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getCityList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getCityDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加行政区划
|
* @description: 添加行政区划
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function cityAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新行政区划
|
* @description: 更新行政区划
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function cityUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除行政区划
|
* @description: 删除行政区划
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function cityDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除行政区划
|
* @description: 批量删除行政区划
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getConfigList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部配置列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getConfigAllList(params?) {
|
export function getConfigAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/config/list',
|
url: '/config/list',
|
||||||
@ -17,6 +23,7 @@ export function getConfigAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getConfigDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加配置
|
* @description: 添加配置
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function configAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新配置
|
* @description: 更新配置
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function configUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除配置
|
* @description: 删除配置
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function configDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除配置
|
* @description: 批量删除配置
|
||||||
*/
|
*/
|
||||||
@ -76,6 +87,12 @@ export function getConfigItemList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部配置项列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getConfigItemAllList(params?) {
|
export function getConfigItemAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/config/item/list',
|
url: '/config/item/list',
|
||||||
@ -83,6 +100,7 @@ export function getConfigItemAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -92,6 +110,7 @@ export function getConfigItemDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加配置项
|
* @description: 添加配置项
|
||||||
*/
|
*/
|
||||||
@ -102,6 +121,7 @@ export function configItemAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新配置项
|
* @description: 更新配置项
|
||||||
*/
|
*/
|
||||||
@ -112,6 +132,7 @@ export function configItemUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除配置项
|
* @description: 删除配置项
|
||||||
*/
|
*/
|
||||||
@ -121,6 +142,7 @@ export function configItemDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除配置项
|
* @description: 批量删除配置项
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getDictList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getDictDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 刷新缓存
|
* @description: 刷新缓存
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function refreshCache() {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加字典
|
* @description: 添加字典
|
||||||
*/
|
*/
|
||||||
@ -38,6 +41,7 @@ export function dictAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新字典
|
* @description: 更新字典
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function dictUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除字典
|
* @description: 删除字典
|
||||||
*/
|
*/
|
||||||
@ -57,6 +62,7 @@ export function dictDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除字典
|
* @description: 批量删除字典
|
||||||
*/
|
*/
|
||||||
@ -78,6 +84,7 @@ export function getDictItemList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -87,6 +94,7 @@ export function getDictItemDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加字典项
|
* @description: 添加字典项
|
||||||
*/
|
*/
|
||||||
@ -97,6 +105,7 @@ export function dictItemAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新字典项
|
* @description: 更新字典项
|
||||||
*/
|
*/
|
||||||
@ -107,6 +116,7 @@ export function dictItemUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除字典项
|
* @description: 删除字典项
|
||||||
*/
|
*/
|
||||||
@ -116,6 +126,7 @@ export function dictItemDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除字典项
|
* @description: 批量删除字典项
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getMessageList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 已读消息
|
* @description: 已读消息
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function messageRead(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function getMessageDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除消息
|
* @description: 删除消息
|
||||||
*/
|
*/
|
||||||
@ -37,6 +40,7 @@ export function messageDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除消息
|
* @description: 批量删除消息
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getNoticeList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部通知列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getNoticeAllList(params?) {
|
export function getNoticeAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/notice/list',
|
url: '/notice/list',
|
||||||
@ -17,6 +23,7 @@ export function getNoticeAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getNoticeDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加公告
|
* @description: 添加公告
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function noticeAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新公告
|
* @description: 更新公告
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function noticeUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除公告
|
* @description: 删除公告
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function noticeDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除公告
|
* @description: 批量删除公告
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getParamList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部参数列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getParamAllList(params?) {
|
export function getParamAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/param/list',
|
url: '/param/list',
|
||||||
@ -17,6 +23,7 @@ export function getParamAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getParamDetail(paramId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加参数
|
* @description: 添加参数
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function paramAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新参数
|
* @description: 更新参数
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function paramUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除参数
|
* @description: 删除参数
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function paramDelete(paramId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除参数
|
* @description: 批量删除参数
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getEmailTemplateList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getEmailTemplateDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function emailTemplateAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function emailTemplateUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function emailTemplateDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getFileTemplateList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getFileTemplateDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function fileTemplateAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function fileTemplateUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function fileTemplateDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getMessageTemplateList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getMessageTemplateDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function messageTemplateAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function messageTemplateUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function messageTemplateDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getSmsTemplateList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getSmsTemplateDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function smsTemplateAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function smsTemplateUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function smsTemplateDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getEmailLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getEmailLogDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除邮件日志
|
* @description: 删除邮件日志
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function emailLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除邮件日志
|
* @description: 批量删除邮件日志
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getFileLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getFileLogDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除文件日志
|
* @description: 删除文件日志
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function fileLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除文件日志
|
* @description: 批量删除文件日志
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getSmsLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getSmsLogDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除登录日志
|
* @description: 删除登录日志
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function smsLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除登录日志
|
* @description: 批量删除登录日志
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getCacheNames(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 缓存key列表
|
* @description: 缓存key列表
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getCacheKeys(cacheName) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 缓存value列表
|
* @description: 缓存value列表
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function getCacheValue(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除缓存名称
|
* @description: 删除缓存名称
|
||||||
*/
|
*/
|
||||||
@ -38,6 +41,7 @@ export function deleteCacheName(cacheName) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除缓存key
|
* @description: 删除缓存key
|
||||||
*/
|
*/
|
||||||
@ -47,6 +51,7 @@ export function deleteCacheKey(cacheKey) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 清理全部
|
* @description: 清理全部
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getDataSourceList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getDataSourceDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加
|
* @description: 添加
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function dataSourceAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function dataSourceUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除
|
* @description: 删除
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function dataSourceDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getJobList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部调度任务列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getJobAllList(params?) {
|
export function getJobAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/job/list',
|
url: '/job/list',
|
||||||
@ -17,6 +23,7 @@ export function getJobAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getJobDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加定时任务
|
* @description: 添加定时任务
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function jobAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新定时任务
|
* @description: 更新定时任务
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function jobUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除定时任务
|
* @description: 删除定时任务
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function jobDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除定时任务
|
* @description: 批量删除定时任务
|
||||||
*/
|
*/
|
||||||
@ -65,6 +76,7 @@ export function jobBatchDelete(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 执行一次
|
* @description: 执行一次
|
||||||
*/
|
*/
|
||||||
@ -74,6 +86,7 @@ export function getJobRunOnce(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 设置状态
|
* @description: 设置状态
|
||||||
*/
|
*/
|
||||||
@ -84,6 +97,7 @@ export function setJobStatus(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 暂停任务
|
* @description: 暂停任务
|
||||||
*/
|
*/
|
||||||
@ -93,6 +107,7 @@ export function getJobPause(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 恢复任务
|
* @description: 恢复任务
|
||||||
*/
|
*/
|
||||||
@ -102,6 +117,7 @@ export function getJobResume(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 定时任务日志列表
|
* @description: 定时任务日志列表
|
||||||
*/
|
*/
|
||||||
@ -112,6 +128,7 @@ export function getJobLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -130,6 +147,7 @@ export function jobLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除定时任务日志
|
* @description: 批量删除定时任务日志
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getOnlineList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 强退
|
* @description: 强退
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function onlineOut(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除
|
* @description: 批量删除
|
||||||
*/
|
*/
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
import { http } from '@/utils/http/axios';
|
|
||||||
|
|
||||||
//获取分类
|
|
||||||
export function getClassifyList(params?) {
|
|
||||||
return http.request({
|
|
||||||
url: '/classifyList',
|
|
||||||
method: 'get',
|
|
||||||
params,
|
|
||||||
});
|
|
||||||
}
|
|
@ -7,6 +7,7 @@ export function getWebInfo(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新
|
* @description: 更新
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getDeptList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getDeptDetail(deptId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加部门
|
* @description: 添加部门
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function deptAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新部门
|
* @description: 更新部门
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function deptUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除部门
|
* @description: 删除部门
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getLevelList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部职级列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getLevelAllList(params?) {
|
export function getLevelAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/level/list',
|
url: '/level/list',
|
||||||
@ -17,6 +23,7 @@ export function getLevelAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getLevelDetail(levelId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加职级
|
* @description: 添加职级
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function levelAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新职级
|
* @description: 更新职级
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function levelUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除职级
|
* @description: 删除职级
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function levelDelete(levelId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除职级
|
* @description: 批量删除职级
|
||||||
*/
|
*/
|
||||||
@ -65,6 +76,7 @@ export function levelBatchDelete(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 导出职级
|
* @description: 导出职级
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getLoginLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getLoginLogDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除登录日志
|
* @description: 删除登录日志
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function loginLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除登录日志
|
* @description: 批量删除登录日志
|
||||||
*/
|
*/
|
||||||
|
@ -11,7 +11,7 @@ export function adminMenus() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取tree菜单列表
|
* 获取菜单列表
|
||||||
* @param params
|
* @param params
|
||||||
*/
|
*/
|
||||||
export function getMenuList(params?) {
|
export function getMenuList(params?) {
|
||||||
@ -21,6 +21,7 @@ export function getMenuList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取菜单详情
|
* 获取菜单详情
|
||||||
* @param params
|
* @param params
|
||||||
@ -31,6 +32,7 @@ export function getMenuDetail(id) {
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加菜单
|
* @description: 添加菜单
|
||||||
*/
|
*/
|
||||||
@ -41,6 +43,7 @@ export function menuAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新菜单
|
* @description: 更新菜单
|
||||||
*/
|
*/
|
||||||
@ -51,6 +54,7 @@ export function menuUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除菜单
|
* @description: 删除菜单
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getOperLogList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getOperLogDetail(id) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除操作日志
|
* @description: 删除操作日志
|
||||||
*/
|
*/
|
||||||
@ -28,6 +30,7 @@ export function operLogDelete(id) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除操作日志
|
* @description: 批量删除操作日志
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getPositionList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部岗位列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getPositionAllList(params?) {
|
export function getPositionAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/position/list',
|
url: '/position/list',
|
||||||
@ -17,6 +23,7 @@ export function getPositionAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getPositionDetail(positionId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加岗位
|
* @description: 添加岗位
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function positionAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新岗位
|
* @description: 更新岗位
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function positionUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除岗位
|
* @description: 删除岗位
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function positionDelete(positionId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除岗位
|
* @description: 批量删除岗位
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,12 @@ export function getRoleList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取全部角色列表
|
||||||
|
* @param params 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function getRoleAllList(params?) {
|
export function getRoleAllList(params?) {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: '/role/list',
|
url: '/role/list',
|
||||||
@ -17,6 +23,7 @@ export function getRoleAllList(params?) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -26,6 +33,7 @@ export function getRoleDetail(roleId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加角色
|
* @description: 添加角色
|
||||||
*/
|
*/
|
||||||
@ -36,6 +44,7 @@ export function roleAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新角色
|
* @description: 更新角色
|
||||||
*/
|
*/
|
||||||
@ -46,6 +55,7 @@ export function roleUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除角色
|
* @description: 删除角色
|
||||||
*/
|
*/
|
||||||
@ -55,6 +65,7 @@ export function roleDelete(roleId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除角色
|
* @description: 批量删除角色
|
||||||
*/
|
*/
|
||||||
@ -65,6 +76,7 @@ export function roleBatchDelete(data) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 获取角色菜单
|
* @description: 获取角色菜单
|
||||||
*/
|
*/
|
||||||
@ -74,6 +86,7 @@ export function getRoleMenuList(roleId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 保存角色菜单
|
* @description: 保存角色菜单
|
||||||
*/
|
*/
|
||||||
|
@ -10,6 +10,7 @@ export function getTenantList(params) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -19,6 +20,7 @@ export function getTenantDetail(tenantId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加租户
|
* @description: 添加租户
|
||||||
*/
|
*/
|
||||||
@ -29,6 +31,7 @@ export function tenantAdd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 更新租户
|
* @description: 更新租户
|
||||||
*/
|
*/
|
||||||
@ -39,6 +42,7 @@ export function tenantUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除租户
|
* @description: 删除租户
|
||||||
*/
|
*/
|
||||||
@ -48,6 +52,7 @@ export function tenantDelete(tenantId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除租户
|
* @description: 批量删除租户
|
||||||
*/
|
*/
|
||||||
@ -58,6 +63,7 @@ export function tenantBatchDelete(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 创建租户账号
|
* @description: 创建租户账号
|
||||||
*/
|
*/
|
||||||
|
@ -37,6 +37,12 @@ export function login(params) {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 登录2
|
||||||
|
* @param data 参数
|
||||||
|
* @returns 返回结果
|
||||||
|
*/
|
||||||
export function login2(data) {
|
export function login2(data) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append('username', data.username);
|
formData.append('username', data.username);
|
||||||
@ -79,6 +85,7 @@ export function changePassword(data) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 获取短信验证码
|
* @description: 获取短信验证码
|
||||||
*/
|
*/
|
||||||
@ -89,6 +96,7 @@ export function sendSms(data) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 用户登出
|
* @description: 用户登出
|
||||||
*/
|
*/
|
||||||
@ -110,6 +118,7 @@ export function getUserList(params) {
|
|||||||
params,
|
params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 根据ID获取详情
|
* @description: 根据ID获取详情
|
||||||
*/
|
*/
|
||||||
@ -119,6 +128,7 @@ export function getUserDetail(userId) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 添加用户
|
* @description: 添加用户
|
||||||
*/
|
*/
|
||||||
@ -139,6 +149,7 @@ export function userUpdate(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 重置密码
|
* @description: 重置密码
|
||||||
*/
|
*/
|
||||||
@ -149,6 +160,7 @@ export function resetPwd(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 删除用户
|
* @description: 删除用户
|
||||||
*/
|
*/
|
||||||
@ -158,6 +170,7 @@ export function userDelete(userId) {
|
|||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 批量删除用户
|
* @description: 批量删除用户
|
||||||
*/
|
*/
|
||||||
@ -168,6 +181,7 @@ export function userBatchDelete(data: any) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 导入用户
|
* @description: 导入用户
|
||||||
*/
|
*/
|
||||||
@ -178,6 +192,7 @@ export function userImport(data) {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 导出用户
|
* @description: 导出用户
|
||||||
*/
|
*/
|
||||||
@ -203,6 +218,7 @@ export function getTemplateByCode(code: any) {
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 获取打印地址
|
* @description: 获取打印地址
|
||||||
*/
|
*/
|
||||||
@ -212,6 +228,7 @@ export function getUserDocument(userId: any) {
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: 城市列表
|
* @description: 城市列表
|
||||||
*/
|
*/
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
import { http } from '@/utils/http/axios';
|
|
||||||
|
|
||||||
//获取table
|
|
||||||
export function getTableList(params) {
|
|
||||||
return http.request({
|
|
||||||
url: '/table/list',
|
|
||||||
method: 'get',
|
|
||||||
params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//获取table select
|
|
||||||
export function getTableSelectList(params) {
|
|
||||||
return http.request({
|
|
||||||
url: '/table/select',
|
|
||||||
method: 'get',
|
|
||||||
params,
|
|
||||||
});
|
|
||||||
}
|
|
@ -61,17 +61,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="排序" prop="sort" min-width="100" />
|
<el-table-column align="center" label="排序" prop="sort" min-width="100" />
|
||||||
<el-table-column align="center" label="更新时间" prop="updateTime" min-width="180" />
|
<el-table-column align="center" label="更新时间" prop="updateTime" min-width="180" />
|
||||||
<el-table-column align="center" label="操作" width="300" fixed="right">
|
<el-table-column align="left" label="操作" width="300" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button
|
|
||||||
v-if="row.type !== 1"
|
|
||||||
type="primary"
|
|
||||||
icon="Plus"
|
|
||||||
@click="handleAdd(row.id)"
|
|
||||||
v-perm="['sys:menu:addz']"
|
|
||||||
>
|
|
||||||
新增
|
|
||||||
</el-button>
|
|
||||||
<el-button
|
<el-button
|
||||||
type="warning"
|
type="warning"
|
||||||
@click="handleEdit(row)"
|
@click="handleEdit(row)"
|
||||||
@ -88,6 +79,15 @@
|
|||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
v-if="row.type !== 1"
|
||||||
|
type="primary"
|
||||||
|
icon="Plus"
|
||||||
|
@click="handleAdd(row.id)"
|
||||||
|
v-perm="['sys:menu:addz']"
|
||||||
|
>
|
||||||
|
新增
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
Loading…
Reference in New Issue
Block a user