fix bug
parent
cdc9fff2d9
commit
06d4d33eb5
|
|
@ -18,9 +18,9 @@ const props = defineProps({
|
||||||
<img
|
<img
|
||||||
v-if="isNotOneWeekAgo(publishTime) && labelText !== '紧急'"
|
v-if="isNotOneWeekAgo(publishTime) && labelText !== '紧急'"
|
||||||
src="../assets/images/NEW3.gif"
|
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 :style="isRead === 2 ? 'color:#0058E5;font-weight:800' : ''">{{ text }}</span>
|
||||||
<!-- <span class="invisible">{{ date }}</span> -->
|
<!-- <span class="invisible">{{ date }}</span> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -104,9 +104,17 @@ const codePath: any = {
|
||||||
modulePath: '/DataBase'
|
modulePath: '/DataBase'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const toDetail2 = (n: any) => {
|
const toDetail2 = (n: any, flag: boolean = false) => {
|
||||||
console.log(n)
|
console.log(n)
|
||||||
if (n.id === 0) return
|
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.isSelect === 1) {
|
||||||
if (n.moduleCode === 'App_Database') {
|
if (n.moduleCode === 'App_Database') {
|
||||||
return push('/DataBase?id=' + n.cateId)
|
return push('/DataBase?id=' + n.cateId)
|
||||||
|
|
@ -377,7 +385,7 @@ fetchNewDataList()
|
||||||
<div class="mt-10px">
|
<div class="mt-10px">
|
||||||
<div class="text-#142142 truncate text-16px">
|
<div class="text-#142142 truncate text-16px">
|
||||||
<a
|
<a
|
||||||
@click="toDetail2(i)"
|
@click="toDetail2(i, true)"
|
||||||
:href="i.url"
|
:href="i.url"
|
||||||
class="no-underline text-#142142 cursor-pointer hover:underline"
|
class="no-underline text-#142142 cursor-pointer hover:underline"
|
||||||
>{{ i.title }}</a
|
>{{ i.title }}</a
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,7 @@ var activeItem = 0
|
||||||
</div>
|
</div>
|
||||||
</n-popover>
|
</n-popover>
|
||||||
<div class="p20px w270px rd-20px b-4px bg-#fff/4 b-4px b-solid b-#fff/23 text-14px relative">
|
<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
|
<a
|
||||||
href="http://172.31.119.37/scripts/cbgrn/grn.exe/portal/index"
|
href="http://172.31.119.37/scripts/cbgrn/grn.exe/portal/index"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue