Commit 018e0ce9 by zhoujunpeng

资金拆借界面修改

parent 8540ea43
...@@ -2058,7 +2058,7 @@ const DisplayRouter = [ ...@@ -2058,7 +2058,7 @@ const DisplayRouter = [
name: "DisplayFttfcm", name: "DisplayFttfcm",
path: "fttfcm", path: "fttfcm",
component: () => import("./Funds/DisplayFttfcm.vue"), component: () => import("./Funds/DisplayFttfcm.vue"),
meta: {keepAlive: true, title: "交易快照-资金调拨"} meta: {keepAlive: true, title: "交易快照-资金拆借"}
}, },
{ {
......
...@@ -160,13 +160,39 @@ export default { ...@@ -160,13 +160,39 @@ export default {
this.initdialog = false; this.initdialog = false;
}, },
// /**
// * 打开快照页面头寸调拨
// */
// 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'
// }
// });
// }
// },
/** /**
* 打开快照页面 * 打开快照页面资金拆借
* @param {string} inr
*/ */
display(row) { display(row) {
if(this.oldRefId){ if(this.oldRefId){
this.$refs[this.oldRefId].showPopper = true; this.$refs[this.oldRefId].showPopper = false;
} }
// 历史快照 // 历史快照
if (row.inr.length == 8) { if (row.inr.length == 8) {
...@@ -178,9 +204,9 @@ export default { ...@@ -178,9 +204,9 @@ export default {
type:'view' type:'view'
} }
}) })
} else if (row.inr.length == 4) {//TODO:修改为16 本地测试:4 } else if (row.inr.length == 16) {
this.routerPush({ this.routerPush({
path: `/display/fttpcm`,//${row.inifrm.toLowerCase()},fttpcm 本地测试写死 path: `/display/${row.inifrm.toLowerCase()}`,
query: { query: {
businessInr: row.inr, businessInr: row.inr,
businessType: 'TRN' businessType: 'TRN'
...@@ -197,7 +223,14 @@ export default { ...@@ -197,7 +223,14 @@ export default {
//Info //Info
toInfo(row,objtyp,subobjtyp,paytyp){ toInfo(row,objtyp,subobjtyp,paytyp){
this.routerPush({ 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} query: { inr: row.inr,objtyp:objtyp,pntinr:row.pntinr,subobjtyp:subobjtyp,paytyp:paytyp}
}); });
}, },
...@@ -219,6 +252,13 @@ export default { ...@@ -219,6 +252,13 @@ export default {
const codeobj = this.model.dbCodes[codenam].find(obj => obj.value === value) const codeobj = this.model.dbCodes[codenam].find(obj => obj.value === value)
return codeobj ? codeobj.label : value; return codeobj ? codeobj.label : value;
}, },
//进入头寸调拨交易
toFttpcm() {
this.routerPush({
path: '/business/fttpcm',
});
},
}, },
}; };
\ No newline at end of file
...@@ -115,7 +115,7 @@ const DisplayRouter = [ ...@@ -115,7 +115,7 @@ const DisplayRouter = [
}, },
{ {
name: "InfoFtd", name: "InfoFtd",
path: "fttfcm", path: "fttfcminf",
component: () => import("./InfoFtd.vue"), component: () => import("./InfoFtd.vue"),
meta: {keepAlive: true, title: "Info-资金拆借"} meta: {keepAlive: true, title: "Info-资金拆借"}
}, },
...@@ -125,6 +125,12 @@ const DisplayRouter = [ ...@@ -125,6 +125,12 @@ const DisplayRouter = [
component: () => import("./InfoFxd.vue"), component: () => import("./InfoFxd.vue"),
meta: {keepAlive: true, title: "Info-结售汇/兑换平盘交易"} meta: {keepAlive: true, title: "Info-结售汇/兑换平盘交易"}
}, },
{
name: "InfoFtd",
path: "fttpcminf",
component: () => import("./InfoFtd.vue"),
meta: {keepAlive: true, title: "Info-头寸调拨"}
},
]; ];
export default DisplayRouter; 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