50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import SearchForm from "@/components/module/SearchForm";
|
|
import TabDataGrid from "@/components/module/TabDataGrid";
|
|
import SaveButton from "@/components/button/SaveButton";
|
|
import ApproveButton from "@/components/button/ApproveButton";
|
|
import ReviewOpinionButton from "@/components/button/ReviewOpinionButton";
|
|
import ReturnButton from "@/components/button/ReturnButton";
|
|
|
|
import { SewagePipeColumnInfoListRvw } from "@/components/util/column/review/SewagePipeColumnRvw";
|
|
|
|
|
|
const SewagePipeRvw = () => {
|
|
|
|
const approveFunc = () => {
|
|
console.log('approveFunc');
|
|
// 승인 로직
|
|
};
|
|
|
|
const saveFunc = () => {
|
|
console.log('submit');
|
|
// 저장 로직
|
|
};
|
|
|
|
const reviewOpinionFunc = () => {
|
|
console.log('reviewOpinionFunc');
|
|
// 검토의견 작성
|
|
};
|
|
|
|
const returnFunc = () => {
|
|
console.log('returnFunc');
|
|
// 반려
|
|
};
|
|
|
|
|
|
return (
|
|
<>
|
|
|
|
<SearchForm userMenual={true} fctName={true} />
|
|
<div className="flex justify-end items-center gap-[0.6rem] m-[0.6rem]">
|
|
<ReviewOpinionButton reviewOpinionFunc={reviewOpinionFunc} />
|
|
<ApproveButton approveFunc={approveFunc} />
|
|
<ReturnButton returnFunc={returnFunc} />
|
|
<SaveButton saveFunc={saveFunc} />
|
|
</div>
|
|
<TabDataGrid columnInfo={SewagePipeColumnInfoListRvw} />
|
|
</>
|
|
);
|
|
};
|
|
|
|
|
|
export default SewagePipeRvw; |