Browse Source

问题修改

SunZehao 11 months ago
parent
commit
e9f54a1a71

+ 1 - 1
src/components/assessment/assessmentApplicationFrom.vue

@@ -386,7 +386,7 @@ export default {
                     datas.data.records.forEach(it =>{
                         if (it.posName.indexOf('主任') !== -1 || it.posName.indexOf('副主任') !== -1
                          || it.posName.indexOf('组织人事部') !== -1
-                         || it.deptName.indexOf('组织人事部') !== -1) {
+                         || it.udeptName.indexOf('组织人事部') !== -1) {
                             that.showMessage = true
                         }
                     })

+ 1 - 1
src/components/taskCenter/taskApplicationFrom.vue

@@ -387,7 +387,7 @@
                         datas.data.records.forEach(it => {
                             if (it.posName.indexOf('主任') !== -1 || it.posName.indexOf('副主任') !== -1 ||
                                 it.posName.indexOf('组织人事部') !== -1 ||
-                                it.deptName.indexOf('组织人事部') !== -1) {
+                                it.udeptName.indexOf('组织人事部') !== -1) {
                                 that.showMessage = true
                             }
                         })

+ 1 - 1
src/views/homePage.vue

@@ -391,7 +391,7 @@
                 apiGetUserPostList(params).then(datas => {
                     if (datas.data && datas.data.records.length > 0) {
                         datas.data.records.forEach(it => {
-                            if (it.posName.indexOf('组织人事部') !== -1 || it.deptName.indexOf('组织人事部') !== -
+                            if (it.posName.indexOf('组织人事部') !== -1 || it.udeptName.indexOf('组织人事部') !== -
                                 1) {
                                 window.sessionStorage.setItem('ispersonDept', true)
                             }