|
@@ -1,86 +1,179 @@
|
|
|
import {
|
|
|
- Setting,
|
|
|
- Menu,
|
|
|
- Folder,
|
|
|
- Document,
|
|
|
- User,
|
|
|
- Grid,
|
|
|
- Reading,
|
|
|
- Location,
|
|
|
- TrendCharts,
|
|
|
- Collection,
|
|
|
- Postcard,
|
|
|
- Star,
|
|
|
- Warning,
|
|
|
- } from "@element-plus/icons-vue";
|
|
|
-
|
|
|
- export const tabMenuMap: Record<string, any[]> = {
|
|
|
- dataManagement: [
|
|
|
- { index: "/Visualizatio", label: "降酸数据管理", icon: Document },
|
|
|
- { index: "/Visualization", label: "反酸数据管理", icon: Document },
|
|
|
- { index: "/AdminRegionData", label: "行政区域数据", icon: Location },
|
|
|
- {
|
|
|
- index: "/SoilAssessmentUnitData",
|
|
|
- label: "土壤评估单元格数据",
|
|
|
- icon: Grid,
|
|
|
- },
|
|
|
- {
|
|
|
- index: "/SoilHeavyMetalData",
|
|
|
- label: "土壤重金属采集数据",
|
|
|
- icon: Collection,
|
|
|
- },
|
|
|
- {
|
|
|
- index: "/CropHeavyMetalData",
|
|
|
- label: "农作物重金属采集样数据",
|
|
|
- icon: Postcard,
|
|
|
- },
|
|
|
- { index: "/LandUseTypeData", label: "用地类型数据", icon: Menu },
|
|
|
- {
|
|
|
- index: "/SoilAcidificationData",
|
|
|
- label: "土壤酸化采样数据",
|
|
|
- icon: Warning,
|
|
|
- },
|
|
|
- { index: "/ClimateInfoData", label: "气候信息数据", icon: TrendCharts },
|
|
|
- { index: "/GeographicEnvInfoData", label: "地理环境信息", icon: Reading },
|
|
|
- ],
|
|
|
- infoManagement: [
|
|
|
- { index: "/IntroductionUpdate", label: "介绍信息管理", icon: Document },
|
|
|
- ],
|
|
|
- modelManagement: [
|
|
|
- {
|
|
|
- index: "/CadmiumPredictionModel",
|
|
|
- label: "土壤镉含量预测模型",
|
|
|
- icon: Star,
|
|
|
- },
|
|
|
- {
|
|
|
- index: "/AcidReductionModel",
|
|
|
- label: "反酸及降酸模型",
|
|
|
- icon: Star,
|
|
|
- children: [
|
|
|
- {
|
|
|
- index: '/ModelSelection',
|
|
|
- label: '模型选择',
|
|
|
- icon: Setting
|
|
|
- },
|
|
|
- {
|
|
|
- index: '/thres',
|
|
|
- label: '阈值选择',
|
|
|
- icon: Menu
|
|
|
- },
|
|
|
- {
|
|
|
- index: '/ModelTrain',
|
|
|
- label: '模型训练',
|
|
|
- icon: Folder,
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- { index: "/RiceRiskModel", label: "水稻镉污染风险模型", icon: Star },
|
|
|
- { index: "/WheatRiskModel", label: "小麦镉污染风险模型", icon: Star },
|
|
|
- { index: "/VegetableRiskModel", label: "蔬菜镉污染风险模型", icon: Star },
|
|
|
- ],
|
|
|
- userManagement: [
|
|
|
- { index: "/UserManagement", label: "用户信息", icon: User },
|
|
|
- { index: "/UserRegistration", label: "普通用户", icon: User },
|
|
|
- ],
|
|
|
- };
|
|
|
-
|
|
|
+ Setting,
|
|
|
+ Menu,
|
|
|
+ Folder,
|
|
|
+ Document,
|
|
|
+ User,
|
|
|
+ Grid,
|
|
|
+ Reading,
|
|
|
+ Location,
|
|
|
+ TrendCharts,
|
|
|
+ Collection,
|
|
|
+ Postcard,
|
|
|
+ Star,
|
|
|
+ Warning,
|
|
|
+ Tickets,
|
|
|
+ List,
|
|
|
+ DataAnalysis,
|
|
|
+ Tools,
|
|
|
+ Histogram,
|
|
|
+ Guide,
|
|
|
+ Platform,
|
|
|
+ Box,
|
|
|
+ Avatar,
|
|
|
+ Briefcase,
|
|
|
+} from "@element-plus/icons-vue";
|
|
|
+
|
|
|
+export const tabMenuMap: Record<string, any[]> = {
|
|
|
+ dataManagement: [
|
|
|
+ {
|
|
|
+ index: "/Soil Acidification and Acid Reduction Data Management",
|
|
|
+ label: "反酸及降酸数据管理",
|
|
|
+ icon: Tools,
|
|
|
+ children: [
|
|
|
+ { index: "/soilAcidReductionData", label: "降酸数据", icon: DataAnalysis },
|
|
|
+ { index: "/soilAcidificationData", label: "反酸数据", icon: Warning },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Administrative Area Data Management",
|
|
|
+ label: "行政区域数据管理",
|
|
|
+ icon: Location,
|
|
|
+ children: [
|
|
|
+ { index: "/AdminRegionData", label: "行政区域数据", icon: Location },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Soil Assessment Cell Data Management",
|
|
|
+ label: "土壤评估单元格数据管理",
|
|
|
+ icon: Grid,
|
|
|
+ children: [
|
|
|
+ { index: "/SoilAssessmentUnitData", label: "土壤评估单元格数据", icon: Grid },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Soil Heavy Metal Sampling Data Management",
|
|
|
+ label: "土壤重金属采集数据管理",
|
|
|
+ icon: Collection,
|
|
|
+ children: [
|
|
|
+ { index: "/SoilHeavyMetalData", label: "土壤重金属采集数据", icon: Collection },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Crop Heavy Metal Sampling Data Management",
|
|
|
+ label: "农作物重金属采集样数据管理",
|
|
|
+ icon: Postcard,
|
|
|
+ children: [
|
|
|
+ { index: "/CropHeavyMetalData", label: "农作物重金属采集样数据", icon: Postcard },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Land Use Type Data Management",
|
|
|
+ label: "用地类型数据管理",
|
|
|
+ icon: Briefcase,
|
|
|
+ children: [
|
|
|
+ { index: "/LandUseTypeData", label: "用地类型数据", icon: List },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Soil Acidification Sampling Data Management",
|
|
|
+ label: "土壤酸化采样数据管理",
|
|
|
+ icon: Warning,
|
|
|
+ children: [
|
|
|
+ { index: "/SoilAcidificationData", label: "土壤酸化采样数据", icon: Warning },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Climate Information Data Management",
|
|
|
+ label: "气候信息数据管理",
|
|
|
+ icon: TrendCharts,
|
|
|
+ children: [
|
|
|
+ { index: "/ClimateInfoData", label: "气候信息数据", icon: TrendCharts },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Geographic Environmental Information Management",
|
|
|
+ label: "地理环境信息管理",
|
|
|
+ icon: Reading,
|
|
|
+ children: [
|
|
|
+ { index: "/GeographicEnvInfoData", label: "地理环境信息", icon: Reading },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ infoManagement: [
|
|
|
+ {
|
|
|
+ index: "/IntroductionUpdate",
|
|
|
+ label: "介绍信息管理",
|
|
|
+ icon: Guide,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ modelManagement: [
|
|
|
+ {
|
|
|
+ index: "/Soil Cadmium Content Prediction Model Management",
|
|
|
+ label: "土壤镉含量预测模型管理",
|
|
|
+ icon: DataAnalysis,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ index: "/CadmiumPredictionModel",
|
|
|
+ label: "土壤镉含量预测模型",
|
|
|
+ icon: Star,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/AcidReductionModel",
|
|
|
+ label: "反酸及降酸模型管理",
|
|
|
+ icon: Tools,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ index: "/ModelSelection",
|
|
|
+ label: "模型选择",
|
|
|
+ icon: Setting,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/thres",
|
|
|
+ label: "阈值选择",
|
|
|
+ icon: Histogram,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/ModelTrain",
|
|
|
+ label: "模型训练",
|
|
|
+ icon: Folder,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Rice Cadmium Pollution Risk Model Management",
|
|
|
+ label: "水稻镉污染风险模型管理",
|
|
|
+ icon: Star,
|
|
|
+ children: [
|
|
|
+ { index: "/RiceRiskModel", label: "水稻镉污染风险模型", icon: Star },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Wheat Cadmium Pollution Risk Model Management",
|
|
|
+ label: "小麦镉污染风险模型管理",
|
|
|
+ icon: Star,
|
|
|
+ children: [
|
|
|
+ { index: "/WheatRiskModel", label: "小麦镉污染风险模型", icon: Star },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ index: "/Vegetable Cadmium Pollution Risk Model Management",
|
|
|
+ label: "蔬菜镉污染风险模型管理",
|
|
|
+ icon: Star,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ index: "/VegetableRiskModel",
|
|
|
+ label: "蔬菜镉污染风险模型",
|
|
|
+ icon: Star,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+
|
|
|
+ ],
|
|
|
+ userManagement: [
|
|
|
+ { index: "/UserManagement", label: "用户信息", icon: Avatar },
|
|
|
+ { index: "/UserRegistration", label: "普通用户", icon: User },
|
|
|
+ ],
|
|
|
+};
|