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
f05271fe
Commit
f05271fe
authored
Mar 22, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 审批意见避免可能的多页签重复添加
parent
894cb298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
approval-user-control.vue
...c/control/approval-user-control/approval-user-control.vue
+5
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/control/approval-user-control/approval-user-control.vue
View file @
f05271fe
...
...
@@ -173,6 +173,7 @@ export default {
selectedSuggestion
:
[],
themeColor
:
this
.
define
?.
config
?.
fontColor
||
'#5369D8'
,
currentHoverSuggestion
:
null
,
currentTagId
:
null
,
}
},
watch
:
{
...
...
@@ -187,6 +188,7 @@ export default {
// this.reviewParam['billid'] = this.$route.query.id;
this
.
context
.
bill
.
setGlobalParam
(
'reviewParam'
,
this
.
reviewParam
);
this
.
value
=
this
.
context
.
bill
.
getGlobalParam
(
'reviewParam'
).
suggestions
this
.
currentTagId
=
window
.
nros
.
context
.
getCurrTag
()
window
.
GMS
.
vbus
.
$on
(
'approval-user-control-edit'
,
this
.
openEditModal
)
window
.
GMS
.
vbus
.
$on
(
'approval-user-control-add'
,
this
.
handleAdd
)
this
.
getSuggestionOptions
()
...
...
@@ -200,6 +202,7 @@ export default {
this
.
$set
(
suggestion
,
'visible'
,
true
)
},
openEditModal
()
{
if
(
this
.
currentTagId
&&
this
.
currentTagId
!=
window
.
nros
.
context
.
getCurrTag
())
return
this
.
suggestionOptionModal
=
true
},
genCode
()
{
...
...
@@ -260,6 +263,8 @@ export default {
this
.
value
=
s
.
spyj
},
handleAdd
()
{
if
(
this
.
currentTagId
&&
this
.
currentTagId
!=
window
.
nros
.
context
.
getCurrTag
())
return
this
.
currentEditSuggestion
=
{
code
:
this
.
genCode
(),
spyj
:
this
.
value
,
...
...
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