From 48e6b9807e928f2812edafc14693cdb6d11d8e88 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 29 Dec 2022 15:27:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
---
src/api/activity/index.js | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/src/api/activity/index.js b/src/api/activity/index.js
index 7ddb304..f3e34f2 100644
--- a/src/api/activity/index.js
+++ b/src/api/activity/index.js
@@ -152,4 +152,26 @@
securityId
}
})
+}
+
+/**
+ * 获取业务字典
+ * @returns
+ */
+export const getServiceDictionary = () => {
+ return request({
+ url: `/api/blade-system/dict-biz/parent-list?current=1&size=9999`,
+ method: 'get'
+ })
+}
+
+/**
+ * 获取活动类型
+ * @returns
+ */
+export const getActivityType = (parentId) => {
+ return request({
+ url: `/api/blade-system/dict-biz/child-list?current=1&size=9999&parentId=${parentId}`,
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3