|
|
@ -4,7 +4,7 @@
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Date: 2023-09-27 14:01:34
|
|
|
|
* @Date: 2023-09-27 14:01:34
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditTime: 2023-09-27 18:17:28
|
|
|
|
* @LastEditTime: 2023-09-27 18:44:53
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div >
|
|
|
|
<div >
|
|
|
@ -49,7 +49,6 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
xzList() {
|
|
|
|
xzList() {
|
|
|
|
xzTree().then((res) => {
|
|
|
|
xzTree().then((res) => {
|
|
|
|
// console.log(this.dept.parentId);
|
|
|
|
|
|
|
|
if (this.dept.parentId == 0 || this.dept.leader == 'admin') {
|
|
|
|
if (this.dept.parentId == 0 || this.dept.leader == 'admin') {
|
|
|
|
res.data.forEach((value, index) => {
|
|
|
|
res.data.forEach((value, index) => {
|
|
|
|
this.compartment.push({
|
|
|
|
this.compartment.push({
|
|
|
|