Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
isc-v3.1-tmp
isc-web-vue
Commits
38ca0b8a
Commit
38ca0b8a
authored
Oct 19, 2024
by
niewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oftopn oftsel
parent
64fcf3f9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
226 additions
and
93 deletions
+226
-93
index.js
src/page/Frontend/Oftopn/event/index.js
+86
-60
Oftp13.vue
src/page/Frontend/Oftopn/views/Oftp13.vue
+11
-1
index.js
src/page/Frontend/Oftsel/event/index.js
+91
-19
Oftp01.vue
src/page/Frontend/Oftsel/views/Oftp01.vue
+38
-13
No files found.
src/page/Frontend/Oftopn/event/index.js
View file @
38ca0b8a
...
@@ -3,69 +3,95 @@ import moment from "moment";
...
@@ -3,69 +3,95 @@ import moment from "moment";
import
Oftopn
from
'../model'
;
import
Oftopn
from
'../model'
;
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
if
(
!
rsptims
||
rsptims
===
""
)
{
if
(
!
rsptims
||
rsptims
===
""
)
{
this
.
$notify
.
error
({
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
});
});
return
;
return
;
}
let
rsptime
=
this
.
model
.
oftp
.
rel
.
rsptime
;
if
(
!
rsptime
||
rsptime
===
""
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
this
.
load
=
true
;
// TODO rewrite url
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftopn/query"
,
{
...
this
.
model
.
oftp
.
rel
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rsptims
:
moment
(
rsptims
).
format
(
"YYYY-MM-DD"
),
rsptime
:
moment
(
rsptime
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:
{
kpasta
,
sta
,
stacod
,
offsta
}
}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
kpasta
)
{
if
(
kpasta
[
i
].
value
==
v
.
typ
)
{
v
.
typ
=
kpasta
[
i
].
label
;
}
}
for
(
let
i
in
sta
)
{
if
(
sta
[
i
].
value
==
v
.
sta
)
{
v
.
sta
=
sta
[
i
].
label
;
}
}
for
(
let
i
in
stacod
)
{
if
(
stacod
[
i
].
value
==
v
.
area
)
{
v
.
area
=
stacod
[
i
].
label
;
}
}
let
rsptime
=
this
.
model
.
oftp
.
rel
.
rsptime
;
}
if
(
!
rsptime
||
rsptime
===
""
)
{
for
(
let
i
in
offsta
)
{
this
.
$notify
.
error
({
if
(
offsta
[
i
].
value
==
v
.
offsta
)
{
title
:
this
.
$t
(
"financing.错误"
),
v
.
offsta
=
offsta
[
i
].
label
;
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
});
return
;
}
}
}
})
this
.
load
=
true
;
// TODO rewrite url
let
rtnmsg
=
await
Api
.
post
(
"/frontend/msgsel/query"
,
{
...
this
.
model
.
oftp
.
rel
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rsptims
:
moment
(
rsptims
).
format
(
"YYYY-MM-DD"
),
rsptime
:
moment
(
rsptime
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
this
.
stmData
.
data
=
list
;
this
.
stmData
.
data
=
list
;
this
.
pagination
=
{
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
};
}
else
{
}
else
{
this
.
$notify
.
error
({
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
});
}
}
this
.
load
=
false
;
this
.
load
=
false
;
},
},
async
handleReset
()
{
async
handleReset
()
{
this
.
model
=
new
Oftopn
().
data
;
this
.
model
=
new
Oftopn
().
data
;
},
},
// pageSize改变
// pageSize改变
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
this
.
handleSearch
();
},
},
// 页码改变
// 页码改变
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
this
.
handleSearch
();
},
handleSelectionChange
(
val
){
this
.
multipleSelection
=
val
;
}
},
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
}
},
};
};
src/page/Frontend/Oftopn/views/Oftp13.vue
View file @
38ca0b8a
...
@@ -126,7 +126,9 @@
...
@@ -126,7 +126,9 @@
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane
label=
"待关联报文处理"
name=
"fb"
>
<el-tab-pane
label=
"待关联报文处理"
name=
"fb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
@
selection-change=
"handleSelectionChange"
@
row-dblclick=
"dbClickRow"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
:highlight-current-row=
"true"
>
<el-table-column
type=
"selection"
width=
"55"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
</el-table-column>
...
@@ -298,6 +300,14 @@ export default {
...
@@ -298,6 +300,14 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
dbClickRow
(
row
)
{
this
.
routerPush
({
path
:
'/business/oftdtl'
,
query
:
{
dotinr
:
row
.
inr
,
}
})
}
},
},
mounted
:
function
()
{
mounted
:
function
()
{
},
},
...
...
src/page/Frontend/Oftsel/event/index.js
View file @
38ca0b8a
...
@@ -2,24 +2,96 @@ import Api from "~/service/Api";
...
@@ -2,24 +2,96 @@ import Api from "~/service/Api";
import
moment
from
"moment"
;
import
moment
from
"moment"
;
export
default
{
export
default
{
methods
:
{
methods
:
{
async
handleSearch
()
{
async
handleSearch
()
{
},
let
rsptims
=
this
.
model
.
oftp
.
rel
.
rsptims
;
async
handleReset
()
{
if
(
!
rsptims
||
rsptims
===
""
)
{
},
this
.
$notify
.
error
({
// pageSize改变
title
:
this
.
$t
(
"financing.错误"
),
handleSizeChange
(
val
)
{
message
:
this
.
$t
(
"financing.查询开始日期必输!"
),
this
.
pagination
.
pageNum
=
1
;
});
this
.
pagination
.
pageSize
=
val
;
return
;
this
.
handleSearch
();
}
},
let
rsptime
=
this
.
model
.
oftp
.
rel
.
rsptime
;
// 页码改变
if
(
!
rsptime
||
rsptime
===
""
)
{
handleCurrentChange
(
val
)
{
this
.
$notify
.
error
({
this
.
pagination
.
pageNum
=
val
;
title
:
this
.
$t
(
"financing.错误"
),
this
.
handleSearch
();
message
:
this
.
$t
(
"financing.查询结束日期必输!"
),
},
});
handleSelectionChange
(
val
){
return
;
this
.
multipleSelection
=
val
;
}
}
this
.
load
=
true
;
// TODO rewrite url
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftsel/query"
,
{
...
this
.
model
.
oftp
.
rel
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
rsptims
:
moment
(
rsptims
).
format
(
"YYYY-MM-DD"
),
rsptime
:
moment
(
rsptime
).
format
(
"YYYY-MM-DD"
),
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
const
{
list
}
=
rtnmsg
.
data
;
const
{
codes
:
{
kpasta
,
sta
,
stacod
,
offsta
}
}
=
this
;
list
.
forEach
(
v
=>
{
for
(
let
i
in
kpasta
)
{
if
(
kpasta
[
i
].
value
==
v
.
typ
)
{
v
.
typ
=
kpasta
[
i
].
label
;
}
}
for
(
let
i
in
sta
)
{
if
(
sta
[
i
].
value
==
v
.
sta
)
{
v
.
sta
=
sta
[
i
].
label
;
}
}
for
(
let
i
in
stacod
)
{
if
(
stacod
[
i
].
value
==
v
.
area
)
{
v
.
area
=
stacod
[
i
].
label
;
}
}
for
(
let
i
in
offsta
)
{
if
(
offsta
[
i
].
value
==
v
.
offsta
)
{
v
.
offsta
=
offsta
[
i
].
label
;
}
}
})
this
.
stmData
.
data
=
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
parseInt
(
rtnmsg
.
data
.
total
),
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
"financing.错误"
),
message
:
this
.
$t
(
"financing.服务请求失败!"
),
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
=
new
Oftsel
().
data
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
}
},
};
};
src/page/Frontend/Oftsel/views/Oftp01.vue
View file @
38ca0b8a
...
@@ -163,32 +163,52 @@ export default {
...
@@ -163,32 +163,52 @@ export default {
columns
:
[
columns
:
[
{
{
label
:
"报文种类"
,
label
:
"报文种类"
,
prop
:
"
num
"
,
prop
:
"
mty
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"收发时间"
,
label
:
"收发时间"
,
prop
:
"
nu
m"
,
prop
:
"
rspti
m"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"G渠道"
,
label
:
"G渠道"
,
prop
:
"
num
"
,
prop
:
"
sweflg
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"记账类型"
,
label
:
"记账类型"
,
prop
:
"
num
"
,
prop
:
"
typ
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"收支"
,
label
:
"收支"
,
prop
:
"
num
"
,
prop
:
"
dcflg
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"金额"
,
label
:
"金额"
,
prop
:
"num"
,
prop
:
"amt"
,
width
:
"120px"
},
{
label
:
"币种"
,
prop
:
"cur"
,
width
:
"120px"
},
{
label
:
"关联状态"
,
prop
:
"sta"
,
width
:
"120px"
},
{
label
:
"处理状态"
,
prop
:
"area"
,
width
:
"120px"
},
{
label
:
"起息日"
,
prop
:
"valdat"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
...
@@ -203,37 +223,42 @@ export default {
...
@@ -203,37 +223,42 @@ export default {
},
},
{
{
label
:
"目标渠道"
,
label
:
"目标渠道"
,
prop
:
"
num
"
,
prop
:
"
multimsg
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"源渠道"
,
label
:
"源渠道"
,
prop
:
"num"
,
prop
:
"chk"
,
width
:
"120px"
},
{
label
:
"下一渠道"
,
prop
:
"kpatyp"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"发报行BIC"
,
label
:
"发报行BIC"
,
prop
:
"
num
"
,
prop
:
"
sedbak
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"收报行BIC"
,
label
:
"收报行BIC"
,
prop
:
"
num
"
,
prop
:
"
rcvbak
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"账户行BIC"
,
label
:
"账户行BIC"
,
prop
:
"
num
"
,
prop
:
"
actbic
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"勾销标识"
,
label
:
"勾销标识"
,
prop
:
"
num
"
,
prop
:
"
offsta
"
,
width
:
"120px"
width
:
"120px"
},
},
{
{
label
:
"最后处理时间"
,
label
:
"最后处理时间"
,
prop
:
"
num
"
,
prop
:
"
lstdat
"
,
width
:
"120px"
width
:
"120px"
}],
}],
data
:
[],
data
:
[],
...
...
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