部分页面语言适配

This commit is contained in:
X1627315083
2025-09-22 14:01:44 +08:00
parent 6402ab4b64
commit 4f5a02bcf3
9 changed files with 37 additions and 11 deletions

View File

@@ -77,10 +77,12 @@ import { PieChart } from 'echarts/charts';
import { LabelLayout } from 'echarts/features';
import { useStore } from "vuex";
import { CanvasRenderer } from 'echarts/renderers';
import { useI18n } from 'vue-i18n'
export default defineComponent({
components: {
},
setup() {
const {t} = useI18n()
const store:any = useStore()
let filter:any = reactive({
dataList:computed(()=>{
@@ -115,7 +117,7 @@ export default defineComponent({
let data:any = []
rv.names.forEach((item:any,index:number) => {
let obj = {
name : item,
name : t(`admin.${item}`),
value:rv.values[index],
}
data.push(obj)

View File

@@ -365,11 +365,11 @@ export default defineComponent({
ellipsis:true
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:150,
width:200,
ellipsis:true
},
{

View File

@@ -292,11 +292,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",

View File

@@ -150,11 +150,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",

View File

@@ -177,11 +177,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",