refector: 调整显示效果

This commit is contained in:
caoqianming 2023-05-26 08:48:32 +08:00
parent 7647378c0d
commit 4380167d05
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
{{objCateOptions[scope.row.obj_cate]}} {{objCateOptions[scope.row.obj_cate]}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="事件对象"> <el-table-column label="事件对象" :show-overflow-tooltip="true">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.opl">{{scope.row.operation_name}}</span> <span v-if="scope.row.opl">{{scope.row.operation_name}}</span>
<span v-else-if="scope.row.employee"> <span v-else-if="scope.row.employee">
@ -128,7 +128,7 @@
> >
<el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row)"> <el-popconfirm title="确定删除吗?" @confirm="table_del(scope.row)">
<template #reference> <template #reference>
<el-button text type="danger" size="small">删除</el-button> <el-button link type="danger" size="small">删除</el-button>
</template> </template>
</el-popconfirm> </el-popconfirm>
</template> </template>

View File

@ -92,7 +92,7 @@
}}</template> }}</template>
</el-table-column> </el-table-column>
<el-table-column label="创建时间" prop="create_time" width="150"></el-table-column> <el-table-column label="创建时间" prop="create_time" width="150"></el-table-column>
<el-table-column label="作业区域" width="150" <el-table-column label="作业区域" width="150" :show-overflow-tooltip="true"
><template #default="scope"> ><template #default="scope">
{{ scope.row.area_.name }} {{ scope.row.area_.name }}
</template> </template>