|
发表于 2023-9-19 10:50:15
|
显示全部楼层
这么处理就可以了,再视图具体列的click事件里,这么写:
var action = this.Actions.load("x_cms_assemble_control");
console.log(this.target.row.data.data);
var creatorIdentity = this.target.row.data.data.creatorIdentity;
console.log(creatorIdentity);
this.view.select({
"application": "ygjbsqst", //数据中心中的应用
"view": "加班申请视图", //视图的名称
"width" : 800, //(Number)可选,选择框的宽度。默认700
"height" : 600, //(Number)可选,选择框的高度。默认400
"caption" : "员工加班明细", //(String)可选,选择框的标题
"filter": [
{
"logic":"and",
"path":"$work.creatorIdentity",
"comparison":"equals",
"value":creatorIdentity,
"formatType":"textValue"
}
]
}, function(items) {
}.bind(this)); |
|