Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
7261dc26
Commit
7261dc26
authored
Sep 02, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
aa0b1ac6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
74 deletions
+112
-74
signList.vue
src/components/tradePavilion/signList.vue
+109
-72
tradeactivityList.vue
src/components/tradePavilion/tradeactivityList.vue
+3
-2
No files found.
src/components/tradePavilion/signList.vue
View file @
7261dc26
<
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
>
<div
class=
"signList tradeactivity"
>
<div
class=
"head-title"
>
...
...
@@ -17,77 +52,79 @@
<el-button
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
@
click=
"Export()"
>
导出
</el-button>
</div>
</div>
<table
class=
"signTable"
>
<thead>
<tr>
<th>
用户昵称
</th>
<th>
认证状态
</th>
<th>
认证公司
</th>
<th>
认证信息
</th>
<th>
公司
</th>
<th>
性质
</th>
<th>
联系人
</th>
<th>
联系电话
</th>
<th>
职务
</th>
<th>
地址
</th>
</tr>
</thead>
<tbody
v-for=
"(item,index) in tableData"
:key=
"index"
>
<tr
v-for=
"(sItem,sIndex) in item.SignUserList"
:key=
"sIndex"
>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
UserName
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
CompanyStatusStr
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
CompanyName
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
AuthName
}}
</td>
<td>
{{
sItem
.
CompanyName
}}
</td>
<td>
{{
sItem
.
Nature
}}
</td>
<td>
{{
sItem
.
LinkMan
}}
</td>
<td>
{{
sItem
.
LinkTel
}}
</td>
<td>
{{
sItem
.
Post
}}
</td>
<td>
{{
sItem
.
CountryInfo
}}
</td>
</tr>
</tbody>
<div
class=
"signTableDiv"
>
<table
class=
"signList_Table"
cellpadding=
"0"
cellspa
>
<thead>
<tr>
<th>
用户昵称
</th>
<th>
认证状态
</th>
<th>
认证公司
</th>
<th>
认证信息
</th>
<th>
公司
</th>
<th>
性质
</th>
<th>
联系人
</th>
<th>
联系电话
</th>
<th>
职务
</th>
<th>
地址
</th>
</tr>
</thead>
<tbody
v-for=
"(item,index) in tableData"
:key=
"index"
>
<tr
v-for=
"(sItem,sIndex) in item.SignUserList"
:key=
"sIndex"
>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
UserName
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
CompanyStatusStr
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
CompanyName
}}
</td>
<td
:rowspan=
"item.SignUserList.length>1?item.SignUserList.length:0"
v-if=
'sIndex==0'
>
{{
item
.
AuthName
}}
</td>
<td>
{{
sItem
.
CompanyName
}}
</td>
<td>
{{
sItem
.
Nature
}}
</td>
<td>
{{
sItem
.
LinkMan
}}
</td>
<td>
{{
sItem
.
LinkTel
}}
</td>
<td>
{{
sItem
.
Post
}}
</td>
<td>
{{
sItem
.
CountryInfo
}}
</td>
</tr>
</tbody>
</table>
</table>
</div>
<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"
>
</el-pagination>
...
...
@@ -110,7 +147,7 @@
created
()
{},
mounted
()
{
if
(
this
.
$route
.
query
.
Id
)
{
//
this.msg.ActivityId = this.$route.query.Id;
this
.
msg
.
ActivityId
=
this
.
$route
.
query
.
Id
;
}
this
.
getList
();
},
...
...
@@ -122,7 +159,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"tableData"
,
this
.
tableData
);
this
.
total
=
res
.
data
.
data
.
pageC
ount
;
this
.
total
=
res
.
data
.
data
.
c
ount
;
}
})
},
...
...
src/components/tradePavilion/tradeactivityList.vue
View file @
7261dc26
...
...
@@ -46,9 +46,10 @@
</el-table-column>
<el-table-column
prop=
"JoinNum"
label=
"报名人数"
>
<
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
}}
人
</el-button>
</el-button>
-->
{{
scope
.
row
.
JoinNum
}}
人
</
template
>
</el-table-column>
<el-table-column
prop=
"Id"
width=
"200"
label=
"操作"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment