Commit 7261dc26 authored by zhengke's avatar zhengke

修改

parent aa0b1ac6
<style>
.signList_Table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}
.signTableDiv{
width:100%;
min-width: 800px;
/* overflow: hidden; */
overflow-x: auto;
}
.signList_Table th{
border:1px solid #EBEEF5;
height:48px;
line-height: 48px;
text-align: center;
color:#909399;
padding:0 10px;
text-align: left;
}
.signList_Table td{
border:1px solid #EBEEF5;
height:48px;
line-height: 48px;
text-align: center;
color:#606266;
font-size:14px;
padding:0 10px;
text-align: left;
}
.signList_Table tr:hover>td{
background-color: #F5F7FA;
}
</style>
<template> <template>
<div class="signList tradeactivity"> <div class="signList tradeactivity">
<div class="head-title"> <div class="head-title">
...@@ -17,77 +52,79 @@ ...@@ -17,77 +52,79 @@
<el-button style="float:right;margin-top: -5px;" size="small" type="primary" @click="Export()">导出</el-button> <el-button style="float:right;margin-top: -5px;" size="small" type="primary" @click="Export()">导出</el-button>
</div> </div>
</div> </div>
<table class="signTable"> <div class="signTableDiv">
<thead> <table class="signList_Table" cellpadding="0" cellspa>
<tr> <thead>
<th> <tr>
用户昵称 <th>
</th> 用户昵称
<th> </th>
认证状态 <th>
</th> 认证状态
<th> </th>
认证公司 <th>
</th> 认证公司
<th> </th>
认证信息 <th>
</th> 认证信息
<th> </th>
公司 <th>
</th> 公司
<th> </th>
性质 <th>
</th> 性质
<th> </th>
联系人 <th>
</th> 联系人
<th> </th>
联系电话 <th>
</th> 联系电话
<th> </th>
职务 <th>
</th> 职务
<th> </th>
地址 <th>
</th> 地址
</tr> </th>
</thead> </tr>
<tbody v-for="(item,index) in tableData" :key="index"> </thead>
<tr v-for="(sItem,sIndex) in item.SignUserList" :key="sIndex"> <tbody v-for="(item,index) in tableData" :key="index">
<td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'> <tr v-for="(sItem,sIndex) in item.SignUserList" :key="sIndex">
{{item.UserName}} <td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'>
</td> {{item.UserName}}
<td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'> </td>
{{item.CompanyStatusStr}} <td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'>
</td> {{item.CompanyStatusStr}}
<td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'> </td>
{{item.CompanyName}} <td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'>
</td> {{item.CompanyName}}
<td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'> </td>
{{item.AuthName}} <td :rowspan="item.SignUserList.length>1?item.SignUserList.length:0" v-if='sIndex==0'>
</td> {{item.AuthName}}
<td> </td>
{{sItem.CompanyName}} <td>
</td> {{sItem.CompanyName}}
<td> </td>
{{sItem.Nature}} <td>
</td> {{sItem.Nature}}
<td> </td>
{{sItem.LinkMan}} <td>
</td> {{sItem.LinkMan}}
<td> </td>
{{sItem.LinkTel}} <td>
</td> {{sItem.LinkTel}}
<td> </td>
{{sItem.Post}} <td>
</td> {{sItem.Post}}
<td> </td>
{{sItem.CountryInfo}} <td>
</td> {{sItem.CountryInfo}}
</tr> </td>
</tbody> </tr>
</tbody>
</table> </table>
</div>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize" <el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
:current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :total="total"> :current-page.sync="msg.pageIndex" layout="total,prev, pager, next" :total="total">
</el-pagination> </el-pagination>
...@@ -110,7 +147,7 @@ ...@@ -110,7 +147,7 @@
created() {}, created() {},
mounted() { mounted() {
if (this.$route.query.Id) { if (this.$route.query.Id) {
//this.msg.ActivityId = this.$route.query.Id; this.msg.ActivityId = this.$route.query.Id;
} }
this.getList(); this.getList();
}, },
...@@ -122,7 +159,7 @@ ...@@ -122,7 +159,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.tableData = res.data.data.pageData; this.tableData = res.data.data.pageData;
console.log("tableData", this.tableData); console.log("tableData", this.tableData);
this.total = res.data.data.pageCount; this.total = res.data.data.count;
} }
}) })
}, },
......
...@@ -46,9 +46,10 @@ ...@@ -46,9 +46,10 @@
</el-table-column> </el-table-column>
<el-table-column prop="JoinNum" label="报名人数"> <el-table-column prop="JoinNum" label="报名人数">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="dialogTableVisible = true,getItem(scope.row)"> <!-- <el-button type="text" @click="dialogTableVisible = true,getItem(scope.row)">
{{scope.row.JoinNum}} {{scope.row.JoinNum}}
</el-button> </el-button> -->
{{scope.row.JoinNum}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Id" width="200" label="操作"> <el-table-column prop="Id" width="200" label="操作">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment