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 @@
-
+
{{paramTypeOptions.find(item => item.value == scope.row.paramType)?.label || scope.row.paramType}}
@@ -66,7 +69,7 @@
-
+
{{paramOptiontypeOptions.find(item => item.value === scope.row.paramOptiontype)?.label ||
@@ -135,7 +138,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