capacity2.0

jiekou


登录权限返回接口

[TOC]

简要描述
  • 登录权限返回接口
接口维护负责人:陈谦
请求URL
  • http://172.17.10.52:8080/pyapi/login_jurisdiction
请求方式
  • POST
请求参数
参数名 类型 说明
ID nvarhar 用户登录ID
请求示例
{
    "LoginID":"4649859110307627009"
}
返回示例
 [{
    path: "/login",
    name: "login",
    meta: {
        title: "登录",
        /* 判断是否需要左侧导航栏的 */
        LeftMenuFalse: true
    },
    children: [],
    component: () => import("@/views/login")
},
{
    path: "/",
    name: "home",
    meta: {
        title: "实时看板",
        image: "http://172.17.10.52:8080/#/home/chenqian/git/static/img/icon-RT.png",
        image1: "http://172.17.10.52:8080/#/home/chenqian/git/static/img/icon-RT1.png"
    },
    children: [],
    component: () => import("@/views/home")
},
{

    path: "/home/homeDetail",
    name: "homeDetail",
    meta: {
        title: "任务中心",
        /* 判断是否是详情页面 和 判断是否表示当前路由高亮指向不是本身 */
        isDetail: true,
        /* 表示高亮指向的路由 */
        JumpPath: "/"
    },
    children: [],
    component: () => import("@/views/home/homeDetail")
},
{
    path: "/task",
    name: "task",
    meta: {
        title: "产品管理",
        image: "../assets/icon-temp.png",
        image1: "../assets/icon-temp1.png"
    },
    children: [],
    component: () => import("@/views/task/center")
},
{
    path: "/report",
    name: "Report",
    meta: {
        title: "数据报表",
        image: "../assets/icon-data.png",
        image1: "../assets/icon-data1.png"
    },
    component: SecondLevelRoutes,
    /* 路由组件 */
    children: [{
        path: "/report/forecast",
        name: "Forecast",
        meta: {
            title: "电芯数据"
        },
        component: () => import("@/views/report/forecast")
    },
    {
        path: "/report/AQL",
        name: "AQL",
        meta: {
            title: "AQL抽检"
        },
        component: () => import("@/views/report/AQL")
    },
    {
        path: "/report/product",
        name: "Product",
        meta: {
            title: "生产统计"
        },
        component: () => import("@/views/report/product")
    }
    ]
},
{
    path: "/dataManage",
    name: "dataManage",
    meta: {
        title: "模型管理",
        image: "../assets/icon-temp.png",
        image1: "../assets/icon-temp1.png"
    },
    component: SecondLevelRoutes,
    /* 路由组件 */
    children: [{
        path: "/dataManage/modelAdd",
        name: "ModelAdd",
        meta: {
            title: "模型信息"
        },
        component: () => import("@/views/dataManage/modelAdd")
    },
    {
        path: "/dataManage/modelManage",
        name: "ModelManage",
        meta: {
            title: "模型训练"
        },
        component: () => import("@/views/dataManage/modelManage")
    },
    {
        path: "/dataManage/samplingPlan",
        name: "MamplingPlan",
        meta: {
            title: "模型审核"
        },
        component: () => import("@/views/dataManage/samplingPlan")
    }
    ]
},
{
    path: "/setting",
    name: "setting",
    meta: {
        title: "系统设置",
        image: "../assets/icon-set.png",
        image1: "../assets/icon-set1.png"
    },
    component: SecondLevelRoutes,
    /* 路由组件 */
    children: [{
        path: "/setting/user",
        name: "user",
        meta: {
            title: "用户管理"
        },
        component: () => import("@/views/setting/user")
    },
    {
        path: "/setting/role",
        name: "role",
        meta: {
            title: "角色管理"
        },
        component: () => import("@/views/setting/role")
    }
    ]
}
]
返回参数说明
参数名 类型 说明
ID nvarchar 菜单权限ID
name nvarchar 组件名
path nvarchar 路由地址
meta object 元信息(image;image1;title;)
component bigint 组件名
children datetime 子组件
备注

页面列表

ITEM_HTML