+
+
+ {currentWidth.value > 390 ? props.title : "列表"}
+
+
+
{slots?.buttons()}
+ {props.tableRef?.size ? (
+ <>
+
+ onExpand()}
+ />
+
+
+ >
+ ) : undefined}
+
+ emit("refresh")}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {props.dataList.length > 0 ? (
+ slots.default({ size: size.value, checkList: checkList.value })
+ ) : (
+
+ )}
+
+ >
+ );
+ }
+});
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index ed390876a..f23f4ee51 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -6,36 +6,22 @@ export default {