新增违法犯罪可疑线索

parent e18c807c
......@@ -211,7 +211,11 @@
<artifactId>joda-time</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
</dependencies>
<build>
<finalName>cqnt</finalName>
......
package com.founder.interservice.mapper.xzxt;
import com.founder.interservice.dzgz.filter.DzgzTaskFilter;
import com.founder.interservice.dzgz.model.DzgzTask;
import com.founder.interservice.dzgz.model.DzgzTaskResult;
import com.founder.interservice.wffzkyxs.model.TbStWffzkyxs;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface WffzkyxsMapper {
Integer saveWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws Exception;
Integer updateWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws Exception;
Integer delWffzkyxs(List<String> xxzjbhList) throws Exception;
TbStWffzkyxs getByXxzjbh(String xxzjbh) throws Exception;
}
package com.founder.interservice.util;
import java.util.Random;
/**
* Created by changc on 2019/4/11.
*/
public class EncryptUtil {
private static char[] salt = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'};
public String encode(String text){
//String slat = getSalt();
//String text1 = text + salt;
char[] oldChar = text.toCharArray();
char[] newChar = new char[oldChar.length];
for (int i=0;i<oldChar.length;i++){
newChar[i] = (char) (oldChar[i]+text.length());
}
return new String(newChar);
}
public String decode(String text){
char[] oldChar = text.toCharArray();
char[] newChar = new char[oldChar.length];
for (int i=0;i<oldChar.length;i++){
newChar[i] = (char) (oldChar[i]-text.length());
}
return new String(newChar);
}
public char[] getOldChar(String text){
char[] chars = text.toCharArray();
int end = chars.length-16;
char[] newChar = new char[end];
for(int i=0;i<end;i++){
newChar[i] = chars[i];
}
return newChar;
}
public String getSalt(){
Random r = new Random();
StringBuilder sb = new StringBuilder(16);
for(int i=0;i<sb.capacity();i++){
sb.append(salt[r.nextInt(16)]);
}
return sb.toString();
}
public static void main(String[] args){
String text = "1a2b3c4d5e6f7g8h9i";
EncryptUtil en = new EncryptUtil();
System.out.println("jia:"+en.encode(text));
System.out.println("jie"+en.decode(en.encode(text)));
}
}
package com.founder.interservice.wffzkyxs.controller;
import com.alibaba.fastjson.JSONObject;
import com.founder.interservice.VO.ResultVO;
import com.founder.interservice.dzgz.filter.DzgzTaskFilter;
import com.founder.interservice.dzgz.model.DzgzTask;
import com.founder.interservice.dzgz.service.DzgzService;
import com.founder.interservice.enums.ResultEnum;
import com.founder.interservice.exception.InterServiceException;
import com.founder.interservice.user.controller.UserContoller;
import com.founder.interservice.user.model.User;
import com.founder.interservice.util.EasyUIPage;
import com.founder.interservice.util.KeyUtil;
import com.founder.interservice.util.ResultVOUtil;
import com.founder.interservice.util.StringUtil;
import com.founder.interservice.wffzkyxs.model.TbStWffzkyxs;
import com.founder.interservice.wffzkyxs.service.WffzkyxsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@Controller
@CrossOrigin //跨域访问
public class WffzkyxsController {
@Autowired
private WffzkyxsService wffzkyxsService;
@Autowired
private UserContoller userContoller;
/**
* 跳转违法犯罪可疑线索新增/修改页面
* @param flag 新增修改判断 :0 新增;1 修改;
* @param asjbh 案事件编号
* @param type 线索类型
* @param xxzjbh 信息主键编号
* @param jh 警号
* @return
*/
@RequestMapping(value="/toWffzkyxsInsertJsp")
public ModelAndView toWffzkyxsInsertJsp(String flag,String asjbh,String type,String xxzjbh,String jh){
ModelAndView andView = new ModelAndView("wffzkyxs/wffzkyxsInsert");
User user = userContoller.queryUserByid(null,jh);
if(flag.equals("1")){
TbStWffzkyxs tbStWffzkyxs = wffzkyxsService.getByXxzjbh(xxzjbh);
andView.addObject("tbStWffzkyxs",tbStWffzkyxs);
andView.addObject("xxzjbh",xxzjbh);
}
andView.addObject("flag",flag);
andView.addObject("asjbh",asjbh);
andView.addObject("type",type);
andView.addObject("user",user);
return andView;
}
/**
* 违法犯罪可疑线索新增方法
* @param tbStWffzkyxs
* @return
*/
@RequestMapping(value = "/toSaveWffzkyxs",method = {RequestMethod.GET,RequestMethod.POST})
@ResponseBody
public ResultVO toSaveWffzkyxs(TbStWffzkyxs tbStWffzkyxs){
ResultVO resultVO = null;
try {
tbStWffzkyxs.setXxzjbh(KeyUtil.getUniqueKey("XS"));
boolean flag = wffzkyxsService.saveWffzkyxs(tbStWffzkyxs);
resultVO = ResultVOUtil.success(flag);
}catch (InterServiceException e){
e.printStackTrace();
resultVO = ResultVOUtil.error(e.getCode(),e.getMessage());
}
return resultVO;
}
/**
* 违法犯罪可疑线索更新
* @param tbStWffzkyxs
* @return
*/
@RequestMapping(value = "/toUpdateWffzkyxs")
@ResponseBody
public ResultVO toUpdateWffzkyxs(TbStWffzkyxs tbStWffzkyxs){
ResultVO resultVO = null;
try {
boolean flag = wffzkyxsService.updateWffzkyxs(tbStWffzkyxs);
resultVO = ResultVOUtil.success(flag);
}catch (InterServiceException e){
e.printStackTrace();
resultVO = ResultVOUtil.error(e.getCode(),e.getMessage());
}
return resultVO;
}
/**
* 违法犯罪可疑线索删除
* @param xxzjbhs
* @return
*/
@RequestMapping(value = "/toDelWffzkyxs",method = {RequestMethod.GET,RequestMethod.POST})
@ResponseBody
public ResultVO toDelWffzkyxs(String xxzjbhs){
ResultVO resultVO = null;
User user = null;
try {
boolean flag = wffzkyxsService.delWffzkyxs(xxzjbhs);
resultVO = ResultVOUtil.success(flag);
}catch (InterServiceException e){
e.printStackTrace();
resultVO = ResultVOUtil.error(e.getCode(),e.getMessage());
}
return resultVO;
}
}
package com.founder.interservice.wffzkyxs.model;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
@Data
public class TbStWffzkyxs {
private String xxzjbh; //主键
private String asjbh; //案事件编号
private String xslx; //线索类型
private String xslxmc; //线索类型名称
private String xszl; //线索种类
private String xszlmc; //线索种类名称
private String xsvalue; //线索值
private String fxsj; //发现时间
private Date fxsjDate; //发现时间
private String cxyy; //查询原由
private String xxdjrXm; //信息登记人_姓名
private String xxdjrJh; //信息登记人_警号
private String xxdjrSfzh;//信息登记人_身份证号
private String xxdjrGajgjgdm; //信息登记人_公安机关机构代码
private String xxdjrGajgjgmc; //信息登记人_公安机关机构名称
private String djsj; //登记时间
private String xgsj; //修改时间
}
package com.founder.interservice.wffzkyxs.service;
import com.founder.interservice.exception.InterServiceException;
import com.founder.interservice.wffzkyxs.model.TbStWffzkyxs;
import org.springframework.stereotype.Service;
/**
* Created by changc on 2019/4/11.
*/
public interface WffzkyxsService {
boolean saveWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws InterServiceException;
boolean updateWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws InterServiceException;
boolean delWffzkyxs(String xxzjbh) throws InterServiceException;
TbStWffzkyxs getByXxzjbh(String xxzjbh) throws InterServiceException;
}
package com.founder.interservice.wffzkyxs.service.impl;
import com.founder.interservice.enums.ResultEnum;
import com.founder.interservice.exception.InterServiceException;
import com.founder.interservice.mapper.xzxt.WffzkyxsMapper;
import com.founder.interservice.wffzkyxs.model.TbStWffzkyxs;
import com.founder.interservice.wffzkyxs.service.WffzkyxsService;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
/**
* Created by changc on 2019/4/11.
*/
@Service
public class WffzkyxsServiceImpl implements WffzkyxsService{
@Autowired
private WffzkyxsMapper wffzkyxsMapper;
@Override
public boolean saveWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws InterServiceException {
boolean flag = false;
try{
Integer count = wffzkyxsMapper.saveWffzkyxs(tbStWffzkyxs);
if(count > 0){
flag = true;
}
}catch (Exception e){
e.printStackTrace();
throw new InterServiceException(ResultEnum.DB_SAVEERROR.getCode(),ResultEnum.DB_SAVEERROR.getMessage(),e);
}
return flag;
}
@Override
public boolean updateWffzkyxs(TbStWffzkyxs tbStWffzkyxs) throws InterServiceException {
boolean flag = false;
try{
Integer count = wffzkyxsMapper.updateWffzkyxs(tbStWffzkyxs);
if(count > 0){
flag = true;
}
}catch (Exception e){
e.printStackTrace();
throw new InterServiceException(ResultEnum.DB_UPDATEERROR.getCode(),ResultEnum.DB_UPDATEERROR.getMessage(),e);
}
return flag;
}
@Override
public boolean delWffzkyxs(String xxzjbh) throws InterServiceException {
boolean flag = false;
try{
List<String> xxzjbhList = new ArrayList<>();
if(xxzjbh != null && !xxzjbh.isEmpty()){
String[] asjbhsArr = xxzjbh.split(",");
CollectionUtils.addAll(xxzjbhList, asjbhsArr);
}
Integer count = wffzkyxsMapper.delWffzkyxs(xxzjbhList);
if(count > 0){
flag = true;
}
}catch (Exception e){
e.printStackTrace();
throw new InterServiceException(ResultEnum.DB_UPDATEERROR.getCode(),ResultEnum.DB_UPDATEERROR.getMessage(),e);
}
return flag;
}
@Override
public TbStWffzkyxs getByXxzjbh(String xxzjbh) throws InterServiceException {
TbStWffzkyxs tbStWffzkyxs = null;
try{
tbStWffzkyxs = wffzkyxsMapper.getByXxzjbh(xxzjbh);
}catch (Exception e){
e.printStackTrace();
throw new InterServiceException(ResultEnum.DB_QUERYERROR.getCode(),ResultEnum.DB_QUERYERROR.getMessage(),e);
}
return tbStWffzkyxs;
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.founder.interservice.mapper.xzxt.WffzkyxsMapper">
<insert id="saveWffzkyxs" parameterType="com.founder.interservice.wffzkyxs.model.TbStWffzkyxs">
INSERT INTO TB_ST_WFFZKYXS t
(
t.XXZJBH,
t.ASJBH,
t.XSLX,
t.XSLXMC,
t.XSZL,
t.XSZLMC,
t.XSVALUE,
t.FXSJ,
t.CXYY,
t.XXDJR_XM,
t.XXDJR_JH,
t.XXDJR_SFZH,
t.XXDJR_GAJGJGDM,
t.XXDJR_GAJGJGMC,
t.XGSJ,
t.DJSJ
)VALUES (
<if test="xxzjbh != null and xxzjbh !=''">#{xxzjbh},</if>
<if test="xxzjbh == null or xxzjbh ==''">NULL,</if>
<if test="asjbh != null and asjbh !=''">#{asjbh},</if>
<if test="asjbh == null or asjbh ==''">NULL,</if>
<if test="xslx != null and xslx !=''">#{xslx},</if>
<if test="xslx == null or xslx ==''">NULL,</if>
<if test="xslxmc != null and xslxmc !=''">#{xslxmc},</if>
<if test="xslxmc == null or xslxmc ==''">NULL,</if>
<if test="xszl != null and xszl !=''">#{xszl},</if>
<if test="xszl == null or xszl ==''">NULL,</if>
<if test="xszlmc != null and xszlmc !=''">#{xszlmc},</if>
<if test="xszlmc == null or xszlmc ==''">NULL,</if>
<if test="xsvalue != null and xsvalue !=''">#{xsvalue},</if>
<if test="xsvalue == null or xsvalue ==''">NULL,</if>
<if test="fxsj != null and fxsj !=''">to_date(#{fxsj},'yyyy-MM-dd HH24:mi:ss'),</if>
<if test="fxsj == null or fxsj ==''">NULL,</if>
<if test="cxyy != null and cxyy !=''">#{cxyy},</if>
<if test="cxyy == null or cxyy ==''">NULL,</if>
<if test="xxdjrXm != null and xxdjrXm !=''">#{xxdjrXm},</if>
<if test="xxdjrXm == null or xxdjrXm ==''">NULL,</if>
<if test="xxdjrJh != null and xxdjrJh !=''">#{xxdjrJh},</if>
<if test="xxdjrJh == null or xxdjrJh ==''">NULL,</if>
<if test="xxdjrSfzh != null and xxdjrSfzh !=''">#{xxdjrSfzh},</if>
<if test="xxdjrSfzh == null or xxdjrSfzh ==''">NULL,</if>
<if test="xxdjrGajgjgdm != null and xxdjrGajgjgdm !=''">#{xxdjrGajgjgdm},</if>
<if test="xxdjrGajgjgdm == null or xxdjrGajgjgdm ==''">NULL,</if>
<if test="xxdjrGajgjgmc != null and xxdjrGajgjgmc !=''">#{xxdjrGajgjgmc},</if>
<if test="xxdjrGajgjgmc == null or xxdjrGajgjgmc ==''">NULL,</if>
sysdate,
sysdate
)
</insert>
<update id="updateWffzkyxs" parameterType="com.founder.interservice.wffzkyxs.model.TbStWffzkyxs">
UPDATE TB_ST_WFFZKYXS t SET
<if test="asjbh != null and asjbh !=''">t.ASJBH = #{asjbh},</if>
<if test="asjbh == null or asjbh ==''">t.ASJBH =NULL,</if>
<if test="xslx != null and xslx !=''">t.XSLX =#{xslx},</if>
<if test="xslx == null or xslx ==''">t.XSLX =NULL,</if>
<if test="xslxmc != null and xslxmc !=''">t.XSLXMC =#{xslxmc},</if>
<if test="xslxmc == null or xslxmc ==''">t.XSLXMC =NULL,</if>
<if test="xszl != null and xszl !=''">t.XSZL =#{xszl},</if>
<if test="xszl == null or xszl ==''">t.XSZL =NULL,</if>
<if test="xszlmc != null and xszlmc !=''">t.XSZLMC =#{xszlmc},</if>
<if test="xszlmc == null or xszlmc ==''">t.XSZLMC =NULL,</if>
<if test="xsvalue != null and xsvalue !=''">t.XSVALUE =#{xsvalue},</if>
<if test="xsvalue == null or xsvalue ==''">t.XSVALUE =NULL,</if>
<if test="fxsj != null and fxsj !=''">t.FXSJ =to_date(#{fxsj},'yyyy-MM-dd HH24:mi:ss'),</if>
<if test="fxsj == null or fxsj ==''">t.FXSJ = NULL,</if>
<if test="cxyy != null and cxyy !=''">t.CXYY =#{cxyy},</if>
<if test="cxyy == null or cxyy ==''">t.CXYY =NULL,</if>
<if test="xxdjrXm != null and xxdjrXm !=''">t.XXDJR_XM =#{xxdjrXm},</if>
<if test="xxdjrXm == null or xxdjrXm ==''">t.XXDJR_XM =NULL,</if>
<if test="xxdjrJh != null and xxdjrJh !=''">t.XXDJR_JH =#{xxdjrJh},</if>
<if test="xxdjrJh == null or xxdjrJh ==''">t.XXDJR_JH =NULL,</if>
<if test="xxdjrSfzh != null and xxdjrSfzh !=''">t.XXDJR_SFZH =#{xxdjrSfzh},</if>
<if test="xxdjrSfzh == null or xxdjrSfzh ==''">t.XXDJR_SFZH =NULL,</if>
<if test="xxdjrGajgjgdm != null and xxdjrGajgjgdm !=''">t.XXDJR_GAJGJGDM =#{xxdjrGajgjgdm},</if>
<if test="xxdjrGajgjgdm == null or xxdjrGajgjgdm ==''">t.XXDJR_GAJGJGDM =NULL,</if>
<if test="xxdjrGajgjgmc != null and xxdjrGajgjgmc !=''">t.XXDJR_GAJGJGMC =#{xxdjrGajgjgmc},</if>
<if test="xxdjrGajgjgmc == null or xxdjrGajgjgmc ==''">t.XXDJR_GAJGJGMC =NULL,</if>
t.XGSJ = sysdate,
t.DJSJ = sysdate
WHERE t.XXZJBH = #{xxzjbh}
</update>
<delete id="delWffzkyxs" parameterType="java.util.List">
DELETE FROM TB_ST_WFFZKYXS t WHERE t.XXZJBH in
<foreach collection="list" item="xxzjbhList" index="index" open="("
separator="," close=")" >
#{xxzjbhList}
</foreach>
</delete>
<select id="getByXxzjbh" resultType="com.founder.interservice.wffzkyxs.model.TbStWffzkyxs"
parameterType="java.lang.String">
select
t.XXZJBH as xxzjbh,
t.ASJBH as asjbh,
t.XSLX as xslx,
t.XSLXMC as xslxmc,
t.XSZL as xszl,
t.XSZLMC as xszlmc,
t.XSVALUE as xsvalue,
t.FXSJ as fxsjDate,
t.CXYY as cxyy,
t.XXDJR_XM as xxdjrXm,
t.XXDJR_JH as xxdjrJh,
t.XXDJR_SFZH as xxdjrSfzh,
t.XXDJR_GAJGJGDM as xxdjrGajgjgdm,
t.XXDJR_GAJGJGMC as xxfjrGajgjgmc,
t.XGSJ as xgsj,
t.DJSJ as djsj
from TB_ST_WFFZKYXS t where t.XXZJBH=#{xxzjbh}
</select>
</mapper>
\ No newline at end of file
//将表单序列化
function serializeObject(form){
var xszlmx = $('#xszl').combobox('getText');//获取下拉框的文本
var o={'xszlmc':xszlmx};
$.each(form.serializeArray(),function(index){
if(o[this['name'] ]){
o[this['name'] ] = o[this['name'] ] + "," + this['value'];
}else{
o[this['name'] ]=this['value'];
}
})
return o;
}
$(function(){
if(type == '0101'){
$("#xslxmc").val("可疑人员");
}else if (type == '0102'){
$("#xslxmc").val("可疑服务标识号");
}else if(type == '0103'){
$("#xslxmc").val("可疑车牌");
}
comboboxXszl();
});
function comboboxXszl(){
if(type == '0101'){
//线索种类
$('#xszl').combobox({
valueField:'id',
textField:'text',
data: [{
"id":"004","text":"身份证号"
} ],
onLoadSuccess:function (){ //默认加载成功后,设置选中第一项
var val = $(this).combobox("getData");
if(val != null){
$(this).combobox("select",val[0].id);
}
}
});
}else if (type == '0102'){
$('#xszl').combobox({
valueField:'id',
textField:'text',
data: [{
"id":"001","text":"手机号"
},{
"id":"002","text":"QQ号"
},{
"id":"003","text":"微信Id"
},{
"id":"006","text":"IMSI"
},{
"id":"007","text":"IMEI"
}]
});
}else if(type == '0103'){
$('#xszl').combobox({
valueField:'id',
textField:'text',
data: [{
"id":"005","text":"车牌号"
}],
onLoadSuccess:function (){ //默认加载成功后,设置选中第一项
var val = $(this).combobox("getData");
if(val != null){
$(this).combobox("select",val[0].id);
}
}
});
}
}
function submit(flag) {
var url = null;
if(flag == '0'){
url = '/toSaveWffzkyxs?yhCate=00&projectName=01';
}else {
url = '/toUpdateWffzkyxs?yhCate=00&projectName=01';
}
//标识号
var xsvalue = $("#xsvalue").val();
if(!xsvalue){
$.messager.alert({title:'提示',msg:'标识号不能为空'});
return;
}
//线索种类
var xszl = $('#xszl').combobox('getText');
if(!xszl){
$.messager.alert({title:'提示',msg:'线索种类不能为空'});
return;
}
//发现时间
var fxsj = $("#fxsj").val();
if(fxsj == null || fxsj == ''){
$.messager.alert({title:'提示',msg:'发现时间不能为空'});
return;
}
$.ajax({
url: url,
type: 'post',
dataType: 'json',
data: serializeObject($("form[name='wfqdzczlForm']")),
success: function (data) {
if(data.data==true){
$.messager.alert({title:'提示',msg:'操作成功'});
}else{
$.messager.alert({title:'提示',msg:'操作失败'});
}
},
error: function (e) {
$.messager.alert({title:'提示',msg:"出错:"+e});
}
});
}
function doClear(){
$("#xszl").combobox('setValue',"");
$("#fxsj").val("");
$("#xsvalue").val('');
$("#cxyy").val('');
}
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<!doctype html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<c:if test="${type == '0101'}">
<title>可疑人员信息</title>
</c:if>
<c:if test="${type == '0102'}">
<title>可疑服务标识号信息</title>
</c:if>
<c:if test="${type == '0103'}">
<title>可疑车辆信息</title>
</c:if>
<link rel="icon" href="/images/bkxxInsertFavicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/style_bkxx.css">
<link rel="stylesheet" href="/css/append_bkxx.css">
<!--- 时间插件-->
<link rel="stylesheet" href="/common/datepicker/skin/WdatePicker.css">
<link rel="stylesheet" href="/common/datepicker/skin/default/datepicker.css">
<!--- 代码框-->
<link rel="stylesheet" href="/css/easyui.css">
<link rel="stylesheet" href="/css/icon.css">
<link rel="stylesheet" href="/css/base_initialize.css">
<style>
.cxtj table input.zdy-wdate{padding:0 !important;height:26px;margin-top:-1px;}
.textbox .textbox{top:0px;}
</style>
</head>
<body style="overflow: auto">
<header class="heade-box">
<c:if test="${type == '0101'}">
<img src="/images/kyry.png" class="header-title-img" alt="">
</c:if>
<c:if test="${type == '0102'}">
<img src="/images/kyfwbsh.png" class="header-title-img" alt="">
</c:if>
<c:if test="${type == '0103'}">
<img src="/images/kycl.png" class="header-title-img" alt="">
</c:if>
</header>
<article class="main-cen-box">
<div class="cxtj">
<form name="wfqdzczlForm" id="form1" class="easyui-form" data-options="novalidate:true">
<fieldset>
<c:if test="${type == '0101'}">
<legend>可疑人员信息 </legend>
</c:if>
<c:if test="${type == '0102'}">
<legend>可疑服务标识号信息 </legend>
</c:if>
<c:if test="${type == '0103'}">
<legend>可疑车辆信息 </legend>
</c:if>
<table>
<tbody>
<input type="hidden" name="xxzjbh" id = "xxzjbh" value="${xxzjbh}" />
<input type="hidden" name="asjbh" id = "asjbh" value="${asjbh}" />
<input type="hidden" name="xslx" id = "xslx" value="${type}" />
<input type="hidden" name="xslxmc" id = "xslxmc" value="${tbStWffzkyxs.xslxmc}" />
<input type="hidden" name="xxdjrSfzh" id = "xxdjrSfzh" value="${user.card_id}" />
<input type="hidden" name="xxdjrXm" id = "xxdjrXm" value="${user.true_name}" />
<input type="hidden" name="xxdjrJh" id = "xxdjrJh" value="${user.username}" />
<input type="hidden" name="xxdjrGajgjgdm" id = "xxdjrGajgjgdm" value="${user.jz_dwdm}" />
<input type="hidden" name="xxdjrGajgjgmc" id = "xxdjrGajgjgmc" value="${user.jz_dwmc}" />
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>标识号:</td>
<td width="20%">
<span class="textbox">
<input type="text" name="xsvalue" id = "xsvalue" value="${tbStWffzkyxs.xsvalue}">
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>线索种类:</td>
<td width="20%">
<span class="textbox" style="border:none;">
<input type="text" id="xszl" name="xszl" class="val easyui-combotree" value="${tbStWffzkyxs.xszl}" data-options="method:'get',fit:true,textField : 'text', valueField : 'id'"/>
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>发现时间:</td>
<td width="20%">
<span class="textbox" style="border:none;">
<input id="fxsj" name="fxsj" value='<fmt:formatDate value="${tbStWffzkyxs.fxsjDate}" pattern="yyyy-MM-dd HH:mm:ss"/>' class="val easyui-validatebox Wdate zdy-wdate " data-options="required: true" type="text" onkeypress="return checkDateFmt();"
onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
</span>
</td>
</tr>
<tr>
<td class="ar" width="13.3%">查询原由:</td>
<td colspan="5">
<textarea rows="5" id="cxyy" name="cxyy" width="100%" style="margin:5px 0;line-height: 20px;" placeholder="最多输2000个字符" class="easyui-validatebox textareabox" data-options="required:true,validType:['maxLength[2000]']">${tbStWffzkyxs.cxyy}</textarea>
</td>
</tr>
<tr>
<td class="ar" width="13.3%">警号:</td>
<td width="20%">
<span class="textbox">
<input type="text" value="${user.username}" disabled="disabled" />
</span>
</td>
<td class="ar" width="13.3%">姓名:</td>
<td width="20%">
<span class="textbox">
<input type="text" value="${user.true_name}" disabled="disabled" />
</span>
</td>
</tr>
<tr>
<td colspan="6" style="text-align: center;height:50px;">
<a class="btn_a btn_search easyui-linkbutton" onclick="submit('${flag}')" >保存 </a>
<a class="btn_a btn_empty easyui-linkbutton" onclick="doClear()">重置</a>
</td>
</tr>
</tbody>
</table>
</fieldset>
</form>
</div>
</article>
<script src="/js/jquery.min.js" type="text/javascript"></script>
<!--- 代码框-->
<script type="text/javascript" src="/common/easyui-window/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/common/easyui-window/js/easyui-lang-zh_CN.js"></script>
<!--- 日期时间-->
<script type="text/javascript" src="/common/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="/common/datepicker/calendar.js"></script>
<script type="text/javascript" src="/js/wffzkyxsInsert.js"></script>
<script type="text/javascript">
var type = "${type}";
</script>
</body>
</html>
\ No newline at end of file
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