From b5c48e74a033b0c109a0e4e770a9a5e66cbc1d9d Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Tue, 1 Jul 2025 15:15:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E7=A7=91=E5=AE=A4=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/section.js | 44 ++++ src/views/system/section/index.vue | 325 +++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) create mode 100644 src/api/system/section.js create mode 100644 src/views/system/section/index.vue 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 @@ + + + +