3달간 수정 사항

This commit is contained in:
comicgum
2026-09-04 23:52:28 +09:00
parent d26eb50875
commit 4187407e96
110 changed files with 4439 additions and 2456 deletions
@@ -10,10 +10,10 @@ import DatePicker from '@/components/form/date-picker2';
import React from "react";
import { useEffect, useState } from 'react';
import api, { convertDateTime, convertDateTime2, convertDateTime3, convertDateTime6, postFileDownload, useAuthStore, useUiLoadingStore } from '@/lib/_AG';
import api, { addDaysYMD, convertDateTime, convertDateTime2, convertDateTime3, convertDateTime6, postFileDownload, todayYMD, useAuthStore, useUiLoadingStore } from '@/lib/_AG';
const SEARCH_LABEL_WIDTH = 24;
const SEARCH_LABEL_WIDTH_PX = 80;
const COUNT_PER_PAGE = 10;
const PAGE_NUM_COUNT = 5;
@@ -97,12 +97,14 @@ export default function Logging() {
{
title: "날짜",
key: "reg_time",
renderItem: (item: any, row: number) => convertDateTime2(item.reg_time)
renderItem: (item: any, row: number) => convertDateTime2(item.reg_time),
viewMobile: true,
},
{
title: "유형",
key: "type",
renderItem: (item : any) => ( item.type === 1 ? "system" : "operating")
renderItem: (item : any) => ( item.type === 1 ? "system" : "operating"),
viewMobile: true,
},
{
title: "작업 내용",
@@ -123,7 +125,7 @@ export default function Logging() {
<div className="space-y-3">
<div className="grid grid-cols-1 gap-3 sm:grid-cols-4">
<WithLabel label="작업내용 검색어" label_width={SEARCH_LABEL_WIDTH}>
<WithLabel label="작업내용 검색어" label_width={SEARCH_LABEL_WIDTH_PX}>
<Input
type="text"
placeholder="작업내용 검색어를 입력하세요."
@@ -131,7 +133,7 @@ export default function Logging() {
onChange={(e) => setAction(e.target.value)}
/>
</WithLabel>
<WithLabel label="작업자 아이디" label_width={SEARCH_LABEL_WIDTH}>
<WithLabel label="작업자 아이디" label_width={SEARCH_LABEL_WIDTH_PX}>
<Input
type="text"
placeholder="조회할 작업자 아이디를 입력하세요."
@@ -141,17 +143,19 @@ export default function Logging() {
</WithLabel>
</div>
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
<WithLabel label="등록일" label_width={SEARCH_LABEL_WIDTH}>
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
<WithLabel label="등록일" label_width={50}>
<div className="grid grid-cols-2 gap-3 sm:grid-cols-2">
<DatePicker
id="date_start-picker"
placeholder="조회 시작일"
onChange={(dates, currentDateString) => { setDateStart(currentDateString); }}
defaultDate={date_start}
/>
<DatePicker
id="date_end-picker"
placeholder="조회 종료일"
onChange={(dates, currentDateString) => { setDateEnd(currentDateString); }}
defaultDate={date_end}
/>
</div>
</WithLabel>