From 56534a8955c204cd5ac6773edd2ba9b8af9d2cd8 Mon Sep 17 00:00:00 2001
From: zouyx <1798599149@qq.com>
Date: Thu, 14 Nov 2024 11:16:52 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E6=B3=95=E5=88=86=E6=9E=90=E7=BB=9F?=
=?UTF-8?q?=E8=AE=A1=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../code/complaintStatic/complaintStatic.html | 3 +-
.../code/registration/registration.html | 1 -
.../code/registration/staticRegistration.html | 43 ++++-
.../EnforcementRegistrationController.java | 6 +-
.../dto/EnforcementRegistrationDto.java | 27 +++
.../mapper/EnforcementRegistrationMapper.java | 1 +
.../IEnforcementRegistrationService.java | 2 +
.../EnforcementRegistrationServiceImpl.java | 155 +++++++++++++++++-
.../EnforcementCheckStatisticsMapper.xml | 2 +-
.../mapper/EnforcementRegistrationMapper.xml | 61 ++++++-
10 files changed, 285 insertions(+), 16 deletions(-)
diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html
index 97a878fd..7f0d7c65 100644
--- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html
+++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html
@@ -342,7 +342,7 @@
let string='';
if (value.length > 0) {
for (let i = 0; i < value.length; i++) {
- string = string + '';
+ string = string + '
';
}
}
return string;
@@ -594,6 +594,7 @@
})
}
function openPicture(url){
+ debugger
if(url!=null&&url!=''){
this.$message.warning('图片不存在');
}else{
diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
index 4fc3d66c..274224ee 100644
--- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
+++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
@@ -254,7 +254,6 @@
var caseType=[];
var prefix = ctx + "code/registration";
var prefixC= ctx+"code/complaintStatic";
- var prefixDict=ctx+'system/dict/data';
var quarterBoolean=/*[[${quarterBoolean}]]*/{};
var monthBoolean=/*[[${monthBoolean}]]*/{};
var unite=/*[[${unite}]]*/{};
diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html
index 4777b2ff..e751b921 100644
--- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html
+++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html
@@ -29,6 +29,17 @@
检查事项:
+区域:
+ + +时段:
@@ -126,6 +137,7 @@ $("#month").hide(); $("#select-time").hide(); $("#showDetail").hide(); + $("#jd").hide(); }; $(function() { var options = { @@ -135,14 +147,24 @@ removeUrl: prefix + "/remove", detailUrl: prefix + "/detail/{id}", exportUrl: prefix + "/export", - height: $(window).height()-$(".search-collapse").height()-$("#toolbar").height()-50, + //height: $(window).height()-$(".search-collapse").height()-$("#toolbar").height()-50, modalName: "执法分析", showHeader: false, showFooter: false, showColumns: false, showRefresh: false, showToggle: false, + pagination: true, + pageSize: 10, columns: [ + { + field : 'qy', + title : '区域' + }, + { + field : 'jd', + title : '街道' + }, { field : 'enterpriseName', title : '企业名称', @@ -479,6 +501,25 @@ $('form').eq(0).trigger("reset"); search1(); timeType(); + addressMake(); + } + function addressMake(){ + var dateSearch = document.getElementById("qy"); + console.log(dateSearch.value) + if(dateSearch.value!=null&&dateSearch.value!=""){ + $("#jd").show(); + $.ajax({ + url:prefix+'/jdList', + type:'GET', + data: {"name":dateSearch.value}, + success: function (response) { + $('#jd').html(response); + } + }) + }else { + $("#jd").hide(); + document.getElementById("jd").value=''; + } }