Riku
2025-01-01 7b1293cec33b47680f08756bd1f8518d3cb1a729
src/views/satellitetelemetry/component/SatelliteManage.vue
@@ -22,6 +22,14 @@
        >
          {{ dataVisible ? '隐藏数据' : '显示数据' }}
        </el-button>
        <el-button
          type="primary"
          class="el-button-custom"
          size="small"
          @click="handleColorClick"
        >
          {{ isStandardColor ? '绘制对比色' : '绘制标准色' }}
        </el-button>
        <el-table
          :data="gridDataList"
          table-layout="fixed"
@@ -98,8 +106,9 @@
const rankVisible = ref(true);
const dataVisible = ref(true);
const isStandardColor = ref(true)
const emits = defineEmits(['search', 'rowClick', 'showRank', 'showData']);
const emits = defineEmits(['search', 'rowClick', 'showRank', 'showData', 'changeColor']);
// 查询网格信息和遥感数据组
function onSearch(options) {
@@ -116,6 +125,11 @@
  emits('showData', dataVisible.value);
}
function handleColorClick() {
  isStandardColor.value = !isStandardColor.value
  emits('changeColor', isStandardColor.value);
}
function handleRowClick(row, col, event) {
  emits('rowClick', row);
}