新增页面,国际化

This commit is contained in:
2026-01-21 11:27:09 +08:00
parent 28c09888d9
commit b1fa28b8e6
48 changed files with 173 additions and 49 deletions

View File

@@ -46,7 +46,7 @@
if (!this.val1) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._AGVPass()
}

View File

@@ -148,7 +148,7 @@
if (!this.index1 ||!this.index2 || !this.index3 || (!this.upL && !this.upR)) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._downBait()
}

View File

@@ -168,7 +168,7 @@
if (!this.index2 || (!this.upL && !this.upR && !this.lowL && !this.lowR)) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._forcedFeedShaft()
}

View File

@@ -140,7 +140,7 @@
if (!this.index || !this.dataList.length) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._downShafts()
}

View File

@@ -69,7 +69,7 @@
if (!this.index) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._doInitShaftPoint()
}

View File

@@ -122,7 +122,7 @@
if (!this.dataList.length) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._operateIvt(type)
}

View File

@@ -65,7 +65,7 @@
if (!this.val1) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._rollCacheManage(type)
}

View File

@@ -45,7 +45,7 @@
if (!this.val1) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._shaftMaintenanceInventory(type)
}

View File

@@ -191,7 +191,7 @@
if (!this.index || !this.dataList.length) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._downRolls2()
}

View File

@@ -327,7 +327,7 @@
if (!this.val1) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._feedingVehicleReturn(type)
}

View File

@@ -57,7 +57,7 @@
if (!this.val1 || !this.val2) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._doStockAreaBinding()
}
@@ -80,7 +80,7 @@
if (!this.val1) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._doStockAreaUnbinding()
}
@@ -103,7 +103,7 @@
if (!this.val1 || !this.val2) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._instorStock(type)
}

View File

@@ -87,7 +87,7 @@
if (!this.val1 || (!this.val2 && !this.val3)) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._doSubRollWeightBinding()
}

View File

@@ -149,7 +149,7 @@
if (this.val1 || !this.index1 || !this.index2) {
return
}
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
if (isConfirmed) {
this._moveStock()
}