You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
415 lines
5.2 KiB
415 lines
5.2 KiB
const optAll = {
|
|
list: [
|
|
{
|
|
type: "input",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "input1696058746993",
|
|
item:
|
|
{
|
|
label: "单行文本"
|
|
}
|
|
},
|
|
{
|
|
type: "password",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "input1696058918134",
|
|
item:
|
|
{
|
|
label: "单行文本"
|
|
}
|
|
},
|
|
{
|
|
type: "textarea",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "textarea1696058748248",
|
|
item:
|
|
{
|
|
label: "多行文本"
|
|
}
|
|
},
|
|
{
|
|
type: "radio",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
options: [],
|
|
config:
|
|
{
|
|
optionsType: 0
|
|
},
|
|
name: "radio1696058749689",
|
|
item:
|
|
{
|
|
label: "单选框组"
|
|
}
|
|
},
|
|
{
|
|
type: "checkbox",
|
|
control:
|
|
{
|
|
modelValue: []
|
|
},
|
|
options: [],
|
|
config:
|
|
{
|
|
optionsType: 0
|
|
},
|
|
name: "checkbox1696058751136",
|
|
item:
|
|
{
|
|
label: "多选框组"
|
|
}
|
|
},
|
|
{
|
|
type: "select",
|
|
control:
|
|
{
|
|
modelValue: "",
|
|
appendToBody: true
|
|
},
|
|
options: [],
|
|
config:
|
|
{
|
|
optionsType: 0
|
|
},
|
|
name: "select1696058753224",
|
|
item:
|
|
{
|
|
label: "下拉选择框"
|
|
}
|
|
},
|
|
{
|
|
type: "datePicker",
|
|
control:
|
|
{
|
|
modelValue: "",
|
|
type: "date",
|
|
valueFormat: "x"
|
|
},
|
|
config:
|
|
{},
|
|
name: "datePicker1696058754895",
|
|
item:
|
|
{
|
|
label: "日期选择器"
|
|
}
|
|
},
|
|
{
|
|
type: "timePicker",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "timePicker1696058756240",
|
|
item:
|
|
{
|
|
label: "时间选择器"
|
|
}
|
|
},
|
|
{
|
|
type: "colorPicker",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "colorPicker1696058757846",
|
|
item:
|
|
{
|
|
label: "取色器"
|
|
}
|
|
},
|
|
{
|
|
type: "switch",
|
|
control:
|
|
{
|
|
modelValue: false
|
|
},
|
|
config:
|
|
{},
|
|
name: "switch1696058780439",
|
|
item:
|
|
{
|
|
label: "开关"
|
|
}
|
|
},
|
|
{
|
|
type: "inputNumber",
|
|
control:
|
|
{
|
|
modelValue: 0
|
|
},
|
|
config:
|
|
{},
|
|
name: "inputNumber1696058782096",
|
|
item:
|
|
{
|
|
label: "计数器"
|
|
}
|
|
},
|
|
{
|
|
type: "cascader",
|
|
control:
|
|
{
|
|
modelValue: []
|
|
},
|
|
options: [],
|
|
config:
|
|
{
|
|
optionsType: 0
|
|
},
|
|
name: "cascader1696058783721",
|
|
item:
|
|
{
|
|
label: "级联选择器"
|
|
}
|
|
},
|
|
{
|
|
type: "rate",
|
|
control:
|
|
{
|
|
modelValue: 0
|
|
},
|
|
config:
|
|
{},
|
|
name: "rate1696058785728",
|
|
item:
|
|
{
|
|
label: "评分"
|
|
}
|
|
},
|
|
{
|
|
type: "slider",
|
|
control:
|
|
{
|
|
modelValue: 0
|
|
},
|
|
config:
|
|
{},
|
|
name: "slider1696058788101",
|
|
item:
|
|
{
|
|
label: "滑块"
|
|
}
|
|
},
|
|
{
|
|
type: "treeSelect",
|
|
control:
|
|
{
|
|
modelValue: "",
|
|
data: [],
|
|
renderAfterExpand: false
|
|
},
|
|
config:
|
|
{
|
|
optionsType: 0
|
|
},
|
|
name: "treeSelect1696058790114",
|
|
item:
|
|
{
|
|
label: "树形控件"
|
|
}
|
|
},
|
|
{
|
|
type: "txt",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{}
|
|
},
|
|
{
|
|
type: "title",
|
|
control:
|
|
{
|
|
modelValue: "标题"
|
|
},
|
|
config:
|
|
{}
|
|
},
|
|
{
|
|
type: "button",
|
|
control:
|
|
{
|
|
label: "保存"
|
|
},
|
|
config:
|
|
{}
|
|
},
|
|
{
|
|
type: "table",
|
|
list: [],
|
|
tableData: [],
|
|
control:
|
|
{
|
|
border: true
|
|
},
|
|
config:
|
|
{
|
|
addBtnText: "添加一行"
|
|
},
|
|
name: "table1696058799887"
|
|
},
|
|
{
|
|
type: "component",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "component1696058802415",
|
|
item:
|
|
{
|
|
label: "自定义组件"
|
|
}
|
|
},
|
|
{
|
|
type: "upload",
|
|
control:
|
|
{
|
|
modelValue: "",
|
|
action: "/dev-api/api/upordown"
|
|
},
|
|
config:
|
|
{},
|
|
name: "upload1696058806299",
|
|
item:
|
|
{
|
|
label: "图片/文件"
|
|
}
|
|
},
|
|
{
|
|
type: "tinymce",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "tinymce1696058809231",
|
|
item:
|
|
{
|
|
label: "富文本"
|
|
}
|
|
},
|
|
{
|
|
type: "grid",
|
|
columns: [
|
|
{
|
|
attr:
|
|
{
|
|
span: 12
|
|
},
|
|
list: []
|
|
},
|
|
{
|
|
attr:
|
|
{
|
|
span: 12
|
|
},
|
|
list: []
|
|
}],
|
|
control:
|
|
{},
|
|
config:
|
|
{}
|
|
},
|
|
{
|
|
type: "tabs",
|
|
columns: [
|
|
{
|
|
label: "Tab1",
|
|
list: []
|
|
}],
|
|
control:
|
|
{},
|
|
config:
|
|
{}
|
|
},
|
|
{
|
|
type: "card",
|
|
list: [],
|
|
control:
|
|
{},
|
|
config:
|
|
{},
|
|
item:
|
|
{
|
|
label: "卡片布局"
|
|
}
|
|
},
|
|
{
|
|
type: "flex",
|
|
list: [],
|
|
tableData: [],
|
|
control:
|
|
{},
|
|
config:
|
|
{
|
|
addBtnText: "添加一行"
|
|
},
|
|
name: "flex1696058823576"
|
|
},
|
|
{
|
|
type: "divider",
|
|
control:
|
|
{},
|
|
config:
|
|
{},
|
|
item:
|
|
{
|
|
label: "分割线"
|
|
}
|
|
},
|
|
{
|
|
type: "div",
|
|
control:
|
|
{},
|
|
config:
|
|
{},
|
|
list: []
|
|
},
|
|
{
|
|
type: "expand-user",
|
|
control:
|
|
{
|
|
modelValue: ""
|
|
},
|
|
config:
|
|
{},
|
|
name: "expand-user1696058834253",
|
|
item:
|
|
{
|
|
label: "选择用户"
|
|
}
|
|
}],
|
|
form:
|
|
{
|
|
size: "default",
|
|
name: "customer_form_168743329826082816",
|
|
formName: "未命名表单_168743329826082816"
|
|
},
|
|
config:
|
|
{}
|
|
}
|