diff --git a/src/components/LcglSp/index.vue b/src/components/LcglSp/index.vue index f0632f4..7132c41 100644 --- a/src/components/LcglSp/index.vue +++ b/src/components/LcglSp/index.vue @@ -60,8 +60,8 @@ {{ csr.userName }} {{ csr.deptName }} - - {{ getSprStatusText(csr.approveStatus) }} + + {{ getCsrStatusText(csr.approveStatus) }} @@ -232,8 +232,11 @@ const getSprStatusText = (status: any) => { // 获取抄送人状态样式类 const getCsrStatusClass = (status: any) => { const statusMap: Record = { + pending: "status-pending", + approved: "status-approved", unread: "status-unread", read: "status-read", + cc_sent: "status-approved", }; return statusMap[status] || "status-default"; }; @@ -241,6 +244,9 @@ const getCsrStatusClass = (status: any) => { // 获取抄送人状态文本 const getCsrStatusText = (status: any) => { const statusMap: Record = { + pending: "待抄送", + approved: "已抄送", + cc_sent: "已抄送", unread: "未读", read: "已读", };