main
kgdxpr 2 years ago
parent 216c396015
commit b3517d12f2

@ -18,10 +18,10 @@ layui.define(['layer'], function (exports) {
showWordLimit: false,
// readonly: false,
// disabled: false,
required: true,
required: false
// hideLabel: false,
// dimension: false,
expression: ""
// expression: ""
// document: '',
},
select: {
@ -32,16 +32,16 @@ layui.define(['layer'], function (exports) {
tagIcon: 'select',
labelWidth: 110,
width: "100%",
disabled: false,
required: true,
hideLabel: false,
document: '',
datasourceType: 'local',
remoteUrl: 'http://',
remoteMethod: 'post',
remoteOptionText: 'options.data.dictName',//映射到text
remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
remoteDefaultValue: '12',//表示对应的remoteOptionValue的值
// disabled: false,
required: false,
// hideLabel: false,
// document: '',
// datasourceType: 'local',
// remoteUrl: 'http://',
// remoteMethod: 'post',
// remoteOptionText: 'options.data.dictName',//映射到text
// remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
// remoteDefaultValue: '12',//表示对应的remoteOptionValue的值
options: [
{
text: 'option1',
@ -67,14 +67,15 @@ layui.define(['layer'], function (exports) {
tag: "radio",
tagIcon: 'radio',
labelWidth: 110,
disabled: false,
hideLabel: false,
document: '',
datasourceType: 'local',
remoteUrl: 'http://',
remoteMethod: 'post',
remoteOptionText: 'options.data.dictName',//映射到text
remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
required: false,
// disabled: false,
// hideLabel: false,
// document: '',
// datasourceType: 'local',
// remoteUrl: 'http://',
// remoteMethod: 'post',
// remoteOptionText: 'options.data.dictName',//映射到text
// remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
options: [
{
text: 'option1',
@ -100,15 +101,15 @@ layui.define(['layer'], function (exports) {
tag: "checkbox",
tagIcon: 'checkbox',
labelWidth: 110,
disabled: false,
required: true,
hideLabel: false,
document: '',
datasourceType: 'local',
remoteUrl: 'http://',
remoteMethod: 'post',
remoteOptionText: 'options.data.dictName',//映射到text
remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
// disabled: false,
required: false,
// hideLabel: false,
// document: '',
// datasourceType: 'local',
// remoteUrl: 'http://',
// remoteMethod: 'post',
// remoteOptionText: 'options.data.dictName',//映射到text
// remoteOptionValue: 'options.data.dictId',//映射到value text和value可以是一样的
options: [
{
text: 'option1',
@ -150,7 +151,7 @@ layui.define(['layer'], function (exports) {
width: "100%",
clearable: true,
maxlength: null,
dateDefaultValue: '2021-05-25',
dateDefaultValue: '',
dateType: "date",//year month date time datetime
range: false,
dateFormat: "yyyy-MM-dd",
@ -163,10 +164,10 @@ layui.define(['layer'], function (exports) {
mark: null,//每年的日期 {'0-9-18': '国耻'} 0 即代表每一年
showBottom: true,
zindex: 66666666,
disabled: false,
required: true,
hideLabel: false,
document: '',
// disabled: false,
required: false,
// hideLabel: false,
// document: '',
},
dateRange: {
id: '-1',
@ -208,10 +209,11 @@ layui.define(['layer'], function (exports) {
text: false,
theme: "default",
colorSelection: "#ffb800",
required: false,
showBottom: true,
readonly: false,
hideLabel: false,
document: '',
// readonly: false,
// hideLabel: false,
// document: '',
},
image: {
id: '-1',
@ -250,11 +252,11 @@ layui.define(['layer'], function (exports) {
placeholder: "请输入",
defaultValue: null,
width: "100%",
readonly: false,
disabled: false,//这里就是readonly的医生
required: true,
hideLabel: false,
document: ''
// readonly: false,
// disabled: false,//这里就是readonly的医生
required: false,
// hideLabel: false,
// document: ''
},
blockquote: {
id: '-1',
@ -307,8 +309,7 @@ layui.define(['layer'], function (exports) {
{ "key": "date", "icon": "layui-icon layui-icon-time" },
{ "key": "rate", "icon": "layui-icon layui-icon-rate-solid" },
{ "key": "image", "icon": "layui-icon layui-icon-picture" },
{ "key": "file", "icon": "layui-icon layui-icon-export" },
{ "key": "dateRange", "icon": "layui-icon layui-icon-date" }
{ "key": "file", "icon": "layui-icon layui-icon-export" }
]
},
{

Loading…
Cancel
Save