CircuitTrestleSetting.jsx 미사용 소스 제거
This commit is contained in:
parent
55cb5bb6e2
commit
6d932e7691
@ -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 = {
|
||||||
|
|||||||
@ -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 (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user