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
228f609b
Commit
228f609b
authored
Sep 03, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c0f6ffe1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
45 deletions
+102
-45
addbillboard.vue
src/components/tradePavilion/addbillboard.vue
+0
-1
billboardList.vue
src/components/tradePavilion/billboardList.vue
+93
-43
publishAlist.vue
src/components/tradePavilion/publishAlist.vue
+9
-1
No files found.
src/components/tradePavilion/addbillboard.vue
View file @
228f609b
...
...
@@ -352,7 +352,6 @@ export default {
if
(
this
.
addMsg
.
StartDate
&&
this
.
addMsg
.
EndDate
)
{
this
.
value
=
[
this
.
addMsg
.
StartDate
,
this
.
addMsg
.
EndDate
];
}
console
.
log
(
355
,
this
.
addMsg
,
this
.
addMsg
.
FinishDate
);
}
}
);
...
...
src/components/tradePavilion/billboardList.vue
View file @
228f609b
...
...
@@ -198,32 +198,7 @@
@
click=
"getItem(scope.row)"
/>
</el-tooltip>
<el-dropdown
size=
"medium"
>
<el-button
type=
"primary"
size=
"mini"
>
更多
<i
class=
"el-icon-arrow-down el-icon--right"
></i
></el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"放榜"
placement=
"top"
v-if=
"
scope.row.ListState === 2 || scope.row.ListState === 3
"
>
<img
src=
"../../assets/img/setup/fangbang.png"
alt=
""
class=
"imgstyle"
@
click=
"fangbang(scope.row)"
/>
</el-tooltip>
</el-dropdown-item>
<el-dropdown-item
v-if=
"scope.row.ListState == 5"
>
<el-tooltip
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
...
...
@@ -235,9 +210,8 @@
class=
"imgstyle"
@
click=
"EditgoUrl(scope.row)"
/>
</el-tooltip
></el-dropdown-item>
<el-dropdown-item
v-if=
"scope.row.ListState === 5"
>
<el-tooltip
>
-->
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
...
...
@@ -248,10 +222,25 @@
alt=
""
class=
"imgstyle"
@
click=
"delete_b(scope.row)"
/>
</el-tooltip
></el-dropdown-item>
<el-dropdown-item>
<el-tooltip
/>
</el-tooltip>
-->
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"放榜"
placement=
"top"
v-if=
"
scope.row.ListState === 2 || scope.row.ListState === 3
"
>
<img
src=
"../../assets/img/setup/fangbang.png"
alt=
""
class=
"imgstyle"
@
click=
"fangbang(scope.row)"
/>
</el-tooltip>
-->
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载榜单报名"
...
...
@@ -262,8 +251,48 @@
alt=
""
class=
"imgstyle"
@
click=
"downloadSingerExcel(scope.row)"
/>
</el-tooltip
></el-dropdown-item>
/>
</el-tooltip>
-->
<el-dropdown
size=
"medium"
trigger=
"click"
>
<el-button
plain
size=
"mini"
>
更多
<i
class=
"el-icon-arrow-down el-icon--right"
></i
></el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-if=
"
scope.row.ListState === 2 || scope.row.ListState === 3
"
>
<div
@
click=
"fangbang(scope.row)"
>
放榜
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"
scope.row.ListState === 2 || scope.row.ListState === 3
"
>
<div
@
click=
"fangbangDetail(scope.row)"
>
放榜详情
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"
scope.row.ListState == 5 ||
scope.row.ListState == 1 ||
scope.row.ListState === 4
"
>
<div
@
click=
"EditgoUrl(scope.row)"
>
编辑
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"
scope.row.ListState === 5 || scope.row.ListState === 4
"
>
<div
@
click=
"delete_b(scope.row)"
>
删除
</div>
</el-dropdown-item>
<el-dropdown-item
><div
@
click=
"downloadSingerExcel(scope.row)"
>
下载榜单报名
</div>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
@@ -441,11 +470,25 @@ export default {
},
});
},
fangbangDetail
(
row
)
{
//放榜详情
this
.
$router
.
push
({
name
:
"publishAlist"
,
query
:
{
Id
:
row
.
Id
,
PrizeNum
:
row
.
PrizeNum
,
isRank
:
row
.
EnableRank
,
readonly
:
1
,
},
});
},
// 导出单个excel
downloadSingerExcel
(
item
)
{
this
.
GetLocalFile
(
"/api/Trade/GetFirstShopListEnrollToExcel"
,
{
ListId
:
item
.
Id
},
{
ListId
:
item
.
Id
,
},
"榜单报名列表.xls"
);
},
...
...
@@ -457,7 +500,9 @@ export default {
let
ids
=
this
.
multipleSelection
.
map
((
e
)
=>
e
.
Id
).
toString
();
this
.
GetLocalFile
(
"/api/Trade/GetFirstShopMoreListEnrollToExcel"
,
{
ListIds
:
ids
},
{
ListIds
:
ids
,
},
"批量下载榜单报名列表.xls"
);
},
...
...
@@ -467,7 +512,9 @@ export default {
let
ids
=
this
.
multipleSelection
.
map
((
e
)
=>
e
.
Id
).
toString
();
this
.
apipost
(
"/api/Trade/GetFirstShopEnrollZipExport"
,
{
ListIds
:
ids
},
{
ListIds
:
ids
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
fujianLoading
=
false
;
...
...
@@ -484,7 +531,9 @@ export default {
delDownloadMultiplefujian
(
url
)
{
this
.
apipost
(
"/api/Trade/DelFirstShopEnrollZipExport"
,
{
Url
:
url
},
{
Url
:
url
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
...
...
@@ -535,6 +584,7 @@ export default {
padding
:
20px
;
box-sizing
:
border-box
;
}
.el-icon-arrow-down
{
font-size
:
12px
;
}
...
...
src/components/tradePavilion/publishAlist.vue
View file @
228f609b
...
...
@@ -33,6 +33,7 @@
placeholder=
"请选择"
@
change=
"selectdis($event, y)"
clearable
:disabled=
"readonly"
>
<el-option
v-for=
"item in enterpriseList"
...
...
@@ -52,6 +53,7 @@
:show-file-list=
"false"
:http-request=
"UploadSmall"
:data=
"
{ index: y }"
:disabled="readonly"
>
<i
v-if=
"!x.MedalImage || x.MedalImage == ''"
...
...
@@ -65,6 +67,7 @@
effect=
"dark"
content=
"奖章同步"
placement=
"top"
v-if=
"!readonly"
>
<img
src=
"../../assets/img/userman/reset.png"
...
...
@@ -81,12 +84,13 @@
v-model=
"x.Reviews"
class=
"w400"
style=
"margin-left: 15px"
:disabled=
"readonly"
>
</el-input>
</div>
</div>
</div>
<div
style=
"margin-top: 20px"
>
<div
style=
"margin-top: 20px"
v-if=
"!readonly"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"Save(1)"
>
暂存
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"Save(2)"
>
放榜
</el-button>
</div>
...
...
@@ -123,6 +127,7 @@ export default {
ListId
:
0
,
List
:
[],
},
readonly
:
0
,
//页面只读
};
},
created
()
{
...
...
@@ -131,6 +136,9 @@ export default {
this
.
getData
(
this
.
$route
.
query
.
Id
);
this
.
GetFirstShopEnrollCandidateList
(
this
.
$route
.
query
.
Id
);
}
if
(
this
.
$route
.
query
.
readonly
)
{
this
.
readonly
=
this
.
$route
.
query
.
readonly
;
}
if
(
this
.
$route
.
query
.
PrizeNum
)
{
this
.
dataobj
.
Finalists
=
this
.
$route
.
query
.
PrizeNum
;
}
...
...
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