修改测试问题
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</el-page-header>
|
||||
</el-form-item>
|
||||
<el-form-item label="关键字筛选">
|
||||
<el-input maxlength="32" show-word-limit style="width: 240px"
|
||||
<el-input maxlength="32" show-word-limit style="width: 240px"
|
||||
v-model.trim="tableStore.table.params.searchValue" clearable placeholder="请输入名称或编码筛选" />
|
||||
</el-form-item>
|
||||
</template>
|
||||
@@ -52,16 +52,31 @@ const tableStore = new TableStore({
|
||||
column: [
|
||||
{ title: '名称', field: 'name' },
|
||||
{ title: '编码', field: 'code' },
|
||||
{ title: '排序', field: 'sort' },
|
||||
|
||||
{ title: '计算值', field: 'value' },
|
||||
{ title: '事件等级', field: 'levelName' },
|
||||
{ title: '算法描述', field: 'algoDescribe' },
|
||||
{ title: '状态', field: 'stateName' },
|
||||
|
||||
{
|
||||
title: '状态',
|
||||
field: 'state',
|
||||
width: '80',
|
||||
render: 'tag',
|
||||
custom: {
|
||||
0: 'danger',
|
||||
1: 'success'
|
||||
},
|
||||
replaceValue: {
|
||||
0: '删除',
|
||||
1: '正常'
|
||||
}
|
||||
},
|
||||
{ title: '排序', field: 'sort', width: '80', },
|
||||
{
|
||||
title: '操作', fixed: 'right',
|
||||
width: '180',
|
||||
render: 'buttons',
|
||||
|
||||
|
||||
buttons: [
|
||||
{
|
||||
title: '编辑',
|
||||
|
||||
Reference in New Issue
Block a user