diff --git a/cds-fontend-2025.V1/src/views/mps/market/index.vue b/cds-fontend-2025.V1/src/views/mps/market/index.vue index 69b5971..c63899e 100644 --- a/cds-fontend-2025.V1/src/views/mps/market/index.vue +++ b/cds-fontend-2025.V1/src/views/mps/market/index.vue @@ -156,7 +156,7 @@ const { align: 'center', minWidth: 120, ellipsis: true, - resizable: true, + resizable: true }, { key: 'deptName', @@ -507,7 +507,7 @@ function edit(dataId: CommonType.IdType) { function handleExport() { download('/mps/market/export', searchParams, `营销数据管理_${new Date().getTime()}.xlsx`); } -//获取子类目下拉框 +// 获取子类目下拉框 const { startLoading, endLoading } = useLoading(); const subcategoryIdOptions = ref[]>([]); @@ -544,7 +544,7 @@ async function getSubcategoryOptions() { :show-export="false" @add="handleAdd" @delete="handleBatchDelete" - @export="handleExport" + @export="true" @refresh="getData" > diff --git a/cds-fontend-2025.V1/src/views/report/detail-entry/modules/detail-entry-search.vue b/cds-fontend-2025.V1/src/views/report/detail-entry/modules/detail-entry-search.vue index e075074..8a51bb8 100644 --- a/cds-fontend-2025.V1/src/views/report/detail-entry/modules/detail-entry-search.vue +++ b/cds-fontend-2025.V1/src/views/report/detail-entry/modules/detail-entry-search.vue @@ -135,8 +135,8 @@ if(userInfo.roles.includes('operation')){ diff --git a/cds-fontend-2025.V1/src/views/report/performance-MD/index.vue b/cds-fontend-2025.V1/src/views/report/performance-MD/index.vue index 51c3e67..2a9f280 100644 --- a/cds-fontend-2025.V1/src/views/report/performance-MD/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance-MD/index.vue @@ -1263,7 +1263,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/performance-h/index.vue b/cds-fontend-2025.V1/src/views/report/performance-h/index.vue index c43bb01..4771f91 100644 --- a/cds-fontend-2025.V1/src/views/report/performance-h/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance-h/index.vue @@ -1263,7 +1263,7 @@ const { return (
- {editBtn()} +
); } diff --git a/cds-fontend-2025.V1/src/views/report/performance-m/index.vue b/cds-fontend-2025.V1/src/views/report/performance-m/index.vue index 7aa1375..3712717 100644 --- a/cds-fontend-2025.V1/src/views/report/performance-m/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance-m/index.vue @@ -1263,7 +1263,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/performance-q/index.vue b/cds-fontend-2025.V1/src/views/report/performance-q/index.vue index ac409f5..c0dba93 100644 --- a/cds-fontend-2025.V1/src/views/report/performance-q/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance-q/index.vue @@ -1263,7 +1263,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/performance-y/index.vue b/cds-fontend-2025.V1/src/views/report/performance-y/index.vue index 686a930..e65b851 100644 --- a/cds-fontend-2025.V1/src/views/report/performance-y/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance-y/index.vue @@ -1263,7 +1263,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/performance/index.vue b/cds-fontend-2025.V1/src/views/report/performance/index.vue index dd5826d..9ed19cc 100644 --- a/cds-fontend-2025.V1/src/views/report/performance/index.vue +++ b/cds-fontend-2025.V1/src/views/report/performance/index.vue @@ -1262,7 +1262,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/pricing-summary-m/index.vue b/cds-fontend-2025.V1/src/views/report/pricing-summary-m/index.vue index 8174419..77193ca 100644 --- a/cds-fontend-2025.V1/src/views/report/pricing-summary-m/index.vue +++ b/cds-fontend-2025.V1/src/views/report/pricing-summary-m/index.vue @@ -215,7 +215,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/pricing-summary-q/index.vue b/cds-fontend-2025.V1/src/views/report/pricing-summary-q/index.vue index b585aff..7c67dc5 100644 --- a/cds-fontend-2025.V1/src/views/report/pricing-summary-q/index.vue +++ b/cds-fontend-2025.V1/src/views/report/pricing-summary-q/index.vue @@ -215,7 +215,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/pricing-summary-y/index.vue b/cds-fontend-2025.V1/src/views/report/pricing-summary-y/index.vue index 6a83050..1b94429 100644 --- a/cds-fontend-2025.V1/src/views/report/pricing-summary-y/index.vue +++ b/cds-fontend-2025.V1/src/views/report/pricing-summary-y/index.vue @@ -215,7 +215,6 @@ const { return (
- {editBtn()}
); } diff --git a/cds-fontend-2025.V1/src/views/report/valid-invalid/index.vue b/cds-fontend-2025.V1/src/views/report/valid-invalid/index.vue index 201fd4a..4a15cf1 100644 --- a/cds-fontend-2025.V1/src/views/report/valid-invalid/index.vue +++ b/cds-fontend-2025.V1/src/views/report/valid-invalid/index.vue @@ -115,17 +115,17 @@ const { ellipsis: true, resizable: true }, - { - key: 'invalidBusiness', - title: '无效的中间业务计价项目', - align: 'center', - minWidth: 120, - ellipsis: true, - resizable: true - }, + // { + // key: 'invalidBusiness', + // title: '无效的中间业务计价项目', + // align: 'center', + // minWidth: 120, + // ellipsis: true, + // resizable: true + // }, { key: 'validBusiness', - title: '有效的中间业务计价项目', + title: '中间业务计价项目', align: 'center', minWidth: 120, ellipsis: true, @@ -226,7 +226,7 @@ const { ); }; - return
{editBtn()}
; + return
{}
; } } ] diff --git a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/bo/MpsDetailEntryBo.java b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/bo/MpsDetailEntryBo.java index b632196..c6cc618 100644 --- a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/bo/MpsDetailEntryBo.java +++ b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/bo/MpsDetailEntryBo.java @@ -1,5 +1,7 @@ package org.dromara.mps.domain.bo; +import org.dromara.common.translation.annotation.Translation; +import org.dromara.common.translation.constant.TransConstant; import org.dromara.mps.domain.MpsDetailEntry; import org.dromara.common.mybatis.core.domain.BaseEntity; import org.dromara.common.core.validate.AddGroup; @@ -64,8 +66,7 @@ public class MpsDetailEntryBo extends BaseEntity { /** * 数据日期 */ - @NotNull(message = "数据日期不能为空", groups = { AddGroup.class, EditGroup.class }) - private Date date; + private String date; /** * 部门名称 diff --git a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/vo/MpsDetailEntryVo.java b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/vo/MpsDetailEntryVo.java index 76e825f..c6fa7ee 100644 --- a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/vo/MpsDetailEntryVo.java +++ b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/domain/vo/MpsDetailEntryVo.java @@ -4,7 +4,10 @@ import java.math.BigDecimal; import java.util.Date; import cn.idev.excel.annotation.ExcelIgnore; +import cn.idev.excel.annotation.format.DateTimeFormat; import com.fasterxml.jackson.annotation.JsonFormat; +import org.dromara.common.translation.annotation.Translation; +import org.dromara.common.translation.constant.TransConstant; import org.dromara.mps.domain.MpsDetailEntry; import cn.idev.excel.annotation.ExcelIgnoreUnannotated; import cn.idev.excel.annotation.ExcelProperty; @@ -79,19 +82,22 @@ public class MpsDetailEntryVo implements Serializable { * 数据日期 */ @ExcelProperty(value = "数据日期") + @JsonFormat(pattern = "yyyy-MM-dd") + @DateTimeFormat("yyyy-MM-dd") private Date date; /** * 部门名称 */ @ExcelProperty(value = "部门名称") + @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "deptId") private String deptName; /** * 部门id */ @ExcelProperty(value = "部门id") - private BigDecimal deptId; + private Long deptId; /** * 客户类型(1-个人,2-对公) diff --git a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/mapper/MpsDetailEntryMapper.java b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/mapper/MpsDetailEntryMapper.java index f1e0d33..cd2e900 100644 --- a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/mapper/MpsDetailEntryMapper.java +++ b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/mapper/MpsDetailEntryMapper.java @@ -45,12 +45,14 @@ public interface MpsDetailEntryMapper extends BaseMapperPlus