阅行客电子档案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.8 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
7 months ago
2 years ago
  1. <template>
  2. <div>
  3. <AnjuanContent v-if="selectedCategory.arrangeType === 1 || selectedCategory.arrangeType === 2" ref="ajContent" class="ajContent" :selected-category="selectedCategory" :is-recycle="isRecycle" :smart-query="smartQuery" />
  4. <!-- :wrapper-closable="true" -->
  5. <el-drawer
  6. v-else
  7. class="anjuan-drawer drawer1-modal"
  8. :with-header="false"
  9. :visible.sync="anjuanDrawer"
  10. :modal="false"
  11. :show-close="false"
  12. direction="rtl"
  13. size="90%"
  14. >
  15. <AnjuanContent ref="ajContent" :selected-category="selectedCategory" :is-recycle="isRecycle" :smart-query="smartQuery" />
  16. <span class="closed-btn" @click="closeDrawer" />
  17. </el-drawer>
  18. <div v-if="anjuanDrawer" class="mask-modal level1-modal" @click="closeDrawer" />
  19. </div>
  20. </template>
  21. <script>
  22. import AnjuanContent from './content'
  23. export default {
  24. name: 'Anjuan',
  25. components: { AnjuanContent },
  26. props: {
  27. data: {
  28. type: String,
  29. default: ''
  30. },
  31. selectedCategory: {
  32. type: Object,
  33. default: function() {
  34. return {}
  35. }
  36. },
  37. isRecycle: {
  38. type: Boolean,
  39. default: false
  40. },
  41. smartQuery: {
  42. type: Object,
  43. default: function() {
  44. return {}
  45. }
  46. }
  47. },
  48. data() {
  49. return {
  50. anjuanDrawer: false
  51. }
  52. },
  53. created() {
  54. },
  55. mounted() {
  56. },
  57. methods: {
  58. closeDrawer() {
  59. this.anjuanDrawer = false
  60. this.$parent.parentsProjectId = null
  61. this.$parent.parentsProjectRow = null
  62. localStorage.removeItem('currentPageSize')
  63. localStorage.removeItem('currentPage')
  64. }
  65. }
  66. }
  67. </script>
  68. <style lang='scss' scoped>
  69. [data-theme=light] .ajContent{
  70. padding-top: 2px;
  71. }
  72. </style>