可信代码库-软件详情恶意代码检测显示修改、AI大模型猜你想问显示修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="guess-you-want-to-ask-card">
|
<div class="guess-you-want-to-ask-card">
|
||||||
<div class="card-title">
|
<div v-if="questions.length>0" class="card-title">
|
||||||
<img src="@/assets/imgs/jyh/ai/icon_cnxw.png" style="width: 20px;height: 20px;margin-right: 8px"></img>
|
<img src="@/assets/imgs/jyh/ai/icon_cnxw.png" style="width: 20px;height: 20px;margin-right: 8px"></img>
|
||||||
<span>猜你想问</span>
|
<span>猜你想问</span>
|
||||||
<d-button @click="changeQuestions" class="jyh-button1" variant="solid">
|
<d-button @click="changeQuestions" class="jyh-button1" variant="solid">
|
||||||
|
|||||||
@@ -753,7 +753,4 @@ const exportResult = async () => {
|
|||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.devui-progress) {
|
|
||||||
width: 150px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
max-height="600px"
|
max-height="600px"
|
||||||
@sort-change="sortChange"
|
@sort-change="sortChange"
|
||||||
>
|
>
|
||||||
<d-column type="index" width="48px" />
|
<d-column header="" type="index" width="48px" />
|
||||||
<!-- <d-column field="packageFullName" width="220px">-->
|
<!-- <d-column field="packageFullName" width="220px">-->
|
||||||
<!-- <template #header>-->
|
<!-- <template #header>-->
|
||||||
<!-- 文件名称-->
|
<!-- 文件名称-->
|
||||||
@@ -46,11 +46,11 @@
|
|||||||
</template>
|
</template>
|
||||||
</d-column>
|
</d-column>
|
||||||
<d-column field="packagePath" header="文件路径" width="180" show-overflow-tooltip/>
|
<d-column field="packagePath" header="文件路径" width="180" show-overflow-tooltip/>
|
||||||
<d-column field="packageVersion" header="文件版本号" show-overflow-tooltip/>
|
<!-- <d-column field="packageVersion" header="文件版本号" show-overflow-tooltip/>-->
|
||||||
<d-column field="llmName" header="LLM名称" show-overflow-tooltip/>
|
<!-- <d-column field="llmName" header="LLM名称" show-overflow-tooltip/>-->
|
||||||
<d-column field="totalApisCalledCount" header="敏感API总数" show-overflow-tooltip/>
|
<!-- <d-column field="totalApisCalledCount" header="敏感API总数" show-overflow-tooltip/>-->
|
||||||
<d-column field="suspiciousFilesCount" header="可疑文件总数" show-overflow-tooltip/>
|
<!-- <d-column field="suspiciousFilesCount" header="可疑文件总数" show-overflow-tooltip/>-->
|
||||||
<d-column field="isMalicious" header="是否恶意代码">
|
<d-column field="isMalicious" header="是否存在恶意代码" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span class="card-val" v-if="scope.row.isMalicious===0">
|
<span class="card-val" v-if="scope.row.isMalicious===0">
|
||||||
<d-tag color="#5e7ce0" size="sm">否</d-tag>
|
<d-tag color="#5e7ce0" size="sm">否</d-tag>
|
||||||
@@ -60,17 +60,21 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</d-column>
|
</d-column>
|
||||||
<d-column field="isModelResponded" header="大模型是否正常回复" width="180">
|
<d-column field="isModelResponded" header="大模型验证状态" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span class="card-val" v-if="scope.row.isModelResponded===0">
|
<span class="card-val" v-if="scope.row.isModelResponded===0">
|
||||||
<d-tag color="#5e7ce0" size="sm">否</d-tag>
|
<d-tag color="#5e7ce0" size="sm">未验证</d-tag>
|
||||||
</span>
|
</span>
|
||||||
<span class="card-val" v-else>
|
<span class="card-val" v-else>
|
||||||
<d-tag color="#c7000b" size="sm">是</d-tag>
|
<d-tag color="#c7000b" size="sm">已验证</d-tag>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</d-column>
|
</d-column>
|
||||||
<d-column field="createTime" header="检测时间" width="180" show-overflow-tooltip/>
|
<d-column field="createTime" header="检测时间" width="180">
|
||||||
|
<template #default="scope">
|
||||||
|
{{scope.row.createTime?dayjs(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss'):''}}
|
||||||
|
</template>
|
||||||
|
</d-column>
|
||||||
<!-- <d-column field="threatLevel">-->
|
<!-- <d-column field="threatLevel">-->
|
||||||
<!-- <template #header>-->
|
<!-- <template #header>-->
|
||||||
<!-- 威胁级别-->
|
<!-- 威胁级别-->
|
||||||
@@ -136,6 +140,7 @@ import { getMalwareListApi } from '@/api/inboundTask/inboundTaskApi';
|
|||||||
import { type MalwareListItemType } from '@/api/inboundTask/inboundTaskType';
|
import { type MalwareListItemType } from '@/api/inboundTask/inboundTaskType';
|
||||||
import { Message } from 'vue-devui/message';
|
import { Message } from 'vue-devui/message';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
enum ThreatLevelEnum {
|
enum ThreatLevelEnum {
|
||||||
HIGH = 'high',
|
HIGH = 'high',
|
||||||
|
|||||||
Reference in New Issue
Block a user