mirror of
https://gitee.com/anji-plus/report.git
synced 2026-04-01 10:08:36 +08:00
表格调整
This commit is contained in:
@@ -37,9 +37,9 @@
|
||||
当超链接和视频链接无效的时候,请尝试使用内联框架<br>
|
||||
|
||||
### 表格
|
||||
 <br>
|
||||
 <br>
|
||||
表格字段对应的数据只选择“文本数字”。<br>
|
||||
 <br>
|
||||
 <br>
|
||||
**注意:** 多个字段的时候,需要在“配置-新增”添加你选择数据集所对应的字段,类似于映射关系。 <br>
|
||||
**如有问题,请提交 [Issue](https://gitee.com/anji-plus/report/issues) <br>**
|
||||
|
||||
|
||||
BIN
doc/docs/picture/dashboard/img_22.png
Normal file
BIN
doc/docs/picture/dashboard/img_22.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
doc/docs/picture/dashboard/img_23.png
Normal file
BIN
doc/docs/picture/dashboard/img_23.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -67,17 +67,37 @@ export const widgetTable = {
|
||||
value: true
|
||||
},
|
||||
{
|
||||
type: 'el-input-number',
|
||||
label: '滚动时间(毫秒)',
|
||||
name: 'rollTime',
|
||||
type: 'el-select',
|
||||
label: '动画效果',
|
||||
name: 'effect',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 1000
|
||||
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',
|
||||
label: '动效时间(毫秒)',
|
||||
name: 'delayTime',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 500
|
||||
},
|
||||
{
|
||||
type: 'el-input-number',
|
||||
label: '滚动个数',
|
||||
name: 'rollNumber',
|
||||
name: 'scroll',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: 1
|
||||
@@ -213,7 +233,7 @@ export const widgetTable = {
|
||||
name: 'refreshTime',
|
||||
relactiveDom: 'dataType',
|
||||
relactiveDomValue: 'dynamicData',
|
||||
value: 5000
|
||||
value: 30000
|
||||
},
|
||||
{
|
||||
type: 'el-button',
|
||||
|
||||
@@ -128,8 +128,10 @@ export default {
|
||||
const options = this.options;
|
||||
const rollSet = this.optionsSetUp;
|
||||
options.autoPlay = rollSet.isRoll;
|
||||
options.delayTime = rollSet.rollTime;
|
||||
options.scroll = rollSet.rollNumber;
|
||||
options.effect = rollSet.effect;
|
||||
options.interTime = rollSet.interTime;
|
||||
options.delayTime = rollSet.delayTime;
|
||||
options.scroll = rollSet.scroll;
|
||||
this.options = options;
|
||||
this.hackResetFun();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user