Commit f95823c0 by caojingji

新增标识号布控和损失设备布控两个采集界面

parent 2ba5d950
......@@ -8,6 +8,7 @@ import com.founder.interservice.util.EasyUIPage;
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.util.HashMap;
import java.util.List;
......@@ -18,6 +19,26 @@ public class BkController {
@Autowired
BkService bkService;
/**
* 标识号布控 新增界面
* @return
*/
@RequestMapping(value = "/toBshbkInsertJsp")
public ModelAndView toBshbkInsertJsp(){
ModelAndView modelAndView = new ModelAndView("bkxx/bkxxInsert");
modelAndView.addObject("flag","bsh");
return modelAndView;
}
/**
* 损失设备布控 新增界面
* @return
*/
@RequestMapping(value = "/toSssbbkInsertJsp")
public ModelAndView toSssbbkInsertJsp(){
ModelAndView modelAndView = new ModelAndView("bkxx/bkxxInsert");
modelAndView.addObject("flag","sssb");
return modelAndView;
}
@RequestMapping(value = "/toBkxxListJsp")
public String toBkxxListJsp(){
return "/bkxx/bkxxlist";
......
if ($.fn.pagination){
$.fn.pagination.defaults.beforePageText = '第';
$.fn.pagination.defaults.afterPageText = '共{pages}页';
$.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录';
}
if ($.fn.datagrid){
$.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。';
}
if ($.fn.treegrid && $.fn.datagrid){
$.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg;
}
if ($.messager){
$.messager.defaults.ok = '确定';
$.messager.defaults.cancel = '取消';
}
$.map(['validatebox','textbox','passwordbox','filebox','searchbox',
'combo','combobox','combogrid','combotree',
'datebox','datetimebox','numberbox',
'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){
if ($.fn[plugin]){
$.fn[plugin].defaults.missingMessage = '该输入项为必输项';
}
});
if ($.fn.validatebox){
$.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址';
$.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址';
$.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间';
$.fn.validatebox.defaults.rules.remote.message = '请修正该字段';
}
if ($.fn.calendar){
$.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六'];
$.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'];
}
if ($.fn.datebox){
$.fn.datebox.defaults.currentText = '今天';
$.fn.datebox.defaults.closeText = '关闭';
$.fn.datebox.defaults.okText = '确定';
$.fn.datebox.defaults.formatter = function(date){
var y = date.getFullYear();
var m = date.getMonth()+1;
var d = date.getDate();
return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d);
};
$.fn.datebox.defaults.parser = function(s){
if (!s) return new Date();
var ss = s.split('-');
var y = parseInt(ss[0],10);
var m = parseInt(ss[1],10);
var d = parseInt(ss[2],10);
if (!isNaN(y) && !isNaN(m) && !isNaN(d)){
return new Date(y,m-1,d);
} else {
return new Date();
}
};
}
if ($.fn.datetimebox && $.fn.datebox){
$.extend($.fn.datetimebox.defaults,{
currentText: $.fn.datebox.defaults.currentText,
closeText: $.fn.datebox.defaults.closeText,
okText: $.fn.datebox.defaults.okText
});
}
if ($.fn.datetimespinner){
$.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]]
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
@charset "UTF-8";
.main-cen-box {
padding: 0px;
margin-left:0px;
}
.Wdate {
padding: 4px 0 4px 0px !important;
}
/*覆盖easyui*/
body .datagrid-cell{
white-space: inherit;
word-wrap: inherit;
overflow: inherit;
}
\ No newline at end of file
@charset "UTF-8";
.main-cen-box {
padding: 0px;
margin-left:0px;
}
.Wdate {
padding: 4px 0 4px 0px !important;
}
/*覆盖easyui*/
body .datagrid-cell{
white-space: inherit;
word-wrap: inherit;
overflow: inherit;
}
\ No newline at end of file
.icon-blank{
background:url('icons/blank.gif') no-repeat center center;
}
.icon-add{
background:url('icons/edit_add.png') no-repeat center center;
}
.icon-edit{
background:url('icons/pencil.png') no-repeat center center;
}
.icon-clear{
background:url('icons/clear.png') no-repeat center center;
}
.icon-remove{
background:url('icons/edit_remove.png') no-repeat center center;
}
.icon-save{
background:url('icons/filesave.png') no-repeat center center;
}
.icon-cut{
background:url('icons/cut.png') no-repeat center center;
}
.icon-ok{
background:url('icons/ok.png') no-repeat center center;
}
.icon-no{
background:url('icons/no.png') no-repeat center center;
}
.icon-cancel{
background:url('icons/cancel.png') no-repeat center center;
}
.icon-reload{
background:url('icons/reload.png') no-repeat center center;
}
.icon-search{
background:url('icons/search.png') no-repeat center center;
}
.icon-print{
background:url('icons/print.png') no-repeat center center;
}
.icon-help{
background:url('icons/help.png') no-repeat center center;
}
.icon-undo{
background:url('icons/undo.png') no-repeat center center;
}
.icon-redo{
background:url('icons/redo.png') no-repeat center center;
}
.icon-back{
background:url('icons/back.png') no-repeat center center;
}
.icon-sum{
background:url('icons/sum.png') no-repeat center center;
}
.icon-tip{
background:url('icons/tip.png') no-repeat center center;
}
.icon-filter{
background:url('icons/filter.png') no-repeat center center;
}
.icon-man{
background:url('icons/man.png') no-repeat center center;
}
.icon-lock{
background:url('icons/lock.png') no-repeat center center;
}
.icon-mini-add{
background:url('icons/mini_add.png') no-repeat center center;
}
.icon-mini-edit{
background:url('icons/mini_edit.png') no-repeat center center;
}
.icon-mini-refresh{
background:url('icons/mini_refresh.png') no-repeat center center;
}
.icon-large-picture{
background:url('icons/large_picture.png') no-repeat center center;
}
.icon-large-clipart{
background:url('icons/large_clipart.png') no-repeat center center;
}
.icon-large-shapes{
background:url('icons/large_shapes.png') no-repeat center center;
}
.icon-large-smartart{
background:url('icons/large_smartart.png') no-repeat center center;
}
.icon-large-chart{
background:url('icons/large_chart.png') no-repeat center center;
}
html,body{
height: 100%;
overflow: hidden;
margin: 0;
padding: 0;
}
a:hover{
color: #56AADC;
text-decoration: none;
cursor: pointer;
}
a:visited {
color: #56AADC;
text-decoration: none;
}
.red{color:red;font-weight: 600;}
.cxtj{
width: 100%;
margin: 0 auto;
box-shadow: 0px 5px 6px #898585;
}
/* 选中a标签 */
.xzA:hover{
text-decoration: underline;
}
.heade-box{
position: relative;
height: 65px;
background: url(../images/banner.jpg) no-repeat center;
z-index: 100;
}
.header-title-img{
position: absolute;
left: 42px;
top: 0;
}
.user-message{
position: absolute;
top: 38px;
right: 50px;
color: #f60;
}
.left-min-menu{
width: 60px;
background-color:#274776;
color: #1f1f1f;
height: 100%;
overflow: auto;
position: fixed;
top: 0;
left: 0;
padding-top: 70px;
}
.left-min-menu ul li:first-child{
margin-top: 30px;
}
.left-min-menu li{
text-align: center;
height: 50px;
line-height: 50px;
}
.left-min-menu li:hover{
background-color: rgba(153, 153, 153, 0.6);
}
.left-min-menu li i{
font-size: 26px;
}
.left-menu-box{
position: fixed;
width: 230px;
background-color:rgba(43,77,122,1);/* #E0ECFF*/
height: 100%;
overflow: auto;
top: 0;
left: -230px;
padding-top: 70px;
}
.main-cen-box{
padding: 0 10px;
margin-left: 50px;
background-color: #fff;
/* height: 100%; */
}
.left-list-ftitle{
display: block;
height: 36px;
line-height: 36px;
padding-left: 15px;
font-size: 16px;
background-color: #274776;
opacity: 0.8;
color: #fff;
font-weight: bold;
position: relative;
}
a.left-list-ftitle:hover{
color: #fff;
background-color: #1d3d6d;
}
.left-list-ftitle span{
position: absolute;
top: 3px;;
right: 1px;
font-size: 18px;
color: #fff;
}
.left-list ul{
margin-left: 40px;
}
.left-list-ttitle{
font-size: 12px;
height: 28px;
line-height: 28px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.call{
margin-left: 25px;
margin-top: 15px;
width: 180px;
height: 100px;
background-color: #fff;
box-shadow: 5px 5px 5px #ccc;
border-radius: 4px;
padding: 5px 10px;
}
.call dt{
text-align: center;
height: 28px;
line-height: 28px;
color: #474dd6;
}
.call dd{
height: 20px;
line-height: 20px;
}
/* 右侧 */
.cxtj legend{
height: 36px;
line-height: 36px;
padding-left: 10px;
font-size: 14px;
background-color: #f1f1f1;
border: 1px solid #ccc;
border-bottom: 1px dashed #ccc;
color: #666;
font-weight: bold;
width: 99%;
}
.cxtj table{
border: 1px solid #ccc;
border-top: none;
width: 100%;
/* color:#0066CC; */
color:#333;
font-size: 14px;
}
.cxtj table tr{
border: 1px dashed #f2f2f2;
}
.cxtj table td{
/* border: 1px dashed #e5e5e5; */
margin-top: -1px;
height: 34px;
line-height: 34px;
}
.cxtj table .textbox ,.layout_table .textbox ,.layout_table_fp .textbox{
display: inline-block;
height: 28px;
line-height: 28px;
border: 1px solid #ccc;
border-radius: 4px;
width: 80%;
}
.cxtj table .textbox-3{
width:92.5%;
}
.cxtj table input,.layout_table input,.layout_table_fp input{
/*height: 26px;*/
line-height: 26px;
margin-top: -4px;
width:100%;
}
.cxtj table .panel-noscroll{
border:none;
}
.cxtj table input[type=file],.layout_table input[type=file],.layout_table_fp input[type=file]{
border: 1px solid #ccc;
}
.radil_td{
/* color:#2180df; */
color:#333;
font-size: 12px;
}
.cxtj table input.radio_inp{
width: 15px;
margin-left: 3px;
}
.cxtj table textarea{
resize: vertical;
border: 1px solid #ccc;
width: 95.5%;
}
.tr_hide{
display: none;
}
#arrow_span0{
display: inline-block;
width: 15px;
height: 15px;
background: url(../images/accordion_arrows.png) no-repeat -16px 0;
}
#arrow_span1{
display: none;
width: 15px;
height: 15px;
background: url(../images/accordion_arrows.png) no-repeat;
}
.btn_a{
padding: 5px 12px;
color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
margin-right: 10px;
}
.btn_a:hover{
color: #fff;
}
.btn_search{
background-color: #3692C6;
border-color: #217cb1;
}
.btn_search:hover{
background-color: #217cb1;
}
.btn_empty{
background-color: #f60;
border-color: #d45602;
}
.btn_empty:hover{
background-color: #d45602;
}
.btn_add{
background-color: #3AB500;
border-color: #34B51E;
}
.btn_add:hover{
background-color: #3AB500;
}
.main-table-div{
margin-top: 10px;
}
.statistics{
background-color: #f1f1f1;
height: 36px;
line-height: 36px;
padding-left: 20px;
border: 1px solid #ccc;
border-bottom: none;
}
.st-span{
border-radius: 10px;
padding: 3px 5px;
background-color: #f60;
color: #fff;
}
/* 左侧菜单栏改版 */
.left-list>li{
margin-bottom: 10px;
}
.left-list ul{
position: relative;
background-color:#fff;
margin: 10px;
border-radius: 5px;
/*padding-left: 10px;*/
}
.left-list-ftitle{
margin:0 10px;
border-radius: 5px;
}
.bot{
font-size: 0;
width: 0px;
height: 0px;
line-height: 0;
border-width: 8px;
border-style: solid dashed dashed dashed;
border-color:transparent transparent #fff transparent;
position:absolute;
top:-16px;
right: 5px;
overflow: hidden;
}
.left-list-ttitle a{
color: #1a1a1a;
padding-left:10px;
}
.left-list-ftitle .fa{
font-size: 14px;
margin-right: 10px;
}
.necessary{
color: #f60;
}
.mask{
width: 100%;
height: 100%;
position: fixed;
background: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
display: none;
}
.mask_hb{
width: 100%;
height: 100%;
position: fixed;
background: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
display: none;
}
.mask_fp{
width: 100%;
height: 100%;
position: fixed;
background: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
display: none;
}
div.layout{
width: 800px;
position: fixed;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -250px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
background: #fff;
border-radius: 8px;
display: none;
}
.layout_header{
height: 40px;
background: #274776;
line-height: 40px;
border-radius: 8px 8px 0 0;
}
.layout_content{
padding: 20px 5px 30px 5px;
}
.layout_header span{
font-size: 13px;
color: #f1f1f1;
margin-left: 15px;
}
.layout_table{
width: 100%;
}
.layout_table td{
height: 34px;
line-height: 34px;
}
.layout_table textarea{
resize: vertical;
border: 1px solid #ccc;
width: 92%;
}
.close_x{
margin-right: 20px;
margin-top:10px;
font-size: 16px;
color: #87a7bc;
}
.close_x:hover{
color: #9fdbf5;
}
div.layout_fp{
width: 800px;
position: fixed;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -250px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
background: #fff;
border-radius: 8px;
display: none;
}
.layout_header_fp{
height: 40px;
background: #274776;
line-height: 40px;
border-radius: 8px 8px 0 0;
}
.layout_content_fp{
padding: 20px 5px 30px 5px;
}
.layout_header_fp span{
font-size: 13px;
color: #f1f1f1;
margin-left: 15px;
}
.layout_table_fp{
width: 100%;
}
.layout_table_fp td{
height: 34px;
line-height: 34px;
}
.layout_table_fp textarea{
resize: vertical;
border: 1px solid #ccc;
width: 92%;
}
/*回报签收标签*/
.re_hqzt{
border:1px solid #ccc;
border-radius:10px;
color:#fff;
padding:2px 3px;
}
a.re_hb{
background-color: #71a29e;
}
a.re_hb:hover{
background-color:#50a099;
color:#fff;
}
a.re_qs{
background-color: #b3896e;
}
a.re_qs:hover{
background-color: #b3734a;
color:#fff;
}
/*指令状态*/
.zt_span{
font-size: 12px;
border: 1px solid #ccc;
padding: 3px;
color: #fff;
}
.qszt_span{
border-radius:10px;
background-color: #bb8866;
}
.hbzt_span{
border-radius:6px;
background-color: #7ca2c6;
}
.xbzt_span{
border-radius:2px;
background-color: #77aa99;
}
/* 试验添加右侧弹出框 */
.re_qs {
position: relative;
/*width: fit-content;*/
}
.right_po{
width: fit-content;
border: 1px solid #ccc;
position: absolute;
display: none;
left: 42px;
top: 0px;
background:#d9f2ed;
box-shadow: 3px 3px 15px #666;
}
.right_po table{
width: 100%;
font-size: 12px;
}
.right_po table tr{
border-bottom: 1px dashed #ccc;
}
.right_po table tr:last-child{
border-bottom: none;
}
.right_po table th{
background:-webkit-gradient(linear, 0 0, 0 100%, from(#a3dfe6), to(#d9f2ed));
min-width: 100px;
}
.right_po table td,.right_po table th{
text-align: center;
height: 30px;
line-height: 30px;
padding: 3px 5px;
white-space: nowrap;
}
table.datagrid-btable td[field="zlwh"] .datagrid-cell{
overflow: visible;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
function checkfinish(){
var day1=new Date($("#bksj_start").val());
var day2=new Date($("#bksj_end").val());
if($("#bksj_start").val()&&$("#bksj_end").val()!=""){
var z=(day2-day1)/86400000+"天";
$("#bkqx").val(z);
}
}
/**
* 保存布控信息
*/
function doSave(){
alert("保存成功!");
}
function doClear(){
$("#bkdxlx option:first").prop("selected","selected");
$("#bkdxhm").val("");
$("#bklx option:first").prop("selected","selected");
$("#bkyj").val("");
$("#bkyq").val("");
$("#sqr_xm").val('');
$("#sqr_jh").val('');
$("#sqrq").val('');
$("#bksj_start").val('');
$("#bksj_end").val('');
$("#bkqx").val("");
}
\ No newline at end of file
<%@ 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://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="${flag == 'bsh'}">
<title>标识号布控</title>
</c:if>
<c:if test="${flag == 'sssb'}">
<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">
</head>
<body style="overflow: auto">
<header class="heade-box">
<c:if test="${flag == 'bsh'}">
<img src="/images/bshbk_title.png" class="header-title-img" alt="">
</c:if>
<c:if test="${flag == 'sssb'}">
<img src="/images/sssbbk_title.png" class="header-title-img" alt="">
</c:if>
</header>
<article class="main-cen-box">
<div class="cxtj">
<form name="wfqdzczlForm">
<fieldset>
<c:if test="${flag == 'bsh'}">
<legend>新增标识号布控信息</legend>
</c:if>
<c:if test="${flag == 'sssb'}">
<legend>新增损失设备布控信息</legend>
</c:if>
<table>
<tbody>
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>布控对象类型:</td>
<td width="20%">
<span class="textbox">
<select name = "bkdxlx" id = "bkdxlx">
<option value="none" selected>--请选择布控对象类型--</option>
<c:if test="${flag == 'bsh'}">
<option value="sjhm">手机号码</option>
<option value="qq">QQ号码</option>
<option value="wxhm">微信号码</option>
<option value="wxid">微信ID</option>
</c:if>
<c:if test="${flag == 'sssb'}">
<option value="IMSI">IMSI</option>
<option value="IMEI">IMEI</option>
</c:if>
</select>
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>布控对象号码:</td>
<td width="20%">
<span class="textbox">
<input type="text" id = "bkdxhm" name="bkdxhm">
</span>
</td>
<td class="ar" width="13.3%">布控类型:</td>
<td width="20%">
<span class="textbox">
<select name = "bklx" id = "bklx">
<option value="none" selected>--请选择布控对象类型--</option>
<option value="qgj">强轨迹布控</option>
<option value="glgx">关联关系布控</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>布控要求:</td>
<td colspan="5">
<textarea id="bkyq" nam ="bkyq" rows="5" width="100%" style="margin:5px 0;"></textarea>
</td>
</tr>
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>布控依据:</td>
<td colspan="5">
<textarea rows="5" id="bkyj" name="bkyj" width="100%" style="margin:5px 0;"></textarea>
</td>
</tr>
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>申请人_姓名:</td>
<td width="20%">
<span class="textbox">
<input type="text" name="sqr_xm" id = "sqr_xm">
</span>
</td>
<td class="ar" width="13.3%">申请人_警号:</td>
<td width="20%">
<span class="textbox">
<input type="text" name="sqr_jh" id = "sqr_jh">
</span>
</td>
<td class="ar" width="13.3%">申请日期:</td>
<td width="20%">
<span class="textbox">
<input id="sqrq" name="sqrq" class="Wdate" type="text" onkeypress="return checkDateFmt();" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"/>
</span>
</td>
</tr>
<tr>
<td class="ar" width="13.3%"><span class="red">*</span>布控时间:</td>
<td width="20%">
<span class="textbox">
<input id="bksj_start" name="bksj_start" class="Wdate" type="text" onkeypress="return checkDateFmt();" onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd'})"/>
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>至:</td>
<td width="20%">
<span class="textbox">
<input id="bksj_end" name="bksj_end" class="Wdate" type="text" onkeypress="return checkDateFmt();" onFocus="WdatePicker({onpicked:checkfinish,dateFmt:'yyyy-MM-dd'})"/>
</span>
</td>
<td class="ar" width="13.3%"><span class="red">*</span>布控期限:</td>
<td width="20%">
<span class="textbox">
<input id="bkqx" disabled="false" name="fbsj_e" type="text" />
</span>
</td>
</tr>
<tr>
<td colspan="6" style="text-align: center;height:50px;">
<a class="btn_a btn_search" onclick="doSave()">保存</a>
<a class="btn_a btn_empty" 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/function.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/bkxxInsert.js"></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