|
@@ -120,7 +120,7 @@ p {
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="user_code" label="选手代码" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <div style="text-decoration:underline" @click="pushOrder(scope.row.phone)">{{scope.row.user_code}}</div>
|
|
|
+ <div style="text-decoration:underline" @click="pushOrder(scope.row)">{{scope.row.user_code}}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="phone" label="手机号" width="100" />
|
|
@@ -436,6 +436,7 @@ export default {
|
|
|
this.list = res.data.data.list;
|
|
|
this.total = res.data.data.total;
|
|
|
this.loading = false;
|
|
|
+ console.log(this.list)
|
|
|
});
|
|
|
},
|
|
|
edit(row) {
|
|
@@ -538,8 +539,12 @@ export default {
|
|
|
this.playerList = [];
|
|
|
}
|
|
|
},
|
|
|
- pushOrder(user_phone){
|
|
|
- this.$router.push({path:'/signup',query:{phone:user_phone}})
|
|
|
+ pushOrder(data){
|
|
|
+ if(data.phone){
|
|
|
+ this.$router.push({path:'/signup',query:{phone:data.phone}})
|
|
|
+ } else{
|
|
|
+ this.$router.push({path:'/signup',query:{phone:data.user_name}})
|
|
|
+ }
|
|
|
},
|
|
|
pushData(user_code){
|
|
|
this.$router.push({path:'/data',query:{usercode:user_code}})
|