修改历史数据中英文

This commit is contained in:
hzz 2023-05-29 16:11:17 +08:00
parent f9a6cf7ddc
commit 5063911dd3
3 changed files with 5 additions and 1 deletions

View File

@ -270,5 +270,6 @@ export default {
'服务器机房':'server room',
'料场':'Raw Material Area',
'危废暂存间':'dangerous waste temporary storage room',
'历史数据':'Historical Data',
}
}

View File

@ -270,5 +270,6 @@ export default {
'服务器机房':'服务器机房',
'料场':'料场',
'危废暂存间':'危废暂存间',
'历史数据':'历史数据',
}
}

View File

@ -11,7 +11,7 @@
<div :style="{ width: boxWH.width, height: boxWH.height }" style="position: relative;">
<border6 ref="refborder6">
<template v-slot>
<el-button type="success" class="linkPowerChart" @click="clickPowerChart">历史数据</el-button>
<el-button type="success" class="linkPowerChart" @click="clickPowerChart">{{t('messages.历史数据')}}</el-button>
<div ref="inpie" class="ddd"></div>
<div ref="inpie2" class="ddd"></div>
</template>
@ -31,6 +31,8 @@ import {
import { EDataPerson, EDataPersonItem } from "@/type/environment";
import border6 from "@/components/borderBox/border6.vue";
import { useRoute, useRouter } from "vue-router";
import { useI18n } from 'vue-i18n'
let { t } = useI18n();
const router = useRouter();
const { proxy } = getCurrentInstance() as any;
let props = defineProps<{