|
@@ -620,7 +620,7 @@ export default {
|
|
//请求项目和账户内容
|
|
//请求项目和账户内容
|
|
accountHttp(type){
|
|
accountHttp(type){
|
|
this.accountID=undefined;
|
|
this.accountID=undefined;
|
|
- getAction(`/ctop/projectMember/getProjectAccountByUserId?mediaType=${type}`, {}).then(res => {
|
|
|
|
|
|
+ getAction(`/ctop/projectMember/getAllProjectAccount?mediaType=${type}`, {}).then(res => {
|
|
if(res.success){
|
|
if(res.success){
|
|
if(res.result){
|
|
if(res.result){
|
|
res.result.forEach((element,index) => {
|
|
res.result.forEach((element,index) => {
|
|
@@ -636,7 +636,7 @@ export default {
|
|
if(element.account.length){
|
|
if(element.account.length){
|
|
element.account.forEach((ele,i)=>{
|
|
element.account.forEach((ele,i)=>{
|
|
this.TTaccountList[index].children.push({});
|
|
this.TTaccountList[index].children.push({});
|
|
- this.TTaccountList[index].children[i].title=ele.userName+'_'+ele.authName;
|
|
|
|
|
|
+ this.TTaccountList[index].children[i].title=ele.userName+'_'+ele.authName+'_'+element.project.projectName;
|
|
this.TTaccountList[index].children[i].value=ele.accountId;
|
|
this.TTaccountList[index].children[i].value=ele.accountId;
|
|
this.TTaccountList[index].children[i].key=ele.accountId;
|
|
this.TTaccountList[index].children[i].key=ele.accountId;
|
|
})
|
|
})
|
|
@@ -654,7 +654,7 @@ export default {
|
|
if(element.account.length){
|
|
if(element.account.length){
|
|
element.account.forEach((ele,i)=>{
|
|
element.account.forEach((ele,i)=>{
|
|
this.KSaccountList[index].children.push({});
|
|
this.KSaccountList[index].children.push({});
|
|
- this.KSaccountList[index].children[i].title=ele.userName+'_'+ele.authName;
|
|
|
|
|
|
+ this.KSaccountList[index].children[i].title=ele.userName+'_'+ele.authName+'_'+element.project.projectName;
|
|
this.KSaccountList[index].children[i].value=ele.accountId;
|
|
this.KSaccountList[index].children[i].value=ele.accountId;
|
|
this.KSaccountList[index].children[i].key=ele.accountId;
|
|
this.KSaccountList[index].children[i].key=ele.accountId;
|
|
})
|
|
})
|