From 6c647afb80fb17c75218ff3e328d38df92b8d21d Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 23 四月 2024 13:32:51 +0800
Subject: [PATCH] 完成印章管理功能
---
src/view/index.vue | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/view/index.vue b/src/view/index.vue
index 997095b..77afae7 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -16,7 +16,7 @@
}
.logo {
- width: 130px;
+ width: 118px;
height: 40px;
}
@@ -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",
@@ -436,7 +442,7 @@
k: 0,
v: "涓汉棣栭〉",
i: "font icon-a-Group1124",
- u: "nullFace"
+ u: "index-index"
}]
}
this.tabActive = JSON.parse(localStorage.getItem('tabActive'))
@@ -499,7 +505,7 @@
k: 0,
v: "涓汉棣栭〉",
i: "font icon-a-Group1124",
- u: "nullFace"
+ u: "index-index"
}]
this.saveClick()
},
@@ -607,6 +613,9 @@
handleClose(){
this.editVisible = false
this.query = {}
+ },
+ openNotice(){
+ this.$refs.notice.open()
}
}
};
--
Gitblit v1.9.3