main
kgdxpr 2 years ago
parent 216c396015
commit b3517d12f2

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

Loading…
Cancel
Save