站内直转

This commit is contained in:
bb_pan 2025-09-27 19:01:42 +08:00
parent a42281921d
commit a76ea482c6
2 changed files with 3 additions and 2 deletions

View File

@ -818,11 +818,13 @@ export default {
}, },
projectChange(val) { projectChange(val) {
const obj = this.projectList.find(item => item.proId === val) const obj = this.projectList.find(item => item.proId === val)
console.log('🚀 ~ projectChange ~ obj:', obj)
if (!val) { if (!val) {
this.maForm.backTeamId = '' this.maForm.backTeamId = ''
this.uniteList = [] this.uniteList = []
return return
} }
this.maForm.backProName = obj.proName
setTimeout(() => { setTimeout(() => {
getTeamListApi({ isAll: 0, proId: obj.proId }).then(response => { getTeamListApi({ isAll: 0, proId: obj.proId }).then(response => {
this.uniteList = response.data this.uniteList = response.data

View File

@ -242,8 +242,7 @@ export default {
// //
auditingShow(row) { auditingShow(row) {
if (row.directUserIds) { if (row.directUserIds) {
const directUserIds = row.directUserIds.split(',') return (row.status == 1 || row.status == 0) && row.directUserIds.includes(this.userId)
return (row.status == 1 || row.status == 0) && directUserIds.includes(this.userId)
} }
}, },
// //