sd-signature-manage.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <a-row :gutter="24" :class="$style['full-height']">
  3. <a-col :md="5" :sm="24" :class="$style['full-height']">
  4. <a-card :class="[$style['full-height'], $style['overflow-scroll']]">
  5. <sd-sign-tree @selectedKeys="handleTreeSelect"></sd-sign-tree>
  6. </a-card>
  7. </a-col>
  8. <a-col :md="19" :sm="24">
  9. <sd-user-list :group-id="groupId" :is-contain-sub-org="isContainSubOrg"></sd-user-list>
  10. </a-col>
  11. </a-row>
  12. </template>
  13. <script>
  14. import components from './_import-components/sd-signature-manage-import'
  15. export default {
  16. name: 'SdSignatureManage',
  17. metaInfo: {
  18. title: '签名管理',
  19. },
  20. components,
  21. data() {
  22. return {
  23. groupId: '',
  24. isContainSubOrg: true,
  25. test: ['20000'],
  26. }
  27. },
  28. methods: {
  29. handleTreeSelect(groupCode) {
  30. if (groupCode.length > 0) {
  31. this.groupId = `${groupCode}`
  32. }
  33. },
  34. handleIsContainSubOrg(e) {
  35. this.isContainSubOrg = e.target.checked
  36. },
  37. },
  38. }
  39. </script>
  40. <style module lang="scss">
  41. @use '@/common/design' as *;
  42. .choose-box {
  43. padding: $padding-sm;
  44. :global(.ant-checkbox-wrapper) {
  45. color: $primary-color;
  46. }
  47. }
  48. .full-height {
  49. height: 100%;
  50. }
  51. .overflow-scroll {
  52. overflow: scroll;
  53. }
  54. </style>