6 changed files with 268 additions and 11 deletions
-
11src/assets/styles/yxk-admin.scss
-
64src/views/collectReorganizi/collectionLibrary/anjuan/index.vue
-
33src/views/collectReorganizi/collectionLibrary/file/index.vue
-
94src/views/collectReorganizi/collectionLibrary/index.vue
-
39src/views/collectReorganizi/collectionLibrary/juannei/index.vue
-
36src/views/collectReorganizi/collectionLibrary/project/index.vue
@ -0,0 +1,64 @@ |
|||||
|
<template> |
||||
|
<el-drawer |
||||
|
title="我是案卷" |
||||
|
:visible.sync="table" |
||||
|
:modal="false" |
||||
|
:wrapper-closable="false" |
||||
|
direction="rtl" |
||||
|
size="60%" |
||||
|
> |
||||
|
<ul class="tab-nav"> |
||||
|
<li :class="{ 'active-tab-nav': activeIndex == 0 }" @click="changeActiveTab(0)">已整理<i /></li> |
||||
|
<li :class="{ 'active-tab-nav': activeIndex == 1 }" @click="changeActiveTab(1)">未整理<i /></li> |
||||
|
<!-- 最右侧装饰img --> |
||||
|
<span class="tab-right-img" /> |
||||
|
</ul> |
||||
|
<component :is="comName" /> |
||||
|
<el-button type="text" @click="openJuannei">打开卷内的Drawer</el-button> |
||||
|
</el-drawer> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'Anjuan', |
||||
|
components: { }, |
||||
|
props: { |
||||
|
data: { |
||||
|
type: String, |
||||
|
default: '' |
||||
|
} |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
table: false, |
||||
|
activeIndex: 0 |
||||
|
} |
||||
|
}, |
||||
|
computed: { |
||||
|
comName: function() { |
||||
|
if (this.activeIndex === 0) { |
||||
|
return 'baseInfo' |
||||
|
} else if (this.activeIndex === 1) { |
||||
|
return 'arcTableList' |
||||
|
} |
||||
|
return 'baseInfo' |
||||
|
} |
||||
|
}, |
||||
|
created() { |
||||
|
}, |
||||
|
mounted() { |
||||
|
}, |
||||
|
methods: { |
||||
|
openJuannei() { |
||||
|
// this.$emit('openJuannei', '这是来自案卷的通知') |
||||
|
this.$emit('openJuannei') |
||||
|
}, |
||||
|
changeActiveTab(data) { |
||||
|
this.activeIndex = data |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang='scss' scoped> |
||||
|
</style> |
@ -0,0 +1,33 @@ |
|||||
|
<template> |
||||
|
<el-drawer |
||||
|
title="我是原文" |
||||
|
:visible.sync="table" |
||||
|
:modal="false" |
||||
|
:wrapper-closable="false" |
||||
|
direction="rtl" |
||||
|
size="40%" |
||||
|
> |
||||
|
原文 |
||||
|
</el-drawer> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'Project', |
||||
|
components: { }, |
||||
|
data() { |
||||
|
return { |
||||
|
table: false |
||||
|
} |
||||
|
}, |
||||
|
created() { |
||||
|
}, |
||||
|
mounted() { |
||||
|
}, |
||||
|
methods: { |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang='scss' scoped> |
||||
|
</style> |
@ -0,0 +1,39 @@ |
|||||
|
<template> |
||||
|
<el-drawer |
||||
|
title="我是卷内" |
||||
|
:visible.sync="table" |
||||
|
:modal="false" |
||||
|
:wrapper-closable="false" |
||||
|
direction="rtl" |
||||
|
size="50%" |
||||
|
> |
||||
|
卷内 |
||||
|
<el-button type="text" @click="openFile">打开文件的Drawer</el-button> |
||||
|
</el-drawer> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'Project', |
||||
|
components: { }, |
||||
|
data() { |
||||
|
return { |
||||
|
table: false |
||||
|
} |
||||
|
}, |
||||
|
created() { |
||||
|
}, |
||||
|
mounted() { |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
openFile() { |
||||
|
// this.$emit('openFile', '这是来自卷内的通知') |
||||
|
this.$emit('openFile') |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang='scss' scoped> |
||||
|
</style> |
@ -0,0 +1,36 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
项目 |
||||
|
<el-button type="text" @click="openAnjuan">打开案卷的Drawer</el-button> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'Project', |
||||
|
components: { }, |
||||
|
props: { |
||||
|
data: { |
||||
|
type: String, |
||||
|
default: '' |
||||
|
} |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
} |
||||
|
}, |
||||
|
created() { |
||||
|
}, |
||||
|
mounted() { |
||||
|
}, |
||||
|
methods: { |
||||
|
openAnjuan() { |
||||
|
// this.$emit('openAnjuan', '传值') |
||||
|
this.$emit('openAnjuan') |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang='scss' scoped> |
||||
|
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue