stripeRows : true,
frame : true,
autoExpandColumn : 'remark',
cm : cm,
sm : sm,
tbar : [ {
text : '配置报文',
iconCls : 'page_addIcon',
handler : function() {
addInit();
}
function addInit() {
clearForm(addRepFormPanel.getForm());//重置
var flag = Ext.getCmp('windowmode').getValue();
if (typeof (flag) != 'undefined') {
addRepFormPanel.form.getEl().dom.reset();
} else {
clearForm(addRepFormPanel.getForm());
}
var selectModel = deptTree.getSelectionModel();
var selectNode = selectModel.getSelectedNode();
Ext.getCmp('orgid').setValue(selectNode.attributes.id);
var orgid = selectNode.attributes.id;
Ext.getCmp('windowmode').setValue('add');
userGrantInit(orgid);
}
报的错误是没有权限,行:468,字符8 :
var selectMenuTab = new Ext.Panel(
{
title : '<img src="./resource/image/ext/config.png" align="top" class="IEPNG"> 选择报表',
// iconCls: 'user_femaleIcon',
autoLoad : {
url : './repmanage.ered?reqCode=selectReportInit',
scripts : true,
text : parent.PAGE_LOAD_MSG,
params : {
deptid : orgid
}
}
});