|
|
@@ -21,7 +21,7 @@
|
|
|
<div class="needLog">
|
|
|
<el-tag v-for="(item, index) in chooseTagData" :key="index" class="tagtag"
|
|
|
:closable="lastPeople" @close="handleClose(item)">
|
|
|
- {{ item.userName }}
|
|
|
+ {{ item.userName ? item.userName : item.name }}
|
|
|
</el-tag>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -59,7 +59,7 @@ export default {
|
|
|
type: Number,
|
|
|
required: true
|
|
|
},
|
|
|
- isNewMenu:{
|
|
|
+ isNewMenu: {
|
|
|
type: Boolean,
|
|
|
required: true
|
|
|
},
|
|
|
@@ -163,7 +163,6 @@ export default {
|
|
|
}
|
|
|
// 获取用户树
|
|
|
function getAllUser() {
|
|
|
- console.log('isNewMenu', props.clickRowId)
|
|
|
userTree.getUserTree({}).then(res => {
|
|
|
console.log('userTree',res);
|
|
|
allTreeData.value = [res]
|
|
|
@@ -192,9 +191,9 @@ export default {
|
|
|
return item.userId
|
|
|
})
|
|
|
})
|
|
|
- } else if(!isNewMenus){
|
|
|
+ } else if (!isNewMenus) {
|
|
|
fileCount.getActor(dees).then(res => {
|
|
|
- console.log(res, 'count');
|
|
|
+ chooseTagData.value = res
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -212,7 +211,6 @@ export default {
|
|
|
|
|
|
}
|
|
|
onMounted(() => {
|
|
|
- console.log(feeh, 'eeh');
|
|
|
allTeam()
|
|
|
getAllUser()
|
|
|
})
|