| | |
| | | </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" |
| | |
| | | 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[]) |