refactor: enhance ticket detail workflow view
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import * as React from 'react'
|
||||
|
||||
import { AppField } from '@/components/app/AppField'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import {
|
||||
Dialog,
|
||||
@@ -66,10 +67,7 @@ export function TicketTransitionDialog({
|
||||
<DialogTitle>{actionLabel}</DialogTitle>
|
||||
<DialogDescription>请说明本次流转的原因、处理动作或待确认事项。</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="grid gap-2">
|
||||
<label className="text-sm font-medium text-foreground" htmlFor="transition-remark">
|
||||
处理说明
|
||||
</label>
|
||||
<AppField label="处理说明" htmlFor="transition-remark" required>
|
||||
<Textarea
|
||||
id="transition-remark"
|
||||
required
|
||||
@@ -78,7 +76,7 @@ export function TicketTransitionDialog({
|
||||
value={remark}
|
||||
onChange={(event) => setRemark(event.target.value)}
|
||||
/>
|
||||
</div>
|
||||
</AppField>
|
||||
<DialogFooter>
|
||||
<Button type="button" variant="outline" onClick={() => onOpenChange(false)}>
|
||||
取消
|
||||
|
||||
Reference in New Issue
Block a user