@@ -61,6 +62,11 @@
index: "/userList",
title: "用户管理",
isBoss: true
+ }, {
+ icon: "el-icon-refrigerator",
+ index: "/drugReaction",
+ title: "药品管理",
+ isBoss: false
}, {
icon: "el-icon-postcard",
index: "/postList",
diff --git a/src/components/admin/drugReaction.vue b/src/components/admin/drugReaction.vue
new file mode 100644
index 0000000..09c157c
--- /dev/null
+++ b/src/components/admin/drugReaction.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
+ 搜索
+ 清除参数
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Boss
+ 管理员
+ 普通用户
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/index.vue b/src/components/index.vue
index 7d3de4c..b9a6cc3 100644
--- a/src/components/index.vue
+++ b/src/components/index.vue
@@ -82,9 +82,9 @@
-
- {{ notice }}
-
+
+ {{ notice }}
+
@@ -111,7 +111,7 @@
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage1"
- :page-sizes="[10, 15, 20, 15]"
+ :page-sizes="[10, 15, 20, 25]"
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total=this.pagination.total>
diff --git a/src/components/myAside.vue b/src/components/myAside.vue
index 2082c9a..4110135 100644
--- a/src/components/myAside.vue
+++ b/src/components/myAside.vue
@@ -131,7 +131,7 @@
+ :src="item.avatar ">
{{ item.username }}
diff --git a/src/router/index.js b/src/router/index.js
index 5537bb3..cefc25c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -123,7 +123,13 @@ const routes = [
path: '/resourcePathList',
name: 'resourcePathList',
component: () => import('../components/admin/resourcePathList')
- }]
+ },
+ , {
+ path: '/drugReaction',
+ name: 'drugReaction',
+ component: () => import('../components/admin/drugReaction')
+ }
+ ]
},
{
path: '/verify',