From 7a3be7c18f3c323ca644dc3d2325357ab29eea52 Mon Sep 17 00:00:00 2001
From: ynmlzdwsp <2727940448@qq.com>
Date: Thu, 11 Jan 2024 09:23:20 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=81=9A=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E8=8D=AF=E5=93=81=E7=9A=84=E5=90=8E=E5=8F=B0=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/admin/common/myHeader.vue | 3 +
src/components/admin/common/sidebar.vue | 6 +
src/components/admin/drugReaction.vue | 260 +++++++++++++++++++++++
src/components/index.vue | 8 +-
src/components/myAside.vue | 2 +-
src/router/index.js | 8 +-
6 files changed, 281 insertions(+), 6 deletions(-)
create mode 100644 src/components/admin/drugReaction.vue
diff --git a/src/components/admin/common/myHeader.vue b/src/components/admin/common/myHeader.vue
index bc6b30c..b3dddae 100644
--- a/src/components/admin/common/myHeader.vue
+++ b/src/components/admin/common/myHeader.vue
@@ -24,6 +24,8 @@
首页
+
+
+
diff --git a/src/components/admin/common/sidebar.vue b/src/components/admin/common/sidebar.vue
index a1c442d..b72543d 100644
--- a/src/components/admin/common/sidebar.vue
+++ b/src/components/admin/common/sidebar.vue
@@ -29,6 +29,7 @@
+
@@ -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',