index.vue 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <!--
  2. * @Author: cyy szjbdcyy@126.com
  3. * @Date: 2023-01-03 11:58:44
  4. * @LastEditors: cyy szjbdcyy@126.com
  5. * @LastEditTime: 2023-02-21 15:11:53
  6. * @FilePath: \lh_firm_former\src\components\jbd-panel\index.vue
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. -->
  9. <template>
  10. <div class="jbd-sys-title">
  11. <span class="jbd-sys-title-cont-center" style="margin-left: 40px;float: left;">{{ deptName }}医学实验室标准化智慧管理平台</span>
  12. <span style="float: right; " class="jbd-sys-title-contact">
  13. <br>
  14. 深圳市金源信通科技有限公司开发 <i style="margin-left: 10px;" class="el-icon-phone" /> 0755-2642-4403
  15. <i style="margin-left: 20px;" class="el-icon-phone" /> 153 6143 5689
  16. </span>
  17. </div>
  18. </template>
  19. <script>
  20. export default {
  21. data () {
  22. const { first = '' } = this.$store.getters.level || {}
  23. const { deptList = [] } = this.$store.getters || {}
  24. const dept = deptList.find(i => i.positionId === first)
  25. return {
  26. deptName: dept ? dept.positionName : ''
  27. }
  28. }
  29. }
  30. </script>