fix(richedit): 修复编辑人显示为空时展示默认值'-'并移除管理员权限检查

移除编辑人列中的管理员权限检查,使其对所有用户可见
This commit is contained in:
34701892@qq.com 2025-09-01 20:18:08 +08:00
parent ad08364c71
commit a791e542f1
1 changed files with 6 additions and 3 deletions

View File

@ -108,7 +108,11 @@
</el-table-column>
<el-table-column align="center" width="120" prop="submitter" label="编辑人"></el-table-column>
<el-table-column align="center" width="120" prop="submitter" label="编辑人">
<template v-slot="scope">
{{ scope.row.submitter ? scope.row.submitter : '-' }}
</template>
</el-table-column>
<el-table-column align="center" width="120">
<template #header>
<el-dropdown trigger="click" @command="handleCommandRating">
@ -188,8 +192,7 @@
</el-icon> -->
</div>
<!-- v-if="isAdmin" -->
<el-icon v-if="Session.get('userInfoLocal').userType == '01'" size="16"
@click="goRecord(scope.row)" style="margin-left: 10px">
<el-icon size="16" @click="goRecord(scope.row)" style="margin-left: 10px">
<Tickets />
</el-icon>
</div>