Commit d147b4cc by wangling

批注对象添加参数

parent c3f9e421
...@@ -23,6 +23,8 @@ public class TbStPzxx { ...@@ -23,6 +23,8 @@ public class TbStPzxx {
private String objectType; //参数对象类型编号 private String objectType; //参数对象类型编号
private String objectTypeName; //参数对象类型名称 private String objectTypeName; //参数对象类型名称
private String objectValue; //参数对象类型值 private String objectValue; //参数对象类型值
private String objTypeName;//标识号类型名称
private String objValue;//标识号
private String pzNr; //批注内容信息 private String pzNr; //批注内容信息
private String pzrXm; //批注人姓名 private String pzrXm; //批注人姓名
private String pzrUnitcode; //批注人单位 private String pzrUnitcode; //批注人单位
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
<if test='objectTypeName=="手机号码"'> <if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if> <if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if> </if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select> </select>
<select id="findTogetherDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.regionalanalysis.model.RegionalTaskResultDetail"> <select id="findTogetherDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.regionalanalysis.model.RegionalTaskResultDetail">
select select
...@@ -50,6 +52,8 @@ ...@@ -50,6 +52,8 @@
<if test='objectTypeName=="手机号码"'> <if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if> <if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if> </if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select> </select>
<select id="findHsDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.spatiotemporalBackTrack.model.SBTResultDetail"> <select id="findHsDetailxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.spatiotemporalBackTrack.model.SBTResultDetail">
select select
...@@ -76,6 +80,8 @@ ...@@ -76,6 +80,8 @@
<if test='objectTypeName=="手机号码"'> <if test='objectTypeName=="手机号码"'>
<if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if> <if test="objectValue!= null and objectValue!= ''"> and td.SJHM = #{objectValue,jdbcType=VARCHAR}</if>
</if> </if>
<if test="objTypeName!= null and objTypeName!= ''"> and td.OBJECT_TYPE_NAME = #{objTypeName,jdbcType=VARCHAR}</if>
<if test="objValue!= null and objValue!= ''"> and td.OBJECT_VALUE = #{objValue,jdbcType=VARCHAR}</if>
</select> </select>
<select id="getPzxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.pzxx.model.TbStPzxx"> <select id="getPzxx" parameterType="com.founder.interservice.pzxx.model.TbStPzxx" resultType="com.founder.interservice.pzxx.model.TbStPzxx">
SELECT SELECT
......
...@@ -63,7 +63,7 @@ function doClearFl(){ ...@@ -63,7 +63,7 @@ function doClearFl(){
var table_title =[ var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){ {title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>"; return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
} }
}, },
{title : '号码',field : 'zjhm',align:'center',width : "24%",formatter:function(val,row,index){ {title : '号码',field : 'zjhm',align:'center',width : "24%",formatter:function(val,row,index){
...@@ -875,6 +875,8 @@ function getCurrentTime(){ ...@@ -875,6 +875,8 @@ function getCurrentTime(){
} }
//保存批注信息 //保存批注信息
function savaPzxx(obj,ind){ function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text(); var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text(); var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val(); var pznr = $(obj).parents(".content").find("input").val();
...@@ -882,7 +884,7 @@ function savaPzxx(obj,ind){ ...@@ -882,7 +884,7 @@ function savaPzxx(obj,ind){
method: 'post', method: 'post',
url: '/savePzxx', url: '/savePzxx',
dateType: 'json', dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"}, data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) { success: function (message) {
if(message=='saveSuccess'){ if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"}); $.messager.show({title: '提示', msg: "保存成功!"});
......
...@@ -79,7 +79,7 @@ function doClearFl(){ ...@@ -79,7 +79,7 @@ function doClearFl(){
} }
var table_title =[ var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){ {title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i></span>"; return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i></span>";
} }
}, },
/* {title:"标识号类型",field:"objectTypeName",align:'center',width:'10%'},*/ /* {title:"标识号类型",field:"objectTypeName",align:'center',width:'10%'},*/
...@@ -1044,6 +1044,8 @@ function getCurrentTime(){ ...@@ -1044,6 +1044,8 @@ function getCurrentTime(){
} }
//保存批注信息 //保存批注信息
function savaPzxx(obj,ind){ function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text(); var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text(); var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val(); var pznr = $(obj).parents(".content").find("input").val();
...@@ -1051,7 +1053,7 @@ function savaPzxx(obj,ind){ ...@@ -1051,7 +1053,7 @@ function savaPzxx(obj,ind){
method: 'post', method: 'post',
url: '/savePzxx', url: '/savePzxx',
dateType: 'json', dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"}, data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) { success: function (message) {
if(message=='saveSuccess'){ if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"}); $.messager.show({title: '提示', msg: "保存成功!"});
......
...@@ -62,7 +62,7 @@ function doClearFl(){ ...@@ -62,7 +62,7 @@ function doClearFl(){
} }
var table_title =[ var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "25%",formatter:function(val,row,index){ {title : '标识号',field : 'objectValue',align:'center',width : "25%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>"; return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
} }
}, },
{title:"伴随次数",field:"count",align:'center',width:'10%'}, {title:"伴随次数",field:"count",align:'center',width:'10%'},
...@@ -757,6 +757,8 @@ function getCurrentTime(){ ...@@ -757,6 +757,8 @@ function getCurrentTime(){
} }
//保存批注信息 //保存批注信息
function savaPzxx(obj,ind){ function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text(); var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text(); var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val(); var pznr = $(obj).parents(".content").find("input").val();
...@@ -764,7 +766,7 @@ function savaPzxx(obj,ind){ ...@@ -764,7 +766,7 @@ function savaPzxx(obj,ind){
method: 'post', method: 'post',
url: '/savePzxx', url: '/savePzxx',
dateType: 'json', dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"}, data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) { success: function (message) {
if(message=='saveSuccess'){ if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"}); $.messager.show({title: '提示', msg: "保存成功!"});
......
...@@ -63,7 +63,7 @@ function doClearFl(){ ...@@ -63,7 +63,7 @@ function doClearFl(){
var table_title =[ var table_title =[
{title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){ {title : '标识号',field : 'objectValue',align:'center',width : "24%",formatter:function(val,row,index){
return "<span style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>"; return "<span class='bshdmValue' style='display:inline-block;height:18px;line-height:17px;padding:0 3px;border: 1px solid #f35d13;color:#f35d13;border-radius:5px;font-size:10px;position:relative;top:-1px;'>"+row.objectTypeName+"</span>"+getBshYchy(row)+"<i class=\"fa fa-clone\" aria-hidden=\"true\" style='position: relative;top:2px;color: #1563f5 !important;' title='复制' onclick='copyContent(this)'></i>";
} }
}, },
/*{title:"标识号类型",field:"objectTypeName",align:'center',width:'12%'},*/ /*{title:"标识号类型",field:"objectTypeName",align:'center',width:'12%'},*/
...@@ -789,6 +789,8 @@ function getCurrentTime(){ ...@@ -789,6 +789,8 @@ function getCurrentTime(){
} }
//保存批注信息 //保存批注信息
function savaPzxx(obj,ind){ function savaPzxx(obj,ind){
var objTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".bshdmValue").text();
var objValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(0).find(".getCopyVal").text();
var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text(); var objectTypeName = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".bshValue").text();
var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text(); var objectValue = $("#listdiv .datagrid-body tr").eq(ind).find("td").eq(2).find(".getCopyVal").text();
var pznr = $(obj).parents(".content").find("input").val(); var pznr = $(obj).parents(".content").find("input").val();
...@@ -796,7 +798,7 @@ function savaPzxx(obj,ind){ ...@@ -796,7 +798,7 @@ function savaPzxx(obj,ind){
method: 'post', method: 'post',
url: '/savePzxx', url: '/savePzxx',
dateType: 'json', dateType: 'json',
data: {"objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"}, data: {"objTypeName":objTypeName, "objValue":objValue, "objectTypeName":objectTypeName, "objectValue":objectValue, "pzNr":pznr, "taskId":taskId, "pzrPolicemanid":fsrjh, "pzrSfzh":sfzhUser, "lyfl":"qypz", "yhCate":"00", "projectName":"刑专智慧侦查脑图"},
success: function (message) { success: function (message) {
if(message=='saveSuccess'){ if(message=='saveSuccess'){
$.messager.show({title: '提示', msg: "保存成功!"}); $.messager.show({title: '提示', msg: "保存成功!"});
......
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