update 完成设备页面的国际化
This commit is contained in:
@@ -41,7 +41,7 @@ const tableConfigs = [
|
||||
{ prop: 'plcId', name: 'plc id' },
|
||||
{ prop: 'plc', name: 'plc' },
|
||||
{ prop: 'equipmentId', name: '设备id' },
|
||||
{ prop: 'equipmentName', name: '设备名称' },
|
||||
{ prop: 'equipmentName', name: i18n.t('eq.name') },
|
||||
{ prop: 'status', name: '状态,0正常 1计划停机 2故障' },
|
||||
{ prop: 'logTime', name: i18n.t('recordTime') },
|
||||
{ prop: 'remark', name: i18n.t('remark') },
|
||||
@@ -132,7 +132,7 @@ export default {
|
||||
: this.dataListSelections.map(item => {
|
||||
return item.id
|
||||
})
|
||||
this.$confirm(`确定对[id=${ids.join(',')}]进行[${id ? i18n.t('delete') : i18n.t('deleteBatch')}]操作?`, '提示', {
|
||||
this.$confirm(`${ i18n.t('prompt.info', { handle: id ? i18n.t('delete').toLowerCase() : i18n.t('deleteBatch').toLowerCase() }) }`, i18n.t('prompt.title'), {
|
||||
confirmButtonText: i18n.t('confirm'),
|
||||
cancelButtonText: i18n.t('cancel'),
|
||||
type: 'warning'
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
}).then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.$message({
|
||||
message: '操作成功',
|
||||
message: i18n.t('prompt.success'),
|
||||
type: 'success',
|
||||
duration: 1500,
|
||||
onClose: () => {
|
||||
|
||||
Reference in New Issue
Block a user