diff --git a/src/components/PigBatchList.vue b/src/components/PigBatchList.vue
index a7f58571..8563e430 100644
--- a/src/components/PigBatchList.vue
+++ b/src/components/PigBatchList.vue
@@ -29,20 +29,31 @@
-
- 增加猪栏
-
-
- 群内调栏
-
-
编辑
-
删除
+
+
+ 管理猪群
+
+
+
+ 增加猪栏
+ 编辑
+ 删除
+
+
+
+
+
+ 调栏
+
+
+
+ 群内调栏
+
+
+
@@ -96,12 +107,14 @@ import PigBatchPenCard from './PigBatchPenCard.vue';
import AllocatePigsDialog from './AllocatePigsDialog.vue';
import {getAllPens, getAllPigHouses, movePigsIntoPen} from '../api/pigBatch';
import {formatRFC3339} from '../utils/format'; // 导入格式化函数
+import { ArrowDown } from '@element-plus/icons-vue'; // 导入 ArrowDown 图标
export default {
name: 'PigBatchList',
components: {
PigBatchPenCard,
- AllocatePigsDialog
+ AllocatePigsDialog,
+ ArrowDown // 注册 ArrowDown 图标
},
props: {
pigBatches: {
@@ -253,6 +266,10 @@ export default {
gap: 10px;
}
+.batch-dropdown {
+ margin-left: 10px; /* 为下拉菜单添加左边距 */
+}
+
.batch-content {
padding: 16px;
border-top: 1px solid #eee;