| | |
| | | size="default" |
| | | :min="1" |
| | | > |
| | | <el-space> |
| | | <!-- <el-space> --> |
| | | <el-checkbox |
| | | v-for="item in factorOptions" |
| | | :value="item.value" |
| | |
| | | > |
| | | {{ item.label }} |
| | | </el-checkbox> |
| | | </el-space> |
| | | <!-- </el-space> --> |
| | | </el-checkbox-group> |
| | | </el-space> |
| | | </div> |
| | |
| | | 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 |
| | | }); |
| | | |