| | |
| | | <el-divider /> |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="指标探索" name="indicatorExploration" class="h-full"> |
| | | <el-tab-pane label="指标图谱" name="indicatorExploration" class="h-full"> |
| | | <div class="h-full flex-column"> |
| | | <el-form :model="dialogFormValue" class="flex-0" ref="dialogFormRef" :rules="dialogFormRules"> |
| | | <el-form-item label="日期区间:" prop="rangValue" v-if="currentMetrics?.is_time_values ?? true"> |
| | |
| | | import { eMetrics_Ops } from '/@/views/types/metrics'; |
| | | |
| | | import { FormRules } from 'element-plus/es/components/form/src/types'; |
| | | import _, { debounce } from 'lodash'; |
| | | import { computed } from 'vue'; |
| | | import SummaryCom from './components/SummaryCom.vue'; |
| | | import { chatMetricsJsonByPost } from '/@/api/metrics'; |
| | | import _, { debounce } from 'lodash'; |
| | | import { useCompRef } from '/@/utils/types'; |
| | | const defaultTime = ref<[Date, Date]>([new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)]); |
| | | const router = useRouter(); |
| | |
| | | }); |
| | | }; |
| | | //#endregion |
| | | //#region ====================== 指标探索查询 ====================== |
| | | //#region ====================== 指标图谱查询 ====================== |
| | | // 时间限制 |
| | | const disablesDate = (time) => { |
| | | return time.getTime() > new Date().getTime(); |
| | |
| | | }; |
| | | //#endregion |
| | | |
| | | //#region ====================== 指标探索 ====================== |
| | | //#region ====================== 指标图谱 ====================== |
| | | |
| | | const filterDimList = computed( |
| | | () => currentMetrics?.value?.dimensions ?? [].filter((item) => item.filter_type === 'str_eq' && item.type === '字符串') |