riku
2025-08-20 a09f984cbe2369e13d8694e91c4f8165ec6c2ba9
src/views/sourcetrace/component/SourceTraceFilter.vue
@@ -26,7 +26,7 @@
          size="default"
          :min="1"
        >
          <el-space>
          <!-- <el-space> -->
            <el-checkbox
              v-for="item in factorOptions"
              :value="item.value"
@@ -34,7 +34,7 @@
            >
              {{ item.label }}
            </el-checkbox>
          </el-space>
          <!-- </el-space> -->
        </el-checkbox-group>
      </el-space>
    </div>
@@ -65,13 +65,30 @@
import { ref } from 'vue';
const props = defineProps({
  // 数据切片,线索、提示、溯源
  /**
   * 包含追踪信息的数据切片,包括线索、提示和溯源数据
   * @type {Array}
   */
  dataSlice: Array,
  // 监测因子
  /**
   * 监测因子类型数组
   * @type {Array}
   */
  factorType: Array,
  /**
   * 监测因子的可用选项
   * @type {Array<{value: string, label: string}>}
   */
  factorOptions: Array,
  // 场景类型
  /**
   * 用于过滤的场景类型数组
   * @type {Array}
   */
  sceneType: Array,
  /**
   * 场景选择的可用选项
   * @type {Array<{value: string, label: string}>}
   */
  sceneOptions: Array
});