|
|
|
@ -1348,7 +1348,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.searchData.projectLeader !== '' && this.searchData.projectLeader !== null){ |
|
|
|
console.log('1',this.searchData.projectLeader) |
|
|
|
this.dataList = data.list |
|
|
|
for (let i = 0; i < this.dataList.length; i++) { |
|
|
|
if (this.dataList[i].responsibleDepartment === 'R001'){ |
|
|
|
@ -1479,7 +1478,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.searchData.projectLeader !== '' && this.searchData.projectLeader !== null){ |
|
|
|
console.log('2',this.searchData.projectLeader) |
|
|
|
this.dataList = data.list |
|
|
|
for (let i = 0; i < this.dataList.length; i++) { |
|
|
|
if (this.dataList[i].responsibleDepartment === 'R001'){ |
|
|
|
@ -1542,7 +1540,7 @@ export default { |
|
|
|
pjmList.push(item.projectOwner.split('-')[0]) |
|
|
|
} |
|
|
|
}) |
|
|
|
if (pjmList.includes(this.$store.state.user.name)){ |
|
|
|
if (pjmList.includes(this.$store.state.user.name) || this.$store.state.user.name === 'admin') { |
|
|
|
this.warnFlag = true |
|
|
|
this.dataList = data.page.list |
|
|
|
this.allPersonnelInfoList = data.list |
|
|
|
|