Commit 018e0ce9 by zhoujunpeng

资金拆借界面修改

parent 8540ea43
......@@ -2058,7 +2058,7 @@ const DisplayRouter = [
name: "DisplayFttfcm",
path: "fttfcm",
component: () => import("./Funds/DisplayFttfcm.vue"),
meta: {keepAlive: true, title: "交易快照-资金调拨"}
meta: {keepAlive: true, title: "交易快照-资金拆借"}
},
{
......
......@@ -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 = true;
}
// 历史快照
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 = false;
}
// 历史快照
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
......@@ -115,7 +115,7 @@ const DisplayRouter = [
},
{
name: "InfoFtd",
path: "fttfcm",
path: "fttfcminf",
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment