From a09f984cbe2369e13d8694e91c4f8165ec6c2ba9 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 20 八月 2025 14:05:10 +0800 Subject: [PATCH] 动态溯源模块优化 --- src/views/sourcetrace/component/SourceTraceFilter.vue | 41 +++++++++++++++++++++++++++++------------ 1 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/views/sourcetrace/component/SourceTraceFilter.vue b/src/views/sourcetrace/component/SourceTraceFilter.vue index e2d4512..75cad99 100644 --- a/src/views/sourcetrace/component/SourceTraceFilter.vue +++ b/src/views/sourcetrace/component/SourceTraceFilter.vue @@ -26,15 +26,15 @@ size="default" :min="1" > - <el-space> - <el-checkbox - v-for="item in factorOptions" - :value="item.value" - :key="item.label" - > - {{ item.label }} - </el-checkbox> - </el-space> + <!-- <el-space> --> + <el-checkbox + v-for="item in factorOptions" + :value="item.value" + :key="item.label" + > + {{ item.label }} + </el-checkbox> + <!-- </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 }); -- Gitblit v1.9.3