flx:安全问题库新加项目类型字段

This commit is contained in:
X_Rian 2024-08-01 09:16:36 +08:00
parent d5be67d629
commit 6e6cf371a8

View File

@ -137,6 +137,14 @@
>
<el-table-column type="selection" width="55" align="center">
</el-table-column>
<el-table-column
label="项目类型"
align="center"
>
<template slot-scope="scope">
<span>{{ scope.row.projectType ? projectTypeList[scope.row.projectType - 1].title : ''}}</span>
</template>
</el-table-column>
<el-table-column
:label="$t('message.quality.problemLevel')"
width="125"
@ -247,7 +255,14 @@ export default {
tableData: [],
multipleSelection: [],
checkboxId: [],
showBatch: true
showBatch: true,
projectTypeList: [{
id: 1,
title: "保证项目"
},{
id: 2,
title: "一般项目"
}]
}
},
watch: {