add confirm modal for buttons in ticketdetail
This commit is contained in:
+20
-7
@@ -1,5 +1,5 @@
|
||||
export interface ModalText {
|
||||
comment: {
|
||||
pick: {
|
||||
title: string;
|
||||
content: string;
|
||||
};
|
||||
@@ -7,32 +7,45 @@ export interface ModalText {
|
||||
title: string;
|
||||
content: string;
|
||||
};
|
||||
retrieve: {
|
||||
title: string;
|
||||
content: string;
|
||||
};
|
||||
cancel: string;
|
||||
confirm: string;
|
||||
}
|
||||
|
||||
export const modalZhCn: ModalText = {
|
||||
comment: {
|
||||
title: '添加评论',
|
||||
content: '',
|
||||
pick: {
|
||||
title: '认领此工单',
|
||||
content: '工单可多人认领!认领后将无法撤销!',
|
||||
},
|
||||
addToOreo: {
|
||||
title: '将工单加入 Oreo',
|
||||
content: '确认加入 Oreo?加入后将无法撤回!',
|
||||
},
|
||||
retrieve: {
|
||||
title: '机器取回确认',
|
||||
content: '确认该机器已取回?取回后工单完成,将无法添加评论!',
|
||||
},
|
||||
cancel: '取消',
|
||||
confirm: '确认',
|
||||
};
|
||||
|
||||
export const modalEnUs: ModalText = {
|
||||
comment: {
|
||||
title: 'Add comment',
|
||||
content: '',
|
||||
pick: {
|
||||
title: 'Pick this ticket',
|
||||
content: '工单可多人认领!认领后将无法撤销!',
|
||||
},
|
||||
addToOreo: {
|
||||
title: 'Add ticket to Oreo',
|
||||
content: 'Once Confirmed, the change will be irrevocably!',
|
||||
},
|
||||
retrieve: {
|
||||
title: 'Confirm the retrieving',
|
||||
content:
|
||||
'Once Confirmed, the ticket will be closed and cannot add any comment!',
|
||||
},
|
||||
cancel: 'Cancel',
|
||||
confirm: 'Confirm',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user