From b81460571b946037ae55a93b9271693d907681bd Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 20 二月 2025 15:49:57 +0800 Subject: [PATCH] 项目增加项目子类型字段 --- src/api/system/dict/data.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/api/system/dict/data.js b/src/api/system/dict/data.js index aa4b978..1500fc2 100644 --- a/src/api/system/dict/data.js +++ b/src/api/system/dict/data.js @@ -59,3 +59,11 @@ params: query }) } + +// 鏍规嵁鐖剁骇id鑾峰彇瀛愮骇鏁版嵁 +export function getChildList(parentId) { + return request({ + url: '/system/dict/data/child/by/parent/' + parentId, + method: 'get' + }) +} -- Gitblit v1.8.0