微调
This commit is contained in:
@@ -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 } },
|
||||
|
||||
Reference in New Issue
Block a user