fix(系统设置): 操作日志表格宽度调整

--bug=1017674 --user=李玉号 【系统设置】操作日志表格宽度没有自适应
https://www.tapd.cn/55049933/s/1302230
This commit is contained in:
shiziyuan9527 2022-11-23 10:58:33 +08:00 committed by lyh
parent c4fd8ba8e7
commit 8799a4b6eb
2 changed files with 8 additions and 8 deletions

View File

@ -109,13 +109,13 @@
<span>{{ scope.row.operTime | datetimeFormat }}</span> <span>{{ scope.row.operTime | datetimeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userName" width="200" :label="$t('operating_log.user')" show-overflow-tooltip/> <el-table-column prop="userName" width="110" :label="$t('operating_log.user')" show-overflow-tooltip/>
<el-table-column prop="workspaceName" v-if="isSystem" <el-table-column prop="workspaceName" v-if="isSystem"
:label="$t('commons.workspace')" :label="$t('commons.workspace')"
show-overflow-tooltip show-overflow-tooltip
width="200"/> width="150"/>
<el-table-column prop="projectName" :label="$t('commons.project')" width="200" show-overflow-tooltip/> <el-table-column prop="projectName" :label="$t('commons.project')" width="140" show-overflow-tooltip/>
<el-table-column prop="operType" :label="$t('operating_log.type')" width="150" show-overflow-tooltip> <el-table-column prop="operType" :label="$t('operating_log.type')" width="90" show-overflow-tooltip>
<template v-slot="scope"> <template v-slot="scope">
<span>{{ getType(scope.row.operType) }}</span> <span>{{ getType(scope.row.operType) }}</span>
</template> </template>

View File

@ -109,13 +109,13 @@
<span>{{ scope.row.operTime | datetimeFormat }}</span> <span>{{ scope.row.operTime | datetimeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userName" width="200" :label="$t('operating_log.user')" show-overflow-tooltip/> <el-table-column prop="userName" width="110" :label="$t('operating_log.user')" show-overflow-tooltip/>
<el-table-column prop="workspaceName" v-if="isSystem" <el-table-column prop="workspaceName" v-if="isSystem"
:label="$t('commons.workspace')" :label="$t('commons.workspace')"
show-overflow-tooltip show-overflow-tooltip
width="200"/> width="150"/>
<el-table-column prop="projectName" :label="$t('commons.project')" width="200" show-overflow-tooltip/> <el-table-column prop="projectName" :label="$t('commons.project')" width="140" show-overflow-tooltip/>
<el-table-column prop="operType" :label="$t('operating_log.type')" width="150" show-overflow-tooltip> <el-table-column prop="operType" :label="$t('operating_log.type')" width="90" show-overflow-tooltip>
<template v-slot="scope"> <template v-slot="scope">
<span>{{ getType(scope.row.operType) }}</span> <span>{{ getType(scope.row.operType) }}</span>
</template> </template>