Skip to content

Commit

Permalink
(feature)进一步完善图标及功能
Browse files Browse the repository at this point in the history
  • Loading branch information
jingchenxu committed Aug 6, 2019
1 parent fa4f932 commit dd3fe8b
Show file tree
Hide file tree
Showing 33 changed files with 1,058 additions and 542 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"lodash": "^4.17.15",
"moment": "^2.24.0",
"register-service-worker": "^1.6.2",
"uuid": "^3.3.2",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-property-decorator": "^8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1325591_chahlv0fqpm.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1325591_1jkuwg8jted.css">
<!-- <script src="https://d3js.org/d3.v5.min.js"></script> -->
<title>myViewAdmin</title>
</head>
Expand Down
9 changes: 9 additions & 0 deletions src/api/sysapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ export const searchUserList = (data: any) => {
return _get(req)
}

// 保存用户信息
export const saveSysUser = (data: any) => {
const req = {
data,
url: '/api/savesysuser'
}
return _post(req)
}

// 查询用户列表表头
export const getColumns = (data: any) => {
const req = {
Expand Down
68 changes: 58 additions & 10 deletions src/mock/data/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"mid": 1,
"mkey": "workspace",
"mname": "工作台",
"micon": "md-apps",
"micon": " iconfont mvgongzuotai",
"mpath": "/workspace",
"mtip": "工作台",
"mrender": "default",
Expand All @@ -25,8 +25,20 @@
},
{
"mid": 12,
"mkey": "_index",
"mname": "个人中心",
"mkey": "monitor",
"mname": "监控页",
"micon": "md app",
"mpath": "/monitor",
"mtip": "个人中心",
"mrender": "default",
"mpid": 1,
"mlevel": 2,
"mstatus": 1
},
{
"mid": 13,
"mkey": "workspace",
"mname": "工作台",
"micon": "md app",
"mpath": "/_index",
"mtip": "个人中心",
Expand All @@ -38,8 +50,8 @@
{
"mid": 2,
"mkey": "sys",
"mname": "系统管理",
"micon": "md-apps",
"mname": "列表页",
"micon": " iconfont mvliebiao",
"mpath": "/sys",
"mtip": "系统管理",
"mrender": "default",
Expand Down Expand Up @@ -86,8 +98,8 @@
{
"mid": 3,
"mkey": "set",
"mname": "设置页面",
"micon": "md-settings",
"mname": "个人页",
"micon": " iconfont mvgeren",
"mpath": "/set",
"mtip": "设置页面",
"mrender": "default",
Expand Down Expand Up @@ -123,7 +135,7 @@
"mid": 4,
"mkey": "exc",
"mname": "异常页面",
"micon": "md-settings",
"micon": " iconfont mvyichang",
"mpath": "/exc",
"mtip": "异常页面",
"mrender": "default",
Expand Down Expand Up @@ -159,11 +171,11 @@
"mid": 5,
"mkey": "edi",
"mname": "编辑器集成",
"micon": "md-settings",
"micon": " iconfont mvbianjiqi",
"mpath": "/edi",
"mtip": "编辑器集成",
"mrender": "default",
"mpid": 4,
"mpid": 5,
"mlevel": 1,
"mstatus": 1
},
Expand All @@ -190,5 +202,41 @@
"mpid": 5,
"mlevel": 2,
"mstatus": 1
},
{
"mid": 6,
"mkey": "det",
"mname": "详情页",
"micon": " iconfont mvxiangqing",
"mpath": "/det",
"mtip": "详情页",
"mrender": "default",
"mpid": 6,
"mlevel": 1,
"mstatus": 1
},
{
"mid": 61,
"mkey": "basedetail",
"mname": "基础详情页",
"micon": "md app",
"mpath": "/404",
"mtip": "notfound",
"mrender": "default",
"mpid": 6,
"mlevel": 2,
"mstatus": 1
},
{
"mid": 62,
"mkey": "advancedetail",
"mname": "复杂详情页",
"micon": "md app",
"mpath": "/505",
"mtip": "服务端异常",
"mrender": "default",
"mpid": 6,
"mlevel": 2,
"mstatus": 1
}
]
95 changes: 74 additions & 21 deletions src/mock/data/userlist.json
Original file line number Diff line number Diff line change
@@ -1,138 +1,191 @@
[{
"userid": "0000000000001",
"date": "2016-05-02",
"name": "王小虎1",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000002",
"date": "2016-05-04",
"name": "王小虎2",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000003",
"date": "2016-05-01",
"name": "王小虎3",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000004",
"date": "2016-05-03",
"name": "王小虎4",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000005",
"date": "2016-05-03",
"name": "王小虎5",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000006",
"date": "2016-05-03",
"name": "王小虎6",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000007",
"date": "2016-05-03",
"name": "王小虎7",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000008",
"date": "2016-05-03",
"name": "王小虎8",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "0000000000009",
"date": "2016-05-03",
"name": "王小虎9",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "00000000000010",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
},
{
"userid": "00000000000011",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000012",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000013",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000014",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000015",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000016",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000017",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000018",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000019",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000020",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000021",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000022",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000023",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000024",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000025",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000026",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000027",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000028",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000029",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000030",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000031",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
}, {
},
{
"userid": "00000000000032",
"date": "2016-05-03",
"name": "王小虎10",
"address": "上海市普陀区金沙江路 1518 弄"
Expand Down
Loading

0 comments on commit dd3fe8b

Please sign in to comment.