giime 0.8.9 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +112 -113
- package/es/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/postBasicV1DataDictionaryBatchDetailByCode.d.ts +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/postBasicV1DataDictionaryBatchDetailByCode.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/usePostBasicV1DataDictionaryBatchDetailByCode.d.ts +22 -22
- package/es/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/usePostBasicV1DataDictionaryBatchDetailByCode.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.mjs +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.d.ts +19 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.d.ts +264 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.mjs +18 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.mjs.map +1 -0
- package/es/api/guardBasic/controller/index.mjs +2 -0
- package/es/api/guardBasic/controller/index.mjs.map +1 -1
- package/es/api/guardBasic/interface/apiTypes/BatchExportReq.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/BatchExportReq.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/BatchExportReq.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/BatchImportResultVo.d.ts +13 -0
- package/es/api/guardBasic/interface/apiTypes/BatchImportResultVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/BatchImportResultVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictDynamicVo.d.ts +35 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictDynamicVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictDynamicVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.d.ts +20 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/DataDictValueVo.d.ts +1 -1
- package/es/api/guardBasic/interface/apiTypes/DataDictVo.d.ts +4 -4
- package/es/api/guardBasic/interface/apiTypes/ImportErrorInfo.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/ImportErrorInfo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/ImportErrorInfo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/ModifyDataDictReq.d.ts +1 -1
- package/es/api/guardBasic/interface/apiTypes/ModifySysAreaReq.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/PageSysAreaReq.d.ts +3 -3
- package/es/api/guardBasic/interface/apiTypes/RBatchImportResultVo.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/RBatchImportResultVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RBatchImportResultVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListCodeNameKv28.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListCodeNameKv28.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListCodeNameKv28.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SaveDataDictReq.d.ts +1 -1
- package/es/api/guardBasic/interface/apiTypes/SaveSysAreaReq.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/StringImportReq.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/StringImportReq.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/StringImportReq.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaDetailVo.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.d.ts +14 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaVo.d.ts +2 -0
- package/es/api/guardBasic/interface/index.d.ts +12 -0
- package/es/api/guardBasic/interface/index.mjs +12 -0
- package/es/api/guardBasic/interface/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/base/useDictionary/index.d.ts +6 -6
- package/es/hooks/base/useDictionary/index.mjs.map +1 -1
- package/es/hooks/store/userCenter/useAreaList/index.d.ts +30 -109
- package/es/hooks/store/userCenter/useAreaList/index.mjs +23 -8
- package/es/hooks/store/userCenter/useAreaList/index.mjs.map +1 -1
- package/es/index.css +112 -113
- package/lib/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/postBasicV1DataDictionaryBatchDetailByCode.d.ts +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/postBasicV1DataDictionaryBatchDetailByCode.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/usePostBasicV1DataDictionaryBatchDetailByCode.d.ts +22 -22
- package/lib/api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/usePostBasicV1DataDictionaryBatchDetailByCode.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.js +4 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.d.ts +19 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaListFamilyArea.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.d.ts +264 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.js +20 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.js.map +1 -0
- package/lib/api/guardBasic/controller/index.js +4 -0
- package/lib/api/guardBasic/controller/index.js.map +1 -1
- package/lib/api/guardBasic/interface/apiTypes/BatchExportReq.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/BatchExportReq.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/BatchExportReq.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/BatchImportResultVo.d.ts +13 -0
- package/lib/api/guardBasic/interface/apiTypes/BatchImportResultVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/BatchImportResultVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictDynamicVo.d.ts +35 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictDynamicVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictDynamicVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.d.ts +20 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictValueDynamicVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/DataDictValueVo.d.ts +1 -1
- package/lib/api/guardBasic/interface/apiTypes/DataDictVo.d.ts +4 -4
- package/lib/api/guardBasic/interface/apiTypes/ImportErrorInfo.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/ImportErrorInfo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/ImportErrorInfo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/ModifyDataDictReq.d.ts +1 -1
- package/lib/api/guardBasic/interface/apiTypes/ModifySysAreaReq.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/PageSysAreaReq.d.ts +3 -3
- package/lib/api/guardBasic/interface/apiTypes/RBatchImportResultVo.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/RBatchImportResultVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RBatchImportResultVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RDataDictDynamicVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCodeNameKv28.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCodeNameKv28.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCodeNameKv28.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListDataDictDynamicVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaFamilyVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SaveDataDictReq.d.ts +1 -1
- package/lib/api/guardBasic/interface/apiTypes/SaveSysAreaReq.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/StringImportReq.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/StringImportReq.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/StringImportReq.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaDetailVo.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.d.ts +14 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaFamilyVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaVo.d.ts +2 -0
- package/lib/api/guardBasic/interface/index.d.ts +12 -0
- package/lib/api/guardBasic/interface/index.js +12 -0
- package/lib/api/guardBasic/interface/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/base/useDictionary/index.d.ts +6 -6
- package/lib/hooks/base/useDictionary/index.js.map +1 -1
- package/lib/hooks/store/userCenter/useAreaList/index.d.ts +30 -109
- package/lib/hooks/store/userCenter/useAreaList/index.js +22 -7
- package/lib/hooks/store/userCenter/useAreaList/index.js.map +1 -1
- package/lib/index.css +112 -113
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataDictDynamicVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface DataDictValueDynamicVo {
|
|
2
|
+
/** 字典值ID */
|
|
3
|
+
id: number;
|
|
4
|
+
/** 字典ID */
|
|
5
|
+
dictionaryId: number;
|
|
6
|
+
/** 值名称 */
|
|
7
|
+
valueName: string;
|
|
8
|
+
/** 值编码(动态类型) */
|
|
9
|
+
valueCode: string | number | boolean;
|
|
10
|
+
/** 标签类型 */
|
|
11
|
+
tagType?: string;
|
|
12
|
+
/** 排序 */
|
|
13
|
+
sortOrder?: number;
|
|
14
|
+
/** 状态:1-启用,0-禁用 */
|
|
15
|
+
status?: number;
|
|
16
|
+
/** 创建时间 */
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
/** 更新时间 */
|
|
19
|
+
updatedAt?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataDictValueDynamicVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -9,10 +9,10 @@ export interface DataDictVo {
|
|
|
9
9
|
/** 描述 */
|
|
10
10
|
description?: string;
|
|
11
11
|
/** 业务线编码 */
|
|
12
|
-
businessLine
|
|
12
|
+
businessLine?: string;
|
|
13
13
|
/** 业务域编码 */
|
|
14
|
-
businessDomain
|
|
15
|
-
/** 数据类型:1-字符串,2-数字,3
|
|
14
|
+
businessDomain?: string;
|
|
15
|
+
/** 数据类型:1-字符串,2-数字,3-布尔 */
|
|
16
16
|
dataType: number;
|
|
17
17
|
/** 字典值数量 */
|
|
18
18
|
dictValueCount?: number;
|
|
@@ -31,5 +31,5 @@ export interface DataDictVo {
|
|
|
31
31
|
/** 企业ID */
|
|
32
32
|
enterpriseId?: number;
|
|
33
33
|
/** 字典值列表 */
|
|
34
|
-
values
|
|
34
|
+
values?: DataDictValueVo[];
|
|
35
35
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportErrorInfo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -6,12 +6,12 @@ export interface PageSysAreaReq {
|
|
|
6
6
|
size: number;
|
|
7
7
|
/** 排序 */
|
|
8
8
|
sorts?: Sort[];
|
|
9
|
-
/**
|
|
9
|
+
/** 团队ID或名称,支撑模糊查询 */
|
|
10
10
|
name?: string;
|
|
11
11
|
/** 是否参与绩效: 0-否,1-是 */
|
|
12
12
|
isSalary?: number;
|
|
13
|
-
/** 组织ID */
|
|
14
|
-
orgId?:
|
|
13
|
+
/** 组织ID,多个以逗号分割 */
|
|
14
|
+
orgId?: string;
|
|
15
15
|
/** 开始时间: yyyy-MM-dd */
|
|
16
16
|
beginDate?: string;
|
|
17
17
|
/** 结束时间: yyyy-MM-dd */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RBatchImportResultVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RDataDictDynamicVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RListCodeNameKv28.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RListDataDictDynamicVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RListSysAreaFamilyVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringImportReq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SysAreaFamilyVo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -194,6 +194,17 @@ export * from "./apiTypes/PageOperationLogReq";
|
|
|
194
194
|
export * from "./apiTypes/PageUserAuthChangeLogVo";
|
|
195
195
|
export * from "./apiTypes/RPageUserAuthChangeLogVo";
|
|
196
196
|
export * from "./apiTypes/UserAuthChangeLogVo";
|
|
197
|
+
export * from "./apiTypes/BatchImportResultVo";
|
|
198
|
+
export * from "./apiTypes/ImportErrorInfo";
|
|
199
|
+
export * from "./apiTypes/RBatchImportResultVo";
|
|
200
|
+
export * from "./apiTypes/BatchExportReq";
|
|
201
|
+
export * from "./apiTypes/StringImportReq";
|
|
202
|
+
export * from "./apiTypes/DataDictDynamicVo";
|
|
203
|
+
export * from "./apiTypes/DataDictValueDynamicVo";
|
|
204
|
+
export * from "./apiTypes/RListDataDictDynamicVo";
|
|
205
|
+
export * from "./apiTypes/RDataDictDynamicVo";
|
|
206
|
+
export * from "./apiTypes/RListSysAreaFamilyVo";
|
|
207
|
+
export * from "./apiTypes/SysAreaFamilyVo";
|
|
197
208
|
export * from "./apiTypes/QueryUserVo1";
|
|
198
209
|
export * from "./apiTypes/IdNameKv2";
|
|
199
210
|
export * from "./apiTypes/RListIdNameKv3";
|
|
@@ -252,6 +263,7 @@ export * from "./apiTypes/GimpUserDetail";
|
|
|
252
263
|
export * from "./apiTypes/RGimpUserDetail";
|
|
253
264
|
export * from "./apiTypes/RListSeleteUserVo";
|
|
254
265
|
export * from "./apiTypes/SeleteUserVo";
|
|
266
|
+
export * from "./apiTypes/RListCodeNameKv28";
|
|
255
267
|
export type Primitive = undefined | null | boolean | string | number | symbol;
|
|
256
268
|
export type DeepRequired<T> = T extends Primitive ? T : keyof T extends never ? T : {
|
|
257
269
|
[K in keyof T]-?: DeepRequired<T[K]>;
|
|
@@ -196,6 +196,17 @@ require('./apiTypes/PageOperationLogReq.js');
|
|
|
196
196
|
require('./apiTypes/PageUserAuthChangeLogVo.js');
|
|
197
197
|
require('./apiTypes/RPageUserAuthChangeLogVo.js');
|
|
198
198
|
require('./apiTypes/UserAuthChangeLogVo.js');
|
|
199
|
+
require('./apiTypes/BatchImportResultVo.js');
|
|
200
|
+
require('./apiTypes/ImportErrorInfo.js');
|
|
201
|
+
require('./apiTypes/RBatchImportResultVo.js');
|
|
202
|
+
require('./apiTypes/BatchExportReq.js');
|
|
203
|
+
require('./apiTypes/StringImportReq.js');
|
|
204
|
+
require('./apiTypes/DataDictDynamicVo.js');
|
|
205
|
+
require('./apiTypes/DataDictValueDynamicVo.js');
|
|
206
|
+
require('./apiTypes/RListDataDictDynamicVo.js');
|
|
207
|
+
require('./apiTypes/RDataDictDynamicVo.js');
|
|
208
|
+
require('./apiTypes/RListSysAreaFamilyVo.js');
|
|
209
|
+
require('./apiTypes/SysAreaFamilyVo.js');
|
|
199
210
|
require('./apiTypes/QueryUserVo1.js');
|
|
200
211
|
require('./apiTypes/IdNameKv2.js');
|
|
201
212
|
require('./apiTypes/RListIdNameKv3.js');
|
|
@@ -254,5 +265,6 @@ require('./apiTypes/GimpUserDetail.js');
|
|
|
254
265
|
require('./apiTypes/RGimpUserDetail.js');
|
|
255
266
|
require('./apiTypes/RListSeleteUserVo.js');
|
|
256
267
|
require('./apiTypes/SeleteUserVo.js');
|
|
268
|
+
require('./apiTypes/RListCodeNameKv28.js');
|
|
257
269
|
|
|
258
270
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.8.
|
|
1
|
+
export declare const version = "0.8.10";
|
package/lib/giime/version.js
CHANGED
package/lib/giime/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.8.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.8.10';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|
|
@@ -19,8 +19,8 @@ export declare const useDictionary: <T extends string>(fieldCodes: T[], options?
|
|
|
19
19
|
fieldName: string;
|
|
20
20
|
fieldCode: string;
|
|
21
21
|
description?: string | undefined;
|
|
22
|
-
businessLine
|
|
23
|
-
businessDomain
|
|
22
|
+
businessLine?: string | undefined;
|
|
23
|
+
businessDomain?: string | undefined;
|
|
24
24
|
dataType: number;
|
|
25
25
|
dictValueCount?: number | undefined;
|
|
26
26
|
status?: number | undefined;
|
|
@@ -30,17 +30,17 @@ export declare const useDictionary: <T extends string>(fieldCodes: T[], options?
|
|
|
30
30
|
createdAt?: string | undefined;
|
|
31
31
|
updatedAt?: string | undefined;
|
|
32
32
|
enterpriseId?: number | undefined;
|
|
33
|
-
values
|
|
34
|
-
id
|
|
33
|
+
values?: {
|
|
34
|
+
id: number;
|
|
35
35
|
dictionaryId: number;
|
|
36
36
|
valueName: string;
|
|
37
|
-
valueCode: string;
|
|
37
|
+
valueCode: string | number | boolean;
|
|
38
38
|
tagType?: string | undefined;
|
|
39
39
|
sortOrder?: number | undefined;
|
|
40
40
|
status?: number | undefined;
|
|
41
41
|
createdAt?: string | undefined;
|
|
42
42
|
updatedAt?: string | undefined;
|
|
43
|
-
}[];
|
|
43
|
+
}[] | undefined;
|
|
44
44
|
}[]>;
|
|
45
45
|
dictionary: import("vue").ComputedRef<Record<T, DictionaryOption[]>>;
|
|
46
46
|
isLoading: import("vue").Ref<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/base/useDictionary/index.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/base/useDictionary/index.ts"],"sourcesContent":["import type { DataDictDynamicVo } from '@giime/api/guardBasic/interface';\nimport { usePostBasicV1DataDictionaryBatchDetailByCode } from '@giime/api/guardBasic/controller';\nimport { ref, computed } from 'vue';\nimport { tryOnMounted } from '@vueuse/core';\n\nexport interface DictionaryOption {\n label: string;\n value: any;\n /**\n * 标签类型 'success' | 'warning' | 'info' | 'primary' | 'danger'\n */\n tagType?: 'success' | 'warning' | 'primary' | 'danger';\n}\nexport interface UseDictionaryOptions {\n /**\n * 是否立即执行字典数据获取\n */\n immediate?: boolean;\n}\n/**字典 */\nexport const useDictionary = <T extends string>(fieldCodes: T[], options?: UseDictionaryOptions) => {\n const { exec: getDictionaryExec } = usePostBasicV1DataDictionaryBatchDetailByCode();\n const isLoading = ref(false);\n const dictionaryList = ref<DataDictDynamicVo[]>([]);\n const dictionary = computed(() => {\n return dictionaryList.value.reduce(\n (acc, item) => {\n acc[item.fieldCode as T] =\n item?.values?.map(it => ({\n label: it.valueName,\n value: it.valueCode,\n tagType: it.tagType as DictionaryOption['tagType'],\n })) || [];\n\n return acc;\n },\n {} as Record<T, DictionaryOption[]>,\n );\n });\n const getDictionary = async () => {\n isLoading.value = true;\n try {\n const { data } = await getDictionaryExec({ fieldCodes });\n\n dictionaryList.value = data.value?.data || [];\n } finally {\n isLoading.value = false;\n }\n };\n const immediate = options?.immediate ?? true;\n tryOnMounted(() => {\n if (immediate) {\n getDictionary();\n }\n });\n\n return {\n dictionaryList,\n dictionary,\n isLoading,\n getDictionary,\n };\n};\n"],"names":["usePostBasicV1DataDictionaryBatchDetailByCode","ref","computed","tryOnMounted"],"mappings":";;;;;;;AAoBO,MAAM,aAAA,GAAgB,CAAmB,UAAA,EAAiB,OAAA,KAAmC;AAClG,EAAA,MAAM,EAAE,IAAA,EAAM,iBAAA,EAAkB,GAAIA,2FAAA,EAA8C;AAClF,EAAA,MAAM,SAAA,GAAYC,QAAI,KAAK,CAAA;AAC3B,EAAA,MAAM,cAAA,GAAiBA,OAAA,CAAyB,EAAE,CAAA;AAClD,EAAA,MAAM,UAAA,GAAaC,aAAS,MAAM;AAChC,IAAA,OAAO,eAAe,KAAA,CAAM,MAAA;AAAA,MAC1B,CAAC,KAAK,IAAA,KAAS;AACb,QAAA,GAAA,CAAI,KAAK,SAAc,CAAA,GACrB,IAAA,EAAM,MAAA,EAAQ,IAAI,CAAA,EAAA,MAAO;AAAA,UACvB,OAAO,EAAA,CAAG,SAAA;AAAA,UACV,OAAO,EAAA,CAAG,SAAA;AAAA,UACV,SAAS,EAAA,CAAG;AAAA,SACd,CAAE,KAAK,EAAC;AAEV,QAAA,OAAO,GAAA;AAAA,MACT,CAAA;AAAA,MACA;AAAC,KACH;AAAA,EACF,CAAC,CAAA;AACD,EAAA,MAAM,gBAAgB,YAAY;AAChC,IAAA,SAAA,CAAU,KAAA,GAAQ,IAAA;AAClB,IAAA,IAAI;AACF,MAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,iBAAA,CAAkB,EAAE,YAAY,CAAA;AAEvD,MAAA,cAAA,CAAe,KAAA,GAAQ,IAAA,CAAK,KAAA,EAAO,IAAA,IAAQ,EAAC;AAAA,IAC9C,CAAA,SAAE;AACA,MAAA,SAAA,CAAU,KAAA,GAAQ,KAAA;AAAA,IACpB;AAAA,EACF,CAAA;AACA,EAAA,MAAM,SAAA,GAAY,SAAS,SAAA,IAAa,IAAA;AACxC,EAAAC,iBAAA,CAAa,MAAM;AACjB,IAAA,IAAI,SAAA,EAAW;AACb,MAAA,aAAA,EAAc;AAAA,IAChB;AAAA,EACF,CAAC,CAAA;AAED,EAAA,OAAO;AAAA,IACL,cAAA;AAAA,IACA,UAAA;AAAA,IACA,SAAA;AAAA,IACA;AAAA,GACF;AACF;;;;"}
|
|
@@ -1,119 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="@vueuse/shared" />
|
|
2
|
+
import type { AreaListQuery, SysAreaFamilyVo } from '../../../../api/guardBasic/interface';
|
|
3
|
+
/** 家族-团队列表 */
|
|
2
4
|
export declare const useAreaListStore: import("pinia").StoreDefinition<"gmAreaList", Pick<{
|
|
3
|
-
areaList: import("
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
alias: string;
|
|
7
|
-
org_code: string;
|
|
8
|
-
}[]>;
|
|
5
|
+
areaList: import("@vueuse/shared").RemovableRef<SysAreaFamilyVo[]>;
|
|
9
6
|
isLoading: import("vue").Ref<boolean>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
alias: string;
|
|
17
|
-
org_code: string;
|
|
18
|
-
}[];
|
|
19
|
-
msg: string;
|
|
20
|
-
}, import("axios").AxiosResponse<{
|
|
21
|
-
code: number;
|
|
22
|
-
bizCode: number;
|
|
23
|
-
data: {
|
|
24
|
-
id: number;
|
|
25
|
-
name: string;
|
|
26
|
-
alias: string;
|
|
27
|
-
org_code: string;
|
|
7
|
+
familyAreaList: import("vue").ComputedRef<{
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
children: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: number;
|
|
28
13
|
}[];
|
|
29
|
-
msg: string;
|
|
30
|
-
}, any, {}>, any, import("../../..").UseAxiosOptionsBase<{
|
|
31
|
-
code: number;
|
|
32
|
-
bizCode: number;
|
|
33
|
-
data: {
|
|
34
|
-
id: number;
|
|
35
|
-
name: string;
|
|
36
|
-
alias: string;
|
|
37
|
-
org_code: string;
|
|
38
|
-
}[];
|
|
39
|
-
msg: string;
|
|
40
|
-
}>> | undefined>;
|
|
41
|
-
}, "isLoading">, Pick<{
|
|
42
|
-
areaList: import("vue").ComputedRef<{
|
|
43
|
-
id: number;
|
|
44
|
-
name: string;
|
|
45
|
-
alias: string;
|
|
46
|
-
org_code: string;
|
|
47
14
|
}[]>;
|
|
15
|
+
getAreaList: (input?: AreaListQuery) => Promise<void>;
|
|
16
|
+
}, "isLoading" | "areaList">, Pick<{
|
|
17
|
+
areaList: import("@vueuse/shared").RemovableRef<SysAreaFamilyVo[]>;
|
|
48
18
|
isLoading: import("vue").Ref<boolean>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
alias: string;
|
|
56
|
-
org_code: string;
|
|
57
|
-
}[];
|
|
58
|
-
msg: string;
|
|
59
|
-
}, import("axios").AxiosResponse<{
|
|
60
|
-
code: number;
|
|
61
|
-
bizCode: number;
|
|
62
|
-
data: {
|
|
63
|
-
id: number;
|
|
64
|
-
name: string;
|
|
65
|
-
alias: string;
|
|
66
|
-
org_code: string;
|
|
19
|
+
familyAreaList: import("vue").ComputedRef<{
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
children: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: number;
|
|
67
25
|
}[];
|
|
68
|
-
msg: string;
|
|
69
|
-
}, any, {}>, any, import("../../..").UseAxiosOptionsBase<{
|
|
70
|
-
code: number;
|
|
71
|
-
bizCode: number;
|
|
72
|
-
data: {
|
|
73
|
-
id: number;
|
|
74
|
-
name: string;
|
|
75
|
-
alias: string;
|
|
76
|
-
org_code: string;
|
|
77
|
-
}[];
|
|
78
|
-
msg: string;
|
|
79
|
-
}>> | undefined>;
|
|
80
|
-
}, "areaList">, Pick<{
|
|
81
|
-
areaList: import("vue").ComputedRef<{
|
|
82
|
-
id: number;
|
|
83
|
-
name: string;
|
|
84
|
-
alias: string;
|
|
85
|
-
org_code: string;
|
|
86
26
|
}[]>;
|
|
27
|
+
getAreaList: (input?: AreaListQuery) => Promise<void>;
|
|
28
|
+
}, "familyAreaList">, Pick<{
|
|
29
|
+
areaList: import("@vueuse/shared").RemovableRef<SysAreaFamilyVo[]>;
|
|
87
30
|
isLoading: import("vue").Ref<boolean>;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
alias: string;
|
|
95
|
-
org_code: string;
|
|
96
|
-
}[];
|
|
97
|
-
msg: string;
|
|
98
|
-
}, import("axios").AxiosResponse<{
|
|
99
|
-
code: number;
|
|
100
|
-
bizCode: number;
|
|
101
|
-
data: {
|
|
102
|
-
id: number;
|
|
103
|
-
name: string;
|
|
104
|
-
alias: string;
|
|
105
|
-
org_code: string;
|
|
31
|
+
familyAreaList: import("vue").ComputedRef<{
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
children: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: number;
|
|
106
37
|
}[];
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
code: number;
|
|
110
|
-
bizCode: number;
|
|
111
|
-
data: {
|
|
112
|
-
id: number;
|
|
113
|
-
name: string;
|
|
114
|
-
alias: string;
|
|
115
|
-
org_code: string;
|
|
116
|
-
}[];
|
|
117
|
-
msg: string;
|
|
118
|
-
}>> | undefined>;
|
|
38
|
+
}[]>;
|
|
39
|
+
getAreaList: (input?: AreaListQuery) => Promise<void>;
|
|
119
40
|
}, "getAreaList">>;
|
|
@@ -2,25 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var pinia = require('pinia');
|
|
5
|
+
var lodashEs = require('lodash-es');
|
|
5
6
|
var core = require('@vueuse/core');
|
|
6
7
|
require('../../../../api/guardBasic/controller/index.js');
|
|
7
|
-
var
|
|
8
|
+
var usePostBasicV1SysAreaListFamilyArea = require('../../../../api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaListFamilyArea.js');
|
|
8
9
|
|
|
9
10
|
const useAreaListStore = pinia.defineStore("gmAreaList", () => {
|
|
10
|
-
const { isLoading, exec
|
|
11
|
-
const areaList =
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
const { isLoading, exec } = usePostBasicV1SysAreaListFamilyArea.usePostBasicV1SysAreaListFamilyArea();
|
|
12
|
+
const areaList = core.useSessionStorage("gmAreaList", [], { listenToStorageChanges: false });
|
|
13
|
+
const familyAreaList = vue.computed(() => {
|
|
14
|
+
const familyGroup = lodashEs.groupBy(areaList.value, "family_code");
|
|
15
|
+
return Object.keys(familyGroup).map((familyCode) => {
|
|
16
|
+
return {
|
|
17
|
+
label: familyGroup[familyCode][0].family_name,
|
|
18
|
+
value: familyCode,
|
|
19
|
+
children: familyGroup[familyCode].map((it) => ({ label: it.name, value: it.id }))
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
const getAreaList = async (input) => {
|
|
24
|
+
const res = await exec(input);
|
|
25
|
+
if (res.data.value?.code == 200) {
|
|
26
|
+
areaList.value = res.data.value?.data || [];
|
|
15
27
|
}
|
|
16
|
-
return exec();
|
|
17
28
|
};
|
|
18
29
|
core.tryOnMounted(() => {
|
|
30
|
+
if (areaList.value.length !== 0 || isLoading.value) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
19
33
|
getAreaList();
|
|
20
34
|
});
|
|
21
35
|
return {
|
|
22
36
|
areaList,
|
|
23
37
|
isLoading,
|
|
38
|
+
familyAreaList,
|
|
24
39
|
getAreaList
|
|
25
40
|
};
|
|
26
41
|
});
|