|
@@ -345,7 +345,16 @@ export default {
|
|
|
this.teamIdLoading = true
|
|
|
teamPageList(this.addDateRange({pageNum: 1, pageSize: 900,name:key}))
|
|
|
.then(response => {
|
|
|
- this.teamList = response.data.rows;
|
|
|
+ let teamArr = []
|
|
|
+ teamArr = response.data.rows || []
|
|
|
+ if(teamArr.length != 0) {
|
|
|
+ teamArr.forEach(ele => {
|
|
|
+ if(ele.remark) {
|
|
|
+ ele.name = ele.name + '(' + ele.remark +')'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ this.teamList = teamArr
|
|
|
this.teamIdLoading = false
|
|
|
}).catch(()=>{
|
|
|
this.teamIdLoading = true
|