index.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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;">{{ systemName }}</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" /> 181 2638 3365
  16. </span>
  17. </div>
  18. </template>
  19. <script>
  20. import { SYSTEM_NAME } from '@/constant'
  21. export default {
  22. data () {
  23. const { first = '' } = this.$store.getters.level || {}
  24. const { deptList = [] } = this.$store.getters || {}
  25. const dept = deptList.find(i => i.positionId === first)
  26. return {
  27. systemName: SYSTEM_NAME,
  28. deptName: dept ? dept.positionName : ''
  29. }
  30. }
  31. }
  32. </script>