Browse Source

修改预警统计文件夹名称

v4
chenrui 2 years ago
parent
commit
2434fc80e8
  1. 10
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsWarning/statisticsWarning.html

10
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/StatisticsWarning/statisticsWarning.html → lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsWarning/statisticsWarning.html

@ -86,7 +86,7 @@
wTable(); wTable();
$("#quarter").hide(); $("#quarter").hide();
$("#month").hide(); $("#month").hide();
} };
$(function() { $(function() {
var options = { var options = {
modalName: "执法预警统计", modalName: "执法预警统计",
@ -117,11 +117,11 @@
title : '预警次数' title : '预警次数'
} }
] ]
} };
$("#bootstrap-table").bootstrapTable(options); $("#bootstrap-table").bootstrapTable(options);
}); });
function searchW () { function searchW () {
wTable() wTable();
var currentId = $('form').eq(0).attr('id'); var currentId = $('form').eq(0).attr('id');
var params = $.common.formToJSON(currentId); var params = $.common.formToJSON(currentId);
$.ajax({ $.ajax({
@ -134,7 +134,7 @@
}) })
} }
function wTable(){ function wTable(){
var currentId=$('form').eq(0).attr('id') var currentId=$('form').eq(0).attr('id');
var params = $.common.formToJSON(currentId); var params = $.common.formToJSON(currentId);
$.ajax({ $.ajax({
url: prefix + "/list", url: prefix + "/list",
@ -155,7 +155,7 @@
} }
function timeType() { function timeType() {
var dateSearch = document.getElementById("dateSearch"); var dateSearch = document.getElementById("dateSearch");
console.log(dateSearch.value) console.log(dateSearch.value);
if(dateSearch.value=="quarter"){ if(dateSearch.value=="quarter"){
$("#quarter").show(); $("#quarter").show();
$("#month").hide(); $("#month").hide();
Loading…
Cancel
Save