表格调整

qianming 3 years ago
parent a875769e9d
commit fe77935229

@ -37,9 +37,9 @@
当超链接和视频链接无效的时候,请尝试使用内联框架<br> 当超链接和视频链接无效的时候,请尝试使用内联框架<br>
### 表格 ### 表格
![img](../picture/dashboard/img.png) <br> ![img](../picture/dashboard/img_22.png) <br>
表格字段对应的数据只选择“文本数字”。<br> 表格字段对应的数据只选择“文本数字”。<br>
![img14](../picture/dashboard/img_14.png) <br> ![img14](../picture/dashboard/img_23.png) <br>
**注意:** 多个字段的时候,需要在“配置-新增”添加你选择数据集所对应的字段,类似于映射关系。 <br> **注意:** 多个字段的时候,需要在“配置-新增”添加你选择数据集所对应的字段,类似于映射关系。 <br>
**如有问题,请提交 [Issue](https://gitee.com/anji-plus/report/issues) <br>** **如有问题,请提交 [Issue](https://gitee.com/anji-plus/report/issues) <br>**

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

@ -66,18 +66,38 @@ export const widgetTable = {
placeholder: '', placeholder: '',
value: true value: true
}, },
{
type: 'el-select',
label: '动画效果',
name: 'effect',
required: false,
placeholder: '',
selectOptions: [
{code: 'top', name: '上滚动'},
{code: 'topLoop', name: '上循环滚动'},
],
value: 'topLoop'
},
{
type: 'el-input-number',
label: '滚动间隔(毫秒)',
name: 'interTime',
required: false,
placeholder: '',
value: 2500
},
{ {
type: 'el-input-number', type: 'el-input-number',
label: '滚动时间(毫秒)', label: '时间(毫秒)',
name: 'rollTime', name: 'delayTime',
required: false, required: false,
placeholder: '', placeholder: '',
value: 1000 value: 500
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '滚动个数', label: '滚动个数',
name: 'rollNumber', name: 'scroll',
required: false, required: false,
placeholder: '', placeholder: '',
value: 1 value: 1
@ -213,7 +233,7 @@ export const widgetTable = {
name: 'refreshTime', name: 'refreshTime',
relactiveDom: 'dataType', relactiveDom: 'dataType',
relactiveDomValue: 'dynamicData', relactiveDomValue: 'dynamicData',
value: 5000 value: 30000
}, },
{ {
type: 'el-button', type: 'el-button',

@ -128,8 +128,10 @@ export default {
const options = this.options; const options = this.options;
const rollSet = this.optionsSetUp; const rollSet = this.optionsSetUp;
options.autoPlay = rollSet.isRoll; options.autoPlay = rollSet.isRoll;
options.delayTime = rollSet.rollTime; options.effect = rollSet.effect;
options.scroll = rollSet.rollNumber; options.interTime = rollSet.interTime;
options.delayTime = rollSet.delayTime;
options.scroll = rollSet.scroll;
this.options = options; this.options = options;
this.hackResetFun(); this.hackResetFun();
}, },

Loading…
Cancel
Save