@ningboyz/types 1.2.35 → 1.2.36
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/eslint.config.js +30 -0
- package/index.ts +20 -9
- package/package.json +10 -3
- package/src/antv/IAntvParaResponse.ts +1 -0
- package/src/card/ICardDataResponse.ts +1 -1
- package/src/card/ISyszclbgblbResponse.ts +57 -58
- package/src/const/const_hznt.ts +1 -1
- package/src/const/const_module.ts +0 -2
- package/src/const/const_myoa.ts +5 -8
- package/src/core/IDeptLiteResponse.ts +2 -2
- package/src/core/IDeptResponse.ts +3 -4
- package/src/core/IDictResponse.ts +3 -4
- package/src/core/ILaidResponse.ts +1 -1
- package/src/core/ISysMenuWithCoreResponse.ts +1 -2
- package/src/core/ISysTravelResponse.ts +1 -2
- package/src/core/ITypeResponse.ts +2 -2
- package/src/core/IUnitBindResponse.ts +1 -1
- package/src/core/IUnitResponse.ts +3 -4
- package/src/core/IUserAcnoResponse.ts +2 -2
- package/src/core/IUserPartResponse.ts +2 -2
- package/src/core/IUserResponse.ts +3 -11
- package/src/decorators/DConfigProperty.ts +1 -2
- package/src/decorators/IConfigProperty.ts +2 -1
- package/src/enums/btnMode.ts +1 -0
- package/src/enums/cardMode.ts +1 -0
- package/src/enums/doneMode.ts +1 -0
- package/src/enums/editMode.ts +1 -0
- package/src/enums/emitterType.ts +1 -0
- package/src/enums/formType.ts +2 -0
- package/src/enums/index.ts +1 -13
- package/src/enums/storeId.ts +1 -0
- package/src/enums/usesStat.ts +1 -0
- package/src/enums/viewMode.ts +1 -1
- package/src/enums/whatDone.ts +1 -0
- package/src/flow/IFlowDutyResponse.ts +1 -2
- package/src/flow/IFlowNodeResponse.ts +1 -2
- package/src/gzjg/IGzjgGzlmResponse.ts +0 -1
- package/src/gzjg/IGzjgMainResponse.ts +1 -1
- package/src/gzjg/index.ts +0 -1
- package/src/gzzd/ICellEditResponse.ts +4 -5
- package/src/hzcb/IHzcbMainResponse.ts +1 -1
- package/src/hzcb/IHzcbXmtzBillResponse.ts +3 -3
- package/src/hzcb/IHzcbXmtzResponse.ts +18 -18
- package/src/hzcb/index.ts +0 -1
- package/src/load/ILoadCellResponse.ts +6 -6
- package/src/load/ILoadLineResponse.ts +10 -11
- package/src/load/index.ts +0 -1
- package/src/micro/appName.ts +1 -0
- package/src/myoa/index.ts +1 -10
- package/src/pzpt/IPzptPzpzDataResponse.ts +75 -75
- package/src/pzpt/IPzptPzpzResponse.ts +110 -110
- package/src/wldy/IWldyPageResponse.ts +1 -2
- package/src/wlzf/index.ts +0 -2
- package/src/wtui/IViewCtrlResponse.ts +2 -3
- package/src/wtui/IWtuiFormResponse.ts +1 -2
- package/src/wtui/IWtuiItemResponse.ts +1 -2
- package/src/wtui/IWtuiTodoResponse.ts +2 -4
- package/src/wzpz/IWzWithParaResponse.ts +1 -2
- package/src/wzpz/IWzpzCnfgResponse.ts +1 -1
- package/src/wzpz/IWzpzTypeResponse.ts +0 -1
- package/src/yzcb/index.ts +1 -8
- package/src/yzcg/index.ts +1 -10
- package/src/yzcq/index.ts +1 -1
- package/src/yzht/IYzhtGlfdResponse.ts +10 -10
- package/src/yzht/IYzhtGlpzResponse.ts +3 -3
- package/src/yzht/IYzhtMainResponse.ts +2 -2
- package/src/yzht/index.ts +0 -1
- package/src/yzpz/IYzpzItemResponse.ts +2 -2
- package/src/yzpz/IYzpzK0kmResponse.ts +10 -10
- package/src/yzpz/IYzpzK8kmResponse.ts +1 -1
- package/src/yzpz/IYzpzKbkmResponse.ts +10 -10
- package/src/yzpz/IYzpzTypeResponse.ts +0 -1
- package/src/yzpz/index.ts +0 -1
- package/src/zbhd/IZbhdMainResponese.ts +5 -0
- package/src/zbzd/IZbzdMainResponse.ts +10 -1
- package/src/zbzd/index.ts +1 -6
- package/tsconfig.json +1 -1
- package/pnpm-lock.yaml +0 -39
package/eslint.config.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import eslint from "@eslint/js"
|
|
2
|
+
import tsParser from "@typescript-eslint/parser";
|
|
3
|
+
|
|
4
|
+
export default [
|
|
5
|
+
{
|
|
6
|
+
ignores: ['node_modules', 'build', 'dist'],
|
|
7
|
+
},
|
|
8
|
+
eslint.configs.recommended,
|
|
9
|
+
{
|
|
10
|
+
files: ['**/*.{ts, tsx}'],
|
|
11
|
+
rules: {
|
|
12
|
+
'comma-dangle': "off",
|
|
13
|
+
'no-console': "error",
|
|
14
|
+
"no-debugger": "error",
|
|
15
|
+
"no-unused-vars": ["error", {
|
|
16
|
+
'vars': 'all',
|
|
17
|
+
'args': 'after-used',
|
|
18
|
+
'caughtErrors': 'none',
|
|
19
|
+
'argsIgnorePattern': '^_'
|
|
20
|
+
}],
|
|
21
|
+
'no-empty': ["error", { "allowEmptyCatch": true }]
|
|
22
|
+
},
|
|
23
|
+
languageOptions: {
|
|
24
|
+
parser: tsParser,
|
|
25
|
+
parserOptions: {
|
|
26
|
+
extraFileExtension: [".ts"],
|
|
27
|
+
parser: tsParser
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
}]
|
package/index.ts
CHANGED
|
@@ -39,24 +39,30 @@ import * as TZbhd from "./src/zbhd";
|
|
|
39
39
|
import * as TZbzd from "./src/zbzd";
|
|
40
40
|
import * as TZfht from "./src/zfht";
|
|
41
41
|
import * as TZfsq from "./src/zfsq";
|
|
42
|
-
import * as Decorators from "./src/decorators"
|
|
42
|
+
import * as Decorators from "./src/decorators";
|
|
43
43
|
|
|
44
44
|
export {
|
|
45
45
|
Const,
|
|
46
|
-
Enums,
|
|
46
|
+
Enums,
|
|
47
|
+
Micro,
|
|
47
48
|
TAntv,
|
|
48
49
|
TApp,
|
|
49
50
|
TCard,
|
|
50
51
|
TCggz,
|
|
51
52
|
TCnfg,
|
|
52
|
-
TCore,
|
|
53
|
-
|
|
53
|
+
TCore,
|
|
54
|
+
TCron,
|
|
55
|
+
TElem,
|
|
56
|
+
TExpd,
|
|
54
57
|
TFlow,
|
|
55
58
|
TGams,
|
|
56
59
|
TGzjg,
|
|
57
60
|
TGztb,
|
|
58
61
|
TGzzd,
|
|
59
|
-
THzcb,
|
|
62
|
+
THzcb,
|
|
63
|
+
TLoad,
|
|
64
|
+
TMyoa,
|
|
65
|
+
TNoti,
|
|
60
66
|
TPzpt,
|
|
61
67
|
TStore,
|
|
62
68
|
TTabl,
|
|
@@ -64,10 +70,16 @@ export {
|
|
|
64
70
|
TTask,
|
|
65
71
|
TWldy,
|
|
66
72
|
TWlzf,
|
|
67
|
-
TWtui,
|
|
73
|
+
TWtui,
|
|
74
|
+
TWzpz,
|
|
75
|
+
TYzcb,
|
|
68
76
|
TYzcg,
|
|
69
|
-
TYzht,
|
|
70
|
-
|
|
77
|
+
TYzht,
|
|
78
|
+
TYzpz,
|
|
79
|
+
TZbhd,
|
|
80
|
+
TZbzd,
|
|
81
|
+
TZfht,
|
|
82
|
+
TZfsq,
|
|
71
83
|
type IAboutConfig,
|
|
72
84
|
type IBaseConfig,
|
|
73
85
|
type IBaseResponse,
|
|
@@ -76,4 +88,3 @@ export {
|
|
|
76
88
|
type IResponse,
|
|
77
89
|
Decorators
|
|
78
90
|
};
|
|
79
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/types",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.2.36",
|
|
4
5
|
"private": false,
|
|
5
6
|
"description": "宁波甬政类型库",
|
|
6
7
|
"author": "nbyt-syq",
|
|
@@ -9,7 +10,9 @@
|
|
|
9
10
|
"main": "index.ts",
|
|
10
11
|
"scripts": {
|
|
11
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
-
"prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" "
|
|
13
|
+
"prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" ",
|
|
14
|
+
"lint": "eslint .",
|
|
15
|
+
"lint:fix": "eslint . --fix"
|
|
13
16
|
},
|
|
14
17
|
"publishConfig": {
|
|
15
18
|
"access": "public",
|
|
@@ -20,6 +23,10 @@
|
|
|
20
23
|
"lodash": "4.17.21"
|
|
21
24
|
},
|
|
22
25
|
"devDependencies": {
|
|
23
|
-
"@
|
|
26
|
+
"@eslint/js": "^9.34.0",
|
|
27
|
+
"@types/lodash": "4.17.16",
|
|
28
|
+
"@typescript-eslint/parser": "^8.41.0",
|
|
29
|
+
"eslint": "^9.34.0",
|
|
30
|
+
"prettier": "^3.6.2"
|
|
24
31
|
}
|
|
25
32
|
}
|
|
@@ -5,7 +5,6 @@ import { IPathResponse } from "../core/IPathResponse";
|
|
|
5
5
|
import { TFlowDataResponse } from "../flow/IFlowDataResponse";
|
|
6
6
|
import * as Const from "../const";
|
|
7
7
|
import { TCore } from "../../index.ts";
|
|
8
|
-
import { ICardMainResponse } from "./ICardMainResponse.ts";
|
|
9
8
|
/**
|
|
10
9
|
车辆保险:dataType=1加001,使用单位(unitDict),投保单位(dddwText),生效日期(handleAt),到期日期(autoBxrq)
|
|
11
10
|
车辆加油:dataType=1002,加油日期(handleAt),油油号(字典)(autoJyyh),加油容量(nowCount)
|
|
@@ -207,6 +206,7 @@ export class TDataResponse implements IDataResponse {
|
|
|
207
206
|
result.deptMain = card.deptMain;
|
|
208
207
|
result.flowStat = card.billStat;
|
|
209
208
|
result.menuUUID = card.menuUUID;
|
|
209
|
+
|
|
210
210
|
return result;
|
|
211
211
|
}
|
|
212
212
|
|
|
@@ -1,68 +1,67 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
2
|
|
|
3
3
|
export interface ISyszclbgblbResponse {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
zclbTypeText: string
|
|
27
|
-
zclbCode: string
|
|
28
|
-
zclbName: string
|
|
29
|
-
gblbCode: string
|
|
30
|
-
gblbName: string
|
|
4
|
+
whoBuild: number;
|
|
5
|
+
userIndx: number;
|
|
6
|
+
zclbIndx: number;
|
|
7
|
+
dataStat: number;
|
|
8
|
+
dataHide: number;
|
|
9
|
+
dataOrdr: number;
|
|
10
|
+
dataFrom: number;
|
|
11
|
+
dataDate: number;
|
|
12
|
+
dataTime: number;
|
|
13
|
+
createBy: string;
|
|
14
|
+
createAt: number;
|
|
15
|
+
updateBy: string;
|
|
16
|
+
updateAt: number;
|
|
17
|
+
deleteBy: string;
|
|
18
|
+
deleteAt: number;
|
|
19
|
+
queuesBy: number;
|
|
20
|
+
fromWhoBuild: number;
|
|
21
|
+
fromUserIndx: number;
|
|
22
|
+
fromGblbIndx: number;
|
|
23
|
+
sourceND: number;
|
|
24
|
+
fromSourceND: number;
|
|
31
25
|
|
|
26
|
+
zclbTypeText: string;
|
|
27
|
+
zclbCode: string;
|
|
28
|
+
zclbName: string;
|
|
29
|
+
gblbCode: string;
|
|
30
|
+
gblbName: string;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
export class TSyszclbgblbResponse implements ISyszclbgblbResponse {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
34
|
+
whoBuild: number = 0;
|
|
35
|
+
userIndx: number = 0;
|
|
36
|
+
zclbIndx: number = 0;
|
|
37
|
+
dataStat: number = 0;
|
|
38
|
+
dataHide: number = 0;
|
|
39
|
+
dataOrdr: number = 0;
|
|
40
|
+
dataFrom: number = 0;
|
|
41
|
+
dataDate: number = 0;
|
|
42
|
+
dataTime: number = 0;
|
|
43
|
+
createBy: string = "";
|
|
44
|
+
createAt: number = 0;
|
|
45
|
+
updateBy: string = "";
|
|
46
|
+
updateAt: number = 0;
|
|
47
|
+
deleteBy: string = "";
|
|
48
|
+
deleteAt: number = 0;
|
|
49
|
+
queuesBy: number = 0;
|
|
50
|
+
fromWhoBuild: number = 0;
|
|
51
|
+
fromUserIndx: number = 0;
|
|
52
|
+
fromGblbIndx: number = 0;
|
|
53
|
+
sourceND: number = 0;
|
|
54
|
+
fromSourceND: number = 0;
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
zclbTypeText: string = "";
|
|
57
|
+
zclbCode: string = "";
|
|
58
|
+
zclbName: string = "";
|
|
59
|
+
gblbCode: string = "";
|
|
60
|
+
gblbName: string = "";
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
62
|
+
constructor(data: any = {}) {
|
|
63
|
+
if (data) {
|
|
64
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
67
65
|
}
|
|
68
|
-
}
|
|
66
|
+
}
|
|
67
|
+
}
|
package/src/const/const_hznt.ts
CHANGED
|
@@ -66,6 +66,6 @@ export const CONST_MODULE_MYOA_GZSH = "CONST_MODULE_MYOA_GZSH";
|
|
|
66
66
|
|
|
67
67
|
export const CONST_NOTI_PART_TO_收文 = 3015; //#收文
|
|
68
68
|
export const CONST_NOTI_PART_TO_发文 = 3016; //#发文
|
|
69
|
-
export const CONST_NOTI_PART_TO_信息公开 = 3017 // #信息公开|上城财政
|
|
69
|
+
export const CONST_NOTI_PART_TO_信息公开 = 3017; // #信息公开|上城财政
|
|
70
70
|
export const CONST_NOTI_PART_TO_外宣发布 = 3018; //#外宣发布|上城财政
|
|
71
71
|
export const CONST_MYOA_MAIN_MYOA_TYPC_上城财政_盖章 = 1010; // #盖章|上城财政
|
|
@@ -106,9 +106,7 @@ export const CONST_MODULE_DATA_DJSQ = "CONST_MODULE_DATA_DJSQ";
|
|
|
106
106
|
*/
|
|
107
107
|
export const CONST_MODULE_DATA_DJSH = "CONST_MODULE_DATA_DJSH";
|
|
108
108
|
|
|
109
|
-
|
|
110
109
|
/**
|
|
111
110
|
* 资产维修-维修登记
|
|
112
111
|
*/
|
|
113
112
|
export const CONST_MODULE_DATA_WXDJ = "CONST_MODULE_DATA_WXDJ";
|
|
114
|
-
|
package/src/const/const_myoa.ts
CHANGED
|
@@ -10,11 +10,10 @@ export const CONST_MYOA_MYOA_TYPC_GCJG = 1006; // #竣工验收
|
|
|
10
10
|
export const CONST_MYOA_MYOA_TYPC_TO_文件审查 = 1005; // #文件审查
|
|
11
11
|
export const CONST_MYOA_MYOA_TYPC_TO_评审审批 = 1007; // #评审审批
|
|
12
12
|
export const CONST_MYOA_MYOA_TYPC_TO_意见确认 = 1008; // #意见确认
|
|
13
|
-
export const CONST_MYOA_MAIN_MYOA_TYPC_内部管理_盖章 = 1010
|
|
13
|
+
export const CONST_MYOA_MAIN_MYOA_TYPC_内部管理_盖章 = 1010; //#盖章
|
|
14
14
|
|
|
15
15
|
export const CONST_MYOA_MYOA_TYPC_TO_用印管理 = 1010; // #用印申请
|
|
16
16
|
|
|
17
|
-
|
|
18
17
|
export const CONST_MYOA_MYOA_TYPN_HUYI = "会议申请"; // #会议申请
|
|
19
18
|
export const CONST_MYOA_MYOA_TYPN_GOCH = "公车申请"; // #公车申请
|
|
20
19
|
export const CONST_MYOA_MYOA_TYPN_QIJI = "请假申请"; // #请假申请
|
|
@@ -66,17 +65,15 @@ export const CONST_MODULE_MYOA_HYSSQ = "CONST_MODULE_MYOA_HYSSQ";
|
|
|
66
65
|
*/
|
|
67
66
|
export const CONST_MODULE_MYOA_HYSSH = "CONST_MODULE_MYOA_HYSSH";
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
71
68
|
/**
|
|
72
69
|
* 公物仓入仓
|
|
73
70
|
* */
|
|
74
|
-
export const CONST_MYOA_MAIN_MYOA_CODE_固定资产_公物仓入仓 = "GWCRC";
|
|
71
|
+
export const CONST_MYOA_MAIN_MYOA_CODE_固定资产_公物仓入仓 = "GWCRC"; //#公物仓入仓
|
|
75
72
|
|
|
76
73
|
/**
|
|
77
74
|
* 公物仓领用
|
|
78
75
|
* */
|
|
79
|
-
export const CONST_MYOA_MAIN_MYOA_CODE_固定资产_公物仓领用 = "GWCLY";
|
|
76
|
+
export const CONST_MYOA_MAIN_MYOA_CODE_固定资产_公物仓领用 = "GWCLY"; //#公物仓领用
|
|
80
77
|
|
|
81
|
-
export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓入仓 = 1011;
|
|
82
|
-
export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓领用 = 1012;
|
|
78
|
+
export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓入仓 = 1011; //#公物仓入仓
|
|
79
|
+
export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓领用 = 1012; //#公物仓领用
|
|
@@ -2,7 +2,7 @@ import { construct, destruct } from "@aximario/json-tree";
|
|
|
2
2
|
import type { IBaseResponse } from "../base/IBaseResponse";
|
|
3
3
|
import { TBaseResponse } from "../base/IBaseResponse";
|
|
4
4
|
|
|
5
|
-
export interface IDeptLiteResponse extends IBaseResponse<IDeptLiteResponse
|
|
5
|
+
export interface IDeptLiteResponse extends IBaseResponse<IDeptLiteResponse> {
|
|
6
6
|
whoBuild: number; // #用户实例
|
|
7
7
|
userIndx: number; // #用户实例
|
|
8
8
|
uniqueID: number;
|
|
@@ -18,7 +18,7 @@ export interface IDeptLiteResponse extends IBaseResponse<IDeptLiteResponse[]> {
|
|
|
18
18
|
unitMain: number;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export class TDeptLiteResponse extends TBaseResponse<IDeptLiteResponse
|
|
21
|
+
export class TDeptLiteResponse extends TBaseResponse<IDeptLiteResponse> implements IDeptLiteResponse {
|
|
22
22
|
whoBuild: number = 0; // #用户实例
|
|
23
23
|
userIndx: number = 0; // #用户实例
|
|
24
24
|
uniqueID: number = 0;
|
|
@@ -5,7 +5,7 @@ import type { IDictResponse } from "./IDictResponse";
|
|
|
5
5
|
import _ from "lodash";
|
|
6
6
|
import { TCore } from "../../index.ts";
|
|
7
7
|
|
|
8
|
-
export interface IDeptResponse extends IBaseResponse<IDeptResponse
|
|
8
|
+
export interface IDeptResponse extends IBaseResponse<IDeptResponse> {
|
|
9
9
|
codeFull: string;
|
|
10
10
|
createAt: number;
|
|
11
11
|
createBy: string;
|
|
@@ -56,19 +56,18 @@ export interface IDeptResponse extends IBaseResponse<IDeptResponse[]> {
|
|
|
56
56
|
cardZcyz: number; //固定资产-部门分摊-金额
|
|
57
57
|
|
|
58
58
|
sysclasc: number;
|
|
59
|
-
/**
|
|
59
|
+
/**
|
|
60
60
|
* 参数约定
|
|
61
61
|
*/
|
|
62
62
|
deptPara: string;
|
|
63
63
|
|
|
64
|
-
|
|
65
64
|
/** 部门类型 */
|
|
66
65
|
listBMLX: Array<IDictResponse>;
|
|
67
66
|
/** 部门类型(新) */
|
|
68
67
|
listType: Array<IDictResponse>;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
|
-
export class TDeptResponse extends TBaseResponse<IDeptResponse
|
|
70
|
+
export class TDeptResponse extends TBaseResponse<IDeptResponse> implements IDeptResponse {
|
|
72
71
|
codeFull: string = "";
|
|
73
72
|
createAt: number = 0;
|
|
74
73
|
createBy: string = "";
|
|
@@ -6,7 +6,7 @@ import { IDictResponseDictPara, TDictResponseDictPara } from "./IDictResponseDic
|
|
|
6
6
|
import { TCore } from "../../index.ts";
|
|
7
7
|
import { TPartResponse } from "./IPartResponse.ts";
|
|
8
8
|
|
|
9
|
-
export interface IDictResponse extends IBaseResponse<IDictResponse
|
|
9
|
+
export interface IDictResponse extends IBaseResponse<IDictResponse> {
|
|
10
10
|
asParent: number;
|
|
11
11
|
cardExid: number;
|
|
12
12
|
cardIndx: number;
|
|
@@ -71,7 +71,7 @@ export interface IDictResponse extends IBaseResponse<IDictResponse[]> {
|
|
|
71
71
|
detailCode: string;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export class TDictResponse extends TBaseResponse<IDictResponse
|
|
74
|
+
export class TDictResponse extends TBaseResponse<IDictResponse> implements IDictResponse {
|
|
75
75
|
asParent: number = 0;
|
|
76
76
|
cardExid: number = 0;
|
|
77
77
|
cardIndx: number = 0;
|
|
@@ -144,8 +144,7 @@ export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDi
|
|
|
144
144
|
try {
|
|
145
145
|
const obj = JSON.parse(dictPara) as TDictResponseDictPara;
|
|
146
146
|
return _.merge(defaultDictPara, obj);
|
|
147
|
-
} catch (e) {
|
|
148
|
-
}
|
|
147
|
+
} catch (e) {}
|
|
149
148
|
return defaultDictPara;
|
|
150
149
|
}
|
|
151
150
|
|
|
@@ -3,7 +3,7 @@ import type { IBaseResponse } from "../base/IBaseResponse";
|
|
|
3
3
|
import { TBaseResponse } from "../base/IBaseResponse";
|
|
4
4
|
import _ from "lodash";
|
|
5
5
|
import { TCore } from "../../index.ts";
|
|
6
|
-
import {IDeptResponse} from "./IDeptResponse.ts";
|
|
6
|
+
import { IDeptResponse } from "./IDeptResponse.ts";
|
|
7
7
|
|
|
8
8
|
export interface ILaidResponse extends IBaseResponse<ILaidResponse> {
|
|
9
9
|
whoBuild: number;
|
|
@@ -143,8 +143,7 @@ export class TSysMenuWithCoreResponse implements ISysMenuWithCoreResponse {
|
|
|
143
143
|
try {
|
|
144
144
|
const obj = JSON.parse(menuPara) as TSysMenuWithCoreResponseMenuPara;
|
|
145
145
|
return _.merge(defaultMenuPara, obj);
|
|
146
|
-
} catch (e) {
|
|
147
|
-
}
|
|
146
|
+
} catch (e) {}
|
|
148
147
|
return defaultMenuPara;
|
|
149
148
|
}
|
|
150
149
|
}
|
|
@@ -121,8 +121,7 @@ export class TSysTravelResponse implements ISysTravelResponse {
|
|
|
121
121
|
try {
|
|
122
122
|
const temp = JSON.parse(withPara) as TSysTravelWithParaResponse;
|
|
123
123
|
return _.merge(result, temp);
|
|
124
|
-
} catch (e: any) {
|
|
125
|
-
}
|
|
124
|
+
} catch (e: any) {}
|
|
126
125
|
return result;
|
|
127
126
|
}
|
|
128
127
|
|
|
@@ -3,7 +3,7 @@ import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
|
3
3
|
import { TCore } from "../../index.ts";
|
|
4
4
|
import _ from "lodash";
|
|
5
5
|
|
|
6
|
-
export interface ITypeResponse extends IBaseResponse<ITypeResponse
|
|
6
|
+
export interface ITypeResponse extends IBaseResponse<ITypeResponse> {
|
|
7
7
|
whoBuild: number;
|
|
8
8
|
userIndx: number;
|
|
9
9
|
typeIndx: number;
|
|
@@ -48,7 +48,7 @@ export interface ITypeResponse extends IBaseResponse<ITypeResponse[]> {
|
|
|
48
48
|
deptText: string;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export class TTypeResponse extends TBaseResponse<ITypeResponse
|
|
51
|
+
export class TTypeResponse extends TBaseResponse<ITypeResponse> implements ITypeResponse {
|
|
52
52
|
whoBuild: number = 0;
|
|
53
53
|
userIndx: number = 0;
|
|
54
54
|
typeIndx: number = 0;
|
|
@@ -23,7 +23,7 @@ export class TUnitWithCardResponse implements IUnitWithCardResponse {
|
|
|
23
23
|
realZjff: string = "";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface IUnitResponse extends IBaseResponse<IUnitResponse
|
|
26
|
+
export interface IUnitResponse extends IBaseResponse<IUnitResponse> {
|
|
27
27
|
unitMain: number;
|
|
28
28
|
viewIndx: any;
|
|
29
29
|
viewName: any;
|
|
@@ -126,7 +126,7 @@ export interface IUnitResponse extends IBaseResponse<IUnitResponse[]> {
|
|
|
126
126
|
gnkmName: string; //功能科目
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
export class TUnitResponse extends TBaseResponse<IUnitResponse
|
|
129
|
+
export class TUnitResponse extends TBaseResponse<IUnitResponse> implements IUnitResponse {
|
|
130
130
|
unitMain: number = 0;
|
|
131
131
|
viewIndx: any;
|
|
132
132
|
viewName: any;
|
|
@@ -217,8 +217,7 @@ export class TUnitResponse extends TBaseResponse<IUnitResponse[]> implements IUn
|
|
|
217
217
|
try {
|
|
218
218
|
const obj = JSON.parse(unitPara) as TUnitResponseElemPara;
|
|
219
219
|
return _.merge(defaultUnitPara, obj);
|
|
220
|
-
} catch (e) {
|
|
221
|
-
}
|
|
220
|
+
} catch (e) {}
|
|
222
221
|
return defaultUnitPara;
|
|
223
222
|
}
|
|
224
223
|
|
|
@@ -4,7 +4,7 @@ import type { IDictResponseDictPara } from "./IDictResponseDictPara";
|
|
|
4
4
|
import { TDictResponseDictPara } from "./IDictResponseDictPara";
|
|
5
5
|
|
|
6
6
|
// #收款单位
|
|
7
|
-
export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse
|
|
7
|
+
export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse> {
|
|
8
8
|
whoBuild: number;
|
|
9
9
|
userIndx: number;
|
|
10
10
|
userExid: number;
|
|
@@ -85,7 +85,7 @@ export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse[]> {
|
|
|
85
85
|
usciCode: string; // 征信代码
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export class TUserAcnoResponse extends TBaseResponse<IUserAcnoResponse
|
|
88
|
+
export class TUserAcnoResponse extends TBaseResponse<IUserAcnoResponse> implements IUserAcnoResponse {
|
|
89
89
|
whoBuild: number = 0;
|
|
90
90
|
userIndx: number = 0;
|
|
91
91
|
userExid: number = 0;
|
|
@@ -2,7 +2,7 @@ import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import { construct } from "@aximario/json-tree";
|
|
4
4
|
|
|
5
|
-
export interface IUserPartResponse extends IBaseResponse<IUserPartResponse
|
|
5
|
+
export interface IUserPartResponse extends IBaseResponse<IUserPartResponse> {
|
|
6
6
|
whoBuild: number; // #PK
|
|
7
7
|
userIndx: number; // #PK
|
|
8
8
|
userExid: number; // #PK
|
|
@@ -77,7 +77,7 @@ export interface IUserPartResponse extends IBaseResponse<IUserPartResponse[]> {
|
|
|
77
77
|
displayText: string;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export class TUserPartResponse extends TBaseResponse<IUserPartResponse
|
|
80
|
+
export class TUserPartResponse extends TBaseResponse<IUserPartResponse> implements IUserPartResponse {
|
|
81
81
|
whoBuild: number = 0; // #PK
|
|
82
82
|
userIndx: number = 0; // #PK
|
|
83
83
|
coverURL: string = "";
|
|
@@ -9,7 +9,7 @@ import { TCore } from "../../index.ts";
|
|
|
9
9
|
import _ from "lodash";
|
|
10
10
|
import { IUserPartResponse } from "./IUserPartResponse.ts";
|
|
11
11
|
|
|
12
|
-
export interface IUserResponse extends IBaseResponse<IUserResponse
|
|
12
|
+
export interface IUserResponse extends IBaseResponse<IUserResponse> {
|
|
13
13
|
whoBuild: number; // #PK
|
|
14
14
|
userIndx: number; // #PK
|
|
15
15
|
userExid: number; // #PK
|
|
@@ -163,7 +163,7 @@ export interface IUserResponse extends IBaseResponse<IUserResponse[]> {
|
|
|
163
163
|
listGet4Laid: IUserPartResponse[];
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export class TUserResponse extends TBaseResponse<IUserResponse
|
|
166
|
+
export class TUserResponse extends TBaseResponse<IUserResponse> implements IUserResponse {
|
|
167
167
|
whoBuild: number = 0; // #PK
|
|
168
168
|
userIndx: number = 0; // #PK
|
|
169
169
|
acnoMain: number = 0;
|
|
@@ -405,15 +405,7 @@ export class TWithEXPDS implements WithEXPDS {
|
|
|
405
405
|
whoBuild: number = 0;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
|
|
409
|
-
asLeaderWhenGZTB: number;
|
|
410
|
-
asLockerWhenGZTB: number;
|
|
411
|
-
asWorkerWhenGZTB: number;
|
|
412
|
-
userExid: number;
|
|
413
|
-
userIndx: number;
|
|
414
|
-
whoBuild: number;
|
|
415
|
-
}
|
|
416
|
-
|
|
408
|
+
/* eslint-disable no-unused-vars */
|
|
417
409
|
export enum EnumIsPublic {
|
|
418
410
|
ePublic = 1,
|
|
419
411
|
ePrivate = 0
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import _ from "lodash";
|
|
2
1
|
import { IConfigProperty } from "./IConfigProperty";
|
|
3
|
-
import {DConfigManager} from "./DConfigManager";
|
|
2
|
+
import { DConfigManager } from "./DConfigManager";
|
|
4
3
|
|
|
5
4
|
export function DConfigProperty(configProperty: IConfigProperty) {
|
|
6
5
|
DConfigManager.set(configProperty.cnfgId, configProperty);
|
package/src/enums/btnMode.ts
CHANGED
package/src/enums/cardMode.ts
CHANGED
package/src/enums/doneMode.ts
CHANGED
package/src/enums/editMode.ts
CHANGED
package/src/enums/emitterType.ts
CHANGED
package/src/enums/formType.ts
CHANGED
package/src/enums/index.ts
CHANGED
|
@@ -10,16 +10,4 @@ import { TButtonType } from "./btnMode";
|
|
|
10
10
|
import { TUsesStat } from "./usesStat";
|
|
11
11
|
import { TUsesZczj } from "./usesStat";
|
|
12
12
|
|
|
13
|
-
export {
|
|
14
|
-
StoreId,
|
|
15
|
-
TabActive,
|
|
16
|
-
emitterType,
|
|
17
|
-
TBtnActive,
|
|
18
|
-
TButtonType,
|
|
19
|
-
TDoneMode,
|
|
20
|
-
TEditMode,
|
|
21
|
-
TFormType,
|
|
22
|
-
TUsesStat,
|
|
23
|
-
TViewMode,
|
|
24
|
-
TUsesZczj
|
|
25
|
-
};
|
|
13
|
+
export { StoreId, TabActive, emitterType, TBtnActive, TButtonType, TDoneMode, TEditMode, TFormType, TUsesStat, TViewMode, TUsesZczj };
|
package/src/enums/storeId.ts
CHANGED