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
b18058d6
Commit
b18058d6
authored
Feb 10, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@gms/gms-plugin-billexpand): 修复作为外部系统嵌入找不到taskId的问题
- 改用将taskId保存在window.GMS上的方式
parent
f6d68162
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
+3
-14
approval-user-control.vue
...c/control/approval-user-control/approval-user-control.vue
+2
-2
examineAction.js
.../gms-plugin-billexpand/src/query-actions/examineAction.js
+1
-12
No files found.
develop/@gms/gms-plugin-billexpand/src/control/approval-user-control/approval-user-control.vue
View file @
b18058d6
...
@@ -181,8 +181,8 @@ export default {
...
@@ -181,8 +181,8 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
reviewParam
[
'taskId'
]
=
GMS
.
$hideContainer
.
$route
.
query
.
taskId
;
this
.
reviewParam
[
'taskId'
]
=
GMS
.
workflowTaskId
this
.
taskId
=
GMS
.
$hideContainer
.
$route
.
query
.
t
askId
;
this
.
taskId
=
GMS
.
workflowT
askId
;
// this.reviewParam['billid'] = this.$route.query.id;
// this.reviewParam['billid'] = this.$route.query.id;
this
.
context
.
bill
.
setGlobalParam
(
'reviewParam'
,
this
.
reviewParam
);
this
.
context
.
bill
.
setGlobalParam
(
'reviewParam'
,
this
.
reviewParam
);
this
.
value
=
this
.
context
.
bill
.
getGlobalParam
(
'reviewParam'
).
suggestions
this
.
value
=
this
.
context
.
bill
.
getGlobalParam
(
'reviewParam'
).
suggestions
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/examineAction.js
View file @
b18058d6
...
@@ -14,13 +14,11 @@ export default {
...
@@ -14,13 +14,11 @@ export default {
}
}
let
templateName
=
param
.
viewName
;
let
templateName
=
param
.
viewName
;
let
billId
=
context
.
selects
[
0
][
param
.
billId
];
let
billId
=
context
.
selects
[
0
][
param
.
billId
];
window
.
GMS
.
workflowTaskId
=
context
.
selects
[
0
][
param
.
taskId
]
if
(
if
(
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
&&
window
.
osConfig
.
appOpenMode
==
"apploader"
window
.
osConfig
.
appOpenMode
==
"apploader"
)
{
)
{
GMS
.
$hideContainer
.
$router
.
push
({
path
:
"/approvalBillForm/"
+
param
.
viewName
+
"/"
+
context
.
selects
[
0
][
param
.
billId
]
+
"?taskId="
+
context
.
selects
[
0
][
param
.
taskId
]
});
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
GMS
.
$hideContainer
.
$portalAPI
.
emit
(
"open-new-page"
,
//打开一个新的页签
"open-new-page"
,
//打开一个新的页签
getUUID
(),
getUUID
(),
...
@@ -36,15 +34,6 @@ export default {
...
@@ -36,15 +34,6 @@ export default {
}
}
);
);
}
else
{
}
else
{
let
href
=
window
.
location
.
href
if
(
href
.
indexOf
(
'taskId'
)
>
-
1
)
{
href
=
href
.
substring
(
0
,
href
.
indexOf
(
'taskId'
))
href
+=
'taskId='
+
context
.
selects
[
0
][
param
.
taskId
]
}
else
{
href
+=
'?taskId='
+
context
.
selects
[
0
][
param
.
taskId
]
}
window
.
location
.
href
=
href
GMS
.
$hideContainer
.
addComponent
(
typesBill
,
{},
function
(
c
)
{
GMS
.
$hideContainer
.
addComponent
(
typesBill
,
{},
function
(
c
)
{
c
.
templateName
=
templateName
;
c
.
templateName
=
templateName
;
c
.
billId
=
billId
;
c
.
billId
=
billId
;
...
...
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