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.
|
|
<template> <div> <AnjuanContent v-if="selectedCategory.arrangeType === 1 || selectedCategory.arrangeType === 2" ref="ajContent" class="ajContent" :selected-category="selectedCategory" :is-recycle="isRecycle" :smart-query="smartQuery" /> <!-- :wrapper-closable="true" --> <el-drawer v-else class="anjuan-drawer drawer1-modal" :with-header="false" :visible.sync="anjuanDrawer" :modal="false" :show-close="false" direction="rtl"
size="90%" > <AnjuanContent ref="ajContent" :selected-category="selectedCategory" :is-recycle="isRecycle" :smart-query="smartQuery" /> <span class="closed-btn" @click="closeDrawer" /> </el-drawer> <div v-if="anjuanDrawer" class="mask-modal level1-modal" @click="closeDrawer" /> </div></template>
<script>import AnjuanContent from './content'export default { name: 'Anjuan', components: { AnjuanContent }, props: { data: { type: String, default: '' }, selectedCategory: { type: Object, default: function() { return {} } }, isRecycle: { type: Boolean, default: false }, smartQuery: { type: Object, default: function() { return {} } } }, data() { return { anjuanDrawer: false } }, created() { }, mounted() { }, methods: { closeDrawer() { this.anjuanDrawer = false this.$parent.parentsProjectId = null this.$parent.parentsProjectRow = null localStorage.removeItem('currentPageSize') localStorage.removeItem('currentPage') } }}</script>
<style lang='scss' scoped>[data-theme=light] .ajContent{ padding-top: 2px;}</style>
|