| | |
| | | :loading="loading" |
| | | @search="onSearch" |
| | | ></SatelliteSearchBar> |
| | | <el-row class="m-b-8"> |
| | | <!-- <el-row class="m-b-8"> |
| | | <el-button |
| | | type="primary" |
| | | class="el-button-custom" |
| | |
| | | > |
| | | {{ !isOpacity ? '透明化' : '取消透明化' }} |
| | | </el-button> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-table |
| | | :data="gridDataList" |
| | | table-layout="fixed" |
| | |
| | | import SatelliteSearchBar from './SatelliteSearchBar.vue'; |
| | | // import { useFetchData } from '@/composables/fetchData'; |
| | | // import gridApi from '@/api/gridApi'; |
| | | // import SatelliteProxy from '../SatelliteProxy'; |
| | | |
| | | // eslint-disable-next-line no-unused-vars |
| | | function timeFormatter(row, col, cellValue, index) { |
| | |
| | | } |
| | | }); |
| | | |
| | | const rankVisible = ref(false); |
| | | const dataVisible = ref(false); |
| | | const isStandardColor = ref(true); |
| | | const isOpacity = ref(false); |
| | | // const rankVisible = ref(false); |
| | | // const dataVisible = ref(false); |
| | | // const isStandardColor = ref(true); |
| | | // const isOpacity = ref(false); |
| | | |
| | | const emits = defineEmits([ |
| | | 'search', |
| | |
| | | emits('search', options); |
| | | } |
| | | |
| | | function handleRankClick() { |
| | | rankVisible.value = !rankVisible.value; |
| | | emits('showRank', rankVisible.value); |
| | | } |
| | | // function handleRankClick() { |
| | | // rankVisible.value = !rankVisible.value; |
| | | // emits('showRank', rankVisible.value); |
| | | // } |
| | | |
| | | function handleDataClick() { |
| | | dataVisible.value = !dataVisible.value; |
| | | emits('showData', dataVisible.value); |
| | | } |
| | | // function handleDataClick() { |
| | | // dataVisible.value = !dataVisible.value; |
| | | // emits('showData', dataVisible.value); |
| | | // } |
| | | |
| | | function handleColorClick() { |
| | | isStandardColor.value = !isStandardColor.value; |
| | | emits('changeColor', isStandardColor.value); |
| | | } |
| | | // function handleColorClick() { |
| | | // isStandardColor.value = !isStandardColor.value; |
| | | // emits('changeColor', isStandardColor.value); |
| | | // } |
| | | |
| | | function handleOpacityClick() { |
| | | isOpacity.value = !isOpacity.value; |
| | | emits('changeOpacity', isOpacity.value); |
| | | } |
| | | // function handleOpacityClick() { |
| | | // isOpacity.value = !isOpacity.value; |
| | | // emits('changeOpacity', isOpacity.value); |
| | | // } |
| | | |
| | | function handleRowClick(row, col, event) { |
| | | emits('rowClick', row); |