You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

define(['system/views/pages/page', 'text!./pagePluAbandon.tpl'], function (BasePage, tpl) {
/**
* 列表页类定义
* @param id
* @param node 节点信息
* @constructor
*/
function Page(id, node, biz) {
let self = this;
//通过绑定控制界面显示
self.opts = {
showWest: true,
showEast: true,
showNorth: true,
showSouth: true,
showDetail: true,
showTree: true
};
//继承Page类构造函数
BasePage.call(self, id, node, tpl, self.opts, biz);
}
//继承Page类方法
inherits(Page, BasePage);
/**
* Override
* 界面显示后
*/
Page.prototype.initCompleted = function () {
this.super('initCompleted');
let self = this;
let $detailPanel = this.getElement('.edp-page .page-body-south');
$detailPanel.panel({
onResize: function (w, h) {
self.resizeGrid($detailPanel);
}
});
$(window).resize(function () {
setTimeout(function () {
let tabId = Store.tabPrefix + self.node.id;
self.$container = $('#' + tabId)
self.$layout = self.getElement('.easyui-layout');
self.resize();
}, 100);
});
}
/**
* Override
* 用于初始化界面
* @return
*/
Page.prototype.init = function () {};
return Page;
})