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
9ae73433
Commit
9ae73433
authored
Feb 08, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 工作流审批后返回列表页
parent
f491bbf4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
38 deletions
+13
-38
agreeAction.js
...lop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
+5
-19
rejectAction.js
...op/@gms/gms-plugin-billexpand/src/actions/rejectAction.js
+5
-19
app.vue
develop/@rbc/workflow-job-view/src/app.vue
+3
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/agreeAction.js
View file @
9ae73433
import
{
getUUID
}
from
"../query-actions/util/lib"
;
import
{
getUUID
}
from
"../query-actions/util/lib"
;
import
Bridge
from
'../components-control/util/bridge'
import
SelectApprovers
from
'../components-control/select-approvers.vue'
import
SelectApprovers
from
'../components-control/select-approvers.vue'
export
default
{
export
default
{
execute
:
function
(
bill
,
param
)
{
execute
:
function
(
bill
,
param
)
{
...
@@ -91,27 +92,12 @@ export default {
...
@@ -91,27 +92,12 @@ export default {
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
==
"apploader"
window
.
osConfig
.
appOpenMode
==
"apploader"
)
{
)
{
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
'nros-tag-close'
)
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
'entry-tag-close'
)
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
"open-new-page"
,
//打开一个新的页签
getUUID
(),
"runner-bill-form"
,
{
templateName
:
param
.
param
.
viewName
,
id
:
billId
,
state
:
'readOnly'
},
{
openWay
:
"FUNCTAB"
,
title
:
"单据详情"
,
}
}
);
else
if
(
Bridge
.
vm
)
{
}
Bridge
.
vm
.
modal_visible
=
false
else
{
GMS
.
$hideContainer
.
$router
.
push
({
path
:
"/showInnerBillForm/"
+
param
.
param
.
viewName
+
"/"
+
billId
})
}
}
window
.
GMS
.
vbus
.
$emit
(
'refresh-workflow-job-view'
)
}
}
}.
bind
(
this
)
}.
bind
(
this
)
)
)
...
...
develop/@gms/gms-plugin-billexpand/src/actions/rejectAction.js
View file @
9ae73433
import
{
getUUID
}
from
"../query-actions/util/lib"
;
import
{
getUUID
}
from
"../query-actions/util/lib"
;
import
Bridge
from
'../components-control/util/bridge'
export
default
{
export
default
{
execute
:
function
(
bill
,
param
)
{
execute
:
function
(
bill
,
param
)
{
if
(
bill
){
if
(
bill
){
...
@@ -42,27 +43,12 @@ export default {
...
@@ -42,27 +43,12 @@ export default {
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
==
"apploader"
window
.
osConfig
.
appOpenMode
==
"apploader"
)
{
)
{
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
'nros-tag-close'
)
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
'entry-tag-close'
)
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
"open-new-page"
,
//打开一个新的页签
getUUID
(),
"runner-bill-form"
,
{
templateName
:
param
.
param
.
viewName
,
id
:
billId
,
state
:
'readOnly'
},
{
openWay
:
"FUNCTAB"
,
title
:
"单据详情"
,
}
);
}
}
else
{
else
if
(
Bridge
.
vm
)
{
GMS
.
$hideContainer
.
$router
.
push
({
Bridge
.
vm
.
modal_visible
=
false
path
:
"/showInnerBillForm/"
+
param
.
param
.
viewName
+
"/"
+
billId
})
}
}
window
.
GMS
.
vbus
.
$emit
(
'refresh-workflow-job-view'
)
}
}
}.
bind
(
this
)
}.
bind
(
this
)
)
)
...
...
develop/@rbc/workflow-job-view/src/app.vue
View file @
9ae73433
...
@@ -104,6 +104,9 @@ export default {
...
@@ -104,6 +104,9 @@ export default {
this
.
templateName
=
this
.
templateOptionList
[
0
]?.
templateName
;
this
.
templateName
=
this
.
templateOptionList
[
0
]?.
templateName
;
this
.
handleSearch
();
this
.
handleSearch
();
});
});
window
.
GMS
.
vbus
.
$on
(
'refresh-workflow-job-view'
,
()
=>
{
this
.
handleSearch
()
})
},
},
methods
:
{
methods
:
{
...
...
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