if (window.lineboxes) { var cells = []; for (var i = 0; i < lineboxes.length; i++) { if (lineboxes[i].selected() == true) { var cr = FR.cellStr2ColumnRow(window.lineboxes[i].options.location); //获取勾选复选框所在行列 var code = "'" + contentPane.getCellValue(23, cr.row) + "'"; if (code.indexOf(user) != -1 || user == "admin" || user == "zhangsan" || user == "lisi" || user == "wangwu") { var a = "'" + contentPane.getCellValue(2, cr.row) + "'"; cells.push(a); if (cells.length == 0) { alert("请选择一笔数据"); } else { //alert(cells); FR.doHyperlinkByGet4Reportlet({ "para": { "__pi__": true }, "feature": "width=880,height=980,", "title": "XXXXXXX", "url": "${servletURL}?viewlet=XXXXXXXX.cpt&op=write&num=" + cells, "target": "_dialog" }) } } else { alert("你没有处理此数据权限"); } } } } |
最佳回答 |
||||
0
|
|