新增页面,国际化
This commit is contained in:
@@ -195,7 +195,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._inCoolIvt()
|
||||
}
|
||||
@@ -227,7 +227,7 @@
|
||||
this.disabled2 = false
|
||||
},
|
||||
async handleConfirm2 () {
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this.modalToSure()
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
if ((!this.val1 || !this.val2) && type === '2') {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
if (type === '1') {
|
||||
this._ovenInAndOut1(type)
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
if (!this.val1 && !this.index1) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePackageInfo()
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
if (!this.val1 || !this.val2 || !this.val5) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._handleBakingovenInAndOut1(type)
|
||||
}
|
||||
@@ -153,7 +153,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._handleBakingcheckConfirm()
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
if (!this.val1 || !this.index) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._bakingReBake()
|
||||
}
|
||||
|
||||
@@ -60,7 +60,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._confirmWeight()
|
||||
}
|
||||
|
||||
@@ -77,7 +77,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._printTable()
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
if (!this.val2 && type === '7') {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
if (type === '5') {
|
||||
this._confirmBlanking()
|
||||
@@ -254,7 +254,7 @@
|
||||
this.type = ''
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._rawScrollDowm(type)
|
||||
}
|
||||
|
||||
@@ -57,7 +57,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._updatePackageInfo()
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
if (!this.arr1.length) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._zjInBoundConfirm()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user