Commit 7bc7b0ab by 吴善钰

时空数据侦查,时空回溯,添加跳转地图链接

parent 3d801299
......@@ -82,7 +82,7 @@ var table_title =[
function doQuery(){
$('#skhsjgzsTable').datagrid({
url: "/getSkhsTaskResultDetailList",
onClickRow: clickRow,
//onClickRow: clickRow, //去掉行点击事件
columns : [table_title],
queryParams:serializeObject($("form[name='skhsjgzsForm']")),
striped: true,
......@@ -665,12 +665,13 @@ function goSlide(thisObj){
newNavbody.find(".newNavInfo-m").toggleClass("newNavMoreInfo");
}
}
//添加区域快点击事件
/*//添加区域快点击事件
$(".work-mark-wrap li").click(function(){
$(this).addClass("picked").siblings().removeClass("picked");
});
});*/
//行点击事件
//行点击事件 //去掉行点击事件
/*
function clickRow(rowIndex, rowData, value){
//清楚其它行添加的样式
$(".work-mark-wrap li").removeClass("picked");
......@@ -691,6 +692,7 @@ function clickRow(rowIndex, rowData, value){
}
}
}
*/
/*推荐人员、车辆弹框*/
function showDialog(tjType) {
......@@ -774,3 +776,21 @@ function toggleClass(obj){
$("#skhsjgzsTable").datagrid("resize");
},1000)
}
//区域信息滑动提示
$("#hsxx").hover(function(){
var obj = $(this).find("td").eq(1);
layer.tips('点击进入地图查看回溯详情', obj, {time:0,tips:[1,'#696969']});
},function () {
layer.closeAll('tips');
})
//查看区域回溯(跳转到地图)
$("#hsxx").click(function(){
if (!(mapPath.charAt(mapPath.length - 1) === '#')) {
mapPath += "#";
}
var url = mapPath + "/skhsRegionalBacktracking/" + taskId;
window.open(url);
});
\ No newline at end of file
......@@ -43,7 +43,7 @@
<fieldset>
<legend>回溯信息</legend>
<ul class="work-mark-wrap">
<li>
<li id="hsxx">
<table>
<tr>
<td class="ar" width="8%">区域名称:</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment