| | |
| | | <!-- |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-05-09 21:01:06 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-03 17:07:14 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/master/person/main/personPerson.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | |
| | | <div class="person-tree"> |
| | | <!-- 部门 --> |
| | | <el-tree style="max-width: 600px" :data="titleList" :expand-on-click-node="false" default-expand-all |
| | | :props="{ label: 'name', children: 'children' }" class="treeActive" @node-click="titleListNode" /> |
| | | :props="{ label: 'name', children: 'children' }" class="treeActive" @node-click="titleListNode" v-if="leftActive"/> |
| | | <!-- 岗位 --> |
| | | <div v-for="(item, index) in titleList" :data-id="item.id" v-if="!leftActive" |
| | | :class="{ treeActive: item.active }" @click="selectbtn(index)">{{ item.postName }}</div> |
| | |
| | | } |
| | | |
| | | .person-left-active { |
| | | background-color: #3b8e8e; |
| | | background-color: #409eff; |
| | | color: #fff; |
| | | } |
| | | |