dictionaryInfo.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <a-row type="flex" :gutter="16" class="container">
  3. <a-col :md="5" :sm="24">
  4. <dictionary-info-left v-model="currentOrgCode"/>
  5. </a-col>
  6. <a-col :md="24-5" :sm="24">
  7. <dictionary-info-right v-model="currentOrgCode"/>
  8. </a-col>
  9. </a-row>
  10. </template>
  11. <script>
  12. import dictionaryInfoLeft from './modules/dictionaryInfoLeft'
  13. import dictionaryInfoRight from './modules/dictionaryInfoRight'
  14. export default {
  15. name: 'dictionaryInfo',
  16. components: { dictionaryInfoLeft, dictionaryInfoRight },
  17. data() {
  18. return {
  19. description: '字典管理',
  20. currentOrgCode: ''
  21. }
  22. },
  23. methods: {
  24. },
  25. destroyed: function () {
  26. // 离开页面生命周期函数
  27. console.log('离开字典管理');
  28. localStorage.removeItem("dictId")
  29. },
  30. }
  31. </script>
  32. <style scoped>
  33. @import '~@assets/less/common.less';
  34. .container{
  35. background-color: #f6f6f6;
  36. }
  37. </style>