소스 원복
This commit is contained in:
parent
46ac1f8513
commit
645bd21f30
@ -108,19 +108,17 @@ export default function Module({ setTabNum }) {
|
|||||||
<tbody>
|
<tbody>
|
||||||
{selectedModules.itemList &&
|
{selectedModules.itemList &&
|
||||||
selectedModules.itemList.map((row, index) => (
|
selectedModules.itemList.map((row, index) => (
|
||||||
<>
|
<tr key={index}>
|
||||||
<tr key={index}>
|
<td>
|
||||||
<td>
|
<div className="color-wrap">
|
||||||
<div className="color-wrap">
|
<span className="color-box" style={{ backgroundColor: row.color }}></span>
|
||||||
<span className="color-box" style={{ backgroundColor: row.color }}></span>
|
<span className="name">{row.itemNm}</span>
|
||||||
<span className="name">{row.itemNm}</span>
|
</div>
|
||||||
</div>
|
</td>
|
||||||
</td>
|
<td className="al-r">{Number(row.shortAxis).toFixed(0)}</td>
|
||||||
<td className="al-r">{Number(row.shortAxis).toFixed(0)}</td>
|
<td className="al-r">{Number(row.longAxis).toFixed(0)}</td>
|
||||||
<td className="al-r">{Number(row.longAxis).toFixed(0)}</td>
|
<td className="al-r">{Number(row.wpOut).toFixed(0)}</td>
|
||||||
<td className="al-r">{Number(row.wpOut).toFixed(0)}</td>
|
</tr>
|
||||||
</tr>
|
|
||||||
</>
|
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@ -249,7 +249,7 @@ export default function ModuleTabContents({ addRoof, roofTab, tempModuleSelectio
|
|||||||
setConstructionList([])
|
setConstructionList([])
|
||||||
|
|
||||||
if (isObjectNotEmpty(moduleConstructionSelectionData)) {
|
if (isObjectNotEmpty(moduleConstructionSelectionData)) {
|
||||||
//기존에 데이터가 있으면
|
//기존에 데이터가 있으면 파라메터를 넣는다
|
||||||
setConstructionParams({ ...moduleConstructionSelectionData.trestle, constMthdCd: '', roofBaseCd: '' })
|
setConstructionParams({ ...moduleConstructionSelectionData.trestle, constMthdCd: '', roofBaseCd: '' })
|
||||||
setRoofBaseParams({ ...moduleConstructionSelectionData.trestle, roofBaseCd: '' })
|
setRoofBaseParams({ ...moduleConstructionSelectionData.trestle, roofBaseCd: '' })
|
||||||
setCvrChecked(moduleConstructionSelectionData.construction.setupCover)
|
setCvrChecked(moduleConstructionSelectionData.construction.setupCover)
|
||||||
|
|||||||
@ -649,11 +649,11 @@ export function useSurfaceShapeBatch() {
|
|||||||
|
|
||||||
const deleteAllSurfacesAndObjects = () => {
|
const deleteAllSurfacesAndObjects = () => {
|
||||||
swalFire({
|
swalFire({
|
||||||
text: '배치면 내용을 전부 삭제하시겠습니까?',
|
text: getMessage('batch.canvas.delete.all'),
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
confirmFn: () => {
|
confirmFn: () => {
|
||||||
canvas.clear()
|
canvas.clear()
|
||||||
swalFire({ text: '삭제 완료 되었습니다.' })
|
swalFire({ text: getMessage('plan.message.delete') })
|
||||||
},
|
},
|
||||||
// denyFn: () => {
|
// denyFn: () => {
|
||||||
// swalFire({ text: '취소되었습니다.', icon: 'error' })
|
// swalFire({ text: '취소되었습니다.', icon: 'error' })
|
||||||
|
|||||||
@ -984,5 +984,6 @@
|
|||||||
"module.place.out": "설치면 밖으로 모듈을 설치 할 수 없습니다.",
|
"module.place.out": "설치면 밖으로 모듈을 설치 할 수 없습니다.",
|
||||||
"module.place.no.surface": "선택된 모듈 설치면이 없습니다.",
|
"module.place.no.surface": "선택된 모듈 설치면이 없습니다.",
|
||||||
"module.place.select.module": "모듈을 선택해주세요.",
|
"module.place.select.module": "모듈을 선택해주세요.",
|
||||||
"module.place.select.one.module": "모듈은 하나만 선택해주세요."
|
"module.place.select.one.module": "모듈은 하나만 선택해주세요.",
|
||||||
|
"batch.canvas.delete.all": "배치면 내용을 전부 삭제하시겠습니까?"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user