31 lines
978 B
TypeScript
31 lines
978 B
TypeScript
import { useWrStore } from "@/app/store";
|
|
import SdmInsertForm from "@common/business_components/ui/sdmInsertForm";
|
|
import type { DemandCompType } from "@common/business_components/ui/sdmInsertForm/form";
|
|
|
|
export default function CoSttnDetailPopup({isDetail} :{isDetail:DemandCompType}){
|
|
const {
|
|
code
|
|
} = useWrStore((state) => state);
|
|
|
|
|
|
return(
|
|
<div>
|
|
<SdmInsertForm
|
|
selectSidoData={code.cityCd}
|
|
selectSigunData={code.sggCd}
|
|
dataList={[]}
|
|
rtnValue={(searchText: string, pageCnt: number) => {
|
|
console.log(searchText, pageCnt);
|
|
}}
|
|
rtnInputData={async (data) => {
|
|
console.log(data)
|
|
}}
|
|
bodyClassNm={"w-full mx-auto bg-white rounded-lg shadow-md p-6"}
|
|
updateList={isDetail}
|
|
readOnly={true}
|
|
openNetwork={false}
|
|
></SdmInsertForm>
|
|
|
|
</div>
|
|
)
|
|
} |