|
@ -205,12 +205,12 @@ |
|
|
principal(row) { |
|
|
principal(row) { |
|
|
this.principalShow = true |
|
|
this.principalShow = true |
|
|
this.editPrincipalData.partyOrgId = row.id |
|
|
this.editPrincipalData.partyOrgId = row.id |
|
|
|
|
|
this.editPrincipalData.principal = row.principal |
|
|
this.$http.post('/data/aggregator/org/staff-select-list/'+row.agencyId,{'params': {}}).then(({ data: res }) =>{ |
|
|
this.$http.post('/data/aggregator/org/staff-select-list/'+row.agencyId,{'params': {}}).then(({ data: res }) =>{ |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') |
|
|
return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') |
|
|
} else { |
|
|
} else { |
|
|
this.staffs = res.data |
|
|
this.staffs = res.data |
|
|
console.log(this.staffs) |
|
|
|
|
|
} |
|
|
} |
|
|
}).catch(() => {}) |
|
|
}).catch(() => {}) |
|
|
}, |
|
|
}, |
|
|