diff --git a/src/views/labelManage/adminApproval/index.vue b/src/views/labelManage/adminApproval/index.vue index 1c4321b..ddf8733 100644 --- a/src/views/labelManage/adminApproval/index.vue +++ b/src/views/labelManage/adminApproval/index.vue @@ -172,6 +172,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/labelManage/escApproval/index.vue b/src/views/labelManage/escApproval/index.vue index b276321..2a5d261 100644 --- a/src/views/labelManage/escApproval/index.vue +++ b/src/views/labelManage/escApproval/index.vue @@ -165,6 +165,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/ppeTool/index.vue b/src/views/ppeTool/index.vue index a7c1ea7..622d73d 100644 --- a/src/views/ppeTool/index.vue +++ b/src/views/ppeTool/index.vue @@ -156,6 +156,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/ppeTool/toolForm.vue b/src/views/ppeTool/toolForm.vue index 33652dd..6a4a587 100644 --- a/src/views/ppeTool/toolForm.vue +++ b/src/views/ppeTool/toolForm.vue @@ -181,6 +181,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/dashboard/index.vue b/src/views/qualification/dashboard/index.vue index 7b9b2d7..4767fe5 100644 --- a/src/views/qualification/dashboard/index.vue +++ b/src/views/qualification/dashboard/index.vue @@ -243,6 +243,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escApproval/index.vue b/src/views/qualification/escApproval/index.vue index da63637..5e1f428 100644 --- a/src/views/qualification/escApproval/index.vue +++ b/src/views/qualification/escApproval/index.vue @@ -161,6 +161,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/LableApply.vue b/src/views/qualification/escTask/components/LableApply.vue index 15e26f9..d590968 100644 --- a/src/views/qualification/escTask/components/LableApply.vue +++ b/src/views/qualification/escTask/components/LableApply.vue @@ -135,6 +135,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/LableApplyForm.vue b/src/views/qualification/escTask/components/LableApplyForm.vue index 714e74d..a818048 100644 --- a/src/views/qualification/escTask/components/LableApplyForm.vue +++ b/src/views/qualification/escTask/components/LableApplyForm.vue @@ -266,6 +266,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/LableReApplyForm.vue b/src/views/qualification/escTask/components/LableReApplyForm.vue index a4fcdd2..b32bb45 100644 --- a/src/views/qualification/escTask/components/LableReApplyForm.vue +++ b/src/views/qualification/escTask/components/LableReApplyForm.vue @@ -281,6 +281,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/QualificationApply.vue b/src/views/qualification/escTask/components/QualificationApply.vue index 540903e..e840d33 100644 --- a/src/views/qualification/escTask/components/QualificationApply.vue +++ b/src/views/qualification/escTask/components/QualificationApply.vue @@ -138,6 +138,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/QualificationApplyForm.vue b/src/views/qualification/escTask/components/QualificationApplyForm.vue index 2d1debd..a510edb 100644 --- a/src/views/qualification/escTask/components/QualificationApplyForm.vue +++ b/src/views/qualification/escTask/components/QualificationApplyForm.vue @@ -679,6 +679,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/escTask/components/QualificationReApplyForm.vue b/src/views/qualification/escTask/components/QualificationReApplyForm.vue index 907354c..c75e980 100644 --- a/src/views/qualification/escTask/components/QualificationReApplyForm.vue +++ b/src/views/qualification/escTask/components/QualificationReApplyForm.vue @@ -710,6 +710,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/myQualifications/components/LableApplyForm.vue b/src/views/qualification/myQualifications/components/LableApplyForm.vue index adda5fc..65c36f5 100644 --- a/src/views/qualification/myQualifications/components/LableApplyForm.vue +++ b/src/views/qualification/myQualifications/components/LableApplyForm.vue @@ -225,6 +225,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/myQualifications/components/LableReApplyForm.vue b/src/views/qualification/myQualifications/components/LableReApplyForm.vue index 378ad70..34c9f64 100644 --- a/src/views/qualification/myQualifications/components/LableReApplyForm.vue +++ b/src/views/qualification/myQualifications/components/LableReApplyForm.vue @@ -216,6 +216,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/myQualifications/components/QualificationApplyForm.vue b/src/views/qualification/myQualifications/components/QualificationApplyForm.vue index aed995e..8f003e8 100644 --- a/src/views/qualification/myQualifications/components/QualificationApplyForm.vue +++ b/src/views/qualification/myQualifications/components/QualificationApplyForm.vue @@ -616,6 +616,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/myQualifications/components/QualificationReApplyForm.vue b/src/views/qualification/myQualifications/components/QualificationReApplyForm.vue index 7aad359..cc9e7b8 100644 --- a/src/views/qualification/myQualifications/components/QualificationReApplyForm.vue +++ b/src/views/qualification/myQualifications/components/QualificationReApplyForm.vue @@ -623,6 +623,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/trainApproval/index.vue b/src/views/qualification/trainApproval/index.vue index 4aacc2b..c456d82 100644 --- a/src/views/qualification/trainApproval/index.vue +++ b/src/views/qualification/trainApproval/index.vue @@ -157,6 +157,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/qualification/vehicleTrain/form.vue b/src/views/qualification/vehicleTrain/form.vue index 73abb8d..4a904cf 100644 --- a/src/views/qualification/vehicleTrain/form.vue +++ b/src/views/qualification/vehicleTrain/form.vue @@ -170,6 +170,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/register.vue b/src/views/register.vue index 03c9892..8b08645 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -177,6 +177,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/safetyReview/examinerApproval/index.vue b/src/views/safetyReview/examinerApproval/index.vue index dd30446..f0bb912 100644 --- a/src/views/safetyReview/examinerApproval/index.vue +++ b/src/views/safetyReview/examinerApproval/index.vue @@ -135,6 +135,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/safetyReview/examinerEscTask/index.vue b/src/views/safetyReview/examinerEscTask/index.vue index 249561a..e788d57 100644 --- a/src/views/safetyReview/examinerEscTask/index.vue +++ b/src/views/safetyReview/examinerEscTask/index.vue @@ -147,6 +147,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/safetyReview/examinerTasks/index.vue b/src/views/safetyReview/examinerTasks/index.vue index c557825..1ac78d9 100644 --- a/src/views/safetyReview/examinerTasks/index.vue +++ b/src/views/safetyReview/examinerTasks/index.vue @@ -137,6 +137,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/safetyReview/examinerTasks/taskForm.vue b/src/views/safetyReview/examinerTasks/taskForm.vue index 500b72a..c6ee5d4 100644 --- a/src/views/safetyReview/examinerTasks/taskForm.vue +++ b/src/views/safetyReview/examinerTasks/taskForm.vue @@ -344,6 +344,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true diff --git a/src/views/system/userApproval/index.vue b/src/views/system/userApproval/index.vue index 2dab00f..72b773d 100644 --- a/src/views/system/userApproval/index.vue +++ b/src/views/system/userApproval/index.vue @@ -159,6 +159,7 @@ const filterDisabledDept = (deptList) => { return false } if (dept.children && dept.children.length) { + dept.disabled = true dept.children = filterDisabledDept(dept.children) } return true