Commit 276d260d by huangshunlin

查询码表处理

parent dd0c4567
...@@ -3694,7 +3694,6 @@ const CodeTable = { ...@@ -3694,7 +3694,6 @@ const CodeTable = {
fxtyp: [ fxtyp: [
{ label: "售汇", value: "SH" }, { label: "售汇", value: "SH" },
{ label: "结汇", value: "JH" }, { label: "结汇", value: "JH" },
{ label: "套汇", value: "TH" },
], ],
genbro: [ genbro: [
{ label: "否", value: "" }, { label: "否", value: "" },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')" <c-list-search
@form-search="handleSearch"> @form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
class="m-table-search-form" class="m-table-search-form"
ref="paramsForm" ref="paramsForm"
...@@ -70,13 +71,13 @@ ...@@ -70,13 +71,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%"> <el-form-item label="币种" prop="seacur" style="width: 100%">
<c-select <c-select-cur
v-model="model.infcon.cur" v-model="model.infcon.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.seacur" dbCode="curtxt"
> >
</c-select> </c-select-cur>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -108,17 +109,28 @@ ...@@ -108,17 +109,28 @@
</c-list-search> </c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px"> <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" <c-button
@click="toFttpcm"> class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FTTPCM"
@click="toFttpcm"
>
头寸调拨登记确认 头寸调拨登记确认
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-top: 10px; margin-bottom: 10px" title="FTTFCM" <c-button
@click="toFttfcm"> class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FTTFCM"
@click="toFttfcm"
>
资金定存拆借登记及确认 资金定存拆借登记及确认
</c-button> </c-button>
</c-col> </c-col>
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
<div style="height: 90%"> <div style="height: 90%">
<c-col :span="24"> <c-col :span="24">
...@@ -141,52 +153,127 @@ ...@@ -141,52 +153,127 @@
:prop="item.prop" :prop="item.prop"
:min-width="item.width" :min-width="item.width"
> >
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fttyp') >= 0"
>
{{
findCodeLabel(codes.fttyp, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('bnktyp') >= 0"
>
{{
findCodeLabel(codes.bnktyp, scope.row[item.prop].trim())
}}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: center"> <c-col :span="11" style="text-align: center">
<span>操作</span> <span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" <c-button
@click="handler(scope.row)"> style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>
处理 处理
</c-button> </c-button>
<span> </span> <span> </span>
<el-popover <el-popover
trigger="manual" trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr"> v-clickOutside="closeDisplayDialog"
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"> placement="top-end"
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span> 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> </div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true"> <el-table
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width"> :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"> <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div> <div>{{ scope.row[item.prop] }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照 <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照 快照
</c-button> </c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfoZJCJ(scope.row,'FTD')"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfoZJCJ(scope.row, 'FTD')"
>
Info Info
</c-button> </c-button>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box" <div class="pagination-box" style="display: block">
style="display:block">
<el-pagination <el-pagination
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
...@@ -194,7 +281,8 @@ ...@@ -194,7 +281,8 @@
:page-sizes="[10, 20, 50, 100, 500]" :page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"> :total="pagination.total"
>
> >
</el-pagination> </el-pagination>
</div> </div>
...@@ -218,52 +306,119 @@ ...@@ -218,52 +306,119 @@
:prop="item.prop" :prop="item.prop"
:min-width="item.width" :min-width="item.width"
> >
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fttyp') >= 0"
>
{{
findCodeLabel(codes.fttyp, scope.row[item.prop].trim())
}}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: center"> <c-col :span="11" style="text-align: center">
<span>操作</span> <span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" <c-button
@click="handler(scope.row)"> style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>
处理 处理
</c-button> </c-button>
<span> </span> <span> </span>
<el-popover <el-popover
trigger="manual" trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr"> v-clickOutside="closeDisplayDialog"
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"> placement="top-end"
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span> 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> </div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true"> <el-table
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width"> :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"> <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div> <div>{{ scope.row[item.prop] }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照 <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照 快照
</c-button> </c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FTD')"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FTD')"
>
Info Info
</c-button> </c-button>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box" <div class="pagination-box" style="display: block">
style="display:block">
<el-pagination <el-pagination
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
...@@ -271,13 +426,12 @@ ...@@ -271,13 +426,12 @@
:page-sizes="[10, 20, 50, 100, 500]" :page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"> :total="pagination.total"
>
> >
</el-pagination> </el-pagination>
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</c-col> </c-col>
</div> </div>
...@@ -292,19 +446,21 @@ ...@@ -292,19 +446,21 @@
append-to-body append-to-body
width="70%" width="70%"
> >
<m-busbtn ref="childs" :trnUrl="trnUrl" :inifrm="inifrm" :activeTab="activeTab" :model="handleModel" @onChoose="handleClick"> <m-busbtn
ref="childs"
:trnUrl="trnUrl"
:inifrm="inifrm"
:activeTab="activeTab"
:model="handleModel"
@onChoose="handleClick"
>
</m-busbtn> </m-busbtn>
</el-dialog> </el-dialog>
<!--业务锁及待处理数据弹窗--> <!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap> <m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</div> </div>
<!-- </el-col> <!-- </el-col>
</div> --> </div> -->
</template> </template>
<script> <script>
...@@ -316,60 +472,61 @@ export default { ...@@ -316,60 +472,61 @@ export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
components: { "m-busbtn": BusNavbar, components: {
"m-busbtn": BusNavbar,
"m-chklap": CheckLockAndPending, "m-chklap": CheckLockAndPending,
}, },
data() { data() {
return { return {
initdialog:false, initdialog: false,
activeTab: "zjcj", activeTab: "zjcj",
handleModel: {}, handleModel: {},
trnUrl: "", trnUrl: "",
inifrm: "", inifrm: "",
load:false, load: false,
oldRefId:"", oldRefId: "",
trnData: { trnData: {
columns: [ columns: [
{ {
label: "业务编号", label: "业务编号",
prop: "ownref", prop: "ownref",
width:"160" width: "160",
}, },
{ {
label: "交易名称", label: "交易名称",
prop: "inifrmname", prop: "inifrmname",
width:"220" width: "220",
}, },
{ {
label: "交易码", label: "交易码",
prop: "inifrm", prop: "inifrm",
width:"100" width: "100",
}, },
{ {
label: "交易时间", label: "交易时间",
prop: "inidattim", prop: "inidattim",
width:"160" width: "160",
}, },
{ {
label: "状态", label: "状态",
prop: "relflgName", prop: "relflgName",
width:"100" width: "100",
}, },
{ {
label: "币种", label: "币种",
prop: "reloricur", prop: "reloricur",
width:"100" width: "100",
}, },
{ {
label: "金额", label: "金额",
prop: "reloriamt", prop: "reloriamt",
width:"150" width: "150",
}, },
], ],
data:[], data: [],
}, },
stmDatatcdb:{ stmDatatcdb: {
columns:[ columns: [
{ {
label: "头寸调拨编号", label: "头寸调拨编号",
prop: "ownref", prop: "ownref",
...@@ -406,7 +563,7 @@ export default { ...@@ -406,7 +563,7 @@ export default {
width: "120px", width: "120px",
}, },
], ],
data:[], data: [],
}, },
stmData: { stmData: {
columns: [ columns: [
...@@ -465,7 +622,6 @@ export default { ...@@ -465,7 +622,6 @@ export default {
prop: "bnktyp", prop: "bnktyp",
width: "120px", width: "120px",
}, },
], ],
data: [], data: [],
}, },
...@@ -474,19 +630,17 @@ export default { ...@@ -474,19 +630,17 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
total: 0, total: 0,
}
};},
methods: {
}, },
};
},
methods: {},
// mounted() { // mounted() {
// this.getdbCode('cptrou','','cptrou'); // this.getdbCode('cptrou','','cptrou');
// this.getUserList(); // this.getUserList();
// this.getBranchList(); // this.getBranchList();
// } // }
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
::v-deep .c-content-scrollbar { ::v-deep .c-content-scrollbar {
......
import Api from "~/service/Api" import Api from "~/service/Api";
export default class inffxd { export default class inffxd {
constructor() { constructor() {
...@@ -7,15 +7,15 @@ export default class inffxd { ...@@ -7,15 +7,15 @@ export default class inffxd {
seaownref: "", // 业务编号 .infcon.seaownref seaownref: "", // 业务编号 .infcon.seaownref
seanam: "", // 业务名称 .infcon.nam seanam: "", // 业务名称 .infcon.nam
opndat: "", // opndat: "", //
opndatfrom: new Date((new Date).getTime() - (7 * 24 * 60 * 60 * 1000)), // 有效日期自 .infcon.opndatfrom opndatfrom: new Date(new Date().getTime() - 7 * 24 * 60 * 60 * 1000), // 有效日期自 .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto opndatto: new Date(), // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto seaamtto: "", // Amount to .infcon.seaamtto
ownusr:"", ownusr: "",
usr:"", usr: "",
acc:"", acc: "",
acc2:"", acc2: "",
searef: "", searef: "",
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
...@@ -31,7 +31,11 @@ export default class inffxd { ...@@ -31,7 +31,11 @@ export default class inffxd {
dspstm: "", // display stream .infbut.dspstm dspstm: "", // display stream .infbut.dspstm
}, },
//fttyp: "", // Funds Trans. Type .fttyp //fttyp: "", // Funds Trans. Type .fttyp
pageId: "" // ctx的key pageId: "", // ctx的key
} dbCodes: {
TRAINT: [],
TRAOUT: [],
},
};
} }
} }
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
style="width: 100%" style="width: 100%"
></c-date-picker> ></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
...@@ -60,58 +59,79 @@ ...@@ -60,58 +59,79 @@
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="客户名称" prop="ownusr" style="width: 100%">
label="客户名称" prop="ownusr" style="width: 100%"> <c-input
<c-input v-model="model.infcon.ownusr" maxlength="40" placeholder="请输入客户名称"> v-model="model.infcon.ownusr"
maxlength="40"
placeholder="请输入客户名称"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="账户经理" prop="accmng" style="width: 100%">
label="账户经理" prop="accmng" style="width: 100%"> <c-input
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入账户经理名称"> v-model="model.infcon.accmng"
maxlength="40"
placeholder="请输入账户经理名称"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="外汇交易类型" prop="fxtyp" style="width: 100%"> <el-form-item
label="外汇交易类型"
prop="fxtyp"
style="width: 100%"
>
<c-select <c-select
v-model="model.infcon.fxtyp" v-model="model.infcon.fxtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择外汇交易类型" placeholder="请选择外汇交易类型"
:code="codes.fxtyp"> :code="codes.fxtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="资金部经办人" prop="usr" style="width: 100%">
label="资金部经办人" prop="usr" style="width: 100%"> <c-input
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入资金部经办人名称"> v-model="model.infcon.usr"
maxlength="40"
placeholder="请输入资金部经办人名称"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="外币结算账户" prop="acc" style="width: 100%">
label="外币结算账户" prop="acc" style="width: 100%"> <c-input
<c-input v-model="model.infcon.acc" maxlength="40" placeholder="请输入外币结算账户"> v-model="model.infcon.acc"
maxlength="40"
placeholder="请输入外币结算账户"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="本币结算账户" prop="acc2" style="width: 100%"> label="本币结算账户"
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入本币结算账户"> prop="acc2"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr"
maxlength="40"
placeholder="请输入本币结算账户"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
...@@ -120,37 +140,59 @@ ...@@ -120,37 +140,59 @@
v-model="model.infcon.seasta" v-model="model.infcon.seasta"
style="width: 100%" style="width: 100%"
placeholder="请选择状态" placeholder="请选择状态"
:code="codes.seasta"> :code="codes.seasta"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
</template> </template>
</c-list-search> </c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px"> <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="FXTSSB" <c-button
@click="toFxtssb"> class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FXTSSB"
@click="toFxtssb"
>
即期结汇 即期结汇
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTSSS" <c-button
@click="toFxtsss"> class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTSSS"
@click="toFxtsss"
>
即期售汇 即期售汇
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTLOP" <c-button
@click="toFxtlop"> class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTLOP"
@click="toFxtlop"
>
结售汇平盘登记 结售汇平盘登记
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTFOP" <c-button
@click="toFxtfop"> class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTFOP"
@click="toFxtfop"
>
外币兑换平盘登记 外币兑换平盘登记
</c-button> </c-button>
</c-col> </c-col>
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
<div style="height: 90%"> <div style="height: 90%">
<c-col :span="24"> <c-col :span="24">
...@@ -173,53 +215,144 @@ ...@@ -173,53 +215,144 @@
:prop="item.prop" :prop="item.prop"
:min-width="item.width" :min-width="item.width"
> >
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: center"> <c-col :span="11" style="text-align: center">
<span>操作</span> <span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理 <c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button> </c-button>
<span> </span> <span> </span>
<el-popover <el-popover
trigger="manual" trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr"> v-clickOutside="closeDisplayDialog"
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"> placement="top-end"
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span> 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> </div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true"> <el-table
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width"> :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"> <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div> <div>{{ scope.row[item.prop] }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照 <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照 快照
</c-button> </c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info Info
</c-button> </c-button>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box" <div class="pagination-box" style="display: block">
style="display:block">
<el-pagination <el-pagination
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total" :total="Number(pagination.total)"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber" :current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange" @size-change="handleSizeChange"
...@@ -247,53 +380,144 @@ ...@@ -247,53 +380,144 @@
:prop="item.prop" :prop="item.prop"
:min-width="item.width" :min-width="item.width"
> >
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: center"> <c-col :span="11" style="text-align: center">
<span>操作</span> <span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理 <c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button> </c-button>
<span> </span> <span> </span>
<el-popover <el-popover
trigger="manual" trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr"> v-clickOutside="closeDisplayDialog"
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"> placement="top-end"
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span> 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> </div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true"> <el-table
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width"> :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"> <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div> <div>{{ scope.row[item.prop] }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照 <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照 快照
</c-button> </c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info Info
</c-button> </c-button>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box" <div class="pagination-box" style="display: block">
style="display:block">
<el-pagination <el-pagination
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total" :total="Number(pagination.total)"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber" :current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange" @size-change="handleSizeChange"
...@@ -321,52 +545,144 @@ ...@@ -321,52 +545,144 @@
:prop="item.prop" :prop="item.prop"
:min-width="item.width" :min-width="item.width"
> >
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: center"> <c-col :span="11" style="text-align: center">
<span>操作</span> <span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理 <c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button> </c-button>
<span> </span> <span> </span>
<el-popover <el-popover
trigger="manual" trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr"> v-clickOutside="closeDisplayDialog"
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;"> placement="top-end"
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span> 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> </div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true"> <el-table
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width"> :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"> <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div> <div>{{ scope.row[item.prop] }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px"> <el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照 <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照 快照
</c-button> </c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')"> <c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info Info
</c-button> </c-button>
</el-popover> </el-popover>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box" <div class="pagination-box" style="display: block">
style="display:block">
<el-pagination <el-pagination
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total" :total="Number(pagination.total)"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber" :current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange" @size-change="handleSizeChange"
...@@ -380,15 +696,27 @@ ...@@ -380,15 +696,27 @@
</div> </div>
</el-col> </el-col>
<!-- 点击处理弹框 --> <!-- 点击处理弹框 -->
<el-dialog v-dialogDrag v-if="initdialog" :visible.sync="initdialog" :title="titleNam" append-to-body width="70%"> <el-dialog
<m-busbtn ref="childs" :trnUrl="trnUrl" :inifrm="inifrm" :activeTab="activeTab" :model="handleModel" @onChoose="handleClick"></m-busbtn> v-dialogDrag
v-if="initdialog"
:visible.sync="initdialog"
:title="titleNam"
append-to-body
width="70%"
>
<m-busbtn
ref="childs"
:trnUrl="trnUrl"
:inifrm="inifrm"
:activeTab="activeTab"
:model="handleModel"
@onChoose="handleClick"
></m-busbtn>
</el-dialog> </el-dialog>
<!--业务锁及待处理数据弹窗--> <!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap> <m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</div> </div>
</template> </template>
<script> <script>
...@@ -396,7 +724,6 @@ import event from "../event"; ...@@ -396,7 +724,6 @@ import event from "../event";
import BusNavbar from "~/components/business/BusNavbar1"; import BusNavbar from "~/components/business/BusNavbar1";
import CheckLockAndPending from "~/components/business/CheckLockAndPending"; import CheckLockAndPending from "~/components/business/CheckLockAndPending";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -409,16 +736,16 @@ export default { ...@@ -409,16 +736,16 @@ export default {
return { return {
activeTab: "jsh", activeTab: "jsh",
load: false, load: false,
sptVisible:false, sptVisible: false,
dealSptData:[], dealSptData: [],
selectedModelFx:{}, selectedModelFx: {},
handleModel:{}, handleModel: {},
queryCon:{}, queryCon: {},
trnUrl:"", trnUrl: "",
inifrm:"", inifrm: "",
oldRefId:"", oldRefId: "",
load:false, load: false,
titleNam:"结售汇/兑换平盘交易列表", titleNam: "结售汇/兑换平盘交易列表",
stmData: { stmData: {
columns: [ columns: [
...@@ -498,21 +825,6 @@ export default { ...@@ -498,21 +825,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体", label: "交易主体",
prop: "trnman", prop: "trnman",
width: "120px", width: "120px",
...@@ -539,21 +851,6 @@ export default { ...@@ -539,21 +851,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率",
prop: "cshpct",
width: "120px",
},
{
label: "账户经理", label: "账户经理",
prop: "accmng", prop: "accmng",
width: "120px", width: "120px",
...@@ -563,25 +860,10 @@ export default { ...@@ -563,25 +860,10 @@ export default {
prop: "rat1", prop: "rat1",
width: "120px", width: "120px",
}, },
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
], ],
data: [], data: [],
}, },
stmDatajshpp: { stmDatajshpp: {
columns: [ columns: [
{ {
...@@ -660,21 +942,6 @@ export default { ...@@ -660,21 +942,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体", label: "交易主体",
prop: "trnman", prop: "trnman",
width: "120px", width: "120px",
...@@ -701,16 +968,6 @@ export default { ...@@ -701,16 +968,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率", label: "现金覆盖率",
prop: "cshpct", prop: "cshpct",
width: "120px", width: "120px",
...@@ -725,25 +982,10 @@ export default { ...@@ -725,25 +982,10 @@ export default {
prop: "rat1", prop: "rat1",
width: "120px", width: "120px",
}, },
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
], ],
data: [], data: [],
}, },
stmDataDh: { stmDataDh: {
columns: [ columns: [
{ {
...@@ -822,21 +1064,6 @@ export default { ...@@ -822,21 +1064,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体", label: "交易主体",
prop: "trnman", prop: "trnman",
width: "120px", width: "120px",
...@@ -863,16 +1090,6 @@ export default { ...@@ -863,16 +1090,6 @@ export default {
width: "120px", width: "120px",
}, },
{ {
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率", label: "现金覆盖率",
prop: "cshpct", prop: "cshpct",
width: "120px", width: "120px",
...@@ -887,20 +1104,6 @@ export default { ...@@ -887,20 +1104,6 @@ export default {
prop: "rat1", prop: "rat1",
width: "120px", width: "120px",
}, },
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
], ],
data: [], data: [],
}, },
...@@ -911,59 +1114,58 @@ export default { ...@@ -911,59 +1114,58 @@ export default {
{ {
label: "业务编号", label: "业务编号",
prop: "ownref", prop: "ownref",
width:"160" width: "160",
}, },
{ {
label: "交易名称", label: "交易名称",
prop: "inifrmname", prop: "inifrmname",
width:"220" width: "220",
}, },
{ {
label: "交易码", label: "交易码",
prop: "inifrm", prop: "inifrm",
width:"100" width: "100",
}, },
{ {
label: "交易时间", label: "交易时间",
prop: "inidattim", prop: "inidattim",
width:"160" width: "160",
}, },
{ {
label: "状态", label: "状态",
prop: "relflgName", prop: "relflgName",
width:"100" width: "100",
}, },
{ {
label: "币种", label: "币种",
prop: "reloricur", prop: "reloricur",
width:"100" width: "100",
}, },
{ {
label: "金额", label: "金额",
prop: "reloriamt", prop: "reloriamt",
width:"150" width: "150",
}, },
], ],
data: [] data: [],
}, },
// 处理 // 处理
initdialog: false, initdialog: false,
handlerDataList: [], handlerDataList: [],
pagination: { pagination: {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
total: 0 total: 0,
}, },
}; };
}, },
methods: {}, methods: {},
mounted () { mounted() {
// this.getdbCode('lcrtyp','EN','lcrtyp'); this.getdbCode("TRAINT", "EN", "TRAINT");
// this.getdbCode('avbby0','EN','avbby'); this.getdbCode("TRAOUT", "EN", "TRAOUT");
}, },
created: function() {} created: function () {},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
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