Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
zhouqian
vue-gjjs
Commits
00c4b6fe
Commit
00c4b6fe
authored
Oct 19, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ditopn的初始化
parent
6e2d8b8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
1 deletions
+45
-1
index.js
src/model/Ditopn/index.js
+2
-0
index.vue
src/views/Business/Ditopn/index.vue
+43
-1
No files found.
src/model/Ditopn/index.js
View file @
00c4b6fe
...
@@ -235,6 +235,7 @@ export default class Ditopn{
...
@@ -235,6 +235,7 @@ export default class Ditopn{
conexedat
:
""
,
// Execution Date .mtabut.coninf.conexedat
conexedat
:
""
,
// Execution Date .mtabut.coninf.conexedat
},
},
},
},
pageId
:
""
// ctx的key
}
}
}
}
}
}
\ No newline at end of file
src/views/Business/Ditopn/index.vue
View file @
00c4b6fe
...
@@ -170,7 +170,49 @@ export default {
...
@@ -170,7 +170,49 @@ export default {
}
}
},
},
methods
:{
methods
:{
tabClick
(){
tabClick
(
vm
){
if
(
this
.
isInDisplay
){
return
}
const
name
=
vm
.
name
if
(
name
===
"engp"
)
{
this
.
executeRule
(
"liaall.engp"
).
then
(
res
=>
{
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
})
}
if
(
name
===
"glepan"
)
{
this
.
executeRule
(
"setmod.glemod.glepan"
).
then
(
res
=>
{
const
data
=
res
.
data
;
this
.
$refs
.
glepan
.
stmData
.
data
=
res
.
data
.
setmod_glemod_gleshwstm
.
rows
;
//Utils.copyValueFromVO(this.model, data)
})
}
if
(
name
===
"setpan"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
})
}
if
(
name
===
"docpan"
)
{
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
var
stm
=
[];
let
k
=
0
;
for
(
let
i
=
0
;
i
<
res
.
data
.
trnmod_trndoc_doceot
.
length
;
i
++
){
if
(
res
.
data
.
trnmod_trndoc_doceot
[
i
].
role
!=
""
){
stm
[
k
++
]
=
res
.
data
.
trnmod_trndoc_doceot
[
i
];
}
}
this
.
$refs
.
docpan
.
stmData
.
data
=
stm
}
})
}
}
}
},
},
created
:
async
function
(){
created
:
async
function
(){
...
...
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