From cd60a218f5c1547dbc62cf4be78c31132b0f7628 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 22 四月 2024 17:26:54 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master

---
 src/view/index.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/view/index.vue b/src/view/index.vue
index 5bf3b0c..77afae7 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -295,6 +295,9 @@
 			</div>
 			<div class="label">LIMS瀹為獙瀹ょ鐞嗙郴缁�</div>
 			<div class="user">
+        <el-badge is-dot style="cursor: pointer;margin-right: 10px;">
+          <i class="el-icon-bell" style="font-size: 20px;" @click="openNotice"></i>
+        </el-badge>
         <el-dropdown trigger="click" @command="handleCommand">
           <el-avatar :size="26">{{ userName.substring(0, 1) }}</el-avatar>
 				  <span>{{ userName }}</span>
@@ -363,6 +366,7 @@
 				</el-card>
 			</el-col>
 		</div>
+    <!-- 淇敼瀵嗙爜 -->
     <el-dialog
       title="淇敼瀵嗙爜"
       :visible.sync="editVisible"
@@ -389,6 +393,7 @@
         <el-button type="primary" @click="handleEdit">纭� 瀹�</el-button>
       </span>
     </el-dialog>
+    <notice ref="notice" />
 	</div>
 </template>
 
@@ -405,9 +410,10 @@
 	});
 	import menus from '../../static/js/menu.js'
 	import nullFace from '../view/404.vue'
+  import notice from './notice.vue'
 	comObj['nullFace'] = nullFace
 	export default {
-		components: comObj,
+		components: {...comObj,notice},
 		data() {
 			return {
 				userName: "value",
@@ -607,6 +613,9 @@
       handleClose(){
         this.editVisible = false
         this.query = {}
+      },
+      openNotice(){
+        this.$refs.notice.open()
       }
 		}
 	};

--
Gitblit v1.9.3