|
|
@@ -0,0 +1,25 @@
|
|
|
+/*
|
|
|
+ * @Author: wanglj
|
|
|
+ * @Date: 2022-04-25 10:38:19
|
|
|
+ * @LastEditors: wanglj
|
|
|
+ * @LastEditTime: 2025-01-10 11:53:25
|
|
|
+ * @Description: file content
|
|
|
+ * @FilePath: \labsop_website\src\api\dict.js
|
|
|
+ */
|
|
|
+import request from "@/utils/micro_request";
|
|
|
+
|
|
|
+const basePath = $GlobalConfig.VUE_APP_AdminPath;
|
|
|
+
|
|
|
+// 登录方法
|
|
|
+// 根据字典类型获取字典项明细
|
|
|
+export function getDictDataByType(str) {
|
|
|
+ return request.postRequest(basePath,'Dict','GetDictDataByType', { dictType: str })
|
|
|
+}
|
|
|
+// 部门树
|
|
|
+export function getDeptTree(query) {
|
|
|
+ return request.postRequest(basePath,'Dept','GetDeptTree', query)
|
|
|
+}
|
|
|
+// 列表
|
|
|
+export function getProjectGroupList(query) {
|
|
|
+ return request.postRequest(basePath, 'ProjectGroup', 'GetProjectGroupList', query);
|
|
|
+}
|