猪品种管理界面

This commit is contained in:
2025-11-21 18:45:38 +08:00
parent 5d2b5f5aa0
commit 13040dce83
5 changed files with 524 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import ThresholdAlarmList from '../views/alarm/ThresholdAlarmList.vue';
import RawMaterialList from '../views/feed/RawMaterialList.vue';
import NutrientList from '../views/feed/NutrientList.vue'; // 修正拼写错误
import PigAgeStageList from '../views/feed/PigAgeStageList.vue'; // 导入 PigAgeStageList 组件
import PigBreedList from '../views/feed/PigBreedList.vue'; // 导入 PigBreedList 组件
const routes = [
{path: '/', component: Home, meta: {requiresAuth: true, title: '系统首页'}},
@@ -40,6 +41,7 @@ const routes = [
{path: '/feed/raw-materials', component: RawMaterialList, meta: {requiresAuth: true, title: '原料管理'}},
{path: '/feed/nutrients', component: NutrientList, meta: {requiresAuth: true, title: '营养管理'}},
{path: '/feed/pig-age-stages', component: PigAgeStageList, meta: {requiresAuth: true, title: '猪年龄阶段管理'}}, // 添加猪年龄阶段管理路由
{path: '/feed/pig-breeds', component: PigBreedList, meta: {requiresAuth: true, title: '猪品种管理'}}, // 添加猪品种管理路由
{path: '/monitor/device-command-logs', component: DeviceCommandLogView, meta: {requiresAuth: true, title: '设备命令日志'}},
{path: '/monitor/medication-logs', component: MedicationLogsView, meta: {requiresAuth: true, title: '用药记录'}},
{path: '/monitor/notifications', component: NotificationLogView, meta: {requiresAuth: true, title: '通知记录'}},