Merge branch 'qcast-pub' into dev
This commit is contained in:
commit
fda7001291
@ -458,11 +458,8 @@ export default function CircuitTrestleSetting({ id }) {
|
|||||||
swalFire({
|
swalFire({
|
||||||
title: getMessage('not.allocation.exist.module'),
|
title: getMessage('not.allocation.exist.module'),
|
||||||
type: 'alert',
|
type: 'alert',
|
||||||
confirmFn: () => {},
|
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
// canvas.remove(...notAllocationModules)
|
|
||||||
// canvas.renderAll()
|
|
||||||
}
|
}
|
||||||
setTabNum(2)
|
setTabNum(2)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,8 +61,7 @@ export function useCircuitTrestle() {
|
|||||||
|
|
||||||
// 사용된 모듈아이템 목록
|
// 사용된 모듈아이템 목록
|
||||||
const getUseModuleItemList = () => {
|
const getUseModuleItemList = () => {
|
||||||
console.log('🚀 ~ getUseModuleItemList ~ selectedModules:', selectedModules)
|
return selectedModules?.itemList?.map((m) => {
|
||||||
return moduleSelectionData.module?.itemList?.map((m) => {
|
|
||||||
return {
|
return {
|
||||||
itemId: m.itemId,
|
itemId: m.itemId,
|
||||||
mixMatlNo: m.mixMatlNo,
|
mixMatlNo: m.mixMatlNo,
|
||||||
|
|||||||
@ -243,7 +243,7 @@ export function useContextMenu() {
|
|||||||
name: getMessage('contextmenu.auxiliary.remove.all'),
|
name: getMessage('contextmenu.auxiliary.remove.all'),
|
||||||
fn: () => {
|
fn: () => {
|
||||||
if (!currentObject) {
|
if (!currentObject) {
|
||||||
swalFire({ text: '지붕을 선택해주세요.' })
|
swalFire({ text: getMessage('roof.is.not.selected') })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const innerLines = canvas.getObjects().filter((obj) => obj.id === currentObject.attributes.roofId)[0]?.innerLines
|
const innerLines = canvas.getObjects().filter((obj) => obj.id === currentObject.attributes.roofId)[0]?.innerLines
|
||||||
@ -405,7 +405,7 @@ export function useContextMenu() {
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
id: 'sizeEdit',
|
id: 'sizeEdit',
|
||||||
name: '사이즈 변경',
|
name: getMessage('contextmenu.size.edit'),
|
||||||
component: <SizeSetting id={popupId} target={currentObject} />,
|
component: <SizeSetting id={popupId} target={currentObject} />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1012,6 +1012,7 @@
|
|||||||
"module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.",
|
"module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.",
|
||||||
"module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.",
|
"module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.",
|
||||||
"max.select": "최대 {0}개까지 선택할 수 있습니다.(JA)",
|
"max.select": "최대 {0}개까지 선택할 수 있습니다.(JA)",
|
||||||
"module.delete.confirm": "パネルを削除して面入力に戻ります。正しいですか?\nはい]を選択すると削除し、面入力に戻ります。\nいいえ」を選択すると、削除せずに現在の状態を維持します。",
|
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.(JA)",
|
||||||
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.(JA)"
|
"roof.is.not.selected": "지붕을 선택해주세요.(JA)",
|
||||||
|
"module.delete.confirm": "パネルを削除して面入力に戻ります。正しいですか?\nはい]を選択すると削除し、面入力に戻ります。\nいいえ」を選択すると、削除せずに現在の状態を維持します。"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1014,5 +1014,6 @@
|
|||||||
"module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.",
|
"module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.",
|
||||||
"max.select": "최대 {0}개까지 선택할 수 있습니다.",
|
"max.select": "최대 {0}개까지 선택할 수 있습니다.",
|
||||||
"module.delete.confirm": "패널을 삭제하고 면입력으로 돌아갑니다. 맞습니까?\n[예]를 선택하면 삭제하고, 면 입력으로 돌아갑니다.\n[아니오]를 선택하면 삭제하지 않고 현재 상태를 유지합니다.",
|
"module.delete.confirm": "패널을 삭제하고 면입력으로 돌아갑니다. 맞습니까?\n[예]를 선택하면 삭제하고, 면 입력으로 돌아갑니다.\n[아니오]를 선택하면 삭제하지 않고 현재 상태를 유지합니다.",
|
||||||
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다."
|
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.",
|
||||||
|
"roof.is.not.selected": "지붕을 선택해주세요."
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user