企业分级分类、企业信息上报审核功能优化

This commit is contained in:
chenlinlin 2025-09-05 16:20:17 +08:00
parent 789157db16
commit 1ce1e32880
4 changed files with 2 additions and 19 deletions

View File

@ -166,7 +166,7 @@ const state = reactive({
mode: 'detail', mode: 'detail',
loading: false, loading: false,
baseTitle: '企业分级分类', baseTitle: '企业分级分类',
formLabelWidth: '90px',
showFooter: false, showFooter: false,
rules: { rules: {
businessRating: [{required: true, message: '企业分级不能为空', trigger: 'blur'}], businessRating: [{required: true, message: '企业分级不能为空', trigger: 'blur'}],

View File

@ -225,17 +225,6 @@ const onRemove = (fileList, id, obj, row) => { // 组件删除文件回调
} }
const defaultValues = reactive(DEFAULT_ENTERPRISE_DETAIL) const defaultValues = reactive(DEFAULT_ENTERPRISE_DETAIL)
function deserializeFields(data, fields) {
fields.forEach(field => {
if (data[field]) {
try {
data[field] = JSON.parse(data[field])
} catch (e) {
console.error(`Failed to parse ${field}:`, e)
}
}
})
}
function findOne(row) { function findOne(row) {
dialogConfig.value.loading = true dialogConfig.value.loading = true

View File

@ -105,7 +105,6 @@ public class EnterpriseAuditService {
throw new RuntimeException("联系电话【" + legalPhone + "】在企业上报审核/企业信息管理已存在"); throw new RuntimeException("联系电话【" + legalPhone + "】在企业上报审核/企业信息管理已存在");
EnterpriseHistory history = new EnterpriseHistory(); EnterpriseHistory history = new EnterpriseHistory();
BeanUtils.copyProperties(audit, history); BeanUtils.copyProperties(audit, history);
history.setTheType("审核");
if (null != user) { if (null != user) {
history.setHistoryTime(now); history.setHistoryTime(now);
history.setTheUserName(user.getXm()); history.setTheUserName(user.getXm());

View File

@ -21,11 +21,6 @@ public class EnterpriseCameraService {
private final EnterpriseCameraRepository enterpriseCameraRepository; private final EnterpriseCameraRepository enterpriseCameraRepository;
public EnterpriseCameraService(EnterpriseCameraRepository enterpriseCameraRepository) {
this.enterpriseCameraRepository = enterpriseCameraRepository;
}
/** /**
* 分页查询企业监控点信息 * 分页查询企业监控点信息
* *