Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
1ebde5eb
Commit
1ebde5eb
authored
Aug 30, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 团长申请
parent
8a37c6bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.vue
src/pages/Groupmeal/headManagement/index.vue
+9
-4
No files found.
src/pages/Groupmeal/headManagement/index.vue
View file @
1ebde5eb
...
...
@@ -37,7 +37,7 @@
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"200"
>
<!--
<el-button
type=
"primary"
size=
"small"
>
审核
</el-button>
-->
<template
#
default=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"apply(scope.row)"
>
审核
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"apply(scope.row)"
v-if=
"scope.row.audit_status!=1"
>
审核
</el-button>
<el-button
type=
"text"
size=
"small"
v-if=
"scope.row.audit_status==1"
>
通过
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"addPoint(scope.row.colonel_apply_id)"
>
添加自提点
</el-button>
<!-- v-if="scope.row.take_place_status==1" -->
...
...
@@ -208,14 +208,19 @@ export default {
// this.applyPopTitle = `您确认通过(${name})的团长申请吗`
this
.
$confirm
(
`您确认
${
item
.
audit_status
==
2
?
'通过'
:
'驳回'
}
(
${
item
.
contact_name
}
)的团长申请吗`
,
'团长审核'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
拒绝
'
,
center
:
true
}).
then
(
async
()
=>
{
let
res
=
await
colonelAudit
({
colonel_apply_id
:
item
.
colonel_apply_id
,
audit_status
:
item
.
audit_status
==
1
?
2
:
1
})
let
res
=
await
colonelAudit
({
colonel_apply_id
:
item
.
colonel_apply_id
,
audit_status
:
1
})
await
this
.
getColoneApplyList
();
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
else
this
.
$message
.
success
(
'操作成功'
);
})
}).
catch
(
async
()
=>
{
let
res
=
await
colonelAudit
({
colonel_apply_id
:
item
.
colonel_apply_id
,
audit_status
:
2
})
await
this
.
getColoneApplyList
();
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
else
this
.
$message
.
success
(
'操作成功'
);
});
},
async
addPoint
(
id
)
{
let
res
=
await
colonelApplyPoint
({
colonel_apply_id
:
id
});
...
...
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