mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 15:01:23 +08:00
delete tooltip in NoticeViewCard
This commit is contained in:
@@ -89,6 +89,7 @@ public class SecurityConfig {
|
||||
// Authentication required
|
||||
.anyRequest()
|
||||
.authenticated()
|
||||
// .anonymous()
|
||||
.and()
|
||||
|
||||
.logout()
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
<el-card
|
||||
@click="showNoticeDetail(notice)"
|
||||
@contextmenu.prevent="openMenu($event, notice)"
|
||||
class="noticeCard"
|
||||
>
|
||||
<template #header>
|
||||
<el-tooltip content="鼠标右击进行更多操作" placement="top" effect="light">
|
||||
<div class="top">
|
||||
<el-icon :size="SIZE_ICON_MD()">
|
||||
<icon-pinnacle-noticeItem />
|
||||
@@ -53,7 +53,6 @@
|
||||
<!-- </el-button>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<p class="content">{{ contentSubstr(notice.content) }}</p>
|
||||
</el-card>
|
||||
@@ -233,7 +232,7 @@ export default {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
:deep(.el-card) {
|
||||
.noticeCard {
|
||||
--el-card-padding: 10px;
|
||||
height: 120px;
|
||||
}
|
||||
@@ -315,7 +314,6 @@ h4 {
|
||||
padding: 7px 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.contextmenu li:hover {
|
||||
background: #eee;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<notice-view-table />
|
||||
<notice-view-card />
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { useNoticeStore } from '@/store/notice'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<notice-view-table />
|
||||
<notice-view-card />
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { useNoticeStore } from '@/store/notice'
|
||||
|
||||
@@ -4,13 +4,7 @@
|
||||
<notice-head></notice-head>
|
||||
</el-header>
|
||||
<el-main>
|
||||
<el-menu
|
||||
:default-active="$route.path"
|
||||
class="el-menu-demo"
|
||||
mode="horizontal"
|
||||
@select="handleSelect"
|
||||
router
|
||||
>
|
||||
<el-menu :default-active="$route.path" class="el-menu-demo" mode="horizontal" router>
|
||||
<el-menu-item index="/notice/noticeView/all">所有公告</el-menu-item>
|
||||
<el-menu-item index="/notice/noticeView/toRead">未读</el-menu-item>
|
||||
<el-menu-item index="/notice/noticeView/alRead">已读</el-menu-item>
|
||||
@@ -28,11 +22,7 @@ export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
handleSelect(key, keyPath) {
|
||||
console.log(key, keyPath)
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
mounted() {
|
||||
noticeStore.selectEnableNoticeType()
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<notice-view-table />
|
||||
<notice-view-card />
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { useNoticeStore } from '@/store/notice'
|
||||
|
||||
Reference in New Issue
Block a user