yangyin
2024-10-18 bf3e0634ddd422751cedd99ef358dcae86babb9c
src/views/project/yw/systemManage/metricMgr/MetricMgr.vue
@@ -128,6 +128,7 @@
<script setup lang="ts">
import { useDraggable } from '@vueuse/core';
import axios, { CancelTokenSource } from 'axios';
import { debounce } from 'lodash';
import { computed, nextTick, onMounted, ref } from 'vue';
import { useRouter } from 'vue-router';
import { SupervisorPublished } from '../../lowCode/sqlAmis/types';
@@ -141,6 +142,7 @@
import { convertListToTree } from '/@/utils/util';
import { OptClassificationMap, classificationEnum, eMetrics_Ops, eMetrics_Ops_Color } from '/@/views/types/metrics';
const router = useRouter();
//#region ====================== 表格数据,table init ======================
const tableLoading = ref(false);
const tableData = ref([]);
@@ -175,10 +177,10 @@
   });
   return result;
});
const debounceQuery = debounce(() => handleQueryTable(), 500);
//按指标名称查询
const selectTitleChange = (val) => {
   queryParams.value.title = val;
   handleQueryTable();
   debounceQuery();
};
//按主题域查询
const selectMetricsChange = (val) => {