@baosight/erm 1.0.60 → 1.0.61
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/lib/index.common.js +100 -1
- package/lib/index.common.js.map +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.esm.css +107 -107
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +100 -1
- package/lib/index.umd.js.map +1 -1
- package/lib/index.umd.min.js +2 -2
- package/lib/index.umd.min.js.map +1 -1
- package/lib/utils/ermHelper.d.ts +71 -0
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare class ermListHelper {
|
|
2
|
+
/**
|
|
3
|
+
* 获取表名
|
|
4
|
+
* @param ref 组件实例
|
|
5
|
+
*/
|
|
6
|
+
static getTableName(ref: any): any;
|
|
7
|
+
/**
|
|
8
|
+
* 结束加载状态
|
|
9
|
+
* @param ref 组件实例
|
|
10
|
+
*/
|
|
11
|
+
static endLoad(ref: any): any;
|
|
12
|
+
/**
|
|
13
|
+
* 全选
|
|
14
|
+
* @param ref 组件实例
|
|
15
|
+
*/
|
|
16
|
+
static selectAll(ref: any): any;
|
|
17
|
+
/**
|
|
18
|
+
* 全不选
|
|
19
|
+
* @param ref 组件实例
|
|
20
|
+
*/
|
|
21
|
+
static selectNone(ref: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* 获取选择行数据
|
|
24
|
+
* @param ref 组件实例
|
|
25
|
+
*/
|
|
26
|
+
static getSelectedRows(ref: any): any;
|
|
27
|
+
}
|
|
28
|
+
export declare class ermFormHelper {
|
|
29
|
+
/**
|
|
30
|
+
* 获取表单数据
|
|
31
|
+
* @param ref 组件实例
|
|
32
|
+
*/
|
|
33
|
+
static getGridData(ref: any): any;
|
|
34
|
+
/**
|
|
35
|
+
* 获取表单某行某字段
|
|
36
|
+
* @param ref 组件实例
|
|
37
|
+
* @param rowNo 行号
|
|
38
|
+
* @param itemCode 字段名
|
|
39
|
+
*/
|
|
40
|
+
static getGridCellData(ref: any, rowNo: any, itemCode: any): any;
|
|
41
|
+
/**
|
|
42
|
+
* 表单某行某字段赋值
|
|
43
|
+
* @param ref 组件实例
|
|
44
|
+
* @param rowNo 行号
|
|
45
|
+
* @param itemCode 字段名
|
|
46
|
+
* @param value 字段值
|
|
47
|
+
*/
|
|
48
|
+
static setGridData(ref: any, rowNo: any, itemCode: any, value: any): any;
|
|
49
|
+
/**
|
|
50
|
+
* 校验必输项
|
|
51
|
+
* @param ref 组件实例
|
|
52
|
+
*/
|
|
53
|
+
static checkRequireInput(ref: any): any;
|
|
54
|
+
/**
|
|
55
|
+
* 重置默认值
|
|
56
|
+
* @param ref 组件实例
|
|
57
|
+
*/
|
|
58
|
+
static resetData(ref: any): any;
|
|
59
|
+
/**
|
|
60
|
+
* 重置默认值
|
|
61
|
+
* @param ref 组件实例
|
|
62
|
+
* @param rowNo 行号
|
|
63
|
+
* @param rowObj 行对象
|
|
64
|
+
*/
|
|
65
|
+
static mergeDataRow(ref: any, rowNo: any, rowObj: any): any;
|
|
66
|
+
/**
|
|
67
|
+
* 获取表名
|
|
68
|
+
* @param ref 组件实例
|
|
69
|
+
*/
|
|
70
|
+
static getTableName(ref: any): any;
|
|
71
|
+
}
|