|
|
@@ -7,8 +7,9 @@ export default {
|
|
|
namespace: 'dashboard',
|
|
|
state: {
|
|
|
newOne: {},
|
|
|
- myDynamicDashboardList: [{
|
|
|
+ myDynamicDashboardList: [{ //Dynamic Dashboard指看板(动态)
|
|
|
dashboardID: 1,
|
|
|
+ type: 'dynamic',
|
|
|
title: 'Card 1',
|
|
|
url: '',
|
|
|
description: 'Description 1',
|
|
|
@@ -19,6 +20,7 @@ export default {
|
|
|
|
|
|
},{
|
|
|
dashboardID: 2,
|
|
|
+ type: 'dynamic',
|
|
|
title: 'Card 2',
|
|
|
url: '',
|
|
|
description: 'Description 1',
|
|
|
@@ -28,7 +30,8 @@ export default {
|
|
|
|
|
|
},{
|
|
|
dashboardID: 3,
|
|
|
- title: 'Card 1',
|
|
|
+ type: 'dynamic',
|
|
|
+ title: 'Card 3',
|
|
|
url: '',
|
|
|
description: 'Description 1',
|
|
|
coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
|
|
|
@@ -37,10 +40,28 @@ export default {
|
|
|
}
|
|
|
|
|
|
],
|
|
|
- myStaticDashboardList: [
|
|
|
+ myStaticDashboardList: [{ //Static Dashboard指报告(静态)
|
|
|
+ dashboardID: 4,
|
|
|
+ type: 'static',
|
|
|
+ title: 'Card 4',
|
|
|
+ url: '',
|
|
|
+ description: 'Description 1',
|
|
|
+ coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
|
|
|
+ coverAlt: '',
|
|
|
+ avatar:{}
|
|
|
+ },{
|
|
|
+ dashboardID: 5,
|
|
|
+ type: 'static',
|
|
|
+ title: 'Card 5',
|
|
|
+ url: '',
|
|
|
+ description: 'Description 1',
|
|
|
+ coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
|
|
|
+ coverAlt: '',
|
|
|
+ avatar:{}
|
|
|
+ }
|
|
|
|
|
|
],
|
|
|
- myRecentDashboardList: [
|
|
|
+ myRecentDashboardList: [ //最近打开的Dashboard
|
|
|
|
|
|
]
|
|
|
},
|