| | |
| | | <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'; |
| | |
| | | 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([]); |
| | |
| | | }); |
| | | return result; |
| | | }); |
| | | const debounceQuery = debounce(() => handleQueryTable(), 500); |
| | | //按指标名称查询 |
| | | const selectTitleChange = (val) => { |
| | | queryParams.value.title = val; |
| | | handleQueryTable(); |
| | | debounceQuery(); |
| | | }; |
| | | //按主题域查询 |
| | | const selectMetricsChange = (val) => { |