CircuitTrestleSetting.jsx 미사용 소스 제거

This commit is contained in:
basssy 2025-01-15 09:45:51 +09:00
parent 55cb5bb6e2
commit 6d932e7691
2 changed files with 9 additions and 11 deletions

View File

@ -19,7 +19,6 @@ import { POLYGON_TYPE } from '@/common/common'
import { useSwal } from '@/hooks/useSwal' import { useSwal } from '@/hooks/useSwal'
import { canvasState } from '@/store/canvasAtom' import { canvasState } from '@/store/canvasAtom'
import { trestleDetailData } from '@/common/example'
import { useTrestle } from '@/hooks/module/useTrestle' import { useTrestle } from '@/hooks/module/useTrestle'
const ALLOCATION_TYPE = { const ALLOCATION_TYPE = {

View File

@ -289,10 +289,10 @@ export default function StuffDetail() {
display: 'none', display: 'none',
} }
} }
if (managementState?.createUser === 'T01' && session?.userId !== 'T01') { // if (managementState?.createUser === 'T01' && session?.userId !== 'T01') {
//createUser T01 T01 !!!!!!!! //createUser T01 T01 !!!!!!!!
//buttonStyle = { display: 'none' } //buttonStyle = { display: 'none' }
} // }
return ( return (
<> <>
<div className="grid-cell-btn"> <div className="grid-cell-btn">
@ -983,8 +983,10 @@ export default function StuffDetail() {
} else { } else {
form.setValue('saltAreaFlg', false) form.setValue('saltAreaFlg', false)
} }
console.log('설계의뢰:::::::설치높이:::', info.installHeight)
form.setValue('installHeight', info.installHeight) let installHeight = info.installHeight ? info.installHeight.split('.')[0] : '0'
form.setValue('installHeight', installHeight)
form.setValue('remarks', info.remarks) form.setValue('remarks', info.remarks)
if (info.saleStoreLevel === '1') { if (info.saleStoreLevel === '1') {
@ -1583,12 +1585,10 @@ export default function StuffDetail() {
) )
} }
// //
const getCellDoubleClicked = (params) => { const getCellDoubleClicked = (params) => {
// if (params.data.estimateDate != null) {
if (params?.column?.colId !== 'estimateDate') { if (params?.column?.colId !== 'estimateDate') {
if (params?.data?.planNo && params?.data?.objectNo) { if (params?.data?.planNo && params?.data?.objectNo) {
// setIsGlobalLoading(true)
let objectNo = params?.data?.objectNo let objectNo = params?.data?.objectNo
let planNo = params?.data?.planNo let planNo = params?.data?.planNo
@ -1600,7 +1600,6 @@ export default function StuffDetail() {
router.push(url) router.push(url)
} }
} }
// }
} }
return ( return (