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

190 lines
3.1 KiB

const radioSmaill = {
list: [
{
type: "radio",
control:
{
modelValue: ""
},
options: [],
config:
{
optionsType: 0
},
name: "radio1690867322720",
item:
{
label: "单选框组"
}
}],
form:
{
size: "default",
name: ""
},
config:
{}
}
//赋值
const radioValue = {
list: [
{
type: "radio",
control:
{
modelValue: ""
},
options: [
{
label: "男",
value: "1"
},
{
label: "女",
value: "2"
}],
config:
{
optionsType: 0,
transformData: "number",
className: "自定义Class",
help: "帮助信息",
span: 12
},
name: "radio1690867322720",
item:
{
label: "单选框组",
rules: [
{
required: true,
message: "必填项",
trigger: "change"
}]
}
}],
form:
{
size: "default",
name: ""
},
config:
{}
}
//满配
const radioAll = {
list: [
{
type: "radio",
control:
{
modelValue: "",
disabled: true
},
options: [
{
label: "男",
value: "1"
},
{
label: "女",
value: "2"
}],
config:
{
optionsType: 0,
transformData: "number",
className: "自定义Class",
help: "帮助信息",
span: 12,
editDisabled: true,
disabledAdd: true,
disabledEdit: true,
disabledDetail: true,
linkKey: true,
linkResult: "disabled",
linkValue: "$.radio1690867322720 > 1"
},
name: "radio1690867322720",
item:
{
label: "单选框组",
rules: [
{
required: true,
message: "必填项",
trigger: "change"
}],
showLabel: true
}
}],
form:
{
size: "default",
name: ""
},
config:
{}
}
//数据源
const radioData = {
list: [
{
type: "radio",
control:
{
modelValue: "",
disabled: true
},
options: [
{
label: "男",
value: "1"
},
{
label: "女",
value: "2"
}],
config:
{
optionsType: 1,
transformData: "none",
className: "自定义Class",
help: "帮助信息",
span: 12,
editDisabled: true,
disabledAdd: true,
disabledEdit: true,
disabledDetail: true,
linkKey: true,
linkResult: "disabled",
linkValue: "$.radio1690867322720 > 1",
optionsFun: "org/govthreeing",
label: "name",
value: "id"
},
name: "radio1690867322720",
item:
{
label: "单选框组",
rules: [
{
required: true,
message: "必填项",
trigger: "change"
}],
showLabel: true
}
}],
form:
{
size: "default",
name: ""
},
config:
{}
}