Browse Source

提示类-色卡开放大区及以上级别权限

zhujindu 11 tháng trước cách đây
mục cha
commit
d626991a7b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/home/hintTabPage/hintDetail.vue

+ 1 - 1
src/views/home/hintTabPage/hintDetail.vue

@@ -415,7 +415,7 @@ export default {
       getReportMaterialType({ materialCode: this.materialCode, deptId: deptId }).then((res) => {
         if (res.code == 200) {
           res.data.colorCardList.forEach((val) => {
-            if (val.empLevel < 3) val.hasChildren = true;
+            if (val.isChildren && val.isChildren == 'true') val.hasChildren = true;
           });
           // 是否是子级
           if (resolve) {