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