42 lines
1.0 KiB
Vue
42 lines
1.0 KiB
Vue
<template>
|
|
<el-dialog
|
|
title="单位组织"
|
|
:visible.sync="dialogVisible"
|
|
width="30%"
|
|
:before-close="handleClose"
|
|
>
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
<el-tab-pane label="部门管理" name="first">部门管理</el-tab-pane>
|
|
<el-tab-pane label="职位管理" name="second">职位管理</el-tab-pane>
|
|
<el-tab-pane label="成员管理" name="third">成员管理</el-tab-pane>
|
|
</el-tabs>
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
</span>
|
|
</el-dialog>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'Organization',
|
|
data() {
|
|
return {
|
|
dialogVisible: false
|
|
};
|
|
},
|
|
methods: {
|
|
doShow() {
|
|
this.dialogVisible = true;
|
|
},
|
|
handleClose() {
|
|
this.dialogVisible = false;
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|