@icreate/ics-basic-form-builder
Advanced tools
Comparing version 0.0.26-beta.0 to 0.0.27-beta.0
{ | ||
"name":"@icreate/ics-basic-form-builder", | ||
"version": "0.0.26-beta.0", | ||
"version": "0.0.27-beta.0", | ||
"description": "vue组件封装的表单设计器", | ||
@@ -5,0 +5,0 @@ "main": "form-builder.umd.min.js", |
@[toc] | ||
**版本更新说明** | ||
- [ 0.0.27] 1.label添加tooltip (字段labelTooltipContent/labelTooltipPlacement) 2.添加multi-column-select(select自定义模板:多列select) | ||
- [ 0.0.26-beta.0] 修复栅格组件的自适应宽度问题 | ||
@@ -189,2 +190,4 @@ - [ 0.0.25 ] 1.可隐藏保存模板按钮saveFormTemplate:false,提供了自己保存的方法customSaveTemplate 2.栅格垂直方向对齐 | ||
readOnlyNoBorder: true, //只读时的样式 不要边框 | ||
labelTooltipContent:"标签文字提示内容", //标签文字提示内容 | ||
labelTooltipPlacement:"top" //标签文字提示位置 | ||
}, | ||
@@ -303,2 +306,53 @@ }, | ||
{ | ||
type: "multi-column-select", | ||
options: { | ||
name: "multi-column-select", | ||
label: "多列select", | ||
labelColumn: "name", //label绑定的列 | ||
valueColumn: "id", //value绑定的列 | ||
showHeader: true, //是否显示表头 | ||
labelAndValue: true, //返回值是对象(label和value) | ||
optionItems: { | ||
thOptions: [ | ||
// 表头 | ||
{ | ||
label: "日期", | ||
value: "date", | ||
width: "100", | ||
}, | ||
{ | ||
label: "姓名", | ||
value: "name", | ||
width: "100", | ||
}, | ||
{ | ||
label: "地址", | ||
value: "address", | ||
width: "260", | ||
}, | ||
], | ||
tbodyOptions: [ | ||
{ | ||
id: "1", | ||
date: "2016-05-02", | ||
name: "张三", | ||
address: "上海市普陀区金沙江路 1518 弄", | ||
}, | ||
{ | ||
id: "2", | ||
date: "2016-05-04", | ||
name: "李四", | ||
address: "上海市普陀区金沙江路 1517 弄", | ||
}, | ||
{ | ||
id: "3", | ||
date: "2016-05-01", | ||
name: "王二麻子", | ||
address: "上海市普陀区金沙江路 1519 弄", | ||
}, | ||
], // 表格内容 | ||
}, | ||
}, | ||
}, | ||
{ | ||
type: "time", | ||
@@ -305,0 +359,0 @@ options: { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4304
780
1220611