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
faaae947
Commit
faaae947
authored
Sep 03, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
86910fba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
47 deletions
+77
-47
listRegistration.vue
src/components/tradePavilion/listRegistration.vue
+77
-47
No files found.
src/components/tradePavilion/listRegistration.vue
View file @
faaae947
...
...
@@ -19,14 +19,14 @@
</el-option>
</el-select>
<span
style=
"margin-left: 10px"
>
面向群体
</span>
<el-select
size=
"small"
v-model=
"msg.ObjectType"
filterable
@
change=
"(msg.pageIndex = 1), getList()"
<el-select
size=
"small"
v-model=
"msg.ObjectType"
filterable
@
change=
"(msg.pageIndex = 1), getList()"
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
v-for=
"item in ListObjectType"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
<span
style=
"margin-left: 10px"
>
状态
</span>
<el-select
size=
"small"
v-model=
"msg.CandidateState"
filterable
@
change=
"(msg.pageIndex = 1), getList()"
<el-select
size=
"small"
v-model=
"msg.CandidateState"
filterable
@
change=
"(msg.pageIndex = 1), getList()"
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"报名中"
:value=
"1"
></el-option>
...
...
@@ -51,31 +51,36 @@
</div>
</
template
>
</el-table-column>
<
!-- <el-table-column prop="UserName" label="关联图片/视频
">
<
el-table-column
prop=
"UserName"
label=
"用户
"
>
<
template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style="{backgroundImage:'url(' + scope.row.
images[0]
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + scope.row.
UserIcon
+ ')',backgroundSize:'cover'}">
</div>
<div flex="dir:left cross:center" @click="joinData = scope.row,dialogTableVisible=true"
style="margin-top:14px;cursor: pointer;color: blue;">
查看更多
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
UserName
}}
</div>
</
template
>
</el-table-column> -->
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"奖章"
>
<
template
slot-scope=
"scope"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.MedalImage + ')',backgroundSize:'cover'}">
</div>
</
template
>
</el-table-column>
<!-- <el-table-column prop="Status" label="状态" width='140'>
<el-table-column
prop=
"Reviews"
label=
"评语"
>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"候选状态"
>
<
template
slot-scope=
"scope"
>
<span v-if="scope.row.Status==1">入榜(第x名)</span>
<span v-if="scope.row.Status==2">淘汰</span>
<span v-if="scope.row.Status==3">未评比</span>
<span
v-if=
"scope.row.CandidateState==1"
>
报名中
</span>
<span
v-if=
"scope.row.CandidateState==2"
>
候选
</span>
<span
v-if=
"scope.row.CandidateState==3"
>
淘汰
</span>
</
template
>
</el-table-column> -->
</el-table-column>
<el-table-column
prop=
"CreateDate"
label=
"报名时间"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"180"
>
...
...
@@ -84,16 +89,20 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
<img
src=
"../../assets/img/userman/icon-show.png"
alt=
""
class=
"imgstyle"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"淘汰"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"淘汰"
placement=
"top"
v-if=
"scope.row.CandidateState==1"
>
<img
src=
"../../assets/img/userman/nopass.png"
alt=
""
class=
"imgstyle"
@
click=
"eliminate(scope.row)"
/>
v-if=
"scope.row.CandidateState==1"
@
click=
"eliminate(scope.row)"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"候选"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"候选"
placement=
"top"
v-if=
"scope.row.CandidateState==1"
>
<img
src=
"../../assets/img/userman/pass.png"
alt=
""
class=
"imgstyle"
@
click=
"candidate(scope.row)"
/>
v-if=
"scope.row.CandidateState==1"
@
click=
"candidate(scope.row)"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"重置"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"重置"
placement=
"top"
v-if=
"scope.row.CandidateState==3 || scope.row.CandidateState==2"
>
<img
src=
"../../assets/img/userman/reset.png"
alt=
""
class=
"imgstyle"
v-if=
"scope.row.CandidateState==3 || scope.row.CandidateState==2"
@
click=
"delete_b(scope.row)"
/>
</el-tooltip>
...
...
@@ -150,8 +159,8 @@
Id
:
0
,
Moblie
:
''
},
ListObjectType
:[]
ListObjectType
:
[]
};
...
...
@@ -204,34 +213,55 @@
},
eliminate
(
row
)
{
//淘汰对象
let
that
=
this
;
that
.
Confirm
(
"你确定要将改对象淘汰吗?"
,
function
()
{
console
.
log
(
'你确定要将改对象淘汰吗'
)
});
that
.
$confirm
(
"你确定要将改对象淘汰吗?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
that
.
setFirstShop
(
row
.
Id
,
1
)
})
.
catch
(()
=>
{
});
},
setFirstShop
(
id
,
type
)
{
let
that
=
this
;
that
.
apipost
(
"/api/Trade/SetFirstShopEnrollState"
,
{
EnrollId
:
id
,
Type
:
type
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
})
},
candidate
(
row
)
{
//候选对象
let
that
=
this
;
that
.
Confirm
(
"你确定将该对象纳入为候选吗?"
,
function
()
{
console
.
log
(
'你确定将该对象纳入为候选吗'
)
});
that
.
$confirm
(
"你确定将该对象纳入为候选吗?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
that
.
setFirstShop
(
row
.
Id
,
2
)
})
.
catch
(()
=>
{
});
},
delete_b
(
row
)
{
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
"/api/Trade/DelFirstShopWishInfo"
,
{
WishId
:
row
.
Id
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
}
);
});
that
.
$confirm
(
"你确定重置状态?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
that
.
setFirstShop
(
row
.
Id
,
3
)
})
.
catch
(()
=>
{
});
},
EditgoUrl
()
{
...
...
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