56 lines
1.4 KiB
JavaScript
56 lines
1.4 KiB
JavaScript
class DashboardsController extends EICController {
|
|
|
|
constructor(params) {
|
|
super(params)
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @returns
|
|
*/
|
|
index() {
|
|
let models = {
|
|
// mailings: new MailingsModel(payload['/mailings'].permissions)
|
|
}
|
|
// await app.Assets.loadHtml({name:'mailing/tile.html'})
|
|
this.loadWindow(
|
|
'dashboards/MainDashboardView',
|
|
{
|
|
title: '3D view',
|
|
static: true,
|
|
expanded: false,
|
|
windowStyle:{
|
|
width: '800px',
|
|
height: '600px',
|
|
left: '50px',
|
|
top: '100px',
|
|
}
|
|
},
|
|
{
|
|
models: models,
|
|
camName: 'persp1'
|
|
}
|
|
)
|
|
this.loadWindow(
|
|
'dashboards/MainDashboardView',
|
|
{
|
|
title: '2D View',
|
|
static: true,
|
|
expanded: false,
|
|
windowStyle:{
|
|
width: '600px',
|
|
height: '450px',
|
|
right:'10px',
|
|
top:'100px',
|
|
}
|
|
},
|
|
{
|
|
models: models,
|
|
camName: 'cam2Dtop'
|
|
}
|
|
)
|
|
}
|
|
}
|
|
|
|
app.registerClass('DashboardsController', DashboardsController); |