提交 69811ec8 编写于 作者: chengxiang.li's avatar chengxiang.li

use be-data to show router

上级 ae215edb
......@@ -56,24 +56,16 @@
// console.log("获取菜单成功===========",res);
self.items = res.data.data.picapMenuModels;
// 敏感数据查看系统 测试 Start <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 开发前期写死的,后续改成接口获取
self.items = [{
icon: null,
index: "#",
subs: [
{icon: null, index: "data-in", title: "数据导入", subs: []},
{icon: null, index: "data-view", title: "数据查看", subs: []},
// self.items = [{
// icon: null,
// index: "#",
// subs: [
// {icon: null, index: "data-in", title: "数据导入", subs: []},
// {icon: null, index: "data-view", title: "数据查看", subs: []},
],
title: "敏感数据",
},{
icon: null,
index: "#",
subs: [
{icon: null, index: "code-library", title: "后台编码库", subs: []},
{icon: null, index: "diagnose-manage", title: "诊断管理", subs: []},
],
title: "居民诊断",
}]
// ],
// title: "敏感数据",
// }]
// 敏感数据查看系统 测试 End <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
let data = JSON.parse(JSON.stringify(res.data.data));//通过这个实现深拷贝
......
......@@ -20,13 +20,6 @@ export default new Router({
path: '/',
redirect: '/data-in',
},
{ // 后台编码库
path: '/code-library',
component: resolve => require(['../views/code-library/code-library.vue'], resolve),
},{ // 常见诊断管理
path: '/diagnose-manage',
component: resolve => require(['../views/diagnose-manage/diagnose-manage.vue'], resolve)
},{ // 数据导入
path: '/data-in',
component: resolve => require(['../views/sensitive-control/data-in.vue'], resolve),
......
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册