This commit is contained in:
qsh
2024-09-05 17:35:19 +08:00
parent 41e256aabb
commit ecc89f47bb
4 changed files with 84 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ import * as NotifyMessageApi from '@/api/system/notify/message'
import { useUserStore } from '@/store/modules/user'
import { getGeneralSysDictData } from '@/api/system/dict/dict.data'
const router = useRouter()
const userStore = useUserStore()
const message = useMessage() // 消息
@@ -121,6 +123,12 @@ function handleDetail(row: any) {
if (!row.readStatus) {
handleReadOne(row.id)
}
const url = router.resolve({
path: '/nm-detail',
query: { id: row.id }
})
window.open(url.href, '_blank')
}
const tableRef = ref() // 表格的 Ref