|
@@ -20,7 +20,11 @@
|
|
|
<CardItemSeven3 v-else :type="1" />
|
|
|
</div>
|
|
|
<div class="card-item-common">
|
|
|
- <CardTitle title="回款通知" @moreClick="moreHandle" showMore />
|
|
|
+ <CardTitle
|
|
|
+ title="回款通知"
|
|
|
+ @moreClick="toNewPageHandle('/oaSystem/marketCenter/returnMessage')"
|
|
|
+ showMore
|
|
|
+ />
|
|
|
<CardItemSeven />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -84,7 +88,16 @@ const handleTabClick = (type: number) => {
|
|
|
}
|
|
|
|
|
|
const router = useRouter()
|
|
|
-const moreHandle = () => {
|
|
|
+const moreHandle = (index: number | null = null) => {
|
|
|
+ if (index != null) {
|
|
|
+ router.push({ path: newsTabs[index].path })
|
|
|
+ return
|
|
|
+ }
|
|
|
router.push({ path: newsTabs[tabIndex.value].path })
|
|
|
}
|
|
|
+const toNewPageHandle = (path: string | null = null) => {
|
|
|
+ if (path != null) {
|
|
|
+ router.push({ path: path })
|
|
|
+ }
|
|
|
+}
|
|
|
</script>
|