scorpio 2 年之前
父节点
当前提交
716bf03e19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/home/component/owner_serach.vue

+ 1 - 1
src/views/home/component/owner_serach.vue

@@ -278,7 +278,7 @@ export default {
       this.form.totalAmountMax = tmps[1] === '-' ? '' : tmps[1]
     },
     getOrg () {
-      const parentId = [1, 2].includes(this.user.info.viewStage) ? this.user.info.parentDeptId : this.user.info.deptId
+      const parentId = [0, 2].includes(this.user.info.viewStage) ? this.user.info.parentDeptId : this.user.info.deptId
       this.$api.system.getDeptLazy({ parentId }).then(res => {
         if (res.code === 200) {
           this.showOrg = true