|
@@ -118,13 +118,10 @@ export default {
|
|
|
|
|
|
|
|
this.queryAuthority()
|
|
this.queryAuthority()
|
|
|
/* this.$refs['details'].$refs['group'].queryGroup()*/
|
|
/* this.$refs['details'].$refs['group'].queryGroup()*/
|
|
|
- console.log(this.mainData.createuserid)
|
|
|
|
|
- console.log(JSON.parse(sessionStorage.getItem('active_account')).userid)
|
|
|
|
|
this.mainData.createuserid === JSON.parse(sessionStorage.getItem('active_account')).userid ?this.disable = false : this.disable = true
|
|
this.mainData.createuserid === JSON.parse(sessionStorage.getItem('active_account')).userid ?this.disable = false : this.disable = true
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
async queryAuthority(){
|
|
async queryAuthority(){
|
|
|
- console.log(this.team,'team列表')
|
|
|
|
|
const agent = await this.$api.requested({
|
|
const agent = await this.$api.requested({
|
|
|
"id":20230329122604,
|
|
"id":20230329122604,
|
|
|
"content": {
|
|
"content": {
|
|
@@ -132,7 +129,6 @@ export default {
|
|
|
"ownerid":this.$route.query.id
|
|
"ownerid":this.$route.query.id
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- console.log(agent,'agent')
|
|
|
|
|
if (this.mainData.leader.length > 0){
|
|
if (this.mainData.leader.length > 0){
|
|
|
if (JSON.parse(window.sessionStorage.getItem('active_account')).userid === this.mainData.leader[0].userid){
|
|
if (JSON.parse(window.sessionStorage.getItem('active_account')).userid === this.mainData.leader[0].userid){
|
|
|
/*是负责人*/
|
|
/*是负责人*/
|
|
@@ -294,9 +290,13 @@ export default {
|
|
|
this.mainData.path = item.value
|
|
this.mainData.path = item.value
|
|
|
this.changeDataStructure()
|
|
this.changeDataStructure()
|
|
|
}
|
|
}
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.changeDataStructure()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.changeDataStructure()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|