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
c17e51ad
Commit
c17e51ad
authored
Jan 07, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待复核详情页数据显示
parent
22ee9fe3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
Event.js
src/model/Trnrel/Event.js
+12
-2
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+5
-4
No files found.
src/model/Trnrel/Event.js
View file @
c17e51ad
...
...
@@ -101,7 +101,18 @@ export default {
async
onDetail
(
idx
,
row
)
{
this
.
$router
.
push
({
path
:
"business/inftrnpsDetail"
,
query
:
{
inr
:
'111'
}});
let
viewurl
=
"business/inftrnpsDetail"
;
const
selIds
=
[
idx
+
1
];
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
,
selIds
};
this
.
executeRule
(
"dsp"
,
params
).
then
((
res
)
=>
{
if
((
res
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
sessionStorage
.
setItem
(
'InftrnpsDetail'
,
JSON
.
stringify
(
this
.
model
));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}
});
}
});
},
async
onRelrow
(
idx
)
{
...
...
@@ -115,7 +126,6 @@ export default {
let
params
=
{
selDst
:
selDst
,
selIds
:
selIds
};
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
c17e51ad
...
...
@@ -151,7 +151,7 @@
<c-col
:span=
"12"
>
<el-form-item
label-width=
"40%"
label=
"Signatures Required/Obtained"
>
<c-c
ow>
<c-r
ow>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.trn.relreq"
maxlength=
"3"
placeholder=
"请输入Signatures Required/Obtained"
></c-input>
</c-col>
...
...
@@ -161,7 +161,7 @@
<c-col
:span=
"11"
>
<c-input
v-model=
"model.trn.relres"
maxlength=
"3"
placeholder=
"请输入Applied Signatures"
></c-input>
</c-col>
</c-c
ow>
</c-r
ow>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -430,7 +430,7 @@ import CodeTable from "~/config/CodeTable"
import
Event
from
"~/model/Trnrel/Event"
export
default
{
name
:
"InftrnpsDetail"
,
mixins
:
[
CommonProcess
],
data
(){
return
{
...
...
@@ -471,7 +471,8 @@ export default {
},
methods
:
{
loadData
()
{
const
{
inr
}
=
this
.
$route
.
query
// const { data } = this.$route.query
this
.
model
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'InftrnpsDetail'
));
}
}
}
...
...
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