main
wwl 2024-05-22 15:07:11 +08:00
parent cdc9fff2d9
commit 06d4d33eb5
3 changed files with 13 additions and 4 deletions

View File

@ -18,9 +18,9 @@ const props = defineProps({
<img
v-if="isNotOneWeekAgo(publishTime) && labelText !== '紧急'"
src="../assets/images/NEW3.gif"
:class="size || []"
:class="'h20px'"
/>
<img v-if="labelText === ''" src="../assets/images/jj.gif" :class="size || []" />
<img v-if="labelText === ''" src="../assets/images/jj.gif" :class="'h30px'" />
<span :style="isRead === 2 ? 'color:#0058E5;font-weight:800' : ''">{{ text }}</span>
<!-- <span class="invisible">{{ date }}</span> -->
</div>

View File

@ -104,9 +104,17 @@ const codePath: any = {
modulePath: '/DataBase'
}
}
const toDetail2 = (n: any) => {
const toDetail2 = (n: any, flag: boolean = false) => {
console.log(n)
if (n.id === 0) return
if (flag) {
if (n.isSelect === 1) {
push(`/intelligence/${n.type == 2 ? 'within' : 'outside'}/` + n.id)
} else {
message.info('您没有权限查看!')
}
return
}
// if (n.isSelect === 1) {
if (n.moduleCode === 'App_Database') {
return push('/DataBase?id=' + n.cateId)
@ -377,7 +385,7 @@ fetchNewDataList()
<div class="mt-10px">
<div class="text-#142142 truncate text-16px">
<a
@click="toDetail2(i)"
@click="toDetail2(i, true)"
:href="i.url"
class="no-underline text-#142142 cursor-pointer hover:underline"
>{{ i.title }}</a

View File

@ -256,6 +256,7 @@ var activeItem = 0
</div>
</n-popover>
<div class="p20px w270px rd-20px b-4px bg-#fff/4 b-4px b-solid b-#fff/23 text-14px relative">
<!-- href="http://106.14.114.146/scripts/cbgrn/grn.exe" -->
<a
href="http://172.31.119.37/scripts/cbgrn/grn.exe/portal/index"
target="_blank"