新增模块API注解

This commit is contained in:
zjl 2024-10-08 13:56:21 +08:00
parent bfa5e905e1
commit fb86d5f8fd
38 changed files with 259 additions and 40 deletions

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -1,10 +0,0 @@
import { http } from '@/utils/http/axios';
//获取分类
export function getClassifyList(params?) {
return http.request({
url: '/classifyList',
method: 'get',
params,
});
}

View File

@ -7,6 +7,7 @@ export function getWebInfo(params?) {
params, params,
}); });
} }
/** /**
* @description: * @description:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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:
*/ */

View File

@ -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,
});
}

View File

@ -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>