| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import { routerRedux } from 'dva/router'
- import * as service from '../services/index'
- import { delay } from '../utils/baseUtils'
- import URLS from '../constants/url'
- export default {
- namespace: 'dashboard',
- state: {
- newOne: {},
- myDynamicDashboardList: [{ //Dynamic Dashboard指看板(动态)
- dashboardID: 1,
- type: 'dynamic',
- title: 'Card 1',
- url: '',
- description: 'Description 1',
- coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
- coverAlt: '',
- avatar: ''
-
-
- },{
- dashboardID: 2,
- type: 'dynamic',
- title: 'Card 2',
- url: '',
- description: 'Description 1',
- coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
- coverAlt: '',
- avatar:{}
-
- },{
- dashboardID: 3,
- type: 'dynamic',
- title: 'Card 3',
- url: '',
- description: 'Description 1',
- coverImg:'https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png',
- coverAlt: '',
- avatar:{}
- }
-
- ],
- 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: [ //最近打开的Dashboard
-
- ]
- },
- }
|