我就是做的弹窗(this.form.dialog()),弹窗内容取的读者组件,但是仍然不能编辑。
[JavaScript] 纯文本查看 复制代码 // 弹窗
var _self = this;
this.form.dialog({
"title": "修改阅读权限",
"width": "1200",
"height": "300",
"isMax" : true,
"container" : this.form.app.content,
"moduleName": "table_reader", //内容为表单上的组件,标识为div_1
"buttonList" : [
{
"type": "ok", //(string) 样式,彩色底的按钮
"text": "确定", //(string)text:按钮显示名称
"action": function(){ //(function) 按钮对应的点击事件
//do something,this指向本对话框对象
this.close();
}
},
{
"type": "cancel", //(string) 样式,灰色底的按钮
"text": "取消",
"action": function(){
//do something
this.close();
}
}
],
"onQueryClose": function(){
_self.form.get("div_privilege").node.hide();
_self.form.get("table_reader").node.hide();
},
"onPostClose": function() {
},
"onQueryShow":function(){
_self.form.get("div_privilege").node.show();
_self.form.get("table_reader").node.show();
},
"onPostShow": function(){
},
});
|