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
c93f1c93
Commit
c93f1c93
authored
Jun 09, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复核修改
parent
72f592be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
index.js
src/business/brtlat/event/index.js
+5
-1
index.js
src/business/trnrel/event/index.js
+12
-12
index.vue
src/views/Layout/components/TagsView/index.vue
+1
-1
No files found.
src/business/brtlat/event/index.js
View file @
c93f1c93
...
@@ -23,10 +23,14 @@ export default {
...
@@ -23,10 +23,14 @@ export default {
...
doctre
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trnmod
:{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
}
}
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
params
.
spt
=
null
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
}
const
res
=
await
Api
.
post
(
'/service/brtlat/init'
,
{
const
res
=
await
Api
.
post
(
'/service/brtlat/init'
,
{
...
params
,
...
params
,
...
...
src/business/trnrel/event/index.js
View file @
c93f1c93
...
@@ -130,17 +130,17 @@ export default {
...
@@ -130,17 +130,17 @@ export default {
refuse
:
this
.
onReprow
.
bind
(
this
,
idx
),
refuse
:
this
.
onReprow
.
bind
(
this
,
idx
),
}
}
);
);
//
let Flag = JSON.parse(localStorage.getItem('flag_'+row.inifrm.toLowerCase()))
let
Flag
=
JSON
.
parse
(
localStorage
.
getItem
(
'flag_'
+
row
.
inifrm
.
toLowerCase
()))
//判断该交易名是否存在已打开复核页面,如果存在则提示
//判断该交易名是否存在已打开复核页面,如果存在则提示
//
if ( Flag ) {
if
(
Flag
)
{
//
console.log
console
.
log
//
this.$notify({
this
.
$notify
({
//
title: "错误",
title
:
"错误"
,
//
message: row.inifrm.toLowerCase()+"交易已存在一笔复核",
message
:
row
.
inifrm
.
toLowerCase
()
+
"交易已存在一笔复核"
,
//
type: "error",
type
:
"error"
,
//
});
});
//
return
return
//
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
// name: 'Review-new' + trnName.charAt(0).toUpperCase() + trnName.substring(1),
// name: 'Review-new' + trnName.charAt(0).toUpperCase() + trnName.substring(1),
path
:
'review-new/'
+
row
[
'inifrm'
].
toLowerCase
(),
path
:
'review-new/'
+
row
[
'inifrm'
].
toLowerCase
(),
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
});
});
localStorage
.
setItem
(
`review_
${
row
.
inifrm
.
toLowerCase
()}
`
,
JSON
.
stringify
(
row
))
localStorage
.
setItem
(
`review_
${
row
.
inifrm
.
toLowerCase
()}
`
,
JSON
.
stringify
(
row
))
//进入复核之后,给该交易的交易码设置flag,用来判断是否存在该交易码的复核页面
//进入复核之后,给该交易的交易码设置flag,用来判断是否存在该交易码的复核页面
//
localStorage.setItem(`flag_${row.inifrm.toLowerCase()}`,true)
localStorage
.
setItem
(
`flag_
${
row
.
inifrm
.
toLowerCase
()}
`
,
true
)
},
},
async
onRelrow
(
idx
)
{
async
onRelrow
(
idx
)
{
this
.
$confirm
(
'您确定复核该笔交易?'
,
'提示'
,
{
this
.
$confirm
(
'您确定复核该笔交易?'
,
'提示'
,
{
...
@@ -158,7 +158,7 @@ export default {
...
@@ -158,7 +158,7 @@ export default {
type
:
'warning'
,
type
:
'warning'
,
}).
then
(
async
()
=>
{
}).
then
(
async
()
=>
{
// 提交复核之后给该交易码的flag设置为false,用来判断此交易码没有当前页面
// 提交复核之后给该交易码的flag设置为false,用来判断此交易码没有当前页面
//
localStorage.removeItem('flag_'+this.$route.query.newFlag)
localStorage
.
removeItem
(
'flag_'
+
this
.
$route
.
query
.
newFlag
)
let
params
=
{
let
params
=
{
transName
:
'trnrel'
,
transName
:
'trnrel'
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
...
...
src/views/Layout/components/TagsView/index.vue
View file @
c93f1c93
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
type
:
"warning"
,
type
:
"warning"
,
}).
then
(()
=>
{
}).
then
(()
=>
{
// 在当前 点击确定按钮关闭复核页面,清空缓存
// 在当前 点击确定按钮关闭复核页面,清空缓存
//
localStorage.removeItem('flag_'+this.$route.query.newFlag)
localStorage
.
removeItem
(
'flag_'
+
this
.
$route
.
query
.
newFlag
)
this
.
closeTagView
(
view
);
this
.
closeTagView
(
view
);
});
});
},
},
...
...
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