区分显示和加载状态,添加医院显示逻辑

This commit is contained in:
wzy-warehouse
2026-04-18 16:40:04 +08:00
parent fe258cd249
commit da7745b7a9
26 changed files with 941 additions and 388 deletions
@@ -7,9 +7,9 @@
<div class="control-show-list">
<div v-for="(item, index) in constrolShowList" :key="index">
<el-checkbox
v-model="item.selected"
v-model="item.statusStore[item.statusKey].show"
:label="item.name"
@change="item.callback(item.selected)"
@change="item.callback(item.statusStore[item.statusKey].show)"
/>
</div>
</div>
@@ -20,7 +20,8 @@
defineProps<{
constrolShowList: {
name: string;
selected: boolean;
statusStore: Record<string, { show: boolean; loading: boolean }>;
statusKey: string;
callback: (...args: unknown[]) => unknown;
}[];
}>();