Ver código fonte

首页多语言

lipenghui 2 dias atrás
pai
commit
335c74d2da

+ 4 - 4
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/stat/IotStaticController.java

@@ -710,10 +710,10 @@ public class IotStaticController {
             inspectData.add(v);
         });
 
-        ImmutableMap<String, Serializable> maintainResult = ImmutableMap.of("name", "维修工单", "data", maintainData);
-        ImmutableMap<String, Serializable> workResult = ImmutableMap.of("name", "保养工单", "data", workData);
-        ImmutableMap<String, Serializable> inspectResult = ImmutableMap.of("name", "巡检工单", "data", inspectData);
-        ImmutableMap<String, Serializable> fillResult = ImmutableMap.of("name", "运行记录", "data", fillData);
+        ImmutableMap<String, Serializable> maintainResult = ImmutableMap.of("name", "维修工单~~en**repairOrder", "data", maintainData);
+        ImmutableMap<String, Serializable> workResult = ImmutableMap.of("name", "保养工单~~en**maintenanceOrder", "data", workData);
+        ImmutableMap<String, Serializable> inspectResult = ImmutableMap.of("name", "巡检工单~~en**inspectOrder", "data", inspectData);
+        ImmutableMap<String, Serializable> fillResult = ImmutableMap.of("name", "运行记录~~en**operationRecord", "data", fillData);
         return success(ImmutableMap.of("xAxis", xAxis, "series", ImmutableList.of(maintainResult, workResult,inspectResult, fillResult)));
     }
 

+ 3 - 3
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java

@@ -134,17 +134,17 @@ public class AdminUserServiceImpl implements AdminUserService {
 
         List<Pms.deptStat> pmsList = new ArrayList<>();
         Pms.deptStat rhpms = new Pms.deptStat();
-        rhpms.setDepartment("瑞恒兴域");
+        rhpms.setDepartment(rh.getName());
         rhpms.setTotal(rhtotal);
         rhpms.setActive(rhactive);
 
         Pms.deptStat rypms = new Pms.deptStat();
-        rypms.setDepartment("瑞鹰国际");
+        rypms.setDepartment(ry.getName());
         rypms.setTotal(rytotal);
         rypms.setActive(ryactive);
 
         Pms.deptStat rdpms = new Pms.deptStat();
-        rdpms.setDepartment("四川瑞都");
+        rdpms.setDepartment(rd.getName());
         rdpms.setTotal(rdtotal);
         rdpms.setActive(rdactive);