From 15335fdc5b357676bc1a7452985c7adca4bc2f9e Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期三, 22 一月 2025 17:24:29 +0800 Subject: [PATCH] 统计方式字段可以为空值 --- src/views/data/ind/item/AtomIndDefineForm.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/data/ind/item/AtomIndDefineForm.vue b/src/views/data/ind/item/AtomIndDefineForm.vue index d310d98..97f2e34 100644 --- a/src/views/data/ind/item/AtomIndDefineForm.vue +++ b/src/views/data/ind/item/AtomIndDefineForm.vue @@ -32,7 +32,7 @@ </el-col> <el-col :span="12"> <el-form-item label="时间粒度" prop="timeGranularity"> - <el-select v-model="formData.timeGranularity" placeholder="请选择"> + <el-select v-model="formData.timeGranularity" clearable placeholder="请选择"> <el-option v-for="dict in getStrDictOptions(DICT_TYPE.TIME_GRANULARITY)" :key="dict.value" @@ -160,7 +160,7 @@ itemName: [{required: true, message: '指标名称不能为空', trigger: 'blur'}], itemCategory: [{required: true, message: '指标分类不能为空', trigger: 'blur'}], "atomItem.usingField": [{required: true, message: '使用字段不能为空', trigger: 'blur'}], - "atomItem.statFunc": [{required: true, message: '统计方式不能为空', trigger: 'blur'}], + // "atomItem.statFunc": [{required: true, message: '统计方式不能为空', trigger: 'blur'}], }) const formRef = ref() // 表单 Ref const dataSetList = ref([] as DataSetApi.DataSetVO[]) -- Gitblit v1.9.3