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 @@
...
@@ -19,14 +19,14 @@
</el-option>
</el-option>
</el-select>
</el-select>
<span
style=
"margin-left: 10px"
>
面向群体
</span>
<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=
"请选择"
>
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<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
v-for=
"item in ListObjectType"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
style=
"margin-left: 10px"
>
状态
</span>
<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=
"请选择"
>
placeholder=
"请选择"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"报名中"
:value=
"1"
></el-option>
<el-option
label=
"报名中"
:value=
"1"
></el-option>
...
@@ -51,31 +51,36 @@
...
@@ -51,31 +51,36 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
!-- <el-table-column prop="UserName" label="关联图片/视频
">
<
el-table-column
prop=
"UserName"
label=
"用户
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"app-image"
<div
class=
"app-image"
:style="{backgroundImage:'url(' + scope.row.
images[0]
+ ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + scope.row.
UserIcon
+ ')',backgroundSize:'cover'}">
</div>
</div>
<div flex="dir:left cross:center" @click="joinData = scope.row,dialogTableVisible=true"
<div
flex=
"dir:left cross:center"
>
style="margin-top:14px;cursor: pointer;color: blue;">
{{
scope
.
row
.
UserName
}}
查看更多
</div>
</div>
</
template
>
</
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"
>
<
template
slot-scope=
"scope"
>
<span v-if="scope.row.Status==1">入榜(第x名)</span>
<span
v-if=
"scope.row.CandidateState==1"
>
报名中
</span>
<span v-if="scope.row.Status==2">淘汰</span>
<span
v-if=
"scope.row.CandidateState==2"
>
候选
</span>
<span v-if="scope.row.Status==3">未评比</span>
<span
v-if=
"scope.row.CandidateState==3"
>
淘汰
</span>
</
template
>
</
template
>
</el-table-column> -->
</el-table-column>
<el-table-column
prop=
"CreateDate"
label=
"报名时间"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"180"
>
<el-table-column
label=
"操作"
width=
"180"
>
...
@@ -84,16 +89,20 @@
...
@@ -84,16 +89,20 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"详情"
placement=
"top"
>
<img
src=
"../../assets/img/userman/icon-show.png"
alt=
""
class=
"imgstyle"
/>
<img
src=
"../../assets/img/userman/icon-show.png"
alt=
""
class=
"imgstyle"
/>
</el-tooltip>
</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"
<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>
<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"
<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>
<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"
<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)"
/>
@
click=
"delete_b(scope.row)"
/>
</el-tooltip>
</el-tooltip>
...
@@ -150,8 +159,8 @@
...
@@ -150,8 +159,8 @@
Id
:
0
,
Id
:
0
,
Moblie
:
''
Moblie
:
''
},
},
ListObjectType
:[]
ListObjectType
:
[]
};
};
...
@@ -204,34 +213,55 @@
...
@@ -204,34 +213,55 @@
},
},
eliminate
(
row
)
{
//淘汰对象
eliminate
(
row
)
{
//淘汰对象
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"你确定要将改对象淘汰吗?"
,
function
()
{
that
.
$confirm
(
"你确定要将改对象淘汰吗?"
,
"提示"
,
{
console
.
log
(
'你确定要将改对象淘汰吗'
)
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
)
{
//候选对象
candidate
(
row
)
{
//候选对象
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"你确定将该对象纳入为候选吗?"
,
function
()
{
console
.
log
(
'你确定将该对象纳入为候选吗'
)
that
.
$confirm
(
"你确定将该对象纳入为候选吗?"
,
"提示"
,
{
});
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
that
.
setFirstShop
(
row
.
Id
,
2
)
})
.
catch
(()
=>
{
});
},
},
delete_b
(
row
)
{
delete_b
(
row
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
that
.
$confirm
(
"你确定重置状态?"
,
"提示"
,
{
"/api/Trade/DelFirstShopWishInfo"
,
confirmButtonText
:
"确定"
,
{
cancelButtonText
:
"取消"
,
WishId
:
row
.
Id
,
type
:
"warning"
,
},
})
(
res
)
=>
{
.
then
(()
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
setFirstShop
(
row
.
Id
,
3
)
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
})
}
else
{
.
catch
(()
=>
{
});
that
.
Error
(
res
.
data
.
message
);
}
}
);
});
},
},
EditgoUrl
()
{
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