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
8a37c6bc
Commit
8a37c6bc
authored
Aug 30, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:审核
parent
ca501c86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
index.vue
src/pages/Groupmeal/headManagement/index.vue
+6
-9
No files found.
src/pages/Groupmeal/headManagement/index.vue
View file @
8a37c6bc
...
...
@@ -33,19 +33,15 @@
prop=
"take_place_name"
align=
"center"
></el-table-column>
<el-table-column>
<template
#
default=
"scope"
>
{{
scope
.
row
.
province
}}
-
{{
scope
.
row
.
city
}}
-
{{
scope
.
row
.
area
}}
</
template
>
</el-table-column>
<el-table-column
label=
"自提点地址"
prop=
"location"
></el-table-column>
<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=
"text"
size=
"small"
>
通过
</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" -->
<el-button
type=
"text"
size=
"small"
>
拒绝
</el-button>
<el-button
type=
"text"
size=
"small"
v-if=
"scope.row.audit_status==2"
>
拒绝
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -210,12 +206,13 @@ export default {
},
apply
(
item
)
{
// this.applyPopTitle = `您确认通过(${name})的团长申请吗`
this
.
$confirm
(
`您确认
通过
(
${
item
.
contact_name
}
)的团长申请吗`
,
'团长审核'
,
{
this
.
$confirm
(
`您确认
${
item
.
audit_status
==
2
?
'通过'
:
'驳回'
}
(
${
item
.
contact_name
}
)的团长申请吗`
,
'团长审核'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
center
:
true
}).
then
(
async
()
=>
{
let
res
=
await
colonelAudit
({
colonel_apply_id
:
item
.
colonel_apply_id
,
audit_status
:
item
.
audit_status
})
let
res
=
await
colonelAudit
({
colonel_apply_id
:
item
.
colonel_apply_id
,
audit_status
:
item
.
audit_status
==
1
?
2
:
1
})
await
this
.
getColoneApplyList
();
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
else
this
.
$message
.
success
(
'操作成功'
);
})
...
...
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