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
bbbd6146
Commit
bbbd6146
authored
Sep 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d18d5a29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
166 additions
and
0 deletions
+166
-0
signList.vue
src/components/tradePavilion/signList.vue
+166
-0
No files found.
src/components/tradePavilion/signList.vue
0 → 100644
View file @
bbbd6146
<
template
>
<div
class=
"signList tradeactivity"
>
<div
class=
"head-title"
>
活动报名列表
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:250px"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"活动名称"
v-model=
"msg.ActivityName"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
label=
"编号"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"ActivityName"
label=
"活动名称"
>
</el-table-column>
<el-table-column
prop=
"ActivityTypeName"
label=
"活动类型"
>
</el-table-column>
<el-table-column
prop=
"CoverImg"
label=
"封面图"
>
<template
slot-scope=
"scope"
>
<el-image
title=
"点击查看大图"
style=
"width:50px;"
:src=
"scope.row.CoverImg"
:preview-src-list=
"scope.row.CoverList"
></el-image>
</
template
>
</el-table-column>
<el-table-column
prop=
"StartTimeStr"
label=
"活动时间"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
StartTimeStr
}}
</span><br
/>
<span>
{{
scope
.
row
.
EndTimeStr
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"SignStartTimeStr"
label=
"报名时间"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
SignStartTimeStr
}}
</span><br
/>
<span>
{{
scope
.
row
.
SignEndTimeStr
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"ActivityStatusStr"
label=
"活动状态"
>
</el-table-column>
<el-table-column
prop=
"JoinNum"
label=
"报名人数"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"dialogTableVisible = true,getItem(scope.row)"
>
{{
scope
.
row
.
JoinNum
}}
人
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"Id"
width=
"200"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
@
click=
"EditType(scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看报名"
placement=
"top-start"
>
<img
@
click=
"delType(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<img
@
click=
"delType(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
</el-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>
</div>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
},
tableData
:
[],
total
:
0
,
};
},
created
()
{
this
.
getList
();
},
mounted
()
{},
methods
:
{
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetCommerceConsultStaticPage"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"tableData"
,
this
.
tableData
);
this
.
total
=
res
.
data
.
data
.
pageCount
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
},
};
</
script
>
<
style
>
.signList
.remark_name
{
color
:
#888888
;
font-size
:
12px
;
margin-left
:
10px
;
float
:
right
;
}
.signList
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.signList
.blue
{
color
:
#409EFF
;
}
.signList
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
}
.signList
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
height
:
30px
;
line-height
:
30px
;
}
.signList
.content
.searchInput
{
line-height
:
normal
;
display
:
inline-table
;
width
:
100%
;
border-collapse
:
separate
;
border-spacing
:
0
;
width
:
250px
;
margin-right
:
20px
;
}
.signList
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.tradeactivity
.el-form-item__content
{
line-height
:
0
;
}
</
style
>
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