|
|
@@ -98,7 +98,30 @@
|
|
|
<el-dialog width="80%" class="hotel"
|
|
|
:title="dialogTitle" :close-on-click-modal='false'
|
|
|
:visible.sync="dialogVisible">
|
|
|
- <Hotel :status='status' :cur_id='cur_id' @addSuccess='add'/>
|
|
|
+ <Hotel @view='viewUser' :status='status' :cur_id='cur_id' @addSuccess='add'/>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog width="80%" class="hotel"
|
|
|
+ title="报名列表" :close-on-click-modal='false'
|
|
|
+ :visible.sync="dialogVisible1">
|
|
|
+ <el-table
|
|
|
+ class="table"
|
|
|
+ :data="user_list" height="400"
|
|
|
+ default-expand-all
|
|
|
+ style="width: 100%;margin-top:10px;">
|
|
|
+ <el-table-column prop="name" label="真实姓名">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="username" label="昵称">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="" label="头像">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ctime" label="性别">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{scope.row.sex==0?'男':'女'}}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phone" label="手机号">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</el-dialog>
|
|
|
</section>
|
|
|
</template>
|
|
|
@@ -120,12 +143,20 @@ export default {
|
|
|
loading:false,
|
|
|
dialogTitle:'添加酒店',
|
|
|
dialogVisible:false,
|
|
|
+ dialogVisible1:false,
|
|
|
status:'add',
|
|
|
cur_id:'',
|
|
|
- conference_list:[]
|
|
|
+ conference_list:[],
|
|
|
+ user_list:[]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ viewUser(data){
|
|
|
+ this.dialogVisible1=true
|
|
|
+ this.$api.getSignupList(data).then(res=>{
|
|
|
+ this.user_list=res.data.data.list;
|
|
|
+ })
|
|
|
+ },
|
|
|
add(){
|
|
|
this.dialogVisible=false;
|
|
|
this.getData();
|