From 23b6d65f0c44032283fd956588e74673680c5de2 Mon Sep 17 00:00:00 2001 From: tangw Date: Mon, 13 Jul 2026 16:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=8F=82=E6=95=B0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/liswork/xtwh/statstemplate/data.vue | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/src/views/liswork/xtwh/statstemplate/data.vue b/src/views/liswork/xtwh/statstemplate/data.vue index 46aee60..3a6d72f 100644 --- a/src/views/liswork/xtwh/statstemplate/data.vue +++ b/src/views/liswork/xtwh/statstemplate/data.vue @@ -55,7 +55,10 @@ @@ -66,7 +69,7 @@ - + - + @@ -213,7 +216,7 @@ import { copy } from "clipboard"; const route = useRoute(); // ========== 基础变量声明(避免提前访问) ========== // 菜单名称 -const menuname = ref("参数明细"); +const menuname = ref("参数"); const statsCode = ref("1"); const copyOpen = ref(false); @@ -222,14 +225,16 @@ const copyTemplateOptions = ref([]) // 报表类别选项 const paramTypeOptions = ref([ - { label: "过滤参数", value: "0" }, - { label: "显示列", value: "1" }, - { label: "副标题", value: "2" }, - { label: "汇总栏", value: "3" }, - { label: "子查询", value: "4" }, - { label: "逻辑条件", value: "5" }, - { label: "计算列", value: "6" } + { label: "统计条件", value: "0" ,color: "#3282F6"}, + { label: "显示列", value: "1" , color: "#67C23A"}, + { label: "副标题", value: "2" , color: "#FF443F"}, + { label: "汇总栏", value: "3" , color: "#FF443F"}, + { label: "子查询", value: "4" , color: "#FF443F"}, + { label: "逻辑条件", value: "5" , color: "#909399"}, + { label: "计算列", value: "6" , color: "#C2C024" } ]); + + //常用默认值 const defaultOptions = ref([ { label: "当前日期", value: "[today]" }, @@ -300,7 +305,7 @@ const queryParams = ref({ paramType: undefined, status: undefined, pageNum: 1, - pageSize: 30 + pageSize: 17 }); // 表单校验规则 @@ -588,5 +593,15 @@ function getTypes(statsCode0) { :deep(.compact-form .el-form-item:last-of-type .el-textarea__inner) { min-height: 60px; } - +.stats-type-cell { + width: 100%; + height: 100%; + min-height: 26px; + display: flex; + align-items: center; + justify-content: center; + padding: 0; + font-size: 12px; + border-radius: 2px; +} \ No newline at end of file