8d73e917
陈威
初始化提交
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<template>
<div class="portal-container">
<ht-portal
ref="htPortal"
:column-layout-alias="columnLayoutAlias"
:current-user="currentUser"
@click-process="handleClickProcess"
@get-column-layout="getColumnLayout"
@change-layout="changeLayout"
></ht-portal>
<leader-dialog ref="leaderDialog" />
</div>
</template>
<script>
import portalAction from '@/mixins/portalAction'
import { mapState } from 'vuex'
const LeaderDialog = () => import('@/views/matter/components/LeaderDialog')
export default {
name: 'AppPortal',
components: {
LeaderDialog,
},
mixins: [portalAction],
props: {
id: {
type: String,
default: '',
},
columnLayoutAlias: {
type: String,
default: '',
},
},
computed: {
...mapState({
currentUser: function (state) {
return { username: state.user.username || '' }
},
}),
},
}
</script>
<style lang="scss" scoped>
.portal-container {
height: 100%;
overflow: auto;
}
</style>
|