feat: 电子签署集成到合同管理和离职流程
- 合同管理:选择电子签署时保存后自动创建ESignRecord并关联合同ID - 离职管理:工作交接清单「离职文件签署」步骤增加「发起电子签署」按钮 - 电子签署页面:列表增加来源标识(劳动合同/离职协议) - 合同卡片:电子签署合同显示提示而非手动填写编号/链接
This commit is contained in:
@@ -149,6 +149,12 @@ export default function ESign() {
|
||||
<div className="flex items-center gap-1.5">
|
||||
<FileText className="w-3.5 h-3.5 text-gray-400 shrink-0" />
|
||||
<span className="font-medium truncate max-w-[200px]">{r.documentTitle}</span>
|
||||
{r.contractId && (
|
||||
<span className="px-1.5 py-0.5 rounded text-xs bg-blue-50 text-blue-600 border border-blue-200 shrink-0">劳动合同</span>
|
||||
)}
|
||||
{!r.contractId && r.documentTitle?.includes('离职') && (
|
||||
<span className="px-1.5 py-0.5 rounded text-xs bg-orange-50 text-orange-600 border border-orange-200 shrink-0">离职协议</span>
|
||||
)}
|
||||
</div>
|
||||
{r.remark && <div className="text-xs text-gray-400 mt-0.5">{r.remark}</div>}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user