Commit 22ee818f by 吴善钰

布控和追踪数字查询

parent c12cb77c
......@@ -43,23 +43,28 @@
<div class="cxtj">
<form name="wfqdzczlForm" id="form1" class="easyui-form" data-options="novalidate:true">
<fieldset>
<c:if test="${flag == 'bsh'}">
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
<legend>新增标识号布控信息</legend>
<legend>
<c:if test="${flag == 'bsh'}">
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
新增标识号布控信息
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
修改标识号布控信息
</c:if>
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
<legend>修改标识号布控信息</legend>
<c:if test="${flag == 'sssb'}">
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
新增损失设备布控信息
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
修改损失设备布控信息
</c:if>
</c:if>
</c:if>
<c:if test="${flag == 'sssb'}">
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
<legend>新增损失设备布控信息</legend>
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
<legend>修改损失设备布控信息</legend>
</c:if>
</c:if>
<span>已经布控数</span>
<span id="yjbksCount">0</span>
<span>剩余布控数</span>
<span id="sybksCount">0</span>
</legend>
<table>
<tbody>
<tr>
......@@ -237,6 +242,24 @@
</div>
<script type="text/javascript">
$(function(){
var sqrGajgjgdm = ${param.sqrGajgjgdm};
//var sqrGajgjgdm = '050100';
var type = '01'
if (sqrGajgjgdm!='' && sqrGajgjgdm != null) {
var param = {"sqrGajgjgdm":sqrGajgjgdm,"type":type,"yhCate":"00","projectName":"00"};
$.post("/getBkxxCount",param,function(result){
var yjbks = result;
var sybks = 50 - yjbks;
console.log(yjbks);
console.log(sybks);
$("#yjbksCount").text(yjbks);
$("#sybksCount").text(sybks);
});
}
})
//用户提示弹窗
$(function() {
$("#yhtsxx").show();
......
......@@ -34,12 +34,18 @@
<div class="cxtj">
<form name="wfqdzczlForm" id="form1" class="easyui-form" data-options="novalidate:true">
<fieldset>
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
<legend>新增轨迹追踪信息 </legend>
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
<legend>修改轨迹追踪信息 </legend>
</c:if>
<legend>
<c:if test="${bkxx.xxzjbh ==null ||bkxx.xxzjbh==''}">
新增轨迹追踪信息
</c:if>
<c:if test="${bkxx.xxzjbh !=null && bkxx.xxzjbh!=''}">
修改轨迹追踪信息
</c:if>
<span>已经追踪数</span>
<span id="yjzzsCount">0</span>
<span>剩余追踪数</span>
<span id="syzzsCount">0</span>
</legend>
<table>
<tbody>
<tr>
......@@ -198,6 +204,26 @@
</div>
<script type="text/javascript">
//追踪数据查询
$(function(){
var sqrGajgjgdm = ${param.sqrGajgjgdm};
//var sqrGajgjgdm = '050100';
var type = '02'
if (sqrGajgjgdm!='' && sqrGajgjgdm != null) {
var param = {"sqrGajgjgdm":sqrGajgjgdm,"type":type,"yhCate":"00","projectName":"00"};
$.post("/getBkxxCount",param,function(result){
var yjzzs = result;
var syzzs = 10 - yjzzs;
console.log(yjzzs);
console.log(syzzs);
$("#yjzzsCount").text(yjzzs);
$("#syzzsCount").text(syzzs);
});
}
})
//用户提示弹窗
$(function() {
$("#yhtsxx").show();
......
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