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
8a1f3d03
Commit
8a1f3d03
authored
Sep 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
982f842c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
65 deletions
+84
-65
signList.vue
src/components/tradePavilion/signList.vue
+84
-65
No files found.
src/components/tradePavilion/signList.vue
View file @
8a1f3d03
...
...
@@ -17,40 +17,77 @@
<el-button
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
@
click=
"Export()"
>
导出
</el-button>
</div>
</div>
<el-table
:data=
"tableData"
:span-method=
"objectSpanMethod"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"UserName"
label=
"用户名"
>
</el-table-column>
<el-table-column
prop=
"CompanyStatusStr"
label=
"状态"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"CompanyName"
label=
"公司"
>
</el-table-column>
<el-table-column
prop=
"SignUserList"
label=
"所属国籍/省/市"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
SignUserList
[
0
].
CountryInfo
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"SignUserList"
label=
"联系人"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
SignUserList
[
0
].
LinkMan
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"SignUserList"
label=
"联系电话"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
SignUserList
[
0
].
LinkTel
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"SignUserList"
label=
"性质"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
SignUserList
[
0
].
Nature
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"SignUserList"
label=
"公司职务"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
SignUserList
[
0
].
Post
}}
</
template
>
</el-table-column>
</el-table>
<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>
</table>
<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>
...
...
@@ -64,17 +101,16 @@
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
ActivityId
:
0
ActivityId
:
0
},
tableData
:
[],
total
:
0
,
};
},
created
()
{
},
created
()
{},
mounted
()
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
msg
.
ActivityId
=
this
.
$route
.
query
.
Id
;
if
(
this
.
$route
.
query
.
Id
)
{
//
this.msg.ActivityId = this.$route.query.Id;
}
this
.
getList
();
},
...
...
@@ -101,36 +137,19 @@
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
objectSpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
})
{
// console.log(row,'row');
// console.log(column,'column');
// console.log(rowIndex,'rowIndex');
// console.log(columnIndex,'columnIndex');
if
(
columnIndex
==
0
||
columnIndex
==
1
||
columnIndex
==
2
){
return
{
rowspan
:
row
.
RowSpan
,
colspan
:
1
};
}
// if (columnIndex === 0 ||columnIndex === 1||columnIndex === 2) {
// if (rowIndex % 2 === 0) {
// return {
// rowspan: 2,
// colspan: 1
// };
// } else {
// return {
// rowspan: 0,
// colspan: 0
// };
// }
// }
}
},
}
};
</
script
>
<
style
>
.signTable
{
border-collapse
:
collapse
;
}
.signTable
tr
td
{
border
:
1px
solid
grey
;
}
.signList
.remark_name
{
color
:
#888888
;
font-size
:
12px
;
...
...
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