diff --git a/src/api/system/section.js b/src/api/system/section.js new file mode 100644 index 0000000..db238aa --- /dev/null +++ b/src/api/system/section.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询列表 +export function getSysSectionPage(query) { + return request({ + url: '/admin/sysSection/getSysSectionPage', + method: 'post', + data: query + }) +} + +// 查询详细 +export function getSysSection(sectionId) { + return request({ + url: '/admin/sysSection/getSysSection/' + sectionId, + method: 'post' + }) +} + +// 新增 +export function addSysSection(data) { + return request({ + url: '/admin/sysSection/addSysSection', + method: 'post', + data: data + }) +} + +// 修改 +export function updateSysSection(data) { + return request({ + url: '/admin/sysSection/updateSysSection', + method: 'post', + data: data + }) +} + +// 删除 +export function deleteSysSection(sectionId) { + return request({ + url: '/admin/sysSection/deleteSysSection/' + sectionId, + method: 'post' + }) +} diff --git a/src/views/system/section/index.vue b/src/views/system/section/index.vue new file mode 100644 index 0000000..03f7441 --- /dev/null +++ b/src/views/system/section/index.vue @@ -0,0 +1,325 @@ + + + +