|
this.form.get("div_4").show();
// this.queryStatement.reload( ysbmysh );
var dialog = o2.DL.open({
"style" : "o2", // 对话框的样式为 "o2"
"title": "弹出框标题", // 对话框的标题
"width": "1000", // 对话框的宽度为 400 像素
"height" : "800", // 对话框的高度为 200 像素
"isMax": false, // 对话框不能最大化
"isClose": true, // 对话框可以关闭
"isResize": true, // 对话框可以调整大小
"isMove": true, // 对话框可以移动
"isTitle": true, // 对话框有标题栏
"offset": {"x":-200, "y": -100},// 对话框的初始位置偏移 (-200, -100)
"mask": true, // 对话框有遮罩层
"content": this.form.get("div_4").node, // 对话框的内容为一个新的 div 元素
"container": this.form.getApp().content, // 对话框的容器为 this.form.getApp().content
"duration": 200, // 对话框的动画持续时间为 200 毫秒
"buttonList": [ // 对话框的按钮列表
{
"text": "确定", // 按钮的文本为 "确定"
"action": function(){ // 按钮的点击事件处理函数
var f = this.form.get("ysbmysh")
var datalist = f.getData(); //获取嵌入自建表数据
f.data = []
var line = this.form.get("sjbg11").currentEditedLine;
// var datatable = this.form.get("sjbg11") //获取数据表格数据
var ghh = datalist[0].ysh //获取自建表所需字段
// debugger
line.get("tcysh").setData(ghh);
this.form.get("div_4").hide();
debugger
dialog.close(); // 关闭对话框
// rate(_self)
}.bind(this)
},
{
"text": "取消", // 按钮的文本为 "取消"
"action": function(){ // 按钮的点击事件处理函数
dialog.close(); // 关闭对话框
}.bind(this)
}
],
})
|
|