feat(hrm): 添加流程抄送标记已读未读功能

- 扩展操作列宽度从100到150以适应新功能
- 添加标记未读链接在已读状态下显示
- 实现handleUnread方法用于取消已读状态
- 优化表格操作按钮布局结构
This commit is contained in:
2026-04-27 14:42:01 +08:00
parent 3613b6d83a
commit 2ac3901f75

View File

@@ -37,11 +37,14 @@
{{ parseTime(scope.row.createTime) }} {{ parseTime(scope.row.createTime) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="100" fixed="right"> <el-table-column label="操作" width="150" fixed="right">
<template #default="scope"> <template #default="scope">
<el-link v-if="activeTab === 'unread'" type="primary" @click.stop="handleRead(scope.row)"> <el-link v-if="activeTab === 'unread'" type="primary" @click.stop="handleRead(scope.row)">
标记已读 标记已读
</el-link> </el-link>
<el-link v-if="activeTab === 'read'" type="warning" @click.stop="handleUnread(scope.row)">
标记未读
</el-link>
<el-link type="primary" @click.stop="goDetail(scope.row)"> <el-link type="primary" @click.stop="goDetail(scope.row)">
详情 详情
</el-link> </el-link>