JayChou 2 weeks ago
commit a89ea23432
  1. 25
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java
  2. 2
      jeecgboot-vue3/src/views/dashboard/workbench/components/ProjectCard.vue

@ -101,7 +101,11 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
experttemp.setSepsd(sysUser.getPassword()); experttemp.setSepsd(sysUser.getPassword());
}); });
@ -133,7 +137,12 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
experttemp.setSepsd(sysUser.getPassword()); experttemp.setSepsd(sysUser.getPassword());
}); });
@ -187,7 +196,11 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -232,7 +245,11 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -262,7 +279,11 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
}); });
return Result.OK(pageList); return Result.OK(pageList);
@ -775,7 +796,11 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPhone(sysUser.getPhone()); experttemp.setPhone(sysUser.getPhone());
experttemp.setEmails(sysUser.getEmail()); experttemp.setEmails(sysUser.getEmail());
if (sysDepart!=null ){
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setSsdep(sysDepart.getDepartName());
}else{
experttemp.setSsdep("暂无");
}
experttemp.setPsd(sysUser.getPassword()); experttemp.setPsd(sysUser.getPassword());
experttemp.setSepsd(sysUser.getPassword()); experttemp.setSepsd(sysUser.getPassword());
experttemp.setAvatar(sysUser.getAvatar()); experttemp.setAvatar(sysUser.getAvatar());

@ -21,7 +21,7 @@
<div class="flex justify-between text-secondary"> <div class="flex justify-between text-secondary">
<span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">请假{{ item5 }}</span> <span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">请假{{ item5 }}</span>
<span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">出差{{ item6 }}</span> <span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">出差{{ item6 }}</span>
<span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">出差{{ item7 }}</span> <span style="font-weight: bold; font-size: em; margin-left: auto; display: inline-block; width: fit-content;">其他{{ item7 }}</span>
</div> </div>
</CardGrid> </CardGrid>
<CardGrid class="!md:w-1/3 !w-full"> <CardGrid class="!md:w-1/3 !w-full">

Loading…
Cancel
Save