service ticket

This commit is contained in:
hamid zarghami
2025-02-22 12:45:54 +03:30
parent 737d41e657
commit d9df430336
3 changed files with 21 additions and 2 deletions
+2 -1
View File
@@ -240,7 +240,8 @@
"category": "دسته بندی",
"low": "پایین",
"medium": "متوسط",
"high": "بالا"
"high": "بالا",
"service": "سرویس"
},
"attach": "پیوست",
"date": "تاریخ",
+3 -1
View File
@@ -71,7 +71,8 @@ const TicketList: FC = () => {
<tr>
<Td text={t('ticket.number')} />
<Td text={t('ticket.title')} />
<Td text={t('ticket.team')} />
<Td text={t('ticket.category')} />
<Td text={t('ticket.service')} />
<Td text={t('ticket.date')} />
<Td text={t('ticket.status')} />
<Td text={t('ticket.priority')} />
@@ -86,6 +87,7 @@ const TicketList: FC = () => {
<Td text={item.numericId + ''} />
<Td text={item.subject} />
<Td text={item?.category?.title} />
<Td text={item?.danakService?.name} />
<Td text={''}>
<div className='dltr text-right'>
{moment(item.updatedAt).format('jYYYY-jMM-jDD HH:mm')}
+16
View File
@@ -8,6 +8,22 @@ export type TicketItemType = {
updatedAt: string;
status: string;
priority: string;
danakService: {
id: string;
name: string;
description: string;
icon: string;
link: string;
isActive: boolean;
isDanakSuggest: boolean;
metaDescription: string;
serviceLanguage: string;
softwareLanguage: string;
title: string;
userCount: number;
createdAt: string;
updatedAt: string;
};
};
export type AddMessageTicketType = {