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
c4c8f607
Commit
c4c8f607
authored
Aug 06, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:审核通过后,隐藏按钮并返回列表
parent
de923376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
withdrawDetail.vue
src/pages/Withdrawal/Examine/withdrawDetail.vue
+13
-11
No files found.
src/pages/Withdrawal/Examine/withdrawDetail.vue
View file @
c4c8f607
...
...
@@ -60,11 +60,12 @@
@
click=
"handleBlackList('黑名单')"
>
黑名单
</el-button
>
<
!-- <
el-button
<el-button
size=
"small"
@click="handleBlackList('白名单')"
>白名单</el-button
> -->
v-if=
"showBackBtn"
@
click=
"$router.go(-1)"
>
返回
</el-button
>
</div>
</div>
</template>
...
...
@@ -104,6 +105,7 @@ export default {
// constants
TABS
,
showBackBtn
:
false
,
//操作成功后展示返回按钮
};
},
async
created
()
{
...
...
@@ -149,19 +151,19 @@ export default {
});
})
.
catch
(
async
()
=>
{
try
{
const
res
=
await
urlObj
[
action
](
params
);
const
res
=
await
urlObj
[
action
](
params
);
if
(
+
res
.
code
===
0
)
{
this
.
$message
({
type
:
"success"
,
message
:
"操作成功"
,
});
console
.
log
(
res
)
;
}
catch
(
error
)
{
this
.
showBackBtn
=
false
;
}
else
{
this
.
$message
({
type
:
"error"
,
message
:
"请求操作失败"
,
});
}
message
:
res
.
reason
,
});
}
});
},
...
...
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