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
0b12e6f4
Commit
0b12e6f4
authored
Sep 03, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06769073
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
792 additions
and
664 deletions
+792
-664
addbillboard.vue
src/components/tradePavilion/addbillboard.vue
+504
-423
billboardList.vue
src/components/tradePavilion/billboardList.vue
+100
-73
listRegistration.vue
src/components/tradePavilion/listRegistration.vue
+153
-153
publishAlist.vue
src/components/tradePavilion/publishAlist.vue
+35
-15
No files found.
src/components/tradePavilion/addbillboard.vue
View file @
0b12e6f4
This diff is collapsed.
Click to expand it.
src/components/tradePavilion/billboardList.vue
View file @
0b12e6f4
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
type=
"primary"
type=
"primary"
:disabled=
"multipleSelection.length === 0"
:disabled=
"multipleSelection.length === 0"
@
click=
"downloadMultipleExcel"
@
click=
"downloadMultipleExcel"
>
下载多
榜单报名
>
批量下载
榜单报名
</el-button>
</el-button>
</div>
</div>
</div>
</div>
...
@@ -172,84 +172,104 @@
...
@@ -172,84 +172,104 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"ListStateName"
label=
"状态"
>
</el-table-column>
<el-table-column
prop=
"ListStateName"
label=
"状态"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"2
7
0"
>
<el-table-column
label=
"操作"
width=
"2
0
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
<div
style=
"height: 32px; display: flex; align-items: center"
>
class=
"item"
<el-tooltip
effect=
"dark"
class=
"item"
content=
"报名列表"
effect=
"dark"
placement=
"top"
content=
"报名列表"
>
placement=
"top"
<img
style=
"margin-right: 10px"
src=
"../../assets/img/userman/baoming.png"
>
alt=
""
<img
class=
"imgstyle"
src=
"../../assets/img/userman/baoming.png"
@
click=
"getItem(scope.row)"
alt=
""
/>
class=
"imgstyle"
</el-tooltip>
@
click=
"getItem(scope.row)"
<el-tooltip
/>
class=
"item"
</el-tooltip>
effect=
"dark"
<el-dropdown
size=
"medium"
>
content=
"放榜"
<el-button
type=
"primary"
size=
"mini"
>
placement=
"top"
更多菜单
<i
class=
"el-icon-arrow-down el-icon--right"
></i
v-if=
"scope.row.ListState === 2"
></el-button>
>
<el-dropdown-menu
slot=
"dropdown"
>
<img
<el-dropdown-item>
src=
"../../assets/img/setup/fangbang.png"
<el-tooltip
alt=
""
class=
"item"
class=
"imgstyle"
effect=
"dark"
@
click=
"fangbang(scope.row)"
content=
"放榜"
/>
placement=
"top"
</el-tooltip>
v-if=
"
<el-tooltip
scope.row.ListState === 2 || scope.row.ListState === 3
class=
"item"
"
effect=
"dark"
>
content=
"编辑"
<img
placement=
"top"
src=
"../../assets/img/setup/fangbang.png"
>
alt=
""
<img
class=
"imgstyle"
src=
"../../assets/img/setup/edit.png"
@
click=
"fangbang(scope.row)"
alt=
""
/>
class=
"imgstyle"
</el-tooltip>
@
click=
"EditgoUrl(scope.row)"
</el-dropdown-item>
/>
</el-tooltip>
<el-dropdown-item
v-if=
"scope.row.ListState == 5"
>
<el-tooltip
<el-tooltip
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
content=
"取消"
content=
"编辑"
placement=
"top"
placement=
"top"
>
>
<img
<img
src=
"../../assets/img/setup/del.png"
src=
"../../assets/img/setup/edit.png"
alt=
""
alt=
""
class=
"imgstyle"
class=
"imgstyle"
@
click=
"delete_b(scope.row)"
@
click=
"EditgoUrl(scope.row)"
/>
/>
</el-tooltip
</el-tooltip>
></el-dropdown-item>
<el-tooltip
<el-dropdown-item
v-if=
"scope.row.ListState === 5"
>
class=
"item"
<el-tooltip
effect=
"dark"
class=
"item"
content=
"下载榜单报名excel"
effect=
"dark"
placement=
"top"
content=
"删除"
>
placement=
"top"
<img
>
src=
"../../assets/img/userman/imgsc.png"
<img
alt=
""
src=
"../../assets/img/setup/del.png"
class=
"imgstyle"
alt=
""
@
click=
"downloadSingerExcel(scope.row)"
class=
"imgstyle"
/>
@
click=
"delete_b(scope.row)"
</el-tooltip>
/>
</el-tooltip
></el-dropdown-item>
<el-dropdown-item>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载榜单报名excel"
placement=
"top"
>
<img
src=
"../../assets/img/userman/status_1_active.png"
alt=
""
class=
"imgstyle"
@
click=
"downloadSingerExcel(scope.row)"
/>
</el-tooltip
></el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
<el-pagination
style=
"text-align: right"
style=
"text-align: right"
background
background
:current-page
.
sync=
"msg.pageIndex"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
@
size-change=
"handleSizeChange"
:page-sizes=
"[15, 30, 45, 60, 75, 90]"
:page-size=
"msg.pageSize"
:page-size=
"msg.pageSize"
:current-page
.
sync=
"msg.pageIndex"
layout=
"sizes,total,prev, pager, next"
layout=
"total,prev, pager, next"
:total=
"total"
:total=
"total"
>
>
</el-pagination>
</el-pagination>
...
@@ -342,7 +362,11 @@ export default {
...
@@ -342,7 +362,11 @@ export default {
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
handleSizeChange
(
val
)
{
this
.
msg
.
pageSize
=
val
;
this
.
getList
();
console
.
log
(
`每页
${
val
}
条`
);
},
delete_b
(
row
)
{
delete_b
(
row
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
Confirm
(
"是否删除?"
,
function
()
{
...
@@ -386,7 +410,7 @@ export default {
...
@@ -386,7 +410,7 @@ export default {
name
:
"listRegistration"
,
name
:
"listRegistration"
,
query
:
{
query
:
{
Id
:
row
.
Id
,
Id
:
row
.
Id
,
blank
:
"y"
,
status
:
row
.
ListState
,
},
},
});
});
},
},
...
@@ -424,7 +448,7 @@ export default {
...
@@ -424,7 +448,7 @@ export default {
this
.
GetLocalFile
(
this
.
GetLocalFile
(
"/api/Trade/GetFirstShopMoreListEnrollToExcel"
,
"/api/Trade/GetFirstShopMoreListEnrollToExcel"
,
{
ListIds
:
ids
},
{
ListIds
:
ids
},
"榜单报名列表.xls"
"
批量下载
榜单报名列表.xls"
);
);
},
},
},
},
...
@@ -469,4 +493,7 @@ export default {
...
@@ -469,4 +493,7 @@ export default {
padding
:
20px
;
padding
:
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.el-icon-arrow-down
{
font-size
:
12px
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/tradePavilion/listRegistration.vue
View file @
0b12e6f4
This diff is collapsed.
Click to expand it.
src/components/tradePavilion/publishAlist.vue
View file @
0b12e6f4
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<el-option
<el-option
v-for=
"item in enterpriseList"
v-for=
"item in enterpriseList"
:key=
"item.Id"
:key=
"item.Id"
:label=
"item.CompanyName"
:label=
"item.CompanyName
Obj
"
:value=
"item.Id"
:value=
"item.Id"
:disabled=
"item.disabled"
:disabled=
"item.disabled"
>
>
...
@@ -169,20 +169,38 @@ export default {
...
@@ -169,20 +169,38 @@ export default {
// this.msgListindex = index;
// this.msgListindex = index;
// },
// },
synchro
(
index
)
{
synchro
(
index
)
{
//奖章同步
this
.
$confirm
(
"后面所有奖章都将同步为当前奖章, 是否继续?"
,
"提示"
,
{
let
Small
=
""
;
confirmButtonText
:
"确定"
,
let
Grand
=
""
;
cancelButtonText
:
"取消"
,
this
.
msgList
.
forEach
((
x
,
y
)
=>
{
type
:
"warning"
,
if
(
y
==
index
)
{
})
Small
=
x
.
MedalImage
;
.
then
(()
=>
{
// Grand = x.MedalImageBig;
//奖章同步
}
let
Small
=
""
;
if
(
y
>
index
)
{
let
Grand
=
""
;
//之后同步数据
this
.
msgList
.
forEach
((
x
,
y
)
=>
{
x
.
MedalImage
=
Small
;
if
(
y
==
index
)
{
// x.MedalImageBig = Grand;
Small
=
x
.
MedalImage
;
}
// Grand = x.MedalImageBig;
});
}
if
(
y
>
index
)
{
//之后同步数据
x
.
MedalImage
=
Small
;
// x.MedalImageBig = Grand;
}
});
this
.
$message
({
type
:
"success"
,
message
:
"同步成功!"
,
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消同步"
,
});
});
return
;
},
},
selectdis
(
val
,
index
)
{
selectdis
(
val
,
index
)
{
this
.
enterpriseList
.
forEach
((
e
)
=>
{
this
.
enterpriseList
.
forEach
((
e
)
=>
{
...
@@ -259,7 +277,9 @@ export default {
...
@@ -259,7 +277,9 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
enterpriseList
=
[];
this
.
enterpriseList
=
[];
this
.
enterpriseList
=
res
.
data
.
data
;
this
.
enterpriseList
=
res
.
data
.
data
;
this
.
enterpriseList
.
forEach
((
e
,
i
)
=>
{
this
.
enterpriseList
.
forEach
((
e
,
i
)
=>
{
e
.
CompanyNameObj
=
e
.
CompanyName
+
"-"
+
e
.
ObjectName
;
e
.
disabled
=
false
;
e
.
disabled
=
false
;
});
});
}
}
...
...
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