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
018e0ce9
Commit
018e0ce9
authored
Oct 15, 2024
by
zhoujunpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资金拆借界面修改
parent
8540ea43
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
233 additions
and
195 deletions
+233
-195
DisplayRouter.js
src/page/Display/DisplayRouter.js
+1
-1
index.js
src/page/Funds/Infftd/event/index.js
+70
-29
Infsea.vue
src/page/Funds/Infftd/views/Infsea.vue
+154
-164
InfoRouter.js
src/page/Info/InfoRouter.js
+8
-1
No files found.
src/page/Display/DisplayRouter.js
View file @
018e0ce9
...
...
@@ -2058,7 +2058,7 @@ const DisplayRouter = [
name
:
"DisplayFttfcm"
,
path
:
"fttfcm"
,
component
:
()
=>
import
(
"./Funds/DisplayFttfcm.vue"
),
meta
:
{
keepAlive
:
true
,
title
:
"交易快照-资金
调拨
"
}
meta
:
{
keepAlive
:
true
,
title
:
"交易快照-资金
拆借
"
}
},
{
...
...
src/page/Funds/Infftd/event/index.js
View file @
018e0ce9
...
...
@@ -160,34 +160,60 @@ export default {
this
.
initdialog
=
false
;
},
/**
* 打开快照页面
* @param {string} inr
// /**
// * 打开快照页面头寸调拨
// */
// display(row) {
// if(this.oldRefId){
// this.$refs[this.oldRefId].showPopper = false;
// }
// // 历史快照
// if (row.inr.length == 8) {
// this.routerPush({
// path: '/business/HistoryRecord',
// query: {
// businessInr: row.inr,
// businessType: 'TRN',
// type:'view'
// }
// })
// } else if (row.inr.length == 4) {//TODO:修改为16 本地测试:4
// this.routerPush({
// path: `/display/fttpcm`,//${row.inifrm.toLowerCase()}
// query: {
// businessInr: row.inr,
// businessType: 'TRN'
// }
// });
// }
// },
/**
* 打开快照页面资金拆借
*/
display
(
row
)
{
if
(
this
.
oldRefId
){
this
.
$refs
[
this
.
oldRefId
].
showPopper
=
tru
e
;
}
// 历史快照
if
(
row
.
inr
.
length
==
8
)
{
this
.
routerPush
({
path
:
'/business/HistoryRecord'
,
query
:
{
businessInr
:
row
.
inr
,
businessType
:
'TRN'
,
type
:
'view'
}
})
}
else
if
(
row
.
inr
.
length
==
4
)
{
//TODO:修改为16 本地测试:4
this
.
routerPush
({
path
:
`/display/fttpcm`
,
//${row.inifrm.toLowerCase()},fttpcm 本地测试写死
query
:
{
businessInr
:
row
.
inr
,
businessType
:
'TRN'
}
});
}
},
display
(
row
)
{
if
(
this
.
oldRefId
){
this
.
$refs
[
this
.
oldRefId
].
showPopper
=
fals
e
;
}
// 历史快照
if
(
row
.
inr
.
length
==
8
)
{
this
.
routerPush
({
path
:
'/business/HistoryRecord'
,
query
:
{
businessInr
:
row
.
inr
,
businessType
:
'TRN'
,
type
:
'view'
}
})
}
else
if
(
row
.
inr
.
length
==
16
)
{
this
.
routerPush
({
path
:
`/display/
${
row
.
inifrm
.
toLowerCase
()}
`
,
query
:
{
businessInr
:
row
.
inr
,
businessType
:
'TRN'
}
});
}
},
changeOwnref
(){
if
(
this
.
model
.
infcon
.
seaownref
){
...
...
@@ -197,7 +223,14 @@ export default {
//Info
toInfo
(
row
,
objtyp
,
subobjtyp
,
paytyp
){
this
.
routerPush
({
path
:
"/business/fttpcm"
,
path
:
"/business/fttpcminf"
,
query
:
{
inr
:
row
.
inr
,
objtyp
:
objtyp
,
pntinr
:
row
.
pntinr
,
subobjtyp
:
subobjtyp
,
paytyp
:
paytyp
}
});
},
//InfoZJCJ
toInfoZJCJ
(
row
,
objtyp
,
subobjtyp
,
paytyp
){
this
.
routerPush
({
path
:
"/business/fttfcminf"
,
query
:
{
inr
:
row
.
inr
,
objtyp
:
objtyp
,
pntinr
:
row
.
pntinr
,
subobjtyp
:
subobjtyp
,
paytyp
:
paytyp
}
});
},
...
...
@@ -218,7 +251,14 @@ export default {
getCodelabel
(
value
,
codenam
)
{
const
codeobj
=
this
.
model
.
dbCodes
[
codenam
].
find
(
obj
=>
obj
.
value
===
value
)
return
codeobj
?
codeobj
.
label
:
value
;
},
},
//进入头寸调拨交易
toFttpcm
()
{
this
.
routerPush
({
path
:
'/business/fttpcm'
,
});
},
},
};
\ No newline at end of file
src/page/Funds/Infftd/views/Infsea.vue
View file @
018e0ce9
...
...
@@ -106,189 +106,179 @@
</el-form>
</
template
>
</c-list-search>
<!--
<c-col
:span=
"24"
style=
"margin-top: 10px; margin-bottom: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-top: 10px; margin-bottom: 10px"
title=
"FTTPCM"
@
click=
"toFttpcm"
>
头寸调拨登记确认
</c-button>
</c-col>
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane label="资金
调拨查询" name="zjdb
">
<el-tab-pane
label=
"资金
拆借查询"
name=
"zjcj
"
>
<el-table
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
size=
"small"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
</el-table-column>
</el-table>
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"180px"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: center"
>
<span>
操作
</span>
</c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-right: 5px"
size=
"small"
type=
"text"
@
click=
"handler(scope.row)"
>
处理
</c-button>
<span>
</span>
<el-popover
trigger=
"manual"
v-clickOutside=
"closeDisplayDialog"
placement=
"top-end"
title=
"历史信息"
width=
"1200"
:ref=
"'popover_' + scope.row.inr"
>
<div
style=
"text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"
>
<span
class=
"el-icon-close"
style=
"cursor: pointer"
@
click=
"closeDetailsDialog('popover_' + scope.row.inr)"
></span>
</div>
<el-table
:data=
"trnData.data"
:columns=
"trnData.columns"
:showButtonFlg=
"true"
>
<el-table-column
v-for=
"(item, key) in trnData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:width=
"item.width"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
[
item
.
prop
]
}}
</div>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"100px"
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"display(scope.row)"
>
快照
</c-button>
</
template
>
</el-table-column>
</el-table>
<c-button
style=
"margin-left: 0"
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"details(scope.row)"
>
快照
</c-button>
<c-button
style=
"margin-left: 0"
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"toInfoZJCJ(scope.row,'FTD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div
class=
"pagination-box"
style=
"display:block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"pagination.pageIndex"
:page-sizes=
"[10, 20, 50, 100, 500]"
:page-size=
"pagination.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
>
>
</el-pagination>
</div>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
-->
<el-col
:span=
"24"
style=
"margin-top: 10px"
>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<el-tabs
v-model=
"activeTab"
class=
"y-tabs"
>
<el-tab-pane
label=
"资金调拨查询"
name=
"zjdb"
>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<c-tabs
v-model=
"activeTab"
type=
"card"
ref=
"elment"
>
<el-table
v-loading=
"load"
:data=
"stmData.data"
height=
"calc(100vh - 480px)"
border
:columns=
"stmData.columns"
:showButtonFlg=
"true"
:highlight-current-row=
"true"
@
row-dblclick=
"TableDblRow"
>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
</el-table-column>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"180px"
>
<
template
slot=
"header"
>
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col
:span=
"11"
style=
"text-align: center"
><span>
操作
</span>
</c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-right: 7px"
<el-tab-pane
label=
"头寸调拨查询"
name=
"tcdb"
>
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
v-loading=
"load"
style=
"width: 100%"
size=
"small"
type=
"text"
@
click=
"handler(scope.row)"
>
处理
</c-button>
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover
placement=
"top-start"
title=
"历史信息"
width=
"1200"
trigger=
"manual"
v-clickOutside=
"closeDisplayDialog"
:ref=
"'popover_' + scope.row.inr"
:border=
"true"
height=
"calc(100vh - 480px)"
:highlight-current-row=
"true"
>
<el-table-column
v-for=
"(item, key) in stmData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:min-width=
"item.width"
>
<div
style=
"
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class=
"el-icon-close"
style=
"cursor: pointer"
@
click=
"closeDetailsDialog('popover_' + scope.row.inr)"
></span>
</div>
<!--stmData改为trnData-->
<el-table
:data=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<el-table-column
v-for=
"(item, key) in trnData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:width=
"item.width"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
[
item
.
prop
]
}}
</div>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"100px"
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"display(scope.row)"
>
快照
</c-button
>
</
template
>
</el-table-column>
</el-table>
<c-button
style=
"margin-left: 0px"
size=
"small"
type=
"text"
@
click=
"details(scope.row)"
slot=
"reference"
>
快照
</c-button>
<c-button
style=
"margin-left: 0"
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"toInfo(scope.row,'CPD','','I')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div
class=
"pagination-box"
style=
"display:block"
>
<el-pagination
@
size-change=
"handleSizeChange"
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"180px"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: center"
>
<span>
操作
</span>
</c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-right: 5px"
size=
"small"
type=
"text"
@
click=
"handler(scope.row)"
>
处理
</c-button>
<span>
</span>
<el-popover
trigger=
"manual"
v-clickOutside=
"closeDisplayDialog"
placement=
"top-end"
title=
"历史信息"
width=
"1200"
:ref=
"'popover_' + scope.row.inr"
>
<div
style=
"text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"
>
<span
class=
"el-icon-close"
style=
"cursor: pointer"
@
click=
"closeDetailsDialog('popover_' + scope.row.inr)"
></span>
</div>
<el-table
:data=
"trnData.data"
:columns=
"trnData.columns"
:showButtonFlg=
"true"
>
<el-table-column
v-for=
"(item, key) in trnData.columns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
:width=
"item.width"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
[
item
.
prop
]
}}
</div>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"100px"
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"display(scope.row)"
>
快照
</c-button>
</
template
>
</el-table-column>
</el-table>
<c-button
style=
"margin-left: 0"
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"details(scope.row)"
>
快照
</c-button>
<c-button
style=
"margin-left: 0"
type=
"text"
size=
"small"
slot=
"reference"
@
click=
"toInfo(scope.row,'FTD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div
class=
"pagination-box"
style=
"display:block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"pagination.pageIndex"
:page-sizes=
"[10, 20, 50, 100, 500]"
:page-size=
"pagination.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"pagination.total"
>
</el-pagination>
</div>
</c-tabs>
</c-col>
>
</el-pagination>
</div>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
<!-- 点击处理ba弹框 -->
<el-dialog
...
...
@@ -311,8 +301,8 @@
</div>
</el-col>
</div>
<
!-- <
/el-col>
</div>
-->
</template>
<
script
>
import
event
from
"../event"
;
...
...
src/page/Info/InfoRouter.js
View file @
018e0ce9
...
...
@@ -115,7 +115,7 @@ const DisplayRouter = [
},
{
name
:
"InfoFtd"
,
path
:
"fttfcm"
,
path
:
"fttfcm
inf
"
,
component
:
()
=>
import
(
"./InfoFtd.vue"
),
meta
:
{
keepAlive
:
true
,
title
:
"Info-资金拆借"
}
},
...
...
@@ -125,6 +125,12 @@ const DisplayRouter = [
component
:
()
=>
import
(
"./InfoFxd.vue"
),
meta
:
{
keepAlive
:
true
,
title
:
"Info-结售汇/兑换平盘交易"
}
},
{
name
:
"InfoFtd"
,
path
:
"fttpcminf"
,
component
:
()
=>
import
(
"./InfoFtd.vue"
),
meta
:
{
keepAlive
:
true
,
title
:
"Info-头寸调拨"
}
},
];
export
default
DisplayRouter
;
\ No newline at end of file
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