动态分级分类,执法记录仪数据对接

This commit is contained in:
hanqi 2025-04-18 15:45:05 +08:00
parent cdefb3a930
commit f9139aa7e0
6 changed files with 5 additions and 6 deletions

View File

@ -15,7 +15,6 @@ export const enterprises = {
method: REQUEST_METHOD_TYPES.GET, method: REQUEST_METHOD_TYPES.GET,
params: query params: query
}), }),
ledgerStatistics(query) {//企业信息统计 ledgerStatistics(query) {//企业信息统计
return api({ return api({
url: url + '/ledgerStatistics', url: url + '/ledgerStatistics',

View File

@ -107,7 +107,6 @@ const baseRoutes = [
}, },
{ {
path: 'qyfjfl', path: 'qyfjfl',
name: '_qyfjfl',
component: () => import('@views/dtsjygl/qyfjfl.vue'), component: () => import('@views/dtsjygl/qyfjfl.vue'),
meta: { meta: {
title: '企业分级分类', title: '企业分级分类',

View File

@ -328,14 +328,14 @@ function handleCityChange() {
const broTable = ref(null) const broTable = ref(null)
function handleExport() { function handleExport() {
broTable.value.busiTable.exportExcelFileForAllData('/api/lawenforcement/enterprises/export', '企业分级分类信息', Object.assign({}, queryParams.value, {tag: 'fjfl'})) broTable.value.busiTable.exportExcelFileForAllData('/api/lawenforcement/enterprises/export', '分级分类信息', Object.assign({}, queryParams.value, {tag: 'fjfl'}))
} }
function handleTune(row) { function handleTune(row) {
dialogConfig.value.show = true dialogConfig.value.show = true
dialogConfig.value.mode = 'tune' dialogConfig.value.mode = 'tune'
dialogConfig.value.type = 'max' dialogConfig.value.type = 'max'
dialogConfig.value.title = '调整企业分级分类' dialogConfig.value.title = '企业分级分类'
dialogConfig.value.loading = true dialogConfig.value.loading = true
apiConfig.value.api.findOne(row[apiConfig.value.modelId]).then(res => { apiConfig.value.api.findOne(row[apiConfig.value.modelId]).then(res => {
if (res.success) { if (res.success) {

View File

@ -13,7 +13,7 @@ import java.time.LocalDateTime;
import java.util.Objects; import java.util.Objects;
/** /**
* 企业信息实体类 * 在线巡查企业信息实体类
*/ */
@Entity @Entity
@Table(name = "zf_ins_enterprise") @Table(name = "zf_ins_enterprise")

View File

@ -175,6 +175,7 @@ public class EnterpriseJoinScheduleService {
do { do {
// 查询企业信息 // 查询企业信息
pageResult = pageEnterprise(page, limit); pageResult = pageEnterprise(page, limit);
List<Enterprise> enterprises = pageResult.getContent();
if (!enterprises.isEmpty()) { if (!enterprises.isEmpty()) {
// 更新企业自查自报信息 // 更新企业自查自报信息

View File

@ -53,7 +53,7 @@ public class EnterpriseScheduleService {
private final String produceLicensePage; private final String produceLicensePage;
private final String hazardPage; private final String hazardPage;
private final String sourcesDangerPage; private final String sourcesDangerPage;
private final DictInterfaceService dictService; private final DictInterfaceService dictService;
private final DateTimeFormatter yyyy = DateTimeFormatter.ofPattern("yyyy"); private final DateTimeFormatter yyyy = DateTimeFormatter.ofPattern("yyyy");
public EnterpriseScheduleService(EnterpriseRepository enterpriseRepo, public EnterpriseScheduleService(EnterpriseRepository enterpriseRepo,