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
f7f79047
Commit
f7f79047
authored
May 23, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接组件加viewName
parent
c7c5b787
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
linkShowDetail.vue
...@gms/gms-plugin-billexpand/src/control/linkShowDetail.vue
+8
-3
emcon.js
develop/@gms/gms-plugin-billexpand/src/emcon.js
+6
-0
No files found.
develop/@gms/gms-plugin-billexpand/src/control/linkShowDetail.vue
View file @
f7f79047
...
@@ -30,12 +30,17 @@ export default {
...
@@ -30,12 +30,17 @@ export default {
if
(
this
.
define
.
config
.
defineId
&&
this
.
define
.
config
.
defineId
.
split
(
'.'
).
length
>
1
){
if
(
this
.
define
.
config
.
defineId
&&
this
.
define
.
config
.
defineId
.
split
(
'.'
).
length
>
1
){
configId
=
this
.
define
.
config
.
defineId
.
split
(
'.'
)[
1
];
configId
=
this
.
define
.
config
.
defineId
.
split
(
'.'
)[
1
];
}
}
if
(
this
.
define
.
config
.
defineName
&&
this
.
define
.
config
.
defineName
.
split
(
'.'
).
length
>
1
){
let
defineName
=
''
;
if
(
this
.
define
.
config
.
viewName
){
//跳转界面
defineName
=
this
.
define
.
config
.
viewName
;
}
else
if
(
this
.
define
.
config
.
defineName
&&
this
.
define
.
config
.
defineName
.
split
(
'.'
).
length
>
1
){
configDefineName
=
this
.
define
.
config
.
defineName
.
split
(
'.'
)[
1
];
configDefineName
=
this
.
define
.
config
.
defineName
.
split
(
'.'
)[
1
];
defineName
=
this
.
context
.
dataObject
.
getValue
(
configDefineName
)
+
'_E'
;
}
else
{
defineName
=
this
.
context
.
dataObject
.
getValue
(
configDefineName
)
+
'_E'
;
}
}
let
defineName
=
this
.
context
.
dataObject
.
getValue
(
configDefineName
);
let
id
=
this
.
context
.
dataObject
.
getValue
(
configId
);
let
id
=
this
.
context
.
dataObject
.
getValue
(
configId
);
let
a
=
"/showBillForm/"
+
defineName
+
'
_E
/'
+
id
;
let
a
=
"/showBillForm/"
+
defineName
+
'/'
+
id
;
let
routeData
=
GMS
.
routerManager
.
getRouter
().
resolve
({
let
routeData
=
GMS
.
routerManager
.
getRouter
().
resolve
({
path
:
a
,
path
:
a
,
query
:{
query
:{
...
...
develop/@gms/gms-plugin-billexpand/src/emcon.js
View file @
f7f79047
...
@@ -110,6 +110,12 @@ export default {
...
@@ -110,6 +110,12 @@ export default {
"ref"
:
"BillClassVO.attributes"
,
"ref"
:
"BillClassVO.attributes"
,
"disableReload"
:
false
,
"disableReload"
:
false
,
"title"
:
"单据定义"
"title"
:
"单据定义"
},{
"isRequired"
:
true
,
"ref"
:
"bill"
,
"type"
:
"metaData"
,
"title"
:
"跳转页面"
,
"key"
:
"viewName"
}]
}]
},
},
"value"
:
"linkShowDetail"
,
"value"
:
"linkShowDetail"
,
...
...
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