Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
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
王衍超
rbc-demo
Commits
f6d68162
Commit
f6d68162
authored
Feb 10, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 增加没有找到选择审批人时的提示
parent
6ebac789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
agreeAction.js
...lop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
+6
-2
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
View file @
f6d68162
...
...
@@ -13,11 +13,15 @@ export default {
}
else
if
(
res
.
data
.
code
!=
200
)
{
// this.executeApproval(bill, param)
GMS
.
$hideContainer
.
$Message
.
error
(
res
.
data
.
msg
||
'
获取审批人列表失败
'
);
GMS
.
$hideContainer
.
$Message
.
error
(
res
.
data
.
msg
||
'
提交失败,请联系系统管理员
'
);
return
}
const
nodeData
=
res
.
data
.
ApproverVo
const
optionList
=
[...
nodeData
.
approvers
]
if
(
optionList
.
length
==
0
)
{
GMS
.
$hideContainer
.
$Message
.
error
(
'未找到下一节点的审批人'
)
return
}
GMS
.
$hideContainer
.
$Modal
.
confirm
({
width
:
700
,
render
:
(
h
)
=>
{
...
...
@@ -52,7 +56,7 @@ export default {
}
});
}).
catch
(()
=>
{
GMS
.
$hideContainer
.
$Message
.
error
(
'
获取审批人列表失败
'
);
GMS
.
$hideContainer
.
$Message
.
error
(
'
未找到下一节点的审批人
'
);
})
}
else
{
alert
(
'缺少参数'
);
...
...
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