软件评分显示更加明显

This commit is contained in:
付民康
2025-04-16 14:36:41 +08:00
parent 3c3e391f33
commit 82f47b1f7f
3 changed files with 20 additions and 2 deletions

View File

@@ -108,6 +108,15 @@
<template v-else-if="column.key === 'version'">
<a @click="gotoDetail(scope.row)">{{ scope.row.version }}</a>
</template>
<template v-else-if="column.key === 'securityScore'">
<a @click="gotoDetail(scope.row)" style="
font-weight: bold;
color: #409EFF;
font-size: 16px;
text-decoration: underline;
cursor: pointer;
">{{ scope.row.securityScore }}</a>
</template>
<template v-else-if="column.key === 'releaseDate'">
<span>{{ formatTime(scope.row.releaseDate, 'YYYY-MM-DD') }}</span>
</template>

View File

@@ -15,7 +15,15 @@
<span class="split"></span>
<!-- <span class="span1">生命周期状态</span><span class="span2">{{ softwareData.lifecycle }}</span>-->
<!-- <span class="split"></span>-->
<span class="span1">软件评分</span><span class="span2">{{ ReleaseInfo.networkSecurity.softwareRating || ReleaseInfo.basicInfo.securityScore || '&#45;&#45;' }}</span>
<span class="span1">软件评分</span><span class="span2"
style="
font-weight: bold;
color: #409EFF;
font-size: 16px;
text-decoration: underline;
cursor: pointer;
"
>{{ ReleaseInfo.networkSecurity.softwareRating || ReleaseInfo.basicInfo.securityScore || '&#45;&#45;' }}</span>
<span class="split"></span>
<span class="span1">集成风险</span>
<d-tag color="#F6933B">{{ ReleaseInfo.referenceInfo.integrationRisk || jcfxList[ReleaseInfo.basicInfo.integrationRiskLevel] || '--' }}</d-tag>

View File

@@ -39,7 +39,8 @@ export default (config: any) => {
proxy: {
// 配置跨域代理
'/gateway': {
target: 'http://223.76.236.155:20011', // 目标服务器地址
// target: 'http://223.76.236.155:20011', // 目标服务器地址
target: 'http://222.20.126.217:10010', // 目标服务器地址
changeOrigin: true, // 允许跨域
rewrite: (path) => path.replace(/^\/gateway/, '/gateway'), // 重写路径
}