diff --git a/src/api/content/ad.ts b/src/api/content/ad.ts
index e2482bf..2f24542 100644
--- a/src/api/content/ad.ts
+++ b/src/api/content/ad.ts
@@ -10,6 +10,7 @@ export function getAdList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getAdDetail(adId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function adAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function adUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function adDelete(adId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/adSort.ts b/src/api/content/adSort.ts
index 9dc8273..f21d69c 100644
--- a/src/api/content/adSort.ts
+++ b/src/api/content/adSort.ts
@@ -10,6 +10,12 @@ export function getAdSortList(params?) {
params,
});
}
+
+/**
+ * 获取全部广告位列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getAdSortAllList(params?) {
return http.request({
url: '/ad/sort/list',
@@ -17,6 +23,7 @@ export function getAdSortAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getAdSortDetail(adSortId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -36,6 +44,7 @@ export function adSortAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -46,6 +55,7 @@ export function adSortUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -55,6 +65,7 @@ export function adSortDelete(adSortId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/article.ts b/src/api/content/article.ts
index c9d8359..5ab7f3e 100644
--- a/src/api/content/article.ts
+++ b/src/api/content/article.ts
@@ -10,6 +10,7 @@ export function getArticleList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getArticleDetail(articleId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function articleAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function articleUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function articleDelete(articleId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/category.ts b/src/api/content/category.ts
index 80d5f61..42bb481 100644
--- a/src/api/content/category.ts
+++ b/src/api/content/category.ts
@@ -10,6 +10,7 @@ export function getCategoryList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getCategoryDetail(categoryId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function categoryAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function categoryUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除部门
*/
diff --git a/src/api/content/layout.ts b/src/api/content/layout.ts
index 8394371..7c41fea 100644
--- a/src/api/content/layout.ts
+++ b/src/api/content/layout.ts
@@ -10,6 +10,12 @@ export function getLayoutList(params?) {
params,
});
}
+
+/**
+ * 获取全部推荐位列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getLayoutAllList(params?) {
return http.request({
url: '/layout/list',
@@ -17,6 +23,7 @@ export function getLayoutAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getLayoutDetail(layoutId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -36,6 +44,7 @@ export function layoutAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -46,6 +55,7 @@ export function layoutUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -55,6 +65,7 @@ export function layoutDelete(layoutId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/layoutItem.ts b/src/api/content/layoutItem.ts
index 8741d04..935f796 100644
--- a/src/api/content/layoutItem.ts
+++ b/src/api/content/layoutItem.ts
@@ -10,6 +10,7 @@ export function getLayoutList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getLayoutDetail(layoutId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function layoutAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function layoutUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function layoutDelete(layoutId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/link.ts b/src/api/content/link.ts
index 8ac8796..de7c669 100644
--- a/src/api/content/link.ts
+++ b/src/api/content/link.ts
@@ -10,6 +10,7 @@ export function getLinkList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getLinkDetail(linkId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function linkAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function linkUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function linkDelete(linkId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/content/tag.ts b/src/api/content/tag.ts
index f7ac90f..60e1910 100644
--- a/src/api/content/tag.ts
+++ b/src/api/content/tag.ts
@@ -10,6 +10,7 @@ export function getTagList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getTagDetail(tagId) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function tagAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function tagUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function tagDelete(tagId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/data/city.ts b/src/api/data/city.ts
index dcdeeb9..9a6c345 100644
--- a/src/api/data/city.ts
+++ b/src/api/data/city.ts
@@ -10,6 +10,7 @@ export function getCityList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getCityDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加行政区划
*/
@@ -29,6 +31,7 @@ export function cityAdd(data: any) {
data,
});
}
+
/**
* @description: 更新行政区划
*/
@@ -39,6 +42,7 @@ export function cityUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除行政区划
*/
@@ -48,6 +52,7 @@ export function cityDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除行政区划
*/
diff --git a/src/api/data/config.ts b/src/api/data/config.ts
index 9b27198..b85e8fd 100644
--- a/src/api/data/config.ts
+++ b/src/api/data/config.ts
@@ -10,6 +10,12 @@ export function getConfigList(params?) {
params,
});
}
+
+/**
+ * 获取全部配置列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getConfigAllList(params?) {
return http.request({
url: '/config/list',
@@ -17,6 +23,7 @@ export function getConfigAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getConfigDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加配置
*/
@@ -36,6 +44,7 @@ export function configAdd(data: any) {
data,
});
}
+
/**
* @description: 更新配置
*/
@@ -46,6 +55,7 @@ export function configUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除配置
*/
@@ -55,6 +65,7 @@ export function configDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除配置
*/
@@ -76,6 +87,12 @@ export function getConfigItemList(params?) {
params,
});
}
+
+/**
+ * 获取全部配置项列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getConfigItemAllList(params?) {
return http.request({
url: '/config/item/list',
@@ -83,6 +100,7 @@ export function getConfigItemAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -92,6 +110,7 @@ export function getConfigItemDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加配置项
*/
@@ -102,6 +121,7 @@ export function configItemAdd(data: any) {
data,
});
}
+
/**
* @description: 更新配置项
*/
@@ -112,6 +132,7 @@ export function configItemUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除配置项
*/
@@ -121,6 +142,7 @@ export function configItemDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除配置项
*/
diff --git a/src/api/data/dictionary.ts b/src/api/data/dictionary.ts
index 9cd5d25..ee2ccc2 100644
--- a/src/api/data/dictionary.ts
+++ b/src/api/data/dictionary.ts
@@ -10,6 +10,7 @@ export function getDictList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getDictDetail(id) {
method: 'get',
});
}
+
/**
* @description: 刷新缓存
*/
@@ -28,6 +30,7 @@ export function refreshCache() {
method: 'get',
});
}
+
/**
* @description: 添加字典
*/
@@ -38,6 +41,7 @@ export function dictAdd(data: any) {
data,
});
}
+
/**
* @description: 更新字典
*/
@@ -48,6 +52,7 @@ export function dictUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除字典
*/
@@ -57,6 +62,7 @@ export function dictDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除字典
*/
@@ -78,6 +84,7 @@ export function getDictItemList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -87,6 +94,7 @@ export function getDictItemDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加字典项
*/
@@ -97,6 +105,7 @@ export function dictItemAdd(data: any) {
data,
});
}
+
/**
* @description: 更新字典项
*/
@@ -107,6 +116,7 @@ export function dictItemUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除字典项
*/
@@ -116,6 +126,7 @@ export function dictItemDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除字典项
*/
diff --git a/src/api/data/message.ts b/src/api/data/message.ts
index 1a4ed46..c779448 100644
--- a/src/api/data/message.ts
+++ b/src/api/data/message.ts
@@ -10,6 +10,7 @@ export function getMessageList(params?) {
params,
});
}
+
/**
* @description: 已读消息
*/
@@ -19,6 +20,7 @@ export function messageRead(id) {
method: 'get',
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -28,6 +30,7 @@ export function getMessageDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除消息
*/
@@ -37,6 +40,7 @@ export function messageDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除消息
*/
diff --git a/src/api/data/notice.ts b/src/api/data/notice.ts
index 1ed084c..13fca09 100644
--- a/src/api/data/notice.ts
+++ b/src/api/data/notice.ts
@@ -10,6 +10,12 @@ export function getNoticeList(params?) {
params,
});
}
+
+/**
+ * 获取全部通知列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getNoticeAllList(params?) {
return http.request({
url: '/notice/list',
@@ -17,6 +23,7 @@ export function getNoticeAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getNoticeDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加公告
*/
@@ -36,6 +44,7 @@ export function noticeAdd(data: any) {
data,
});
}
+
/**
* @description: 更新公告
*/
@@ -46,6 +55,7 @@ export function noticeUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除公告
*/
@@ -55,6 +65,7 @@ export function noticeDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除公告
*/
diff --git a/src/api/data/param.ts b/src/api/data/param.ts
index 0ded1b0..d04acce 100644
--- a/src/api/data/param.ts
+++ b/src/api/data/param.ts
@@ -10,6 +10,12 @@ export function getParamList(params?) {
params,
});
}
+
+/**
+ * 获取全部参数列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getParamAllList(params?) {
return http.request({
url: '/param/list',
@@ -17,6 +23,7 @@ export function getParamAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getParamDetail(paramId) {
method: 'get',
});
}
+
/**
* @description: 添加参数
*/
@@ -36,6 +44,7 @@ export function paramAdd(data: any) {
data,
});
}
+
/**
* @description: 更新参数
*/
@@ -46,6 +55,7 @@ export function paramUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除参数
*/
@@ -55,6 +65,7 @@ export function paramDelete(paramId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除参数
*/
diff --git a/src/api/file/emailTemplate.ts b/src/api/file/emailTemplate.ts
index 96d10ba..cc882f8 100644
--- a/src/api/file/emailTemplate.ts
+++ b/src/api/file/emailTemplate.ts
@@ -10,6 +10,7 @@ export function getEmailTemplateList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getEmailTemplateDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function emailTemplateAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function emailTemplateUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function emailTemplateDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/file/fileTemplate.ts b/src/api/file/fileTemplate.ts
index 805e028..841f94b 100644
--- a/src/api/file/fileTemplate.ts
+++ b/src/api/file/fileTemplate.ts
@@ -10,6 +10,7 @@ export function getFileTemplateList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getFileTemplateDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function fileTemplateAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function fileTemplateUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function fileTemplateDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/file/messageTemplate.ts b/src/api/file/messageTemplate.ts
index 440a80a..9041293 100644
--- a/src/api/file/messageTemplate.ts
+++ b/src/api/file/messageTemplate.ts
@@ -10,6 +10,7 @@ export function getMessageTemplateList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getMessageTemplateDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function messageTemplateAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function messageTemplateUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function messageTemplateDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/file/smsTemplate.ts b/src/api/file/smsTemplate.ts
index 5e8db5f..582a476 100644
--- a/src/api/file/smsTemplate.ts
+++ b/src/api/file/smsTemplate.ts
@@ -10,6 +10,7 @@ export function getSmsTemplateList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getSmsTemplateDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function smsTemplateAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function smsTemplateUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function smsTemplateDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/logger/emailLog.ts b/src/api/logger/emailLog.ts
index a4ee36a..b8a15e9 100644
--- a/src/api/logger/emailLog.ts
+++ b/src/api/logger/emailLog.ts
@@ -10,6 +10,7 @@ export function getEmailLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getEmailLogDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除邮件日志
*/
@@ -28,6 +30,7 @@ export function emailLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除邮件日志
*/
diff --git a/src/api/logger/fileLog.ts b/src/api/logger/fileLog.ts
index 3dd1383..a5b9f4b 100644
--- a/src/api/logger/fileLog.ts
+++ b/src/api/logger/fileLog.ts
@@ -10,6 +10,7 @@ export function getFileLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getFileLogDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除文件日志
*/
@@ -28,6 +30,7 @@ export function fileLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除文件日志
*/
diff --git a/src/api/logger/smsLog.ts b/src/api/logger/smsLog.ts
index 0a6993b..683e755 100644
--- a/src/api/logger/smsLog.ts
+++ b/src/api/logger/smsLog.ts
@@ -10,6 +10,7 @@ export function getSmsLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getSmsLogDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除登录日志
*/
@@ -28,6 +30,7 @@ export function smsLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除登录日志
*/
diff --git a/src/api/monitor/caches.ts b/src/api/monitor/caches.ts
index 21bab88..c5ce388 100644
--- a/src/api/monitor/caches.ts
+++ b/src/api/monitor/caches.ts
@@ -10,6 +10,7 @@ export function getCacheNames(params?) {
params,
});
}
+
/**
* @description: 缓存key列表
*/
@@ -19,6 +20,7 @@ export function getCacheKeys(cacheName) {
method: 'get',
});
}
+
/**
* @description: 缓存value列表
*/
@@ -29,6 +31,7 @@ export function getCacheValue(params?) {
params,
});
}
+
/**
* @description: 删除缓存名称
*/
@@ -38,6 +41,7 @@ export function deleteCacheName(cacheName) {
method: 'DELETE',
});
}
+
/**
* @description: 删除缓存key
*/
@@ -47,6 +51,7 @@ export function deleteCacheKey(cacheKey) {
method: 'DELETE',
});
}
+
/**
* @description: 清理全部
*/
diff --git a/src/api/monitor/dataSource.ts b/src/api/monitor/dataSource.ts
index 4f0a10a..6fcbf0e 100644
--- a/src/api/monitor/dataSource.ts
+++ b/src/api/monitor/dataSource.ts
@@ -10,6 +10,7 @@ export function getDataSourceList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getDataSourceDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加
*/
@@ -29,6 +31,7 @@ export function dataSourceAdd(data: any) {
data,
});
}
+
/**
* @description: 更新
*/
@@ -39,6 +42,7 @@ export function dataSourceUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除
*/
@@ -48,6 +52,7 @@ export function dataSourceDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/monitor/job.ts b/src/api/monitor/job.ts
index f507694..6593885 100644
--- a/src/api/monitor/job.ts
+++ b/src/api/monitor/job.ts
@@ -10,6 +10,12 @@ export function getJobList(params?) {
params,
});
}
+
+/**
+ * 获取全部调度任务列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getJobAllList(params?) {
return http.request({
url: '/job/list',
@@ -17,6 +23,7 @@ export function getJobAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getJobDetail(id) {
method: 'get',
});
}
+
/**
* @description: 添加定时任务
*/
@@ -36,6 +44,7 @@ export function jobAdd(data: any) {
data,
});
}
+
/**
* @description: 更新定时任务
*/
@@ -46,6 +55,7 @@ export function jobUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除定时任务
*/
@@ -55,6 +65,7 @@ export function jobDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除定时任务
*/
@@ -65,6 +76,7 @@ export function jobBatchDelete(data: any) {
data,
});
}
+
/**
* @description: 执行一次
*/
@@ -74,6 +86,7 @@ export function getJobRunOnce(id) {
method: 'get',
});
}
+
/**
* @description: 设置状态
*/
@@ -84,6 +97,7 @@ export function setJobStatus(data: any) {
data,
});
}
+
/**
* @description: 暂停任务
*/
@@ -93,6 +107,7 @@ export function getJobPause(id) {
method: 'get',
});
}
+
/**
* @description: 恢复任务
*/
@@ -102,6 +117,7 @@ export function getJobResume(id) {
method: 'get',
});
}
+
/**
* @description: 定时任务日志列表
*/
@@ -112,6 +128,7 @@ export function getJobLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -130,6 +147,7 @@ export function jobLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除定时任务日志
*/
diff --git a/src/api/monitor/online.ts b/src/api/monitor/online.ts
index 752728a..a0e5e3e 100644
--- a/src/api/monitor/online.ts
+++ b/src/api/monitor/online.ts
@@ -10,6 +10,7 @@ export function getOnlineList(params?) {
params,
});
}
+
/**
* @description: 强退
*/
@@ -19,6 +20,7 @@ export function onlineOut(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除
*/
diff --git a/src/api/select/select.ts b/src/api/select/select.ts
deleted file mode 100644
index c978cb1..0000000
--- a/src/api/select/select.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { http } from '@/utils/http/axios';
-
-//获取分类
-export function getClassifyList(params?) {
- return http.request({
- url: '/classifyList',
- method: 'get',
- params,
- });
-}
diff --git a/src/api/setting/web.ts b/src/api/setting/web.ts
index 6f20f04..9e3f7b5 100644
--- a/src/api/setting/web.ts
+++ b/src/api/setting/web.ts
@@ -7,6 +7,7 @@ export function getWebInfo(params?) {
params,
});
}
+
/**
* @description: 更新
*/
diff --git a/src/api/system/dept.ts b/src/api/system/dept.ts
index 81d0b25..1d99985 100644
--- a/src/api/system/dept.ts
+++ b/src/api/system/dept.ts
@@ -10,6 +10,7 @@ export function getDeptList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getDeptDetail(deptId) {
method: 'get',
});
}
+
/**
* @description: 添加部门
*/
@@ -29,6 +31,7 @@ export function deptAdd(data: any) {
data,
});
}
+
/**
* @description: 更新部门
*/
@@ -39,6 +42,7 @@ export function deptUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除部门
*/
diff --git a/src/api/system/level.ts b/src/api/system/level.ts
index b97474b..70dcf8f 100644
--- a/src/api/system/level.ts
+++ b/src/api/system/level.ts
@@ -10,6 +10,12 @@ export function getLevelList(params?) {
params,
});
}
+
+/**
+ * 获取全部职级列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getLevelAllList(params?) {
return http.request({
url: '/level/list',
@@ -17,6 +23,7 @@ export function getLevelAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getLevelDetail(levelId) {
method: 'get',
});
}
+
/**
* @description: 添加职级
*/
@@ -36,6 +44,7 @@ export function levelAdd(data: any) {
data,
});
}
+
/**
* @description: 更新职级
*/
@@ -46,6 +55,7 @@ export function levelUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除职级
*/
@@ -55,6 +65,7 @@ export function levelDelete(levelId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除职级
*/
@@ -65,6 +76,7 @@ export function levelBatchDelete(data: any) {
data,
});
}
+
/**
* @description: 导出职级
*/
diff --git a/src/api/system/loginLog.ts b/src/api/system/loginLog.ts
index 3f59764..510530e 100644
--- a/src/api/system/loginLog.ts
+++ b/src/api/system/loginLog.ts
@@ -10,6 +10,7 @@ export function getLoginLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getLoginLogDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除登录日志
*/
@@ -28,6 +30,7 @@ export function loginLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除登录日志
*/
diff --git a/src/api/system/menu.ts b/src/api/system/menu.ts
index f35a3b3..58080b3 100644
--- a/src/api/system/menu.ts
+++ b/src/api/system/menu.ts
@@ -11,7 +11,7 @@ export function adminMenus() {
}
/**
- * 获取tree菜单列表
+ * 获取菜单列表
* @param params
*/
export function getMenuList(params?) {
@@ -21,6 +21,7 @@ export function getMenuList(params?) {
params,
});
}
+
/**
* 获取菜单详情
* @param params
@@ -31,6 +32,7 @@ export function getMenuDetail(id) {
method: 'GET',
});
}
+
/**
* @description: 添加菜单
*/
@@ -41,6 +43,7 @@ export function menuAdd(data: any) {
data,
});
}
+
/**
* @description: 更新菜单
*/
@@ -51,6 +54,7 @@ export function menuUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除菜单
*/
diff --git a/src/api/system/operLog.ts b/src/api/system/operLog.ts
index 462a0fa..d8312ef 100644
--- a/src/api/system/operLog.ts
+++ b/src/api/system/operLog.ts
@@ -10,6 +10,7 @@ export function getOperLogList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getOperLogDetail(id) {
method: 'get',
});
}
+
/**
* @description: 删除操作日志
*/
@@ -28,6 +30,7 @@ export function operLogDelete(id) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除操作日志
*/
diff --git a/src/api/system/position.ts b/src/api/system/position.ts
index 239882f..ad44ce2 100644
--- a/src/api/system/position.ts
+++ b/src/api/system/position.ts
@@ -10,6 +10,12 @@ export function getPositionList(params?) {
params,
});
}
+
+/**
+ * 获取全部岗位列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getPositionAllList(params?) {
return http.request({
url: '/position/list',
@@ -17,6 +23,7 @@ export function getPositionAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getPositionDetail(positionId) {
method: 'get',
});
}
+
/**
* @description: 添加岗位
*/
@@ -36,6 +44,7 @@ export function positionAdd(data: any) {
data,
});
}
+
/**
* @description: 更新岗位
*/
@@ -46,6 +55,7 @@ export function positionUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除岗位
*/
@@ -55,6 +65,7 @@ export function positionDelete(positionId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除岗位
*/
diff --git a/src/api/system/role.ts b/src/api/system/role.ts
index cff820b..cb490af 100644
--- a/src/api/system/role.ts
+++ b/src/api/system/role.ts
@@ -10,6 +10,12 @@ export function getRoleList(params?) {
params,
});
}
+
+/**
+ * 获取全部角色列表
+ * @param params 参数
+ * @returns 返回结果
+ */
export function getRoleAllList(params?) {
return http.request({
url: '/role/list',
@@ -17,6 +23,7 @@ export function getRoleAllList(params?) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -26,6 +33,7 @@ export function getRoleDetail(roleId) {
method: 'get',
});
}
+
/**
* @description: 添加角色
*/
@@ -36,6 +44,7 @@ export function roleAdd(data: any) {
data,
});
}
+
/**
* @description: 更新角色
*/
@@ -46,6 +55,7 @@ export function roleUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除角色
*/
@@ -55,6 +65,7 @@ export function roleDelete(roleId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除角色
*/
@@ -65,6 +76,7 @@ export function roleBatchDelete(data) {
data,
});
}
+
/**
* @description: 获取角色菜单
*/
@@ -74,6 +86,7 @@ export function getRoleMenuList(roleId) {
method: 'get',
});
}
+
/**
* @description: 保存角色菜单
*/
diff --git a/src/api/system/tenant.ts b/src/api/system/tenant.ts
index a6e81c4..d3af278 100644
--- a/src/api/system/tenant.ts
+++ b/src/api/system/tenant.ts
@@ -10,6 +10,7 @@ export function getTenantList(params) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -19,6 +20,7 @@ export function getTenantDetail(tenantId) {
method: 'get',
});
}
+
/**
* @description: 添加租户
*/
@@ -29,6 +31,7 @@ export function tenantAdd(data: any) {
data,
});
}
+
/**
* @description: 更新租户
*/
@@ -39,6 +42,7 @@ export function tenantUpdate(data: any) {
data,
});
}
+
/**
* @description: 删除租户
*/
@@ -48,6 +52,7 @@ export function tenantDelete(tenantId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除租户
*/
@@ -58,6 +63,7 @@ export function tenantBatchDelete(data: any) {
data,
});
}
+
/**
* @description: 创建租户账号
*/
diff --git a/src/api/system/user.ts b/src/api/system/user.ts
index e16f9b4..13b3e36 100644
--- a/src/api/system/user.ts
+++ b/src/api/system/user.ts
@@ -37,6 +37,12 @@ export function login(params) {
},
);
}
+
+/**
+ * 登录2
+ * @param data 参数
+ * @returns 返回结果
+ */
export function login2(data) {
const formData = new FormData();
formData.append('username', data.username);
@@ -79,6 +85,7 @@ export function changePassword(data) {
data,
});
}
+
/**
* @description: 获取短信验证码
*/
@@ -89,6 +96,7 @@ export function sendSms(data) {
data,
});
}
+
/**
* @description: 用户登出
*/
@@ -110,6 +118,7 @@ export function getUserList(params) {
params,
});
}
+
/**
* @description: 根据ID获取详情
*/
@@ -119,6 +128,7 @@ export function getUserDetail(userId) {
method: 'get',
});
}
+
/**
* @description: 添加用户
*/
@@ -139,6 +149,7 @@ export function userUpdate(data: any) {
data,
});
}
+
/**
* @description: 重置密码
*/
@@ -149,6 +160,7 @@ export function resetPwd(data: any) {
data,
});
}
+
/**
* @description: 删除用户
*/
@@ -158,6 +170,7 @@ export function userDelete(userId) {
method: 'DELETE',
});
}
+
/**
* @description: 批量删除用户
*/
@@ -168,6 +181,7 @@ export function userBatchDelete(data: any) {
data,
});
}
+
/**
* @description: 导入用户
*/
@@ -178,6 +192,7 @@ export function userImport(data) {
data,
});
}
+
/**
* @description: 导出用户
*/
@@ -203,6 +218,7 @@ export function getTemplateByCode(code: any) {
method: 'GET',
});
}
+
/**
* @description: 获取打印地址
*/
@@ -212,6 +228,7 @@ export function getUserDocument(userId: any) {
method: 'GET',
});
}
+
/**
* @description: 城市列表
*/
diff --git a/src/api/table/list.ts b/src/api/table/list.ts
deleted file mode 100644
index 58cb76c..0000000
--- a/src/api/table/list.ts
+++ /dev/null
@@ -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,
- });
-}
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index c84c0b0..82b9f70 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -61,17 +61,8 @@
-
+
-
- 新增
-
删除
+
+ 新增
+