Explorar o código

团购管理-报名审核-添加报名-选择团队没有回显备注

shipeng hai 1 semana
pai
achega
10348f6993
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      src/views/team/applicationMr/dialog/addAndEdit.vue

+ 10 - 1
src/views/team/applicationMr/dialog/addAndEdit.vue

@@ -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