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 { canvasState } from '@/store/canvasAtom'
import { trestleDetailData } from '@/common/example'
import { useTrestle } from '@/hooks/module/useTrestle'
const ALLOCATION_TYPE = {

View File

@ -289,10 +289,10 @@ export default function StuffDetail() {
display: 'none',
}
}
if (managementState?.createUser === 'T01' && session?.userId !== 'T01') {
//createUser T01 T01 !!!!!!!!
//buttonStyle = { display: 'none' }
}
// if (managementState?.createUser === 'T01' && session?.userId !== 'T01') {
//createUser T01 T01 !!!!!!!!
//buttonStyle = { display: 'none' }
// }
return (
<>
<div className="grid-cell-btn">
@ -983,8 +983,10 @@ export default function StuffDetail() {
} else {
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)
if (info.saleStoreLevel === '1') {
@ -1583,12 +1585,10 @@ export default function StuffDetail() {
)
}
//
//
const getCellDoubleClicked = (params) => {
// if (params.data.estimateDate != null) {
if (params?.column?.colId !== 'estimateDate') {
if (params?.data?.planNo && params?.data?.objectNo) {
// setIsGlobalLoading(true)
let objectNo = params?.data?.objectNo
let planNo = params?.data?.planNo
@ -1600,7 +1600,6 @@ export default function StuffDetail() {
router.push(url)
}
}
// }
}
return (