1.view
<conf service="S1210052" pageSize="10" pagination="true" singleSelect="true" colNumbers="3" fit="true" onDblClickRow="showDetail"/>
2.html1
<script type="text/javascript" src="../../frame/js/front-base.js"></script>
function showDetail(rowIndex,rowData) {
var url = "../../kdiaSystem/acctDataProcess/CollectLogShow.html?"+jsonToStr(rowData, "&");
window.pFrame = top.mainFrame || window.parent.frontManger;
pFrame.addTab("客户采集流水",url,true,undefined); //undefined 改成指定的序号,这样不会重复打开同一个页面
}
3.html2
var jsonUrlParam = URLtool().getUrlParam();
"getUrlParam": function (url) {
var objUrl = url ? this.parsUrl(url) : this.parsUrl(window.location.href);
//中文乱码转换 by 胡锐峰
var jsonObj = objUrl.params;
var key;
for(key in jsonObj) {
if($.trim(jsonObj[key]) != '') {
jsonObj[key] = decodeURI(jsonObj[key]);
}
}
return jsonObj|| "";
},