2025-03-26
This commit is contained in:
38
src/views/userManagement/role/constant/edit.ts
Normal file
38
src/views/userManagement/role/constant/edit.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
interface FormItem {
|
||||
prop: string;
|
||||
label?: string;
|
||||
placeholder?: string;
|
||||
type: string;
|
||||
isCopy?: boolean;
|
||||
optionProps?: any;
|
||||
startPlaceholder?: string;
|
||||
endPlaceholder?: string;
|
||||
options?: any;
|
||||
isArray?: boolean;
|
||||
startDate?: string; //开始时间(传入后台需要的参数)
|
||||
endDate?: string; //结束时间(传入后台需要的参数)
|
||||
startProp?: string;
|
||||
endProp?: string;
|
||||
isInteger?: boolean;
|
||||
disabled?: boolean;
|
||||
fileList?: any;
|
||||
prompt?: any;
|
||||
isAll?: any;
|
||||
}
|
||||
export const EDIT_FORM_DATA: FormItem[] = [
|
||||
{
|
||||
prop: "name",
|
||||
placeholder: "请输入",
|
||||
type: "input",
|
||||
label: "角色名: "
|
||||
},
|
||||
{
|
||||
prop: "desc",
|
||||
type: "textarea",
|
||||
placeholder: "请输入",
|
||||
label: "角色描述: "
|
||||
}
|
||||
];
|
||||
export const EDIT_RULE_FORM = {};
|
||||
// editRuleForm: {},
|
||||
//editFormData: [],
|
||||
Reference in New Issue
Block a user