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
fukai
vue-gjjs
Commits
40113c29
Commit
40113c29
authored
Dec 27, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复核列表复核功能优化
parent
45724bb4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
18 deletions
+55
-18
Event.js
src/model/Trnrel/Event.js
+49
-16
index.vue
src/views/Business/Infdid/index.vue
+2
-0
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+4
-2
No files found.
src/model/Trnrel/Event.js
View file @
40113c29
...
@@ -95,17 +95,48 @@ export default {
...
@@ -95,17 +95,48 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
debugger
;
let
errorMsg
=
""
;
this
.
$message
({
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
type
:
'success'
,
if
(
!
fieldErrorsFlag
){
message
:
'Reject成功!'
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
else
{
this
.
$notify
({
title
:
'成功'
,
message
:
'复核成功'
,
type
:
'success'
});
});
debugger
;
const
that
=
this
.
root
;
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
}
}
else
{
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
let
errorMsg
=
""
;
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
if
(
!
fieldErrorsFlag
){
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
}
else
if
(
rtnmsg
.
respMsg
){
errorMsg
=
rtnmsg
.
respMsg
;
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
}
},
},
sleep
(
ms
)
{
sleep
(
ms
)
{
...
@@ -287,18 +318,18 @@ export default {
...
@@ -287,18 +318,18 @@ export default {
},
},
async
handleSearch
()
{
async
handleSearch
()
{
const
that
=
this
.
root
;
const
that
=
this
.
root
;
if
(
this
.
model
.
searchAllUsers
)
{
//
if (this.model.searchAllUsers) {
that
.
executeRule
(
"seajbh"
).
then
(
res
=>
{
//
that.executeRule("seajbh").then(res => {
//TODO 处理数据逻辑
//
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
//
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
})
//
})
}
else
{
//
} else {
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
})
}
//
}
},
},
async
handleReset
()
{
async
handleReset
()
{
...
@@ -312,7 +343,8 @@ export default {
...
@@ -312,7 +343,8 @@ export default {
this
.
model
.
trncorco
.
dflg
=
"ALL"
;
this
.
model
.
trncorco
.
dflg
=
"ALL"
;
this
.
model
.
atptxt
=
""
;
this
.
model
.
atptxt
=
""
;
this
.
model
.
searchAllUsers
=
false
;
this
.
model
.
searchAllUsers
=
false
;
}
},
}
}
\ No newline at end of file
src/views/Business/Infdid/index.vue
View file @
40113c29
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
<!--PD000006 -->
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!--
</el-tab-pane>
-->
<!--
</el-tab-pane>
-->
<!--PD000001 -->
<!--PD000001 -->
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
40113c29
...
@@ -412,10 +412,12 @@
...
@@ -412,10 +412,12 @@
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
@
click=
"display(scope.$index, scope.row)"
>
>
详情
快照
</c-button>
</c-button>
<c-button
<c-button
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
...
...
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