Browse Source

Merge remote-tracking branch 'origin/dev-V1.2' into dev-V1.2

dev-V1.2
masiyuan 2 weeks ago
parent
commit
8f97846be5
  1. 5
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/common/util/jasypt/JasyptUtils.java
  2. 6
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/enterprise/SxtFlfgxxb474136Controller.java
  3. 6
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/enterprise/SxtFlfgyjxx470745Controller.java
  4. 4
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/utils/HttpUtil.java
  5. 95
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewJobController.java
  6. 1
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/web/supervision/DashboardAreaInfoController.java
  7. 5
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/domain/EnterpriseComplaint.java
  8. 93
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/quartz/job/CimDashboardOvervieMonthlyDataJob.java
  9. 66
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/quartz/job/CimDashboardOvervieQuarterlyDataJob.java
  10. 268
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/CimDashboardOverviewDataSumSserviceImpl.java
  11. 5
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/NonEnforcementRegistrationServiceImpl.java
  12. 7
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/thirdparty/impl/SIQServiceImpl.java
  13. 14
      zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts
  14. 3
      zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/notice/cp_notice_edit.vue
  15. 4
      zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue
  16. 3
      zdxt-web-client/zdxt-efcode-enterprise-app/src/api/enterprise/index.js
  17. 63
      zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/law/lawQuery.vue
  18. 3
      zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/nos/components/NosDetailMaterialsTab.vue
  19. 22
      zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev.yml
  20. 38
      zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-prod.yml

5
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/common/util/jasypt/JasyptUtils.java

@ -50,9 +50,10 @@ public final class JasyptUtils {
}
public static void main(String[] args) {
//加密
String s = encryptWithMD5("http://10.76.108.1:12004/zwwx_proxy", "ATPfOhpnAVp6yBas7RU");
String s = encryptWithMD5("https://10.76.108.1:12004/zwwx_proxy", "ATPfOhpnAVp6yBas7RU");
System.out.println(s);
String channelcs1 = decryptWithMD5("KlJ9leroG2ZnKMUbnOZfpGkZNv/THSthpbSfnp4REq/N4ta1Rx729h0be9TBOkma", "ATPfOhpnAVp6yBas7RU");
// String channelcs1 = decryptWithMD5("KlJ9leroG2ZnKMUbnOZfpGkZNv/THSthpbSfnp4REq/N4ta1Rx729h0be9TBOkma", "ATPfOhpnAVp6yBas7RU");
String channelcs1 = decryptWithMD5("2fR5TkUb/A0p4+Gp/As+LJsVCjq7pgNwJIG2OAk2yWLXY/q7DNaCDQ==", "ATPfOhpnAVp6yBas7RU");
System.out.println(channelcs1);
}
}

6
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/enterprise/SxtFlfgxxb474136Controller.java

@ -23,7 +23,7 @@ import com.zdxt.enforcementcode.service.ISxtFlfgxxb474136Service;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 【请填写功能名称】
* 法律法规信息
*
* @author Lion Li
* @date 2026-08-31
@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/enforcementcode/flfgxxb474136")
@RequestMapping("app-ent/flfg/msg")
public class SxtFlfgxxb474136Controller extends BaseController {
private final ISxtFlfgxxb474136Service sxtFlfgxxb474136Service;
@ -39,7 +39,7 @@ public class SxtFlfgxxb474136Controller extends BaseController {
/**
* 查询【请填写功能名称】列表
*/
@SaCheckPermission("enforcementcode:flfgxxb474136:list")
// @SaCheckPermission("enforcementcode:flfgxxb474136:list")
@GetMapping("/list")
public TableDataInfo<SxtFlfgxxb474136Vo> list(SxtFlfgxxb474136Bo bo, PageQuery pageQuery) {
return sxtFlfgxxb474136Service.queryPageList(bo, pageQuery);

6
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/enterprise/SxtFlfgyjxx470745Controller.java

@ -23,7 +23,7 @@ import com.zdxt.enforcementcode.service.ISxtFlfgyjxx470745Service;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 【请填写功能名称】
* 法律法规想起
*
* @author Lion Li
* @date 2026-08-31
@ -31,7 +31,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/enforcementcode/flfgyjxx470745")
@RequestMapping("/app-ent/flfg/detail")
public class SxtFlfgyjxx470745Controller extends BaseController {
private final ISxtFlfgyjxx470745Service sxtFlfgyjxx470745Service;
@ -39,7 +39,7 @@ public class SxtFlfgyjxx470745Controller extends BaseController {
/**
* 查询【请填写功能名称】列表
*/
@SaCheckPermission("enforcementcode:flfgyjxx470745:list")
// @SaCheckPermission("enforcementcode:flfgyjxx470745:list")
@GetMapping("/list")
public TableDataInfo<SxtFlfgyjxx470745Vo> list(SxtFlfgyjxx470745Bo bo, PageQuery pageQuery) {
return sxtFlfgyjxx470745Service.queryPageList(bo, pageQuery);

4
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/app/utils/HttpUtil.java

@ -7,6 +7,7 @@ import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.conn.socket.ConnectionSocketFactory;
import org.apache.http.conn.socket.PlainConnectionSocketFactory;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
@ -28,9 +29,10 @@ public class HttpUtil {
CloseableHttpResponse response=null;
SSLContext sc = SSLContext.getInstance("TLSv1.2");
sc.init(null, new TrustManager[] { new TrustAnyTrustManager() }, new java.security.SecureRandom());
// 内网用 IP 访问时证书是 *.szssfj.cn,关闭主机名校验,域名/IP 均可
Registry<ConnectionSocketFactory> registry = RegistryBuilder.<ConnectionSocketFactory>create()
.register("http", PlainConnectionSocketFactory.INSTANCE)
.register("https",new SSLConnectionSocketFactory(sc))
.register("https", new SSLConnectionSocketFactory(sc, NoopHostnameVerifier.INSTANCE))
.build();
PoolingHttpClientConnectionManager manager = new PoolingHttpClientConnectionManager(registry);
CloseableHttpClient httpClient = HttpClients.custom().setConnectionManager(manager).build();

95
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/cim/CimDashboardOverviewJobController.java

@ -4,6 +4,7 @@ package com.zdxt.enforcementcode.controller.cim;
import cn.dev33.satoken.annotation.SaIgnore;
import com.zdxt.enforcementcode.service.ICimDashboardOverviewDataSumService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.dromara.common.core.domain.R;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
@ -16,6 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author niujiyi
* @date 2023-08-07
*/
@Slf4j
@SaIgnore
@Validated
@RequiredArgsConstructor
@ -133,4 +135,97 @@ public class CimDashboardOverviewJobController {
cimDashboardOverviewDataSumService.getTrendFieldMonthDataSum();
return R.ok();
}
//合并调用方法
@GetMapping("/getMonthData")
public R<Void> getMonthData(){
long startTime = System.currentTimeMillis();
log.info("【Cim月度定时任务】开始执行");
int total = 7;
int failCount = 0;
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-大屏总览月度数据", cimDashboardOverviewDataSumService::getMonthDataSum)) {
failCount++;
}
//Cim大屏-执法人员-执法单位-企业数量
if (!invoke("Cim大屏-执法人员-执法单位-企业数量", cimDashboardOverviewDataSumService::getAreaMonthDataSum)) {
failCount++;
}
//Cim大屏-监测预警-检查登记检测分析-区域月数据汇总-总体概览-行政执法数VS行政执法案件数-各区行政执法数及案件数明细
if (!invoke("Cim大屏-检查登记检测分析-区域月数据汇总", cimDashboardOverviewDataSumService::getCheckRegisterAreaMonthDataSum)) {
failCount++;
}
// Cim大屏-监测预警-检查登记检测分析-领域月数据汇总-总体概览-行政执法数VS行政执法案件数-各领域行政执法数及案件数明细
if (!invoke("Cim大屏-检查登记检测分析-领域月数据汇总", cimDashboardOverviewDataSumService::getCheckRegisterFieldMonthDataSum)) {
failCount++;
}
//Cim-大屏-检测预警-高频检查预警分析-区域月数据
if (!invoke("Cim大屏-高频检查预警分析-区域月数据", cimDashboardOverviewDataSumService::getHighCheckAreaMonthDataSum)) {
failCount++;
}
//Cim-大屏-检测预警-高频检查预警分析-领域月数据
if (!invoke("Cim大屏-高频检查预警分析-领域月数据", cimDashboardOverviewDataSumService::getHighCheckFieldMonthDataSum)) {
failCount++;
}
//Cim大屏-监测预警-重点企业月数据汇总-重点企业-总体概览-涉企登记趋势-行政执法明细
if (!invoke("Cim大屏-重点企业月数据汇总", cimDashboardOverviewDataSumService::getKeyEnterprisesMonthDataSum)) {
failCount++;
}
log.info("【Cim月度定时任务】执行结束,共 {} 个子任务,失败 {} 个,总耗时 {} ms",
total, failCount, System.currentTimeMillis() - startTime);
return R.ok();
}
/**
* 执行单个子任务:捕获异常并记录日志,保证不影响其他子任务执行
*
* @param taskName 子任务名称,用于日志定位出错的方法
* @param task 子任务逻辑
* @return true 执行成功;false 执行失败
*/
private boolean invoke(String taskName, Runnable task) {
long startTime = System.currentTimeMillis();
try {
task.run();
log.info("【Cim月度定时任务】{} 执行成功,耗时 {} ms", taskName, System.currentTimeMillis() - startTime);
return true;
} catch (Exception e) {
log.error("【Cim月度定时任务】{} 执行失败,耗时 {} ms", taskName, System.currentTimeMillis() - startTime, e);
return false;
}
}
//合并调用方法
@GetMapping("/getQuarterlyData")
public R<Void> getQuarterlyData() {
long startTime = System.currentTimeMillis();
log.info("【Cim月度定时任务】开始执行");
int total = 2;
int failCount = 0;
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-态势感知-区域月数据汇总-趋势行为分析", cimDashboardOverviewDataSumService::getTrendAreaMonthDataSum)) {
failCount++;
}
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-态势感知-领域月数据汇总-趋势行为分析", cimDashboardOverviewDataSumService::getTrendFieldMonthDataSum)) {
failCount++;
}
log.info("【Cim月度定时任务】执行结束,共 {} 个子任务,失败 {} 个,总耗时 {} ms",
total, failCount, System.currentTimeMillis() - startTime);
return R.ok();
}
}

1
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/controller/web/supervision/DashboardAreaInfoController.java

@ -20,6 +20,7 @@ import java.util.List;
* @author Lion Li
* @date 2026-06-05
*/
@SaIgnore
@Validated
@RequiredArgsConstructor
@RestController

5
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/domain/EnterpriseComplaint.java

@ -17,7 +17,6 @@ import java.util.List;
* @date 2026-04-13
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("enterprise_complaint")
public class EnterpriseComplaint extends BaseEntity {
@ -158,12 +157,16 @@ public class EnterpriseComplaint extends BaseEntity {
/**
* 投诉事项编码 多个逗号隔开
*/
@TableField(exist = false)
private String enforceTypeStr;
@TableField(exist = false)
private String complaintTypeStr;
@TableField(exist = false)
private String createTimeStr;
/**
* 民生诉求数据处置流程
*/
@TableField(exist = false)
private List<MssqOrderFlow> mssqOrderFlows;
}

93
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/quartz/job/CimDashboardOvervieMonthlyDataJob.java

@ -0,0 +1,93 @@
package com.zdxt.enforcementcode.quartz.job;
import com.zdxt.enforcementcode.service.ICimDashboardOverviewDataSumService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* Cim-大屏月度定时任务调用方法
* 月度数据调用
*
* @author zrb
*/
@Slf4j
@Component
@RequiredArgsConstructor
public class CimDashboardOvervieMonthlyDataJob {
private final ICimDashboardOverviewDataSumService cimDashboardOverviewDataSumService;
/**
* 任务执行入口(public,供 JobInvokeUtil 通过反射调用)
* <p>各子任务相互独立,单个任务异常只记录日志,不影响后续任务继续执行。
*/
public void execute() {
long startTime = System.currentTimeMillis();
log.info("【Cim月度定时任务】开始执行");
int total = 7;
int failCount = 0;
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-大屏总览月度数据", cimDashboardOverviewDataSumService::getMonthDataSum)) {
failCount++;
}
//Cim大屏-执法人员-执法单位-企业数量
if (!invoke("Cim大屏-执法人员-执法单位-企业数量", cimDashboardOverviewDataSumService::getAreaMonthDataSum)) {
failCount++;
}
//Cim大屏-监测预警-检查登记检测分析-区域月数据汇总-总体概览-行政执法数VS行政执法案件数-各区行政执法数及案件数明细
if (!invoke("Cim大屏-检查登记检测分析-区域月数据汇总", cimDashboardOverviewDataSumService::getCheckRegisterAreaMonthDataSum)) {
failCount++;
}
// Cim大屏-监测预警-检查登记检测分析-领域月数据汇总-总体概览-行政执法数VS行政执法案件数-各领域行政执法数及案件数明细
if (!invoke("Cim大屏-检查登记检测分析-领域月数据汇总", cimDashboardOverviewDataSumService::getCheckRegisterFieldMonthDataSum)) {
failCount++;
}
//Cim-大屏-检测预警-高频检查预警分析-区域月数据
if (!invoke("Cim大屏-高频检查预警分析-区域月数据", cimDashboardOverviewDataSumService::getHighCheckAreaMonthDataSum)) {
failCount++;
}
//Cim-大屏-检测预警-高频检查预警分析-领域月数据
if (!invoke("Cim大屏-高频检查预警分析-领域月数据", cimDashboardOverviewDataSumService::getHighCheckFieldMonthDataSum)) {
failCount++;
}
//Cim大屏-监测预警-重点企业月数据汇总-重点企业-总体概览-涉企登记趋势-行政执法明细
if (!invoke("Cim大屏-重点企业月数据汇总", cimDashboardOverviewDataSumService::getKeyEnterprisesMonthDataSum)) {
failCount++;
}
log.info("【Cim月度定时任务】执行结束,共 {} 个子任务,失败 {} 个,总耗时 {} ms",
total, failCount, System.currentTimeMillis() - startTime);
}
/**
* 执行单个子任务:捕获异常并记录日志,保证不影响其他子任务执行
*
* @param taskName 子任务名称,用于日志定位出错的方法
* @param task 子任务逻辑
* @return true 执行成功;false 执行失败
*/
private boolean invoke(String taskName, Runnable task) {
long startTime = System.currentTimeMillis();
try {
task.run();
log.info("【Cim月度定时任务】{} 执行成功,耗时 {} ms", taskName, System.currentTimeMillis() - startTime);
return true;
} catch (Exception e) {
log.error("【Cim月度定时任务】{} 执行失败,耗时 {} ms", taskName, System.currentTimeMillis() - startTime, e);
return false;
}
}
}

66
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/quartz/job/CimDashboardOvervieQuarterlyDataJob.java

@ -0,0 +1,66 @@
package com.zdxt.enforcementcode.quartz.job;
import com.zdxt.enforcementcode.service.ICimDashboardOverviewDataSumService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* Cim-大屏季度定时任务调用方法
*季度数据调用
* @author zrb
*/
@Slf4j
@Component
@RequiredArgsConstructor
public class CimDashboardOvervieQuarterlyDataJob {
private final ICimDashboardOverviewDataSumService cimDashboardOverviewDataSumService;
/**
* 任务执行入口(public,供 JobInvokeUtil 通过反射调用)
*/
public void execute() {
long startTime = System.currentTimeMillis();
log.info("【Cim月度定时任务】开始执行");
int total = 2;
int failCount = 0;
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-态势感知-区域月数据汇总-趋势行为分析", cimDashboardOverviewDataSumService::getTrendAreaMonthDataSum)) {
failCount++;
}
//Cim大屏-大屏总览月度数据
if (!invoke("Cim大屏-态势感知-领域月数据汇总-趋势行为分析", cimDashboardOverviewDataSumService::getTrendFieldMonthDataSum)) {
failCount++;
}
log.info("【Cim月度定时任务】执行结束,共 {} 个子任务,失败 {} 个,总耗时 {} ms",
total, failCount, System.currentTimeMillis() - startTime);
}
/**
* 执行单个子任务:捕获异常并记录日志,保证不影响其他子任务执行
*
* @param taskName 子任务名称,用于日志定位出错的方法
* @param task 子任务逻辑
* @return true 执行成功;false 执行失败
*/
private boolean invoke(String taskName, Runnable task) {
long startTime = System.currentTimeMillis();
try {
task.run();
log.info("【Cim季度定时任务】{} 执行成功,耗时 {} ms", taskName, System.currentTimeMillis() - startTime);
return true;
} catch (Exception e) {
log.error("【Cim季度定时任务】{} 执行失败,耗时 {} ms", taskName, System.currentTimeMillis() - startTime, e);
return false;
}
}
}

268
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/CimDashboardOverviewDataSumSserviceImpl.java

@ -79,10 +79,25 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getMonthDataSum() {
CimDashboardOverviewVo vo=new CimDashboardOverviewVo();
CimDashboardOverviewQueryBo bo= getDateTime();
//查询是否存在当前月数据,存在则删除
LambdaQueryWrapper<DashboardOverview> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardOverview::getYear, bo.getYear());
queryWrapper.eq(DashboardOverview::getMonth, bo.getMonth());
queryWrapper.eq(DashboardOverview::getIsDelete, "0");
DashboardOverview dashboardOverview = cimDashboardOverviewMapper.selectOne(queryWrapper);
if (dashboardOverview != null){
LambdaUpdateWrapper<DashboardOverview> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(DashboardOverview::getYear,bo.getYear());
updateWrapper.eq(DashboardOverview::getMonth, bo.getMonth());
updateWrapper.eq(DashboardOverview::getId, dashboardOverview.getId());
updateWrapper.set(DashboardOverview::getIsDelete, "1");
cimDashboardOverviewMapper.update(updateWrapper);
}
//计划总数
vo.setJhzs(cimDashboardOverviewMapper.getPlanCount(bo));
//预告总数
@ -139,15 +154,46 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getAreaMonthDataSum(){
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardOverviewPersonnel> queryWrapperPersonnel = new LambdaQueryWrapper<>();
queryWrapperPersonnel.eq(DashboardOverviewPersonnel::getIsDelete, "0")
.eq(DashboardOverviewPersonnel::getYear, getDateTime().getYear())
.eq(DashboardOverviewPersonnel::getMonth, getDateTime().getMonth());
List<DashboardOverviewPersonnel> perList = dashboardOverviewPersonnelMapper.selectList(queryWrapperPersonnel);
if(perList.size()>0){
//更新数据的isDelete字段为1
for (DashboardOverviewPersonnel personnel : perList){
personnel.setIsDelete("1");
}
dashboardOverviewPersonnelMapper.updateBatchById(perList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardOverviewUnit> queryWrapperUnit = new LambdaQueryWrapper<>();
queryWrapperUnit.eq(DashboardOverviewUnit::getIsDelete, "0")
.eq(DashboardOverviewUnit::getYear, getDateTime().getYear())
.eq(DashboardOverviewUnit::getMonth, getDateTime().getMonth());
List<DashboardOverviewUnit> unitList = dashboardOverviewUnitMapper.selectList(queryWrapperUnit);
if(unitList.size()>0){
//更新数据的isDelete字段为1
for (DashboardOverviewUnit unit : unitList){
unit.setIsDelete("1");
}
dashboardOverviewUnitMapper.updateBatchById(unitList);
}
CimDashboardOverviewQueryBo bo= getDateTime();
bo.setMonthTime(getDateTime().getMonthTime());
//bo.setMonthTime(getDateTime().getMonthTime());
List<CimDashboardOverviewVo> list=cimDashboardOverviewMapper.getLawPersonnelCount(bo);
List<CimDashboardOverviewVo> list1=cimDashboardOverviewMapper.getLawUnitCount(bo);
// 1. 高频检查区域:VO(code/name/number) → 实体(areaCode/areaName/gpjcqy)
List<DashboardOverviewPersonnel> areaPersonnelList = new ArrayList<>();
if (list != null) {
for (CimDashboardOverviewVo vo : list) {
@ -165,7 +211,6 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
}
}
// 2. 高频检查区域执法单位联合执法数:VO(bueauDeptId/bureauDeptName/number) → 实体(bureauDeptId/bureauDeptName/lhzfcs)
List<DashboardOverviewUnit> areaUnionList = new ArrayList<>();
if (list1 != null) {
for (CimDashboardOverviewVo vo : list1) {
@ -337,9 +382,70 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional
@Transactional(rollbackFor = Exception.class)
public Boolean getHighCheckAreaMonthDataSum() {
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckArea> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardHighCheckArea::getIsDelete, "0")
.eq(DashboardHighCheckArea::getYear, getDateTime().getYear())
.eq(DashboardHighCheckArea::getMonth, getDateTime().getMonth());
List<DashboardHighCheckArea> highAreaList = dashboardHighCheckAreaMapper.selectList(queryWrapper);
if(highAreaList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckArea highlight : highAreaList){
highlight.setIsDelete("1");
}
dashboardHighCheckAreaMapper.updateBatchById(highAreaList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckUnionArea> queryWrapperUnion = new LambdaQueryWrapper<>();
queryWrapperUnion.eq(DashboardHighCheckUnionArea::getIsDelete, "0")
.eq(DashboardHighCheckUnionArea::getYear, getDateTime().getYear())
.eq(DashboardHighCheckUnionArea::getMonth, getDateTime().getMonth());
List<DashboardHighCheckUnionArea> highUnionList = dashboardhighcheckunionMapper.selectList(queryWrapperUnion);
if(highUnionList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckUnionArea highUnion : highUnionList){
highUnion.setIsDelete("1");
}
dashboardhighcheckunionMapper.updateBatchById(highUnionList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckFrequencyArea> queryWrapperFrequency = new LambdaQueryWrapper<>();
queryWrapperFrequency.eq(DashboardHighCheckFrequencyArea::getIsDelete, "0")
.eq(DashboardHighCheckFrequencyArea::getYear, getDateTime().getYear())
.eq(DashboardHighCheckFrequencyArea::getMonth, getDateTime().getMonth());
List<DashboardHighCheckFrequencyArea> highFrequencyList = dashboardHighCheckFrequencyAreaMapper.selectList(queryWrapperFrequency);
if(highFrequencyList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckFrequencyArea highFrequency : highFrequencyList){
highFrequency.setIsDelete("1");
}
dashboardHighCheckFrequencyAreaMapper.updateBatchById(highFrequencyList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckEnterprise> queryWrapperEnterprise = new LambdaQueryWrapper<>();
queryWrapperEnterprise.eq(DashboardHighCheckEnterprise::getIsDelete, "0")
.eq(DashboardHighCheckEnterprise::getYear, getDateTime().getYear())
.eq(DashboardHighCheckEnterprise::getMonth, getDateTime().getMonth());
List<DashboardHighCheckEnterprise> enterpriseList = dashboardHighCheckEnterpriseMapper.selectList(queryWrapperEnterprise);
if(enterpriseList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckEnterprise highEnterprise : enterpriseList){
highEnterprise.setIsDelete("1");
}
dashboardHighCheckEnterpriseMapper.updateBatchById(enterpriseList);
}
CimDashboardOverviewQueryBo bo= getDateTime();
List<CimDashboardOverviewVo> list=cimDashboardOverviewMapper.getHighCheckArea(bo);
List<CimDashboardOverviewVo> list1=cimDashboardOverviewMapper.getHighCheckAreaUnionNoRanking(bo);
@ -487,8 +593,54 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getHighCheckFieldMonthDataSum() {
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckFrequencyDomain> queryWrapperHighFrequencyDomain = new LambdaQueryWrapper<>();
queryWrapperHighFrequencyDomain.eq(DashboardHighCheckFrequencyDomain::getIsDelete, "0")
.eq(DashboardHighCheckFrequencyDomain::getYear, getDateTime().getYear())
.eq(DashboardHighCheckFrequencyDomain::getMonth, getDateTime().getMonth());
List<DashboardHighCheckFrequencyDomain> highDomainList = dashboardHighCheckDomainMapper.selectList(queryWrapperHighFrequencyDomain);
if(highDomainList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckFrequencyDomain highDomain : highDomainList){
highDomain.setIsDelete("1");
}
dashboardHighCheckDomainMapper.updateBatchById(highDomainList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckUnionDomain> queryWrapperunionDomain = new LambdaQueryWrapper<>();
queryWrapperunionDomain.eq(DashboardHighCheckUnionDomain::getIsDelete, "0")
.eq(DashboardHighCheckUnionDomain::getYear, getDateTime().getYear())
.eq(DashboardHighCheckUnionDomain::getMonth, getDateTime().getMonth());
List<DashboardHighCheckUnionDomain> highUnionDomainList = dashboardHighCheckUnionDomainMapper.selectList(queryWrapperunionDomain);
if(highUnionDomainList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckUnionDomain highUnionDomian : highUnionDomainList){
highUnionDomian.setIsDelete("1");
}
dashboardHighCheckUnionDomainMapper.updateBatchById(highUnionDomainList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardHighCheckEntdetailsDomain> queryWrapperEntDomain = new LambdaQueryWrapper<>();
queryWrapperEntDomain.eq(DashboardHighCheckEntdetailsDomain::getIsDelete, "0")
.eq(DashboardHighCheckEntdetailsDomain::getYear, getDateTime().getYear())
.eq(DashboardHighCheckEntdetailsDomain::getMonth, getDateTime().getMonth());
List<DashboardHighCheckEntdetailsDomain> highEntDomainList = dashboardHighCheckEntdetailsDomainMapper.selectList(queryWrapperEntDomain);
if(highEntDomainList.size()>0){
//更新数据的isDelete字段为1
for (DashboardHighCheckEntdetailsDomain highEntDomain : highEntDomainList){
highEntDomain.setIsDelete("1");
}
dashboardHighCheckEntdetailsDomainMapper.updateBatchById(highEntDomainList);
}
CimDashboardOverviewQueryBo bo= getDateTime();
List<CimDashboardOverviewVo> list = cimDashboardOverviewMapper.getHighCheckFieldRanking(bo);
List<CimDashboardOverviewVo> list1 = cimDashboardOverviewMapper.getHighCheckFieldUnionNoCount(bo);
@ -604,6 +756,7 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getCheckRegisterAreaMonthDataSum() {
CimDashboardOverviewVo vo = new CimDashboardOverviewVo();
// 获取当前系统时间
@ -674,6 +827,36 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
public Boolean getCheckRegisterAreaMonthDataSumList() {
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterZfajArea> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardCheckRegisterZfajArea::getIsDelete, "0");
queryWrapper.eq(DashboardCheckRegisterZfajArea::getYear, getDateTime().getYear());
queryWrapper.eq(DashboardCheckRegisterZfajArea::getMonth, getDateTime().getMonth());
List<DashboardCheckRegisterZfajArea> monthAreaList = dashboardCheckRegisterZfajAreaMapper.selectList(queryWrapper);
if (monthAreaList.size() > 0) {
//更新数据的isDelete字段为1
for (DashboardCheckRegisterZfajArea entity : monthAreaList) {
entity.setIsDelete("1");
}
dashboardCheckRegisterZfajAreaMapper.updateBatchById(monthAreaList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterZfajdetailsArea> queryWrapper1 = new LambdaQueryWrapper<>();
queryWrapper1.eq(DashboardCheckRegisterZfajdetailsArea::getIsDelete, "0");
queryWrapper1.eq(DashboardCheckRegisterZfajdetailsArea::getYear, getDateTime().getYear());
queryWrapper1.eq(DashboardCheckRegisterZfajdetailsArea::getMonth, getDateTime().getMonth());
List<DashboardCheckRegisterZfajdetailsArea> monthAreaDetailsList = dashboardCheckRegisterZfajdetailsAreaMapper.selectList(queryWrapper1);
if (monthAreaDetailsList.size() > 0) {
//更新数据的isDelete字段为1
for (DashboardCheckRegisterZfajdetailsArea entity : monthAreaDetailsList) {
entity.setIsDelete("1");
}
dashboardCheckRegisterZfajdetailsAreaMapper.updateBatchById(monthAreaDetailsList);
}
// 获取当前系统时间
CimDashboardOverviewQueryBo bo=getDateTime() ;
List<CimDashboardOverviewVo> list =cimDashboardOverviewMapper.getAreaEnfRegistrationAndCaseCount(bo);
@ -735,6 +918,22 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
*/
public Boolean insertCheckRegiserData(CimDashboardOverviewVo vo){
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterArea> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardCheckRegisterArea::getIsDelete, "0");
queryWrapper.eq(DashboardCheckRegisterArea::getYear, getDateTime().getYear());
queryWrapper.eq(DashboardCheckRegisterArea::getMonth, getDateTime().getMonth());
DashboardCheckRegisterArea entity =dashboardCheckRegisterAreaMapper.selectOne(queryWrapper);
if ( entity!= null) {
//更新数据的isDelete字段为1
LambdaUpdateWrapper<DashboardCheckRegisterArea> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(DashboardCheckRegisterArea::getYear, getDateTime().getYear());
updateWrapper.eq(DashboardCheckRegisterArea::getMonth, getDateTime().getMonth());
updateWrapper.eq(DashboardCheckRegisterArea::getId, entity.getId());
updateWrapper.set(DashboardCheckRegisterArea::getIsDelete, "1");
dashboardCheckRegisterAreaMapper.update(updateWrapper);
}
//添加数据到大屏总览数据汇总表
DashboardCheckRegisterArea add = new DashboardCheckRegisterArea();
add.setCityCode("440300");
@ -807,6 +1006,7 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getCheckRegisterFieldMonthDataSum() {
CimDashboardOverviewVo vo = new CimDashboardOverviewVo();
@ -880,6 +1080,37 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
*/
public Boolean getCheckRegisterFieldMonthDataSumList() {
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterZfajDomain> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardCheckRegisterZfajDomain::getIsDelete, "0")
.eq(DashboardCheckRegisterZfajDomain::getYear, getDateTime().getYear())
.eq(DashboardCheckRegisterZfajDomain::getMonth, getDateTime().getMonth());
List<DashboardCheckRegisterZfajDomain> domainList = dashboardCheckRegisterZfajDomainMapper.selectList(queryWrapper);
if(domainList.size()>0){
//更新数据的isDelete字段为1
for (DashboardCheckRegisterZfajDomain domain : domainList){
domain.setIsDelete("1");
}
dashboardCheckRegisterZfajDomainMapper.updateBatchById(domainList);
}
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterZfajdetailsDomain> queryWrapper1 = new LambdaQueryWrapper<>();
queryWrapper1.eq(DashboardCheckRegisterZfajdetailsDomain::getIsDelete, "0")
.eq(DashboardCheckRegisterZfajdetailsDomain::getYear, getDateTime().getYear())
.eq(DashboardCheckRegisterZfajdetailsDomain::getMonth, getDateTime().getMonth());
List<DashboardCheckRegisterZfajdetailsDomain> domainDetailsList = dashboardCheckRegisterZfajdetailsDomainMapper.selectList(queryWrapper1);
if(domainDetailsList.size()>0){
//更新数据的isDelete字段为1
for (DashboardCheckRegisterZfajdetailsDomain domainDetail : domainDetailsList){
domainDetail.setIsDelete("1");
}
dashboardCheckRegisterZfajdetailsDomainMapper.updateBatchById(domainDetailsList);
}
// 获取当前系统时间
CimDashboardOverviewQueryBo bo=getDateTime() ;
List<CimDashboardOverviewVo> list =cimDashboardOverviewMapper.getFieldEnfRegistrationAndCaseCount(bo);
@ -936,6 +1167,23 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
*/
public Boolean insertFieldCheckRegiserData(CimDashboardOverviewVo vo){
//查询是否有月度已经执行过的数据
LambdaQueryWrapper<DashboardCheckRegisterDomain> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(DashboardCheckRegisterDomain::getYear, getDateTime().getYear());
queryWrapper.eq(DashboardCheckRegisterDomain::getMonth, getDateTime().getMonth());
queryWrapper.eq(DashboardCheckRegisterDomain::getIsDelete, "0");
DashboardCheckRegisterDomain domain= dashboardCheckRegisterDomainMapper.selectOne(queryWrapper);
if ( domain!= null) {
//更新数据的isDelete字段为1
LambdaUpdateWrapper<DashboardCheckRegisterDomain> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(DashboardCheckRegisterDomain::getYear, getDateTime().getYear());
updateWrapper.eq(DashboardCheckRegisterDomain::getMonth, getDateTime().getMonth());
updateWrapper.eq(DashboardCheckRegisterDomain::getId, domain.getId());
updateWrapper.set(DashboardCheckRegisterDomain::getIsDelete, "1");
dashboardCheckRegisterDomainMapper.update(updateWrapper);
}
//添加数据到大屏总览数据汇总表
DashboardCheckRegisterDomain add = new DashboardCheckRegisterDomain();
add.setLyid(vo.getDomainId());
@ -1003,8 +1251,15 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getKeyEnterprisesMonthDataSum() {
// 月度数据为整月重算快照:先物理删除当月数据(含历史逻辑删除记录)。
LambdaQueryWrapper<DashboardEnterpriseCheck> deleteWrapper = new LambdaQueryWrapper<>();
deleteWrapper.eq(DashboardEnterpriseCheck::getStatYear, getDateTime().getYear())
.eq(DashboardEnterpriseCheck::getStatMonth, getDateTime().getMonth());
dashboardEnterpriseCheckMapper.delete(deleteWrapper);
CimDashboardOverviewQueryBo bo=getDateTime() ;
List<CimDashboardOverviewVo> list = cimDashboardOverviewMapper.getKeyEnterprises(bo);
@ -1138,8 +1393,12 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getTrendAreaMonthDataSum() {
//查询是否有月度已经执行过的数据
//更新数据的isDelete字段为1
CimDashboardOverviewQueryBo bo=getDateTime() ;
List<CimDashboardOverviewVo> list= cimDashboardOverviewMapper.getQuarterlyRegionList(bo);
@ -1289,6 +1548,7 @@ public class CimDashboardOverviewDataSumSserviceImpl implements ICimDashboardOve
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean getTrendFieldMonthDataSum() {
CimDashboardOverviewQueryBo bo=getDateTime() ;

5
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/NonEnforcementRegistrationServiceImpl.java

@ -237,7 +237,10 @@ public class NonEnforcementRegistrationServiceImpl implements INonEnforcementReg
}
// dateSearch - 时间范围查询
if (StringUtils.isNotBlank(bo.getDateSearch())) {
// 仅当 dateSearch 为 "YYYY-MM" 格式的具体月份时才生效;
// "month"/"quarter"/"year" 为时段类型标识,由 dateType 条件处理,直接忽略
if (StringUtils.isNotBlank(bo.getDateSearch())
&& bo.getDateSearch().matches("^\\d{4}-\\d{2}$")) {
lqw.apply("DATE_FORMAT(enforcement_time, '%Y-%m') = {0}", bo.getDateSearch());
}

7
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/thirdparty/impl/SIQServiceImpl.java

@ -114,7 +114,12 @@ public class SIQServiceImpl implements ISIQService {
variables.put("time", paramBo.getEnforceDate());
siqMsgParamBo.setAdditionalData(variables);
siqMsgParamBo.setSourceId(paramBo.getSourceId());
sendMsg(siqMsgParamBo);
try{
sendMsg(siqMsgParamBo);
}catch (Exception e){
log.error("企业[{}]关联用户[{}]预告消息发送失败", enterpriseId, userRef.getUserId(), e);
}
}
log.info("企业[{}]预告消息发送完成,共{}个关联用户", enterpriseId, userRefList.size());
}

14
zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts

@ -262,6 +262,20 @@ export const constantRoutes: RouteRecordRaw[] = [
]
},
// 非现场查证监督详情
{
path: '/non/non-enforcement-filing/detail/:id',
component: Layout,
hidden: true,
children: [
{
path: '',
component: () => import('@/views/nos/nosVerify/detail.vue'),
name: 'NosDetailFiling',
meta: { title: '非现场备案监督详情', icon: 'plus' }
}
]
},
// 非现场查证监督详情
{
path: '/non/non-enforcement-verify/detail/:id',

3
zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/notice/cp_notice_edit.vue

@ -605,9 +605,10 @@ const fetchEnterpriseList = (keyword) => {
};
const onSelectEnterprise = (item) => {
console.log(item);
form.value.enterpriseName = item.enterpriseName || '';
form.value.enterpriseNumber = item.enterpriseNumber || '';
form.value.enterpriseId = item.enterpriseNumber || '';
form.value.enterpriseId = item.id || '';
showEnterprisePicker.value = false;
enterpriseOptions.value = [];
// 根据企业信用代码拉取联系人和联系电话

4
zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue

@ -658,7 +658,7 @@ const fetchEnterpriseList = (keyword) => {
const onSelectEnterprise = (item) => {
form.value.enterpriseName = item.enterpriseName || '';
form.value.enterpriseNumber = item.enterpriseNumber || '';
form.value.enterpriseId = item.enterpriseNumber || '';
form.value.enterpriseId = item.id || '';
showEnterprisePicker.value = false;
enterpriseOptions.value = [];
};
@ -890,7 +890,7 @@ const doSubmit = () => {
}
// 3) 企业ID兜底(来源VO无id时用信用代码占位)
if (!form.value.enterpriseId) {
form.value.enterpriseId = form.value.enterpriseNumber || '';
form.value.enterpriseId = form.value.enterpriseId || '';
}
// 4) 机构/部门兜底(防止useCommon未及时填充)
form.value.organId = form.value.organId || useCommon.organId || '-';

3
zdxt-web-client/zdxt-efcode-enterprise-app/src/api/enterprise/index.js

@ -87,6 +87,9 @@ export const queryDict = (params, success, error) => _get("/system/dict/data/dic
//查询系统配置值(如 gps.check:1 开启定位,0 不开启)
export const getSystemConfigByKey = (configKey, params, success, error) => _get(`/system/config/configKey/${configKey}`, params, success, error)
//法律法规列表(企业端)
export const queryLawListApi = (params, success, error) => _get(enterpriseAppBaseUrl + "/flfg/msg/list", params, success, error)
//执法单位(部门)列表
export const getDeptList = (params, success, error) => _get("/enforcementcode/virtualUnit/list",params,success,error)

63
zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/law/lawQuery.vue

@ -64,6 +64,7 @@
import { ref } from 'vue';
import { showToast } from 'vant';
import 'vant/es/toast/style';
import { queryLawListApi } from '@/api/enterprise';
const router = useRouter();
@ -78,32 +79,51 @@ const refreshing = ref(false);
const pageNum = ref(1);
const pageSize = ref(10);
// 模拟数据(与截图一致)
const mockData = [
{ title: '渔业行政处罚规定', status: '有效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
{ title: '渔业行政处罚规定', status: '尚未生效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
{ title: '渔业行政处罚规定', status: '有效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
{ title: '渔业行政处罚规定', status: '有效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
{ title: '渔业行政处罚规定', status: '有效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
{ title: '渔业行政处罚规定', status: '有效', publishDate: '2026-08-08', implementDate: '2026-08-18', department: '农业农村部' },
];
// 日期统一显示为 yyyy-MM-dd(后端可能返回 yyyy-MM-dd HH:mm:ss 或时间戳)
const formatDate = (val) => {
if (!val) return '';
const str = String(val);
if (/^\d{4}-\d{2}-\d{2}/.test(str)) return str.slice(0, 10);
const d = new Date(str);
if (Number.isNaN(d.getTime())) return str;
const pad = (n) => String(n).padStart(2, '0');
return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
};
// 后端字段 → 页面字段
const normalizeItem = (item = {}) => ({
id: item.id,
title: item.lawName || '',
status: item.timeliness || '',
publishDate: formatDate(item.promulgation),
implementDate: formatDate(item.implementation),
department: item.organ || '',
});
// 加载数据
const fetchList = () => {
// TODO: 替换为真实接口调用
// const params = { pageNum: pageNum.value, pageSize: pageSize.value, searchValue: searchKeyword.value };
// 模拟异步请求
setTimeout(() => {
if (refreshing.value) {
lawList.value = [];
refreshing.value = false;
}
lawList.value = [...lawList.value, ...mockData];
// 模拟只有一页数据
const params = {
pageNum: pageNum.value,
pageSize: pageSize.value,
};
const keyword = searchKeyword.value.trim();
if (keyword) params.lawName = keyword;
queryLawListApi(params, (res) => {
const rows = (res?.rows || []).map(normalizeItem);
const total = Number(res?.total || 0);
lawList.value = pageNum.value === 1 ? rows : lawList.value.concat(rows);
finished.value = lawList.value.length >= total || rows.length < pageSize.value;
pageNum.value += 1;
loading.value = false;
refreshing.value = false;
}, (err) => {
console.error('[lawQuery] 法律法规列表加载失败:', err);
finished.value = true;
loading.value = false;
}, 300);
refreshing.value = false;
showToast('法律法规加载失败');
});
};
// 触底加载
@ -140,6 +160,7 @@ const onLawClick = (item) => {
router.push({
path: '/enterprise/lawDetail',
query: {
id: item.id,
title: item.title,
publishDate: item.publishDate,
implementDate: item.implementDate,

3
zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/nos/components/NosDetailMaterialsTab.vue

@ -347,7 +347,8 @@ const showVideoPreview = ref(false)
const previewVideoUrl = ref('')
// ========== 上传入口(生产环境用 w6s SDK) ==========
const isProd = computed(() => appEnv === 'prod')
// const isProd = computed(() => appEnv === 'prod')
const isProd = ref(false)
const showUploadAction = ref(false)
const activeUploadItem = ref(null)
const uploadActions = [

22
zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-dev.yml

@ -65,17 +65,17 @@ spring:
username: root
password: zdxt@8888
# 推管库(行政检查信息同步目标库)
tgk:
lazy: true
url: jdbc:mysql://172.16.20.72:3306/zfjd_tgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: zdxt@8888
# 共享库(行政检查信息 tgk -> gxk 同步目标库)
gxk:
lazy: true
url: jdbc:mysql://172.16.20.72:3306/zfjd_gxk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: zdxt@8888
# tgk:
# lazy: true
# url: jdbc:mysql://172.16.20.72:3306/zfjd_tgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: root
# password: zdxt@8888
# # 共享库(行政检查信息 tgk -> gxk 同步目标库)
# gxk:
# lazy: true
# url: jdbc:mysql://172.16.20.72:3306/zfjd_gxk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: root
# password: zdxt@8888
hikari:
# 最大连接池数量
maxPoolSize: 500

38
zdxt-web-server/zdxt-admin-web-server/src/main/resources/application-prod.yml

@ -47,33 +47,9 @@ spring:
master:
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql:loadbalance://10.134.89.36:15144,10.134.89.37:15144,10.134.89.38:15144,10.134.89.39:15144/zfjd_ef20_prod?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql:loadbalance://10.134.89.36:15144,10.134.89.37:15144,10.134.89.38:15144,10.134.89.39:15144/zfjd_ef20_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: zfjd
password: szsf@zfjd
# 一期数据库
v1:
lazy: true
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql:loadbalance://10.134.89.36:15144,10.134.89.37:15144,10.134.89.38:15144,10.134.89.39:15144/zfjd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: zfjd
password: szsf@zfjd
# 提供库(内部)
tgk:
lazy: true
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql:loadbalance://10.134.89.36:15144,10.134.89.37:15144,10.134.89.38:15144,10.134.89.39:15144/zfjd_tgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: zfjd
password: szsf@zfjd
# 省数据编目,同步到局数据库
gxk:
lazy: true
type: ${spring.datasource.type}
driverClassName: dm.jdbc.driver.DmDriver
url: jdbc:dm://10.224.157.67:10405?schema=SSFJTGK&compatibleMode=mysql&characterEncoding=utf-8
username: SSFJJDM
password: "6AK$xi7AH+"
hikari:
# 最大连接池数量
maxPoolSize: 20
@ -283,7 +259,7 @@ xss:
siq:
#正式
siqUrl: ENC(Y8AuVzQ311FOgJ4h07zjkLH8ArJBED3Xxz3Ug0ncPzuLXIVCuB25DA==)
siqBaseUrl: http://10.76.108.3/siqBase
siqBaseUrl: http://101.76.108.3/siqBase
code: ENC(Ogi+/4PPtXiuILnVlNg4Lw==)
secretKey: ENC(zTr/tj2VgFxQyunI4eIL7NyRWDPSMPSB0VlwTYeHTdsEWyu1H96xWw==)
msgAppId: C3AFBBDCC0BF4D5FB0F52731A900BE8F
@ -305,7 +281,7 @@ szypt:
srnwg:
#正式
# url: ENC(pHNm/o0+6S+HjrM5nuMiPRfkrHS1tXYD5i25OBtM4dWSi6MvH6iXfw==)
url: http://10.76.108.1/srz
url: http://101.76.108.1/srz
systemCode: ENC(cHDdxMKpJ/rbuj4PVCxylN+zPd9I2KT0)
integrationKey: ENC(txSndcPbZK5mYjW7Doa/n9Ips2PLa9NV)
paasId: szsfj_zhifajianduma_001
@ -315,10 +291,10 @@ srnwg:
#民生诉求
mssq:
appId: 30cd632d18c24bc2b476535494327987
appKey: MzBjZDYzMmQxOGMyNGJjMmI0NzY1MzU0OTQzMjc5ODc6U3pzejIwMjQ=
appId: 30cd632d18c24bc2b4765315494327987
appKey: MzBjZDYzMmQxOGMyNGJjMmI0NzY1MzU0OTQzMjc5ODc16U3pzejIwMjQ=
# apiUrl: http://10.224.158.101:8182/proxy/
apiUrl: http://10.76.108.1:12004/mssq_proxy
apiUrl: http://101.76.108.1:12004/mssq_proxy
hcpappid: zfjdm
hcpsign: 0460493a4493a06d4e4bf20df7495b36b019b311312b4fe305450a4bfd9cb8e5cba00ef71698f67cfc68247c4f43c7b71d0ec9d18b9d8f0b68ac048d8af563c8f8eff55a02f28cf524af9ff82b0e9d3e59bf750b3a1bb38b6dbb3f2075600b941aaa68317d882622734ed068bcb1b2e496b05991dcfc31169934a0805ef7abcf7371daff66ea
hcptimestamp: 20240801142433
@ -328,7 +304,7 @@ sms:
account: 122
pwd: szsfj1800
batch: 2409
url: http://10.76.108.1/sms/services/Sms
url: http://101.76.108.1/sms/services/Sms
#市监代理页面

Loading…
Cancel
Save