From 8c3eaeddeff2c9c5a92352e6bf830e5000ff5882 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 十二月 2024 12:16:11 +0800 Subject: [PATCH] 附件最多上传10个 --- src/layout/components/Navbar.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 6ce49db..51351c9 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -5,7 +5,7 @@ <breadcrumb id="breadcrumb-container" class="breadcrumb-container" /> <div class="right-menu"> - <div> + <div v-if="notify.role === 3"> <el-badge :value="notify.total" class="item"> <el-button @click="notifyShow = true" class="share-button" icon="el-icon-bell" type="primary" circle></el-button> </el-badge> @@ -26,7 +26,8 @@ title="閫氱煡" :visible.sync="notifyShow" width="400px" - :modal="false" + :modal="true" + :modal-append-to-body="false" > <div class="notify-warp" v-if="notify.feedBack && notify.feedBack > 0"> {{notify.feedBack}}鏉�<el-link @click="jump('/exam/feedback/list')" class="core" type="primary">閿欓鍙嶉</el-link>绛夊緟鎮ㄧ殑澶勭悊锛� @@ -36,6 +37,9 @@ </div> <div class="notify-warp" v-if="notify.status && notify.status > 0"> {{notify.status}}鏉�<el-link @click="jump('/user/UserConditionExamine/list')" class="core" type="primary">鐘舵�佸鏍�</el-link>绛夊緟鎮ㄧ殑澶勭悊锛� + </div> + <div class="notify-warp" v-if="notify.feedBack === 0 && notify.mobilize === 0 && notify.status === 0 "> + <el-empty description="鏆傛棤閫氱煡"></el-empty> </div> <span slot="footer" class="dialog-footer"> <el-button v-if="this.notify.ids && this.notify.ids.length > 0" type="success" @click="allRead">涓�閿叏璇�</el-button> @@ -122,6 +126,7 @@ .notify-warp { display: flex; flex-direction: row; + justify-content: center; } .navbar { height: 60px; -- Gitblit v1.8.0