This commit is contained in:
GYYM
2024-12-05 15:25:49 +08:00
parent 92a1736667
commit 2611f43d1f
4 changed files with 27 additions and 27 deletions

View File

@@ -167,30 +167,28 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
{
prop: 'name',
label: '名称',
width: 200,
width: 220,
search: { el: 'input' },
},
{
prop: 'testSourceName',
label: '检测源',
width: 215,
width: 365,
render: scope => {
return (
<div class='flx-flex-start'>
<el-button type='primary' link onClick={() => showData(scope.row.testSourceName)}>
{scope.row.testSourceName}
</el-button>
<moreButtons isShow={isVisible(scope.row)} ></moreButtons>
</div>
)
},
},
{
prop: 'script_Id',
label: '检测脚本',
width: 350,
width: 360,
enum: testScriptDataList,
fieldNames: { label: 'label', value: 'id' },
render: scope => {
@@ -219,14 +217,14 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
{
prop: 'dataSource_Ids',
label: '数据源',
width: 200,
width: 120,
// enum: testSoureDataList,
// fieldNames: { label: 'label', value: 'id' },
},
{
prop: 'test_State',
label: '检测状态',
width: 100,
width: 120,
enum: dictTestState,
// enum: dictStore.getDictData('planTestState'),
search: { el: 'select', props: { filterable: true } },
@@ -235,7 +233,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
{
prop: 'report_State',
label: '检测报告状态',
width: 150,
width: 120,
enum: dictReportState,
// enum: dictStore.getDictData('planReportState'),
search: { el: 'select', props: { filterable: true } },
@@ -244,7 +242,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
{
prop: 'result',
label: '检测结果',
width: 100,
width: 120,
enum: dictResult,
// enum: dictStore.getDictData('planResult'),
search: { el: 'select', props: { filterable: true } },