design: 소속원 테이블 스타일 수정
This commit is contained in:
@@ -81,7 +81,9 @@ function OrganizationForm({
|
|||||||
<Table variant="secondary">
|
<Table variant="secondary">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="15%" />
|
<col width="15%" />
|
||||||
<col width="85%" />
|
<col width="35%" />
|
||||||
|
<col width="15%" />
|
||||||
|
<col width="35%" />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
@@ -104,6 +106,29 @@ function OrganizationForm({
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
<TableHead>정렬순서</TableHead>
|
||||||
|
<TableCell className="border">
|
||||||
|
<FormField
|
||||||
|
control={form.control}
|
||||||
|
name="sortSeq"
|
||||||
|
render={({ field }) => (
|
||||||
|
<FormItem>
|
||||||
|
<FormControl>
|
||||||
|
<Input
|
||||||
|
{...field}
|
||||||
|
type="number"
|
||||||
|
value={field.value ?? 0}
|
||||||
|
onChange={(e) =>
|
||||||
|
field.onChange(Number(e.target.value))
|
||||||
|
}
|
||||||
|
className="!text-[1.3rem]"
|
||||||
|
placeholder="정렬순서를 입력해주세요"
|
||||||
|
/>
|
||||||
|
</FormControl>
|
||||||
|
</FormItem>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableHead>조직설명</TableHead>
|
<TableHead>조직설명</TableHead>
|
||||||
@@ -125,33 +150,6 @@ function OrganizationForm({
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
|
||||||
<TableRow>
|
|
||||||
<TableHead>정렬순서</TableHead>
|
|
||||||
<TableCell className="border">
|
|
||||||
<FormField
|
|
||||||
control={form.control}
|
|
||||||
name="sortSeq"
|
|
||||||
render={({ field }) => (
|
|
||||||
<FormItem>
|
|
||||||
<FormControl>
|
|
||||||
<Input
|
|
||||||
{...field}
|
|
||||||
type="number"
|
|
||||||
value={field.value ?? 0}
|
|
||||||
onChange={(e) =>
|
|
||||||
field.onChange(Number(e.target.value))
|
|
||||||
}
|
|
||||||
className="!text-[1.3rem]"
|
|
||||||
placeholder="정렬순서를 입력해주세요"
|
|
||||||
/>
|
|
||||||
</FormControl>
|
|
||||||
</FormItem>
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
</TableCell>
|
|
||||||
</TableRow>
|
|
||||||
<TableRow>
|
|
||||||
<TableHead>사용여부</TableHead>
|
<TableHead>사용여부</TableHead>
|
||||||
<TableCell className="border">
|
<TableCell className="border">
|
||||||
<FormField
|
<FormField
|
||||||
|
|||||||
@@ -237,9 +237,9 @@ function UserOrganizationSection({ ognzSn }: UserOrganizationSectionProps) {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="card">
|
<div className="card max-h-[50rem] overflow-auto !p-0">
|
||||||
<Table>
|
<Table>
|
||||||
<TableHeader>
|
<TableHeader className="sticky top-0">
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
|||||||
Reference in New Issue
Block a user