File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
import { FormRules } from "element-plus"
2
2
export type FormItemDesc = {
3
3
attrs ?: object //组件的属性
4
- title ?: string , //修改新增时字段的标题,为空时显示字段名本身
5
- editDisabled ?: boolean , //编辑时禁用
6
- componentName : string , //组件名称可自定义实现
4
+ title ?: string //修改新增时字段的标题,为空时显示字段名本身
5
+ editDisabled ?: boolean //编辑时禁用
6
+ componentName : string //组件名称可自定义实现
7
7
}
8
8
9
9
export type FormDesc = {
@@ -18,23 +18,23 @@ export type FormFields = {
18
18
} | undefined
19
19
20
20
export type TableColumns = { //表格的列
21
- field : string
22
- title ?:string , //列的名字
23
- show ?: boolean , //是否显示
24
- colAttrs ?: boolean , //赋值给el-table-column的其他属性值
25
- func ?: ( val :any ) => void , //表格field列的特殊处理
21
+ field : string //字段名称
22
+ title ?:string //列的名字
23
+ show ?: boolean //是否显示
24
+ colAttrs ?: boolean //赋值给el-table-column的其他属性值
25
+ func ?: ( val :any ) => void //表格field列的特殊处理
26
26
}
27
27
28
28
29
29
export type PaginationRef = {
30
- Refresh :( ) => void ,
31
- QueryParams :( ) => void ,
30
+ Refresh :( ) => void
31
+ QueryParams :( ) => void
32
32
}
33
33
34
34
export type Pagination = { //TODO 你们分页的接口返回参数
35
35
records : never [ ]
36
36
}
37
37
38
38
export type FormEditRef = {
39
- OpenEdit :( row : FormFields , title : string , idField : string = "id" ) => void ,
39
+ OpenEdit :( row : FormFields , title : string , idField : string = "id" ) => void
40
40
}
You can’t perform that action at this time.
0 commit comments