Commit 405d3837 by chentian

智能推荐增加用采合一

parent fc0866ea
......@@ -733,12 +733,16 @@ public class RegionalAnalysisController {
/**/
@RequestMapping(value = "/toTjDialog",method = {RequestMethod.GET,RequestMethod.POST})
public ModelAndView toTjDialog(String taskId,boolean isCount,String tjCount,String tjType){
public ModelAndView toTjDialog(String taskId,boolean isCount,String tjCount,String tjType,String asjbh,String sfzhUser,String fsrjh,String djsjStr){
ModelAndView modelAndView = new ModelAndView("qypz/tjDialog");
modelAndView.addObject("taskId",taskId);
modelAndView.addObject("isCount",isCount);
modelAndView.addObject("tjCount",tjCount);
modelAndView.addObject("tjType",tjType);
modelAndView.addObject("asjbh",asjbh);
modelAndView.addObject("sfzhUser",sfzhUser);
modelAndView.addObject("fsrjh",fsrjh);
modelAndView.addObject("djsjStr",djsjStr);
return modelAndView;
}
......
......@@ -486,6 +486,7 @@ public class RegionalAnalysisServiceImpl implements RegionalAnalysisService {
}
resultMap.setCount(count);
resultMap.setData(list);
resultMap.setTjly(tjly);
} catch (Exception e) {
e.printStackTrace();
......
......@@ -893,8 +893,8 @@ function showDialog(tjType) {
if(count!=0){
openUrlForm({
id:dialogId,
url:'/toTjDialog?taskId='+taskId+"&isCount=false&tjCount="+ count+"&tjType="+tjType+"&yhCate=00&projectName=刑专智慧侦查脑图",
title:'推荐',
url:'/toTjDialog?taskId='+taskId+"&isCount=false&tjCount="+ count+"&tjType="+tjType+"&asjbh="+asjbh+"&sfzhUser="+sfzhUser+"&fsrjh="+fsrjh+"&djsjStr="+djsjStr+"&yhCate=00&projectName=刑专智慧侦查脑图",
title:'智能推荐',
width:1000,
height:408,
cache:false,
......
......@@ -35,7 +35,8 @@ function esbfydatathread(page,limit) {
$(".ryzp:last").attr("src", "data:image/gif;base64," + data.ryzpStr);
}
$(".eclipse1:last").html(data.name);
$(".eclipse2:last").html(data.zjhm);
var ychy='<img src="/images/asjxx_ychy.png" width=20 height=20 onclick="sksjzcYchy(this,\''+''+'\',\''+data.zjhm+'\',\''+''+'\',\'1\')"/>';
$(".eclipse2:last").html(data.zjhm+ychy);
if(data.sfGwry=="1"){
tjly="高危";
}
......@@ -59,14 +60,16 @@ function esbfydatathread(page,limit) {
}else if(tjType==2){
$(".result-box-hm:last").clone().appendTo(".dialog-content");
$(".ryzp:last").attr("src", "/images/telephone.png");
$(".eclipse1:last").html(data.sjhm);
var ychy='<img src="/images/asjxx_ychy.png" width=20 height=20 onclick="sksjzcYchy(this,\''+''+'\',\''+data.sjhm+'\',\''+''+'\',\'3\')"/>';
$(".eclipse1:last").html(data.sjhm+ychy);
$(".eclipse3:last").html(esbdatas.tjly);
$(".result-box-hm:last").show();
}else if(tjType==3){
$(".result-box-cl:last").clone().appendTo(".dialog-content");
$(".ryzp:last").attr("src", "/images/car.png");
$(".eclipse1:last").html(data.objectValue);
var ychy='<img src="/images/asjxx_ychy.png" width=20 height=20 onclick="sksjzcYchy(this,\''+data.objectValue+'\',\''+''+'\',\''+data.objectType+'\',\'2\',\'1\')"/>';
$(".eclipse1:last").html(data.objectValue+ychy);
$(".eclipse3:last").html("全区域");
$(".result-box-cl:last").show();
}
......
......@@ -8,7 +8,7 @@ var zhyyPath = "http://zhyy.xzxt.xz.cq";
var mapPath = "http://77.1.24.144:8050";
var naotuPath = "http://77.1.24.49:9099";
var ntservicePath = "http://77.1.24.51:9040";
function sksjzcYchy(obj,objectValue,zjhm,objectType,type) {
function sksjzcYchy(obj,objectValue,zjhm,objectType,type,isSk) {
var that=$(obj);
var htmlChild="";
htmlChild += "<ul class='popUl' style='position:absolute;_left:40px;_top:-10px;'>";
......@@ -36,7 +36,10 @@ function sksjzcYchy(obj,objectValue,zjhm,objectType,type) {
htmlChild +="<li onclick='toZzdt(\""+objectType+"\",\""+objectValue+"\",\""+asjbh+"\",\"2\");'><img src='/images/naotu.png' width='16px;' style='float:left; position:relative; top:6px;margin-right:5px;'/><span>智侦导图</span></li>";
}
htmlChild +="<li ><img src='/images/ajzb.png' width='18px;' style='float:left; position:relative; top:6px;margin-right:5px;'/><span onclick='toGjhs(\""+objectValue+"\",\""+objectType+"\");'>轨迹回溯</span><img src='/images/table.png' class='map-icon' style='margin-right:10px;' onclick='toGjhs(\""+objectValue+"\",\""+objectType+"\");' width='22px' title='轨迹分析列表展示'></img><img src='/images/map.png' class='map-icon' onclick='skgjfxData(\""+objectValue+"\",\""+objectType+"\");' width='19px' title='轨迹分析地图展示'></img></li>";
htmlChild += "<li data-act='startAnalyze.action' onclick='qyssBigData(\""+objectValue+"\",\""+objectType+"\",\""+asjbh+"\");'><img src='/images/fx.png' width='14px;' style='float:left; position:relative; top:6px;left: 2px;margin-right:9px;'/><span>时空伴随分析</span></li>";
if(isSk==""||isSk==null){
htmlChild += "<li data-act='startAnalyze.action' onclick='qyssBigData(\""+objectValue+"\",\""+objectType+"\",\""+asjbh+"\");'><img src='/images/fx.png' width='14px;' style='float:left; position:relative; top:6px;left: 2px;margin-right:9px;'/><span>时空伴随分析</span></li>";
}
}
}else if(type == "3"){//手机号码用采合一
htmlChild += "<li data-act='startAnalyze.action' onclick='toQxda(\""+zjhm+"\");'><img src='/images/ajda.png' width='18px;' style='float:left; position:relative; top:6px;margin-right:5px;'/><span>全息档案</span></li>";
......@@ -46,7 +49,6 @@ function sksjzcYchy(obj,objectValue,zjhm,objectType,type) {
layer.tips(htmlChild, that,{time:15000,tips:[2,'#f3f7f8'],width:380}); //在元素的事件回调体中,follow直接赋予this即可
}
//人员档案
function toRyda(zjhm){
var sfzh = sfzhUser;
......
......@@ -4,11 +4,16 @@
<title>Title</title>
<link rel="stylesheet" type="text/css" href="/css/bjzycx.css">
<link rel="stylesheet" type="text/css" href="/css/tjDialog.css">
<link rel="stylesheet" type="text/css" href="/common/layer/skin/layer.css">
<script type="text/javascript" src="/js/ychy.js"></script>
<script type="text/javascript" src="/js/ipUnit.js"></script>
<script type="text/javascript" src="/js/tjDialog.js"></script>
<script type="text/javascript" src="/js/dateFormat.js"></script>
<script type="text/javascript" src="/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="/js/jquery.easyui.min.js"></script>
<script src="/js/jquery.js"></script>
<script src="/js/jquery.pagination.js"></script>
<script src="/common/layer/layer.js" type="text/javascript"></script>
</head>
<body>
......@@ -50,6 +55,10 @@
var tjType='${tjType}';
var limit=6;
var pageCount=pageTotal(tjCount,limit)
var asjbh='${asjbh}';
var sfzhUser='${sfzhUser}';
var fsrjh='${fsrjh}';
var djsjStr='${djsjStr}';
esbfydatathread(1,limit);
/* $('.M-box11').pagination({
mode: 'fixed',
......
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