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
123af0e3
Commit
123af0e3
authored
Mar 28, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打开新页签 查询动作
parent
a71b809e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
1 deletions
+44
-1
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+25
-0
mcon.js
develop/@gms/gms-plugin-billexpand/src/mcon.js
+3
-1
openNewPageDetail.js
...-plugin-billexpand/src/query-actions/openNewPageDetail.js
+16
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
123af0e3
...
...
@@ -281,6 +281,31 @@ export default {
],
queryAction
:
[
{
"value"
:
"openNewPageDetail"
,
"discard"
:
false
,
"path"
:
"云报销"
,
"extends"
:
{
"paramDes"
:
[
{
"isRequired"
:
true
,
"ref"
:
"bill"
,
"type"
:
"metaData"
,
"title"
:
"跳转页面"
,
"key"
:
"viewName"
},
{
"isRequired"
:
true
,
"ref"
:
"columnField"
,
"type"
:
"field"
,
"title"
:
"单据id"
,
"key"
:
"billId"
}
]
},
"description"
:
"指定跳转页面,配置单据id,通过打开新页签形式进行跳转"
,
"title"
:
"打开新页签"
},
{
"value"
:
"queryDeleteBill"
,
"discard"
:
false
,
"path"
:
"云报销"
,
...
...
develop/@gms/gms-plugin-billexpand/src/mcon.js
View file @
123af0e3
...
...
@@ -64,6 +64,7 @@ import queryAccount from "./query-actions/payments/queryAccount";
import
refreshTransactionStatus
from
"./query-actions/payments/refreshTransactionStatus"
;
import
throughQuery
from
"./query-actions/throughQuery"
;
import
queryDeleteBill
from
"./query-actions/queryDeleteBill"
;
import
openNewPageDetail
from
"./query-actions/openNewPageDetail"
;
//control
import
applyDetail
from
'./control/applyDetail'
;
import
linkShowDetail
from
'./control/linkShowDetail'
;
...
...
@@ -190,7 +191,8 @@ export default {
deleteInvoiceAction
,
simpleAdvanceDeleteAction
,
queryDeleteBill
,
lincaoAddView
lincaoAddView
,
openNewPageDetail
},
billAction
:
{
printMultiAction
,
...
...
develop/@gms/gms-plugin-billexpand/src/query-actions/openNewPageDetail.js
0 → 100644
View file @
123af0e3
export
default
{
execute
(
context
,
param
)
{
if
(
!
param
.
billId
||
!
param
.
viewName
)
{
GMS
.
$hideContainer
.
$Message
.
info
(
"请配置跳转页面的参数"
);
return
;
}
let
routeData
=
GMS
.
routerManager
.
getRouter
().
resolve
({
path
:
"/showBillForm/"
+
param
.
viewName
+
"/"
+
context
.
selects
[
0
][
param
.
billId
],
query
:{
params
:
"{'isEdit':true}"
}
});
window
.
open
(
routeData
.
href
,
'_blank'
);
}
}
\ No newline at end of file
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