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
fdc9388d
Commit
fdc9388d
authored
Sep 03, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
485bdefa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
4 deletions
+46
-4
billboardList.vue
src/components/tradePavilion/billboardList.vue
+45
-3
listRegistration.vue
src/components/tradePavilion/listRegistration.vue
+1
-1
No files found.
src/components/tradePavilion/billboardList.vue
View file @
fdc9388d
...
...
@@ -18,6 +18,15 @@
@
click=
"downloadMultipleExcel"
>
批量下载榜单报名
</el-button>
<el-button
style=
"float: right; margin-top: -5px; margin-right: 10px"
size=
"small"
type=
"primary"
:disabled=
"multipleSelection.length === 0"
@
click=
"downloadMultiplefujian"
:loading=
"fujianLoading"
>
榜单附件导出
</el-button>
</div>
</div>
<div
class=
"content"
>
...
...
@@ -172,7 +181,7 @@
</el-table-column>
<el-table-column
prop=
"ListStateName"
label=
"状态"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"
20
0"
>
<el-table-column
label=
"操作"
width=
"
14
0"
>
<
template
slot-scope=
"scope"
>
<div
style=
"height: 32px; display: flex; align-items: center"
>
<el-tooltip
...
...
@@ -191,7 +200,7 @@
</el-tooltip>
<el-dropdown
size=
"medium"
>
<el-button
type=
"primary"
size=
"mini"
>
更多
菜单
<i
class=
"el-icon-arrow-down el-icon--right"
></i
更多
<i
class=
"el-icon-arrow-down el-icon--right"
></i
></el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item>
...
...
@@ -245,7 +254,7 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载榜单报名
excel
"
content=
"下载榜单报名"
placement=
"top"
>
<img
...
...
@@ -313,6 +322,7 @@ export default {
ListState
:
[],
//榜单状态 枚举
ListObjectType
:
[],
//面向群体 枚举
multipleSelection
:
[],
//多选
fujianLoading
:
false
,
};
},
created
()
{
...
...
@@ -451,6 +461,38 @@ export default {
"批量下载榜单报名列表.xls"
);
},
// 导出榜单附件
downloadMultiplefujian
()
{
this
.
fujianLoading
=
true
;
let
ids
=
this
.
multipleSelection
.
map
((
e
)
=>
e
.
Id
).
toString
();
this
.
apipost
(
"/api/Trade/GetFirstShopEnrollZipExport"
,
{
ListIds
:
ids
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
fujianLoading
=
false
;
let
a
=
document
.
createElement
(
"a"
);
a
.
href
=
this
.
domainManager
().
DomainUrl
+
res
.
data
.
data
;
a
.
download
=
"榜单附件.zip"
;
a
.
click
();
this
.
delDownloadMultiplefujian
(
res
.
data
.
data
);
}
}
);
},
//删除附件
delDownloadMultiplefujian
(
url
)
{
this
.
apipost
(
"/api/Trade/DelFirstShopEnrollZipExport"
,
{
Url
:
url
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
);
},
},
mounted
()
{},
};
...
...
src/components/tradePavilion/listRegistration.vue
View file @
fdc9388d
...
...
@@ -47,7 +47,7 @@
:style=
"
{backgroundImage:'url(' + scope.row.ObjectIcon + ')',backgroundSize:'cover'}">
</div>
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
ObjectName
}}
{{
scope
.
row
.
ObjectName
}}
</div>
</
template
>
</el-table-column>
...
...
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