Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
12dee782
Commit
12dee782
authored
Jun 25, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
778f714d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
70 deletions
+72
-70
activeSignUpList.vue
src/pages/activity/activeSignUpList.vue
+68
-26
activityList.vue
src/pages/activity/activityList.vue
+4
-44
No files found.
src/pages/activity/activeSignUpList.vue
View file @
12dee782
...
...
@@ -150,7 +150,7 @@
<
template
v-slot:body-cell-Status=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.Status===0"
>
正常
</span>
<span
v-if=
"props.row.Status===1"
>
删除
</span>
<span
v-if=
"props.row.Status===1"
>
取消
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-OrderStatus=
"props"
>
...
...
@@ -159,25 +159,20 @@
<span
v-if=
"props.row.OrderStatus===1"
>
已支付
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-IsApplyForCancel=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.IsApplyForCancel===1"
>
是
</span>
<span
v-if=
"props.row.IsApplyForCancel===2"
>
否
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-ApplyForCancelStatus=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.ApplyForCancelStatus===1"
>
同意
</span>
<span
v-if=
"props.row.ApplyForCancelStatus===2"
>
拒绝
</span>
<
template
v-slot:body-cell-quxiaomoney=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.Status===1"
>
{{
props
.
row
.
Money
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
v-if=
"props.row.IsApplyForCancel==1"
>
<q-td
:props=
"props"
v-if=
"props.row.IsApplyForCancel==1
&&props.row.Status===0
"
>
<div>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"同意"
@
click=
"
editQuotation
(props.row)"
/>
color=
"accent"
style=
"font-weight:400"
label=
"同意"
@
click=
"
agreeApply
(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"拒绝"
@
click=
"
delType
(props.row)"
/>
color=
"accent"
style=
"font-weight:400"
label=
"拒绝"
@
click=
"
jujueMsg
(props.row)"
/>
</div>
</q-td>
</
template
>
...
...
@@ -187,6 +182,16 @@
</
template
>
</q-table>
</div>
<!-- 拒绝报名 -->
<el-dialog
title=
"拒绝报名"
:visible
.
sync=
"showJujue"
width=
"600px"
>
<div
class=
"activityFlex"
>
<el-input
type=
"textarea"
rows=
"4"
v-model=
"bdMsg.RejectRemark"
></el-input>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<!-- <el-button type="primary" size="small" @click="sureJujue">确定</el-button> -->
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"确定"
@
click=
"sureJujue"
/>
</span>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -203,7 +208,8 @@
pageIndex
:
1
,
pageSize
:
10
,
ActivityId
:
0
,
EnrollState
:
3
EnrollState
:
3
,
rowsPerPage
:
1000
},
pageCount
:
0
,
columns
:
[
...
...
@@ -259,15 +265,8 @@
align
:
"left"
},
{
name
:
" IsApplyForCancel"
,
label
:
"是否申请取消"
,
field
:
" IsApplyForCancel"
,
align
:
"left"
},
{
name
:
" ApplyForCancelStatus"
,
label
:
"申请取消审核状态"
,
field
:
" ApplyForCancelStatus"
,
name
:
" quxiaomoney"
,
label
:
"取消金额"
,
align
:
"left"
},
{
...
...
@@ -278,12 +277,19 @@
},
{
name
:
'optioned'
,
label
:
'
操作
'
,
label
:
'
申请取消审核状态
'
,
align
:
"left"
}
],
showForm
:
false
,
typeObj
:{}
typeObj
:{},
bdMsg
:
{
Id
:
0
,
//报名id
ApplyForCancelStatus
:
1
,
//申请取消审核状态 1同意 2拒绝
RejectRemark
:
''
},
showJujue
:
false
,
}
},
...
...
@@ -305,6 +311,42 @@
}
})
},
//同意
agreeApply
(
item
)
{
console
.
log
(
305
,
item
)
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
bdMsg
.
ApplyForCancelStatus
=
1
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
// location.reload();
this
.
Success
(
"操作成功"
)
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
jujueMsg
(
item
){
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
showJujue
=
true
;
},
// 拒绝
sureJujue
(){
if
(
!
this
.
bdMsg
.
RejectRemark
){
this
.
Error
(
"请输入拒绝原因"
)
return
}
this
.
bdMsg
.
ApplyForCancelStatus
=
2
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showJujue
=
false
;
this
.
Success
(
"操作成功"
)
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
goBack
(){
this
.
$router
.
go
(
-
1
)
}
...
...
src/pages/activity/activityList.vue
View file @
12dee782
...
...
@@ -324,15 +324,7 @@
</el-table-column>
</el-table>
</el-dialog> -->
<!-- 拒绝报名 -->
<!-- <el-dialog title="拒绝报名" :visible.sync="showJujue" width="600px">
<div class="activityFlex">
<el-input type="textarea" rows="4" v-model="bdMsg.RejectRemark"></el-input>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="sureJujue">确定</el-button>
</span>
</el-dialog> -->
</div>
</template>
<
script
>
...
...
@@ -445,12 +437,7 @@ import ActiveForm from '../../components/activity/active-from'
// EnrollState: 1,
// ActivityId: 0
// },
// bdMsg: {
// Id: 0, //报名id
// ApplyForCancelStatus: 1, //申请取消审核状态 1同意 2拒绝
// RejectRemark: ''
// },
// showJujue:false,
showForm
:
false
,
typeObj
:{}
}
...
...
@@ -465,35 +452,8 @@ import ActiveForm from '../../components/activity/active-from'
// this.joinMsg.ActivityId = item.Id;
// this.getJoinData();
// },
//确定
// agreeApply(item) {
// this.bdMsg.Id = item.Id;
// this.bdMsg.ApplyForCancelStatus = 1;
// this.apipostDS("/api/Education/SetCommerceConsultApplyCancel", this.bdMsg, res => {
// if (res.data.resultCode == 1) {
// location.reload();
// } else {
// this.Error(res.data.message);
// }
// })
// },
// jujueMsg(item){
// this.bdMsg.Id = item.Id;
// this.showJujue=true;
// },
// //取消
// sureJujue(){
// this.bdMsg.ApplyForCancelStatus = 2;
// this.apipostDS("/api/Education/SetCommerceConsultApplyCancel", this.bdMsg, res => {
// if (res.data.resultCode == 1) {
// this.getList();
// this.dialogTableVisible=false;
// this.showJujue=false;
// } else {
// this.Error(res.data.message);
// }
// })
// },
//获取活动类型下拉
getActiveTypeList
(){
this
.
apipostDS
(
"/api/Education/GetCommerceActivityTypeList"
,{},(
res
)
=>
{
...
...
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