견적서 그리드 추가 및 회로 및 가대설정 팝업 사이즈 변경

This commit is contained in:
김창수 2024-10-15 16:01:54 +09:00
parent f481ef729e
commit 314ac215fc
4 changed files with 31 additions and 6 deletions

View File

@ -34,6 +34,7 @@ import Penal01 from '@/components/canvas/penal/Penal01'
import Header from '@/components/layout/Header' import Header from '@/components/layout/Header'
import { modalState } from '@/store/modalAtom' import { modalState } from '@/store/modalAtom'
import '@/styles/contents.scss' import '@/styles/contents.scss'
import '@/styles/grid.scss'
import { useState } from 'react' import { useState } from 'react'
import { useRecoilValue } from 'recoil' import { useRecoilValue } from 'recoil'
import Penal03 from '@/components/canvas/penal/Penal03' import Penal03 from '@/components/canvas/penal/Penal03'
@ -130,7 +131,7 @@ export default function CanvasPage() {
{/* <PlaneShapeOption/> */} {/* <PlaneShapeOption/> */}
{/* 오브젝트 배치*/} {/* 오브젝트 배치*/}
<ObjectOption/> {/* <ObjectOption/> */}
{/* 표시변겅 */} {/* 표시변겅 */}
{/* <DisplayChange/> */} {/* <DisplayChange/> */}
@ -153,7 +154,7 @@ export default function CanvasPage() {
{/* <HexagonalRoofOption/> */} {/* <HexagonalRoofOption/> */}
{/* 회로 및 가대설정 */} {/* 회로 및 가대설정 */}
{/* <CircuitStandSetting/> */} <CircuitStandSetting/>
{/* 모듈 부가기능 */} {/* 모듈 부가기능 */}

View File

@ -1,9 +1,30 @@
'use client'
import { useState } from "react";
import SingleDatePicker from "../common/datepicker/SingleDatePicker"; import SingleDatePicker from "../common/datepicker/SingleDatePicker";
import Footer from "../layout/Footer"; import Footer from "../layout/Footer";
import FileDownOptionPop from "./estimatepop/FileDownOptionPop"; import FileDownOptionPop from "./estimatepop/FileDownOptionPop";
import ProductFeaturesPop from "./estimatepop/ProductFeaturesPop"; import ProductFeaturesPop from "./estimatepop/ProductFeaturesPop";
import QGrid from "../common/grid/QGrid";
export default function CanvasEstimate() { export default function CanvasEstimate() {
const [gridProps, setGridProps] = useState({
gridData: [
{ status: "受付", designRequestNumber: "1000000002", salesAgentID: "", salesAgentName: "", projectName: "名古屋支店テスト", prefecture: "愛知県", installedHouses:"복수곳", clientName: "", submissionDate:"2023.07.02 10:00:00"},
],
gridColumns:[
{ headerName: "状態 ", field: "status", width: 100, cellStyle: { textAlign: "center" } },
{ headerName: "設計依頼番号", field: "designRequestNumber", cellStyle: { textAlign: "center" } },
{ headerName: "販売代理店ID", field: "salesAgentID" },
{ headerName: "販売代理店名", field: "salesAgentName" },
{ headerName: "案件名", field: "projectName" },
{ headerName: "都道府県", field: "prefecture" },
{ headerName: "設置家屋数 ", field: "installedHouses", cellStyle: { textAlign: "center" } },
{ headerName: "依頼者名 ", field: "clientName", cellStyle: { textAlign: "center" } },
{ headerName: "設計依頼提出日 ", field: "submissionDate", cellStyle: { textAlign: "center" } },
],
isPageable: true,
})
return( return(
<div className="sub-content estimate"> <div className="sub-content estimate">
<div className="sub-content-inner"> <div className="sub-content-inner">
@ -403,16 +424,19 @@ export default function CanvasEstimate() {
</div> </div>
</div> </div>
</div> </div>
<div className='q-grid'>
<QGrid {...gridProps}/>
</div>
</div> </div>
</div> </div>
</div> </div>
<Footer/> <Footer/>
{/* 제품 특이사항 */} {/* 제품 특이사항 */}
<ProductFeaturesPop/> {/* <ProductFeaturesPop/> */}
{/* 문서 다운로드 옵션 */} {/* 문서 다운로드 옵션 */}
<FileDownOptionPop/> {/* <FileDownOptionPop/> */}
</div> </div>
) )
} }

View File

@ -1,5 +1,5 @@
.q-grid{ .q-grid{
height: fit-content; position: relative;
.ag-theme-quartz { .ag-theme-quartz {
outline: none; outline: none;
border: none; border: none;

View File

@ -1427,7 +1427,7 @@ $alert-color: #101010;
} }
.circuit-overflow{ .circuit-overflow{
max-height: 560px; max-height: 400px;
overflow-y: auto; overflow-y: auto;
margin-bottom: 15px; margin-bottom: 15px;
&::-webkit-scrollbar { &::-webkit-scrollbar {