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
06769073
Commit
06769073
authored
Sep 03, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c7669f99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
publishAlist.vue
src/components/tradePavilion/publishAlist.vue
+13
-6
No files found.
src/components/tradePavilion/publishAlist.vue
View file @
06769073
...
...
@@ -12,7 +12,9 @@
:key=
"y"
style=
"margin-bottom: 15px; border-bottom: 1px solid #e2e2e2"
>
<div
style=
"display: flex; align-items: flex-start"
>
<div
style=
"display: flex; align-items: flex-start; white-space: nowrap"
>
<span
v-if=
"dataobj.rankingType != 1"
style=
"line-height: 32px; margin-right: 15px"
...
...
@@ -142,7 +144,7 @@ export default {
UserId
:
""
,
//用户ID
Reviews
:
""
,
//评语
MedalImage
:
""
,
//小奖章
MedalImageBig
:
""
,
//大奖章
//
MedalImageBig: "", //大奖章
Rank
:
i
+
1
,
//排名
};
this
.
msgList
.
push
(
obj
);
...
...
@@ -173,12 +175,12 @@ export default {
this
.
msgList
.
forEach
((
x
,
y
)
=>
{
if
(
y
==
index
)
{
Small
=
x
.
MedalImage
;
Grand
=
x
.
MedalImageBig
;
//
Grand = x.MedalImageBig;
}
if
(
y
>
index
)
{
//之后同步数据
x
.
MedalImage
=
Small
;
x
.
MedalImageBig
=
Grand
;
//
x.MedalImageBig = Grand;
}
});
},
...
...
@@ -220,11 +222,13 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
"操作成功"
);
this
.
getData
();
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
);
}
else
{
this
.
$message
.
error
(
"请完善内容"
);
this
.
$message
.
error
(
"请完善
所有
内容"
);
}
},
//获取详情
...
...
@@ -236,7 +240,10 @@ export default {
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msgList
=
res
.
data
.
data
;
console
.
log
(
241
,
res
.
data
.
data
);
if
(
res
.
data
.
data
.
length
>
0
)
{
this
.
msgList
=
res
.
data
.
data
;
}
}
}
);
...
...
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