应用集成平台服务端
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.
 
 
 

559 lines
9.0 KiB

const opt = {
list: [
{
type: "grid",
columns: [
{
attr:
{
span: 12
},
list: [
{
type: "input",
control:
{
modelValue: "",
placeholder: "请输入姓名"
},
config:
{},
name: "input1690848993703",
item:
{
label: "姓名"
}
}]
},
{
attr:
{
span: 12
},
list: [
{
type: "radio",
control:
{
modelValue: ""
},
options: [
{
label: "男",
value: "1"
},
{
label: "女",
value: "2"
}],
config:
{
optionsType: 0,
transformData: "number"
},
name: "radio1690848996254",
item:
{
label: "性别"
}
}],
type: "gridChild"
},
{
list: [
{
type: "select",
control:
{
modelValue: "",
appendToBody: true,
placeholder: "请选择民族"
},
options: [
{
label: "汉族",
value: "1"
},
{
label: "回族",
value: "2"
},
{
label: "满族",
value: "3"
},
{
label: "维吾尔族",
value: "4"
}],
config:
{
optionsType: 0
},
name: "select1690849137964",
item:
{
label: "民族"
}
}],
attr:
{
span: 12
}
},
{
list: [
{
type: "radio",
control:
{
modelValue: ""
},
options: [
{
label: "已婚",
value: "1"
},
{
label: "未婚",
value: "2"
}],
config:
{
optionsType: 0,
transformData: "number"
},
name: "radio1690849410161",
item:
{
label: "婚姻状况"
}
}],
attr:
{
span: 12
},
type: "gridChild"
},
{
list: [
{
type: "input",
control:
{
modelValue: ""
},
config:
{},
name: "input1690849482442",
item:
{
label: "联系电话"
}
}],
attr:
{
span: 12
}
},
{
list: [
{
type: "input",
control:
{
modelValue: "",
placeholder: "请输入家庭住址"
},
config:
{},
name: "input1690849626122",
item:
{
label: "家庭住址"
}
}],
attr:
{
span: 12
}
}],
control:
{},
config:
{}
},
{
type: "divider",
control:
{},
config:
{},
item:
{
label: "人员属性"
}
},
{
type: "tabs",
columns: [
{
label: "基本信息",
list: [
{
type: "upload",
control:
{
modelValue: ""
},
config:
{},
name: "upload1690849946230",
item:
{
label: "图片/文件"
}
}]
},
{
label: "行政组织关系",
list: [
{
type: "tinymce",
control:
{
modelValue: ""
},
config:
{},
name: "tinymce1690849980035",
item:
{
label: "富文本"
}
}]
},
{
label: "紧急联系人",
list: [
{
type: "title",
control:
{
modelValue: "标题"
},
config:
{}
}]
},
{
label: "教育经历",
list: [
{
type: "txt",
control:
{
modelValue: "这是一段文字说明"
},
config:
{}
}]
}],
control:
{},
config:
{
span: ""
}
},
{
type: "flex",
list: [
{
type: "treeSelect",
control:
{
modelValue: "",
data: [
[]
],
renderAfterExpand: false
},
config:
{
optionsType: 0,
optionsFun: ""
},
name: "treeSelect1690850331372",
item:
{
label: "树形控件"
}
}],
tableData: [],
control:
{},
config:
{
addBtnText: "添加一行"
},
name: "flex1690850046691"
},
{
type: "textarea",
control:
{
modelValue: ""
},
config:
{},
name: "textarea1690850327911",
item:
{
label: "多行文本"
}
},
{
type: "cascader",
control:
{
modelValue: []
},
options: [
[]
],
config:
{
optionsType: 1,
optionsFun: "org/govthreeing",
method: "post",
label: "name",
value: "id",
transformData: "string"
},
name: "cascader1690850727709",
item:
{
label: "级联选择器"
}
},
{
type: "rate",
control:
{
modelValue: 0
},
config:
{},
name: "rate1690858082610",
item:
{
label: "评分"
}
},
{
type: "slider",
control:
{
modelValue: 0
},
config:
{},
name: "slider1690858085171",
item:
{
label: "滑块"
}
},
{
type: "checkbox",
control:
{
modelValue: []
},
options: [
{
label: "结果1",
value: "1"
},
{
label: "结果2",
value: "2"
},
{
label: "结果3",
value: "3"
}],
config:
{
optionsType: 0
},
name: "checkbox1690858133654",
item:
{
label: "多选框组"
}
},
{
type: "select",
control:
{
modelValue: "",
appendToBody: true
},
options: [],
config:
{
optionsType: 0
},
name: "select1690858188721",
item:
{
label: "下拉选择框"
}
},
{
type: "datePicker",
control:
{
modelValue: "",
type: "date"
},
config:
{},
name: "datePicker1690858198926",
item:
{
label: "日期选择器"
}
},
{
type: "timePicker",
control:
{
modelValue: ""
},
config:
{},
name: "timePicker1690858223852",
item:
{
label: "时间选择器"
}
},
{
type: "colorPicker",
control:
{
modelValue: ""
},
config:
{},
name: "colorPicker1690858227551",
item:
{
label: "取色器"
}
},
{
type: "switch",
control:
{
modelValue: false
},
config:
{},
name: "switch1690858231044",
item:
{
label: "开关"
}
},
{
type: "inputNumber",
control:
{
modelValue: 0
},
config:
{},
name: "inputNumber1690858235582",
item:
{
label: "计数器"
}
},
{
type: "cascader",
control:
{
modelValue: []
},
options: [],
config:
{
optionsType: 0
},
name: "cascader1690858239039",
item:
{
label: "级联选择器"
}
},
{
type: "slider",
control:
{
modelValue: 0
},
config:
{},
name: "slider1690858246408",
item:
{
label: "滑块"
}
},
{
type: "button",
control:
{
label: "保存"
},
config:
{}
},
{
type: "component",
control:
{
modelValue: ""
},
config:
{},
name: "component1690858760867",
item:
{
label: "自定义组件",
rules: []
},
customRules: [
{
type: "required",
message: "必填项1",
trigger: "blur"
},
{
type: "required",
message: "必填项2",
trigger: "blur"
}]
}],
form:
{
size: "default",
name: ""
},
config:
{}
}