| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- import {
- InfoFilled,
- Collection,
- Histogram,
- Location,
- List,
- HelpFilled,
- } from "@element-plus/icons-vue";
- export interface MenuItem {
- index: string;
- label: string;
- icon: any;
- children?: MenuItem[];
- }
- // 按 tab 分组的菜单映射
- export const tabMenuMap: Record<string, MenuItem[]> = {
- introduction: [
- {
- index: "/SoilPro",
- label: "软件简介",
- icon: InfoFilled,
- },
- {
- index: "/Overview",
- label: "项目简介",
- icon: Collection,
- },
- {
- index: "/ResearchFindings",
- label: "研究成果",
- icon: Histogram,
- },
- {
- index: "/Unit",
- label: "团队信息",
- icon: HelpFilled,
- },
- ],
- acidmodelmap: [
- {
- index: "/acidmodelmap",
- label: "土壤酸化地块级预测",
- icon: Location,
- },
- {
- index: "/pHPrediction",
- label: "土壤pH预测",
- icon: Location
- }
- ],
- Calculation: [
- {
- index: "/Calculation",
- label: "土壤反酸预测",
- icon: List,
- },
- {
- index: "/SoilAcidReductionIterativeEvolution",
- label: "反酸模型显示",
- icon: List,
- },
- ],
- AcidNeutralizationModel: [
- {
- index: "/AcidNeutralizationModel",
- label: "土壤降酸预测",
- icon: List,
- },
- {
- index: "/SoilAcidificationIterativeEvolution",
- label: "降酸模型显示",
- icon: List,
- },
- ],
- dataStatistics: [
- {
- index: "/DetectionStatistics",
- label: "检测信息统计",
- icon: List,
- },
- {
- index: "/FarmlandPollutionStatistics",
- label: "土壤镉含量统计",
- icon: List,
- },
- {
- index: "/LandClutivatesStatistics",
- label: "作物风险评估系统",
- icon: List,
- },
- {
- index: "/SoilacidificationStatistics",
- label: "土壤酸化统计",
- icon: List,
- },
- ],
- };
|