Commit b005996f by zhoujunpeng

Merge branch 'develop' of http://192.168.0.110:11080/isc-v3.1/isc-web-vue into develop

parents c9f85cda 7864d79e
...@@ -10036,7 +10036,29 @@ const CodeTable = { ...@@ -10036,7 +10036,29 @@ const CodeTable = {
{label: "银行内部机构号",value:"13" }, {label: "银行内部机构号",value:"13" },
{label: "金融机构代码",value:"14" }, {label: "金融机构代码",value:"14" },
{label: "其他",value:"99" }, {label: "其他",value:"99" },
] ],
stacod: [
{label: "等待自动清分", value: "A"},
{label: "等待手工清分", value: "X"},
{label: "等待发送", value: "W"},
{label: "等待交换", value: "M"},
{label: "疑似黑名单", value: "B"},
{label: "黑名单忽略", value: "F"},
{label: "退回报文编辑", value: "C"},
{label: "报文编辑丢弃", value: "G"},
{label: "待报文复核", value: "V"},
{label: "报文等待放行", value: "L"},
{label: "挂账状态", value: "H"},
{label: "已处理", value: "D"},
{label: "废弃", value: "Q"},
{label: "已拒绝", value: "1"},
{label: "已排队", value: "2"},
{label: "已清算", value: "3"},
{label: "已退回", value: "4"},
{label: "发送异常", value: "E"},
{label: "无需复核", value: "O"},
{label: "待退报复核", value: "T"},
],
}; };
export default CodeTable; export default CodeTable;
...@@ -4,6 +4,38 @@ import moment from "moment"; ...@@ -4,6 +4,38 @@ import moment from "moment";
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
this.load = true;
let rtnmsg = await Api.post("/frontend/cpsmsg/query", {
...this.model.cpsmsgp,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
const {codes:{sta1}} = this;
list.forEach(v=>{
for(let i in sta1){
if(sta1[i].value == v.sta){
v.sta = sta1[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() { async handleReset() {
}, },
......
...@@ -7,18 +7,17 @@ ...@@ -7,18 +7,17 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="申请序号" prop="" style="width: 100%"> <el-form-item label="申请序号" prop="" style="width: 100%">
<c-input v-model="model.cpsmsgp.reqnum" style="width: 100%" placeholder="请输入申请序号"/> <c-input v-model="model.cpsmsgp.reqnum" style="width: 100%" placeholder="请输入申请序号" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%"> <el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.cpsmsgp.subtyp" style="width: 100%" placeholder="请选择报文类型" <c-select v-model="model.cpsmsgp.subtyp" style="width: 100%" placeholder="请选择报文类型" :code="codes.subtyp" />
:code="codes.subtyp"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="发起节点" prop="" style="width: 100%"> <el-form-item label="发起节点" prop="" style="width: 100%">
<c-input v-model="model.cpsmsgp.sndcod" style="width: 100%" placeholder="请输入发起节点"/> <c-input v-model="model.cpsmsgp.sndcod" style="width: 100%" placeholder="请输入发起节点" />
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -31,15 +30,21 @@ ...@@ -31,15 +30,21 @@
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;"> <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" type="primary">
type="primary">{{ $t('public.归档') }} {{ $t('public.归档') }}
</c-button> </c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" <c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20"
style="margin-left: 20" type="primary">ReRouting type="primary">ReRouting
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary"> <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }} {{ $t('public.导出Excel') }}
</c-button> </c-button>
<!-- <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="handleToLogin">
登录
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="handleToLogout">
退出
</c-button> -->
</el-col> </el-col>
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
...@@ -48,34 +53,41 @@ ...@@ -48,34 +53,41 @@
<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" @selection-change="handleSelectionChange" size="small" :border="true" height="calc(100vh - 480px)"
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>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width"> :min-width="item.width">
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@size-change="handleSizeChange" @current-change="handleCurrentChange">
@current-change="handleCurrentChange">
</el-pagination> </el-pagination>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</c-col> </c-col>
</div> </div>
</el-col> </el-col>
<login-dialog ref="loginDialog" :codes="codes"></login-dialog>
<logout-dialog ref="logoutDialog" :codes="codes"></logout-dialog>
</div> </div>
</template> </template>
<script> <script>
import event from "../event"; import event from "../event";
import loginDialog from './loginDialog'
import logoutDialog from './logoutDialog'
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
components: {
'login-dialog': loginDialog,
'logout-dialog': logoutDialog,
},
data() { data() {
return { return {
activeTab: 'fb', activeTab: 'fb',
...@@ -151,7 +163,14 @@ export default { ...@@ -151,7 +163,14 @@ export default {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} }
}, },
methods: {}, methods: {
handleToLogin() {
this.$refs.loginDialog.visible = true
},
handleToLogout() {
this.$refs.logoutDialog.visible = true
},
},
mounted: function () { mounted: function () {
}, },
}; };
......
<template>
<div>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="false"
title="签到信息展示" destroy-on-close width="50%" @close="visible = false">
<div>
<el-form
:model="formdata"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<el-form-item label="报文标识号" prop="msgcod" style="width: 100%">
<c-input v-model="formdata.msgcod" style="width: 100%" placeholder="请输入报文标识号" />
</el-form-item>
<el-form-item label="报文参考号" prop="msgref" style="width: 100%">
<c-input v-model="formdata.msgref" style="width: 100%" placeholder="请输入报文参考号" />
</el-form-item>
<el-form-item label="报文发起方" prop="sndnam" style="width: 100%">
<c-input v-model="formdata.sndnam" style="width: 100%" placeholder="请输入报文发起方" />
</el-form-item>
<el-form-item label="报文接收方" prop="rcvnam" style="width: 100%">
<c-input v-model="formdata.rcvnam" style="width: 100%" placeholder="请输入报文接收方" />
</el-form-item>
<el-form-item label="发起日期" prop="snddat" style="width: 100%">
<c-date-picker type="date" v-model="formdata.snddat" style="width: 100%"></c-date-picker>
</el-form-item>
<el-form-item label="报文类型" prop="usrmsggrp.usrtab.subtyp" style="width: 100%">
<c-select v-model="formdata.usrmsggrp.usrtab.subtyp" style="width: 100%" placeholder="请选择报文类型" :code="codes.subtyp" />
</el-form-item>
<el-form-item label="操作类型" prop="lgotyp" style="width: 100%">
<c-select v-model="formdata.lgotyp" style="width: 100%" placeholder="请选择报文类型" :code="[]" />
</el-form-item>
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="handleSubmit()">确 定</el-button>
<el-button @click="handleCancel()">取 消</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
export default {
mixins: [],
props: ['codes'],
computed: {
},
data() {
return {
visible: false,
formdata: {
msgcod: '',
msgref: '',
sndnam: '',
rcvnam: '',
snddat: '',
lgotyp: '',
usrmsggrp: {
usrtab: {
subtyp: ''
}
},
},
rules: {
}
};
},
watch: {
},
methods: {
async handleSubmit() {
let rtnmsg = await Api.post("/frontend/fxdsdb/saveXml", this.formdata);
if (rtnmsg.respCode == SUCCESS) {
this.visible = false;
this.$notify.success({
title: '提示',
message: '提交成功',
});
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
},
handleCancel() {
this.formdata.msgcod = ''
this.formdata.msgref = ''
this.formdata.sndnam = ''
this.formdata.rcvnam = ''
this.formdata.snddat = ''
this.formdata.lgotyp = ''
this.formdata.usrmsggrp.usrtab.subtyp = ''
this.visible = false;
}
}
};
</script>
<style scoped lang="less"></style>
\ No newline at end of file
<template>
<div>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="false"
title="签退信息展示" destroy-on-close width="50%" @close="visible = false">
<div>
<el-form
:model="formdata"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<el-form-item label="报文标识号" prop="msgcod" style="width: 100%">
<c-input v-model="formdata.msgcod" style="width: 100%" placeholder="请输入报文标识号" />
</el-form-item>
<el-form-item label="报文参考号" prop="msgref" style="width: 100%">
<c-input v-model="formdata.msgref" style="width: 100%" placeholder="请输入报文参考号" />
</el-form-item>
<el-form-item label="报文发起方" prop="sndnam" style="width: 100%">
<c-input v-model="formdata.sndnam" style="width: 100%" placeholder="请输入报文发起方" />
</el-form-item>
<el-form-item label="报文接收方" prop="rcvnam" style="width: 100%">
<c-input v-model="formdata.rcvnam" style="width: 100%" placeholder="请输入报文接收方" />
</el-form-item>
<el-form-item label="发起日期" prop="snddat" style="width: 100%">
<c-date-picker type="date" v-model="formdata.snddat" style="width: 100%"></c-date-picker>
</el-form-item>
<el-form-item label="报文类型" prop="usrmsggrp.usrtab.subtyp" style="width: 100%">
<c-select v-model="formdata.usrmsggrp.usrtab.subtyp" style="width: 100%" placeholder="请选择报文类型" :code="codes.subtyp" />
</el-form-item>
<el-form-item label="操作类型" prop="lgotyp" style="width: 100%">
<c-select v-model="formdata.lgotyp" style="width: 100%" placeholder="请选择报文类型" :code="[]" />
</el-form-item>
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="handleSubmit()">确 定</el-button>
<el-button @click="handleCancel()">取 消</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
export default {
mixins: [],
props: ['codes'],
computed: {
},
data() {
return {
visible: false,
formdata: {
msgcod: '',
msgref: '',
sndnam: '',
rcvnam: '',
snddat: '',
lgotyp: '',
usrmsggrp: {
usrtab: {
subtyp: ''
}
},
},
rules: {}
};
},
watch: {
},
methods: {
async handleSubmit() {
let rtnmsg = await Api.post("/frontend/fxdsdb/saveXml", this.formdata);
if (rtnmsg.respCode == SUCCESS) {
this.visible = false;
this.$notify.success({
title: '提示',
message: '提交成功',
});
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
},
handleCancel() {
this.formdata.msgcod = ''
this.formdata.msgref = ''
this.formdata.sndnam = ''
this.formdata.rcvnam = ''
this.formdata.snddat = ''
this.formdata.lgotyp = ''
this.formdata.usrmsggrp.usrtab.subtyp = ''
this.visible = false;
}
}
};
</script>
<style scoped lang="less"></style>
\ No newline at end of file
...@@ -38,11 +38,13 @@ const BusRouter = [ ...@@ -38,11 +38,13 @@ const BusRouter = [
{ path: 'smtame', component: () => import("./Smtame/views"), name: 'Smtame', meta: { title: '问题、异常对账单' }, module: 'frontend' }, { path: 'smtame', component: () => import("./Smtame/views"), name: 'Smtame', meta: { title: '问题、异常对账单' }, module: 'frontend' },
{ path: 'smtexe', component: () => import("./Smtexe/views"), name: 'Smtexe', meta: { title: 'Smtexe' }, module: 'frontend' }, { path: 'smtexe', component: () => import("./Smtexe/views"), name: 'Smtexe', meta: { title: 'Smtexe' }, module: 'frontend' },
{ path: 'smtsel', component: () => import("./Smtsel/views"), name: 'Smtsel', meta: { title: '对账单查询' }, module: 'frontend' }, { path: 'smtsel', component: () => import("./Smtsel/views"), name: 'Smtsel', meta: { title: '对账单查询' }, module: 'frontend' },
{ path: 'smpsel', component: () => import("./Smpsel/views"), name: 'Smpsel', meta: { title: '对账单页查询' }, module: 'frontend' },
{ path: 'usrmsg', component: () => import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: '系统管理' }, module: 'frontend' }, { path: 'usrmsg', component: () => import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: '系统管理' }, module: 'frontend' },
// 报文管理w // 报文管理w
{ path: 'rcvsel', component: () => import("./Rcvsel/views"), name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' } }, { path: 'rcvsel', component: () => import("./Rcvsel/views"), name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' } },
{ path: 'sndsel', component: () => import("./Sndsel/views"), name: 'Sndsel', meta: { keepAlive: true, title: '发报查询' } }, { path: 'sndsel', component: () => import("./Sndsel/views"), name: 'Sndsel', meta: { keepAlive: true, title: '发报查询' } },
{ path: 'msgdtl', component: () => import("./Msgdtl/views"), name: 'msgdtl', meta: { keepAlive: true, title: '报文原文展示', module: 'frontend' } }, { path: 'msgdtl', component: () => import("./Msgdtl/views"), name: 'Msgdtl', meta: { keepAlive: true, title: '报文原文展示', module: 'frontend' } },
{ path: 'msgdtlrsm', component: () => import("./Msgdtlrsm/views"), name: 'Msgdtlrsm', meta: { keepAlive: true, title: '报文疑似重复详情页面', module: 'frontend' } },
{ path: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理' } }, { path: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理' } },
{ path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', meta: { keepAlive: true, title: '收报疑似重复处理' } }, { path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', meta: { keepAlive: true, title: '收报疑似重复处理' } },
{ path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分' } }, { path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分' } },
......
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
export default { export default {
mixins: [], mixins: [],
props: { props: {
...@@ -124,8 +127,8 @@ export default { ...@@ -124,8 +127,8 @@ export default {
width: "100px" width: "100px"
}, },
{ {
label: "bizdtltyp", label: "业务种类",
prop: "msgtyp", prop: "bizdtltyp",
width: "100px" width: "100px"
}, },
], ],
...@@ -308,7 +311,8 @@ export default { ...@@ -308,7 +311,8 @@ export default {
}, },
], ],
filtyp: '', filtyp: '',
keyCode: '' keyCode: '',
filnam: ''
}; };
}, },
watch: { watch: {
...@@ -330,6 +334,7 @@ export default { ...@@ -330,6 +334,7 @@ export default {
console.log('=====', res) console.log('=====', res)
if(res.respCode == SUCCESS){ if(res.respCode == SUCCESS){
this.filtyp = res.data.filtyp this.filtyp = res.data.filtyp
this.filnam = res.data.filnam
if(res.data.filtyp=='9' || res.data.filtyp=='10'){ if(res.data.filtyp=='9' || res.data.filtyp=='10'){
this.stmData.columns=this.fxdcomlstHead; this.stmData.columns=this.fxdcomlstHead;
this.stmData.data = res.data.cpsfxdgrp.fxdcomlst this.stmData.data = res.data.cpsfxdgrp.fxdcomlst
...@@ -346,14 +351,14 @@ export default { ...@@ -346,14 +351,14 @@ export default {
this.keyCode = 'fxdsuelst' this.keyCode = 'fxdsuelst'
} }
if(res.data.filtyp=='13' || res.data.filtyp=='14' || res.data.filtyp=='15'){ if(res.data.filtyp=='13' || res.data.filtyp=='14' || res.data.filtyp=='15'){
this.stmData.columns=this.fxdcomlstHead; this.stmData.columns=this.fxdpatlstHead;
this.stmData.data = res.data.cpsfxdgrp.fxdcomlst this.stmData.data = res.data.cpsfxdgrp.fxdpatlst
this.keyCode = 'fxdcomlst' this.keyCode = 'fxdpatlst'
} }
if(res.data.filtyp=='16' || res.data.filtyp=='17'){ if(res.data.filtyp=='16' || res.data.filtyp=='17'){
this.stmData.columns=this.fxdcomlstHead; this.stmData.columns=this.fxdrellstHead;
this.stmData.data = res.data.cpsfxdgrp.fxdcomlst this.stmData.data = res.data.cpsfxdgrp.fxdrellst
this.keyCode = 'fxdcomlst' this.keyCode = 'fxdrellst'
} }
if(res.data.filtyp=='18'){ if(res.data.filtyp=='18'){
this.stmData.columns=this.fxddcflstHead; this.stmData.columns=this.fxddcflstHead;
...@@ -370,11 +375,15 @@ export default { ...@@ -370,11 +375,15 @@ export default {
this.isDispaly = true; this.isDispaly = true;
}, },
async handleSubmit() { async handleSubmit() {
let rtnmsg = await Api.post("/webapi/frontend/fxdsdb/saveXml", { let rtnmsg = await Api.post("/frontend/fxdsdb/saveXml", {
filtyp: this.filtyp, filtyp: this.filtyp,
filnam: this.filnam,
[this.keyCode]: this.stmData.data [this.keyCode]: this.stmData.data
}); });
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = "";
this.stmData.columns = "";
this.visible = false;
this.$notify.success({ this.$notify.success({
title: '提示', title: '提示',
message: '提交成功', message: '提交成功',
...@@ -385,9 +394,10 @@ export default { ...@@ -385,9 +394,10 @@ export default {
message: this.$t("financing.服务请求失败!"), message: this.$t("financing.服务请求失败!"),
}); });
} }
this.visible = false;
}, },
handleCancel() { handleCancel() {
this.stmData.data = "";
this.stmData.columns = "";
this.visible = false; this.visible = false;
} }
} }
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
</c-button> </c-button>
<p style="margin-top: 20px;border: 1px solid #333333;padding-10px;width: 100%;min-height: 500px;" v-html="model.msgdtll"></p> <p style="margin-top: 20px;border: 1px solid #333333;padding-10px;width: 100%;min-height: 500px;" v-html="model.msgdtll"></p>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="false" <el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="true"
title="新增" destroy-on-close width="50%"> title="历史记录" destroy-on-close width="50%">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.mpelst" style="width: 100%"> <el-table :data="model.mdtp.mdtmod.mpelst" style="width: 100%">
<el-table-column prop="dattim" label="处理时间" width="150"> <el-table-column prop="dattim" label="处理时间" width="150">
...@@ -54,15 +54,16 @@ export default { ...@@ -54,15 +54,16 @@ export default {
mixins: [Event], mixins: [Event],
data() { data() {
return { return {
trnName: "msgdtl",
visible: false visible: false
} }
}, },
methods: { methods: {
async handleList () { async handleList () {
let params = { let params = {
mpsinr: this.$route.query.mpsinr || "",
} }
const rtnmsg = await Api.post(``, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/msghis`, params);
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
this.visible = true this.visible = true
this.model.mdtp.mdtmod.mpelst = rtnmsg.data this.model.mdtp.mdtmod.mpelst = rtnmsg.data
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="汇入清算"> <c-page title="报文原文展示">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
......
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "MSG",
},
cbsMap: {
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
},
};
export default {
}
\ No newline at end of file
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Msgdtlrsm {
constructor() {
this.data = {
msgdtll: '',
mdtp: {
mdtmod: {
mpelst: [], // .mdtp.mdtmod.mpelst
msgdtl: "", // 报文展示 .mdtp.mdtmod.msgdtl
mpelstTotal: 0,
gpelst: [], // .mdtp.mdtmod.gpelst
gpelstTotal: 0,
gpe192lst: [], // .mdtp.mdtmod.gpe192lst
gpe192lstTotal: 0,
gpeutrlst: [], // .mdtp.mdtmod.gpeutrlst
gpeutrlstTotal: 0
},
shwpremsg: "", // 显示转会前报文 .mdtp.shwpremsg
},
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-button class="medium_bcs" size="medium" style="margin-left: 0" type="primary" @click="handleList">
历史记录
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleCheck">
放行
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 40px" type="primary" @click="handleReject">
丢弃
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 1000px" type="primary" @click="handleBack">
返回
</c-button>
<p style="margin-top: 20px;margin-left: 0;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtll"></p>
<p style="margin-top: 20px;margin-left: 0;border: 1px solid #333333;padding-10px;width: 40%;min-height: 500px;" v-html="model.msgdtlll"></p>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="true"
title="历史记录" destroy-on-close width="50%">
<div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.mpelst" style="width: 100%">
<el-table-column prop="dattim" label="处理时间" width="150">
</el-table-column>
<el-table-column prop="usr" label="操作用户" width="150">
</el-table-column>
<el-table-column prop="chncod" label="当前渠道" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.chncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="nxtchncod" label="下一渠道" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.nxtchncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="prvsta" label="处理前状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.prvsta" :code="codes.msgsta"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="sta" label="处理状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.sta" :code="codes.msgsta"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="txt" label="备注">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="model.mdtp.mdtmod.mpelstTotal">
</el-pagination>
</div>
</el-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
trnName: "msgdtlrsm",
visible: false
}
},
methods: {
async handleCheck() {
this.$confirm("确定放行该报文?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then(async() => {
let params={
mpsinr: this.$route.query.mpsinr || "",
};
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/check`, params);
if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '丢弃成功' })
}
});
},
async handleReject() {
this.$confirm("确定丢弃该报文?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then(async() => {
let params={
mpsinr: this.$route.query.mpsinr || "",
};
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/reject`, params);
if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '丢弃成功' })
}
});
},
async handleList () {
let params = {
mpsinr: this.$route.query.mpsinr || "",
}
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/msghis`, params);
if (rtnmsg.respCode === SUCCESS) {
this.visible = true
this.model.mdtp.mdtmod.mpelst = rtnmsg.data
}
}
},
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="报文疑似重复详情页面">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="msgdtlp">
<c-content>
<m-msgdtlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Msgdtlrsm from "../model"
import Msgdtlp from "./Msgdtlp"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
export default {
name: "Msgdtlrsm",
components: {
"m-msgdtlp": Msgdtlp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "msgdtlp",
trnName: "msgdtl",
model: new Msgdtlrsm().data,
rules: Check,
codes: {
chncod: CodeTable.chncod,
clrsys: CodeTable.clrsys,
gpicod: CodeTable.gpicod,
msgsta: CodeTable.msgsta,
dircod: CodeTable.dircod,
setmth: CodeTable.setmth,
gpista: CodeTable.gpista,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入msgdtl交易");
let params = {
mpsinr: this.$route.query.mpsinr || "",
};
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params);
if (rtnmsg.respCode === SUCCESS) {
this.model.msgdtll = rtnmsg.data
}
}
}
</script>
<style></style>
export default class Rcvsel{ export default class Rcvsel {
constructor () { constructor() {
this.data = { this.data = {
rcvp:{ rcvp: {
rcvdatsta:"", // : 起始日期 .rcvp.rcvdatsta rcvdatsta: new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)), // : 起始日期 .rcvp.rcvdatsta
rcvdatend:"", // : 终止日期 .rcvp.rcvdatend rcvdatend: new Date(), // : 终止日期 .rcvp.rcvdatend
msgtyp:"", // : 报文标准 .rcvp.msgtyp msgtyp: "", // : 报文标准 .rcvp.msgtyp
subtyp:"", // : 报文类型 .rcvp.subtyp subtyp: "", // : 报文类型 .rcvp.subtyp
sndbak:"", // : 发报行BIC .rcvp.sndbak sndbak: "", // : 发报行BIC .rcvp.sndbak
revbak:"", // : 收报行BIC .rcvp.revbak revbak: "", // : 收报行BIC .rcvp.revbak
actbic:"", // : 账户行BIC .rcvp.actbic actbic: "", // : 账户行BIC .rcvp.actbic
othref:"", // : 20域编号 .rcvp.othref othref: "", // : 20域编号 .rcvp.othref
ownref:"", // : 21域编号 .rcvp.ownref ownref: "", // : 21域编号 .rcvp.ownref
cur:"", // : 币种 .rcvp.cur cur: "", // : 币种 .rcvp.cur
act:"", // : 账号 .rcvp.act act: "", // : 账号 .rcvp.act
amtmin:"", // : 金额下限 .rcvp.amtmin amtmin: "", // : 金额下限 .rcvp.amtmin
amtmax:"", // : 金额上限 .rcvp.amtmax amtmax: "", // : 金额上限 .rcvp.amtmax
chnipt:"", // 行内系统 .rcvp.chnipt chnipt: "", // 行内系统 .rcvp.chnipt
tblvis:"", // 行内系统标签 .rcvp.tblvis tblvis: "", // 行内系统标签 .rcvp.tblvis
tblvim:"", // 活动标签 .rcvp.tblvim tblvim: "", // 活动标签 .rcvp.tblvim
blksta:"", // 黑名单状态 .rcvp.blksta blksta: "", // 黑名单状态 .rcvp.blksta
dtlchg:"", // : 费用明细 .rcvp.dtlchg dtlchg: "", // : 费用明细 .rcvp.dtlchg
sta:"", // : 处理状态 .rcvp.sta sta: "", // : 处理状态 .rcvp.sta
gpi:"", // GPI标识 .rcvp.gpi gpi: "", // GPI标识 .rcvp.gpi
expexl:"", // 导出 .rcvp.expexl expexl: "", // 导出 .rcvp.expexl
}, },
msggrp:{ msggrp: {
rcvlst:[], // .msggrp.rcvlst rcvlst: [], // .msggrp.rcvlst
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
}
} }
}
} }
\ No newline at end of file
...@@ -161,8 +161,11 @@ ...@@ -161,8 +161,11 @@
size="small" :border="true" height="calc(100vh - 420px)" :highlight-current-row="true"> size="small" :border="true" height="calc(100vh - 420px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" :min-width="item.width">
:min-width="item.width"> <template slot-scope="scope">
<c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
......
...@@ -24,7 +24,8 @@ export default { ...@@ -24,7 +24,8 @@ export default {
this.load = true; this.load = true;
let rtnmsg = await Api.post("/frontend/msgsel/query", { let rtnmsg = await Api.post("/frontend/msgsel/query", {
...this.model.rcvp, ...this.model.rcvp,
dir: "<", dir: ">",
querytyp: "rsm",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"), rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
......
...@@ -157,11 +157,15 @@ ...@@ -157,11 +157,15 @@
<el-tab-pane label="收报疑似重复处理" name="sb"> <el-tab-pane label="收报疑似重复处理" name="sb">
<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" @selection-change="handleSelectionChange"
@row-dblclick="dbClickRow"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" :min-width="item.width">
:min-width="item.width"> <template slot-scope="scope">
<c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
...@@ -320,7 +324,16 @@ export default { ...@@ -320,7 +324,16 @@ export default {
deep: true deep: true
} }
}, },
methods: {}, methods: {
dbClickRow(row) {
this.routerPush({
path: '/business/msgdtlrsm',
query: {
mpsinr: row.inr
}
})
}
},
mounted: function () { mounted: function () {
}, },
}; };
......
...@@ -2,25 +2,49 @@ import Api from "~/service/Api"; ...@@ -2,25 +2,49 @@ import Api from "~/service/Api";
import moment from "moment"; import moment from "moment";
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
}, this.load = true;
async handleReset() { let rtnmsg = await Api.post("/frontend/smdsel", {
...this.model,
}, pageNumber: this.pagination.pageNum,
// pageSize改变 pageSize: this.pagination.pageSize,
handleSizeChange(val) { });
this.pagination.pageNum = 1; if (rtnmsg.respCode == SUCCESS) {
this.pagination.pageSize = val; this.load = false;
this.handleSearch(); this.stmData.data = [];
}, this.stmData.data=rtnmsg.data.list;
// 页码改变 this.pagination = {
handleCurrentChange(val) { pageNum: rtnmsg.data.pageNum || 1,
this.pagination.pageNum = val; pageSize: rtnmsg.data.pageSize || 10,
this.handleSearch(); total: parseInt(rtnmsg.data.total),
}, };
handleSelectionChange(val){ } else {
this.multipleSelection = val; this.$notify.error({
} title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
},
async handleReset() {
this.model.smdp.smdsup.ptpmod.pty.extkey = ''
this.model.smdp.smdsup.act = ''
this.model.smdp.smdsup.cur = ''
},
// 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;
}
},
}; };
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Smdsel{ export default class Smdsel {
constructor () { constructor() {
this.data = { this.data = {
smdp:{ smdp: {
smdsup:{ smdsup: {
begdat:"", // 起息日起始 .smdp.smdsup.begdat begdat: "", // 起息日起始 .smdp.smdsup.begdat
enddat:"", // 起息日截止 .smdp.smdsup.enddat enddat: "", // 起息日截止 .smdp.smdsup.enddat
ref:"", // 参考号/前 .smdp.smdsup.ref ref: "", // 参考号/前 .smdp.smdsup.ref
begamt:"", // 金额下限 .smdp.smdsup.begamt begamt: "", // 金额下限 .smdp.smdsup.begamt
endamt:"", // 金额上限 .smdp.smdsup.endamt endamt: "", // 金额上限 .smdp.smdsup.endamt
begrevdat:"", // 起始日期 .smdp.smdsup.begrevdat begrevdat: "", // 起始日期 .smdp.smdsup.begrevdat
endrevdat:"", // 截止日期 .smdp.smdsup.endrevdat endrevdat: "", // 截止日期 .smdp.smdsup.endrevdat
ptpmod:{ ptpmod: {
pty:{ pty: {
extkey:"", // BIC 码 .smdp.smdsup.ptpmod.pty.extkey extkey: "", // BIC 码 .smdp.smdsup.ptpmod.pty.extkey
chnnam:"", // 账户行名称 .smdp.smdsup.ptpmod.pty.chnnam chnnam: "", // 账户行名称 .smdp.smdsup.ptpmod.pty.chnnam
}, },
}, },
cur:"", // 币 种 .smdp.smdsup.cur cur: "", // 币 种 .smdp.smdsup.cur
inf:"", // 详细信息 .smdp.smdsup.inf inf: "", // 详细信息 .smdp.smdsup.inf
dcflg:"", // 借贷标识 .smdp.smdsup.dcflg dcflg: "", // 借贷标识 .smdp.smdsup.dcflg
accdatbeg:"", // 记账日期起始 .smdp.smdsup.accdatbeg accdatbeg: "", // 记账日期起始 .smdp.smdsup.accdatbeg
accdatend:"", // 记账日期截止 .smdp.smdsup.accdatend accdatend: "", // 记账日期截止 .smdp.smdsup.accdatend
act:"", // 帐 号 .smdp.smdsup.act act: "", // 帐 号 .smdp.smdsup.act
offsta:"", // 勾销状态 .smdp.smdsup.offsta offsta: "", // 勾销状态 .smdp.smdsup.offsta
kpatyp:"", // 记账类型 .smdp.smdsup.kpatyp kpatyp: "", // 记账类型 .smdp.smdsup.kpatyp
recsta:"", // 记账状态 .smdp.smdsup.recsta recsta: "", // 记账状态 .smdp.smdsup.recsta
expstm:"", // 导出Strem .smdp.smdsup.expstm expstm: "", // 导出Strem .smdp.smdsup.expstm
}, },
}, },
smdgrp:{ smdgrp: {
smdsub:{ smdsub: {
smd:{ smd: {
othref:"", // 参考号/后 .smdgrp.smdsub.smd.othref othref: "", // 参考号/后 .smdgrp.smdsub.smd.othref
busflg:"", // 业务标识 .smdgrp.smdsub.smd.busflg busflg: "", // 业务标识 .smdgrp.smdsub.smd.busflg
}, },
lst:[], // .smdgrp.smdsub.lst lst: [], // .smdgrp.smdsub.lst
}, },
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
}
} }
}
} }
\ No newline at end of file
...@@ -6,18 +6,18 @@ ...@@ -6,18 +6,18 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="BIC码" prop="msgtyp" style="width: 100%"> <el-form-item label="BIC码" style="width: 100%">
<c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" style="width: 100%" /> <c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="帐号" prop="rcvdatsta" style="width: 100%"> <el-form-item label="帐号" style="width: 100%">
<c-input v-model="model.smdp.smdsup.act" style="width: 100%" /> <c-input v-model="model.smdp.smdsup.act" style="width: 100%" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="subtype" style="width: 100%"> <el-form-item label="币种" style="width: 100%">
<c-select v-model="model.smdp.smdsup.cur" :code="codes.cur"/> <c-select v-model="model.smdp.smdsup.cur" :code="codes.cur" />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;"> <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" type="primary">
type="primary" >{{ $t('public.归档') }} {{ $t('public.归档') }}
</c-button> </c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" <c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
style="margin-left: 20" type="primary">ReRouting ReRouting
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary"> <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }} {{ $t('public.导出Excel') }}
...@@ -43,22 +43,31 @@ ...@@ -43,22 +43,31 @@
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
<div style="height: 90%"> <div>
<c-col :span="24"> <c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs"> <el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="对账单明细查询" name="sb"> <el-tab-pane label="对账单明细查询" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%" <el-table
@selection-change="handleSelectionChange" :data="stmData.data"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> :columns="stmData.columns"
<el-table-column type="selection" width="55"> v-loading="load"
</el-table-column> style="width: 100%"
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" @selection-change="handleSelectionChange"
:min-width="item.width"> size="small" :border="true"
</el-table-column> height="calc(100vh - 430px)"
:highlight-current-row="true"
>
<el-table-column type="selection" width="55"></el-table-column>
<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> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange" :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange"> @current-change="handleCurrentChange">
</el-pagination> </el-pagination>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
...@@ -79,9 +88,7 @@ export default { ...@@ -79,9 +88,7 @@ export default {
activeTab: 'sb', activeTab: 'sb',
load: false, load: false,
subtypCodes: [], subtypCodes: [],
// isFoldDisable: true, multipleSelection: [],
// isRoutingDisable: true,
multipleSelection:[],
stmData: { stmData: {
columns: [ columns: [
{ {
...@@ -177,7 +184,6 @@ export default { ...@@ -177,7 +184,6 @@ export default {
], ],
data: [], data: [],
}, },
pagination: { pagination: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
...@@ -185,11 +191,11 @@ export default { ...@@ -185,11 +191,11 @@ export default {
}, },
}; };
}, },
computed:{ computed: {
isFoldDisable: function(){ isFoldDisable: function () {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} , },
isRoutingDisable:function(){ isRoutingDisable: function () {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} }
}, },
......
<template> <template>
<div class="eContainer-search"> <div class="eContainer-search">
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:model="model" :validate-on-rule-change="false">
:rules="rules" <c-content>
ref="modelForm" <m-smdp01 :model="model" :codes="codes" ref="smdp01" />
label-width="120px" </c-content>
label-position="right" </el-form>
size="small" </div>
:validate-on-rule-change="false" </template>
> <script>
<c-content>
<m-smdp01 :model="model" :codes="codes" ref="smdp01"/> import CodeTable from "~/config/CodeTable";
</c-content> import Smdsel from "../model";
</el-form> import event from "../event"
</div> import Smdp01 from "./Smdp01.vue"
</template>
<script>
export default {
import CodeTable from "~/config/CodeTable"; name: "Smdsel",
import Smdsel from "../model"; components: {
import event from "../event" "m-smdp01": Smdp01,
import Smdp01 from "./Smdp01.vue" },
provide() {
return {
export default { root: this
name: "Smdsel", }
components:{ },
"m-smdp01" : Smdp01, mixins: [event],
data() {
}, return {
provide() { trnName: "smdsel",
return { model: new Smdsel().data,
root: this rules: null,
} codes: { ...CodeTable },
}, };
mixins: [event], // 里面包含了Default、Check等的公共处理 },
data(){ methods: {},
return { created: async function () { },
tabVal: "smdp01", };
trnName: "smdsel", </script>
model: new Smdsel().data, <style scoped></style>
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
this.load = true;
let rtnmsg = await Api.post("/frontend/smpsel", {
...this.model,
pageNumber: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.model.smpgrp.smpsub.lst = [];
this.model.smpgrp.smpsub.lst = rtnmsg.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.smdp.smdsup.ptpmod.pty.extkey = ''
this.model.smdp.smdsup.act = ''
this.model.smdp.smdsup.cur = ''
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
},
};
export default {
"smpp.smpsup.ptpmod.pty.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.ptpmod.pty.chnnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.act": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.smtno": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.begnum": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.endnum": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"smpp.smpsup.begdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"smpp.smpsup.enddat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"smpp.smpsup.valdatbeg": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"smpp.smpsup.valdatend": [
{ type: "date", required: false, message: "输入正确的日期" }
],
}
\ No newline at end of file
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Smpsel {
constructor() {
this.data = {
smpp: {
smpsup: {
smtno: "", // : .smpp.smpsup.smtno
begdat: "", // : .smpp.smpsup.begdat
enddat: "", // 至 .smpp.smpsup.enddat
cur: "", // : .smpp.smpsup.cur
ptpmod: {
pty: {
chnnam: "", // : .smpp.smpsup.ptpmod.pty.chnnam
extkey: "", // : .smpp.smpsup.ptpmod.pty.extkey
},
},
begnum: "", // : .smpp.smpsup.begnum
endnum: "", // 终止页码 .smpp.smpsup.endnum
ref: "", // : .smpp.smpsup.ref
valdatbeg: "", // : .smpp.smpsup.valdatbeg
valdatend: "", // 至 .smpp.smpsup.valdatend
act: "", // 帐号 .smpp.smpsup.act
exp: "", // 导出 .smpp.smpsup.exp
},
},
smpgrp: {
smpsub: {
lst: [], // .smpgrp.smpsub.lst
},
},
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<c-form-item label="BIC码" prop="smpp.smpsup.ptpmod.pty.extkey">
<c-input v-model="model.smpp.smpsup.ptpmod.pty.extkey" maxlength="24"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="账户行名称" prop="smpp.smpsup.ptpmod.pty.chnnam">
<c-input v-model="model.smpp.smpsup.ptpmod.pty.chnnam" maxlength="100"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="帐号" prop="smpp.smpsup.act">
<c-input v-model="model.smpp.smpsup.act" maxlength="40"></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="币种" prop="smpp.smpsup.cur">
<c-select v-model="model.smpp.smpsup.cur" style="width:100%"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="对账单参考号" prop="smpp.smpsup.ref">
<c-input v-model="model.smpp.smpsup.ref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="所属单编号" prop="smpp.smpsup.smtno">
<c-input v-model="model.smpp.smpsup.smtno" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起止页码" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.smpp.smpsup.begnum" maxlength="8"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.smpp.smpsup.endnum" maxlength="8"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.begdat" style="width:100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.enddat" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起息日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.valdatbeg" style="width:100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.valdatend" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div>
<c-col :span="24">
<el-table
:data="model.smpgrp.smpsub.lst"
v-loading="load"
style="width: 100%"
size="small" :border="true"
height="calc(100vh - 280px)"
:highlight-current-row="true"
>
<el-table-column prop="chk" label="" width="30">
</el-table-column>
<el-table-column prop="recdat" label="收报日期" width="90">
</el-table-column>
<el-table-column prop="valdat" label="起息日期" width="90">
</el-table-column>
<el-table-column prop="chnnam" label="账户行名称" width="150">
</el-table-column>
<el-table-column prop="bic" label="BIC" width="90">
</el-table-column>
<el-table-column prop="act" label="帐号" width="100">
</el-table-column>
<el-table-column prop="cur" label="币种" width="100">
</el-table-column>
<el-table-column prop="ref" label="对账单参考号" width="130">
</el-table-column>
<el-table-column prop="smtno" label="所属单编号" width="150">
</el-table-column>
<el-table-column prop="pagnum" label="页码" width="50">
</el-table-column>
<el-table-column prop="pagamenum" label="修改后页码" width="150">
</el-table-column>
<el-table-column prop="begamt" label="页初金额" width="120">
</el-table-column>
<el-table-column prop="newbegamt" label="修改后页初金额" width="150">
</el-table-column>
<el-table-column prop="endamt" label="页末金额" width="120">
</el-table-column>
<el-table-column prop="newendamt" label="修改后页末金额" width="150">
</el-table-column>
<el-table-column prop="endvalamt" label="页末可用金额" width="150">
</el-table-column>
<el-table-column prop="dtlamt" label="明细条数" width="100">
</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" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
load: false,
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed: {
},
watch: {
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-smpp01 :model="model" :codes="codes" />
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Smpsel from "../model"
import Smpp01 from "./Smpp01"
export default {
name: "Smpsel",
components: {
"m-smpp01": Smpp01,
},
provide() {
return {
root: this
}
},
mixins: [],
data() {
return {
trnName: "smpsel",
model: new Smpsel().data,
rules: null,
codes: {
},
}
},
methods: {
},
created: async function () {
console.log("进入smpsel交易");
}
}
</script>
<style></style>
export default{ export default {
mixins: [], mixins: [],
methods: { methods: {
async handleReset(){ async handleSearch() {
this.model.extkey = ""; this.load = true;
this.model.sndref = ""; let rtnmsg = await Api.post("/frontend/smtsel", {
this.model.flg= ""; ...this.model,
this.model.sta = ""; pageNumber: this.pagination.pageNum,
this.model.acksrv = ""; pageSize: this.pagination.pageSize,
this.model.elcmsgtyp="" });
this.model.rcvdat = $CurDate(); if (rtnmsg.respCode == SUCCESS) {
this.model.gendat = new Date(($CurDate()).getTime()-(7*24*60 *60 * 1800)); this.load = false;
this.model.endgendat = $CurDate(); this.tableData = [];
} this.tableData = rtnmsg.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.extkey = "";
this.model.sndref = "";
this.model.flg = "";
this.model.sta = "";
this.model.acksrv = "";
this.model.elcmsgtyp = ""
this.model.rcvdat = $CurDate();
this.model.gendat = new Date(($CurDate()).getTime() - (7 * 24 * 60 * 60 * 1800));
this.model.endgendat = $CurDate();
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
}
} }
\ No newline at end of file
import Utils from "~/utils"
/**
* Smtsel Check规则
*/
let checkObj = {
"smtp.smtsup.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Smtsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupSel(){
let rtnmsg = await this.executeRule("smtsup.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupClr(){
let rtnmsg = await this.executeRule("smtsup.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupAllchk(){
let rtnmsg = await this.executeRule("smtsup.allchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupOpp(){
let rtnmsg = await this.executeRule("smtsup.opp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupLook(){
let rtnmsg = await this.executeRule("smtsup.look")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmtsupDtllok(){
let rtnmsg = await this.executeRule("smtsup.dtllok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"smtp.smtsup.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smtp.smtsup.ptpmod.pty.chnnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smtp.smtsup.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smtp.smtsup.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smtp.smtsup.smtno":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smtp.smtsup.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smtp.smtsup.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smtp.smtsup.valdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smtp.smtsup.valdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
...@@ -2,34 +2,34 @@ import Api from "~/service/Api" ...@@ -2,34 +2,34 @@ import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
export default class Smtsel { export default class Smtsel {
constructor() { constructor() {
this.data = { this.data = {
smtp: { smtp: {
smtsup: { smtsup: {
smtno: "", // : .smtp.smtsup.smtno smtno: "", // : .smtp.smtsup.smtno
begdat: "", // : .smtp.smtsup.begdat begdat: "", // : .smtp.smtsup.begdat
enddat: "", // 至 .smtp.smtsup.enddat enddat: "", // 至 .smtp.smtsup.enddat
ptpmod: { ptpmod: {
pty: { pty: {
chnnam: "", // : .smtp.smtsup.ptpmod.pty.chnnam chnnam: "", // : .smtp.smtsup.ptpmod.pty.chnnam
extkey: "", // : .smtp.smtsup.ptpmod.pty.extkey extkey: "", // : .smtp.smtsup.ptpmod.pty.extkey
}, },
}, },
cur: "", // : .smtp.smtsup.cur cur: "", // : .smtp.smtsup.cur
ref: "", // : .smtp.smtsup.ref ref: "", // : .smtp.smtsup.ref
valdatbeg: "", // : .smtp.smtsup.valdatbeg valdatbeg: "", // : .smtp.smtsup.valdatbeg
valdatend: "", // 至 .smtp.smtsup.valdatend valdatend: "", // 至 .smtp.smtsup.valdatend
typ: "", // : .smtp.smtsup.typ typ: "", // : .smtp.smtsup.typ
act: "", // : .smtp.smtsup.act act: "", // : .smtp.smtsup.act
exp: "", // 导出 .smtp.smtsup.exp exp: "", // 导出 .smtp.smtsup.exp
}, },
}, },
smtgrp: { smtgrp: {
smtsub: { smtsub: {
lst: [], // .smtgrp.smtsub.lst lst: [], // .smtgrp.smtsub.lst
}, },
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit"> <c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-row>
:model="model" <c-col :span="24">
:rules="rules" <c-col :span="8">
ref="lim0Form" <el-form-item label="对账单类型" prop="smtp.smtsup.typ">
label-width="120px" <c-select
label-position="right" v-model="model.smtp.smtsup.typ"
size="small" style="width: 100%"
:validate-on-rule-change="false" :code="codes.smttyp"
> />
<el-row> </el-form-item>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="对账单类型" prop="smtp.smtsup.typ">
<c-select
v-model="model.smtp.smtsup.typ"
style="width: 100%"
:code="codes.smttyp"
/>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="22">
<c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey">
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.extkey"
maxlength="24"
placeholder="请输入BIC"
></c-input>
</c-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPtpmodSel"
>
</c-button>
</c-col>
</c-col>
<c-col :span="8">
<c-form-item
label="账户行名称"
prop="smtp.smtsup.ptpmod.pty.chnnam"
>
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength="100"
placeholder="请输入账户行名称"
></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
</el-row>
<c-col :span="8">
<el-row v-show="searchSlot.searchToggle"> <c-col :span="22">
<c-col :span="24"> <c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey">
<c-col :span="8">
<c-form-item label="帐号" prop="smtp.smtsup.act">
<c-input <c-input
v-model="model.smtp.smtsup.act" v-model="model.smtp.smtsup.ptpmod.pty.extkey"
maxlength="40" maxlength="24"
placeholder="请输入帐号" placeholder="请输入BIC"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="2">
<c-col :span="8"> <c-button
<el-form-item label="币种" prop="smtp.smtsup.cur"> size="small"
<c-select type="primary"
v-model="model.smtp.smtsup.cur" icon="el-icon-search"
style="width: 100%" >
:code="codes.cur"/> </c-button>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="对账单参考号" prop="smtp.smtsup.ref">
<c-input
v-model="model.smtp.smtsup.ref"
maxlength="16"
placeholder="请输入对账单参考号"
></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="8">
<c-col :span="8"> <c-form-item
<c-form-item label="对账单编号" prop="smtp.smtsup.smtno"> label="账户行名称"
<c-input prop="smtp.smtsup.ptpmod.pty.chnnam"
v-model="model.smtp.smtsup.smtno" >
maxlength="16" <c-input
placeholder="请输入对账单编号" v-model="model.smtp.smtsup.ptpmod.pty.chnnam"
></c-input> maxlength="100"
</c-form-item> placeholder="请输入账户行名称"
</c-col> ></c-input>
</c-form-item>
<c-col :span="8"> </c-col>
<el-form-item label="收报日期" style="width: 100%"> </c-col>
<c-col :span="11"> </el-row>
<c-date-picker
type="date" <el-row v-show="searchSlot.searchToggle">
v-model="model.smtp.smtsup.begdat" <c-col :span="24">
style="width: 100%" <c-col :span="8">
placeholder="请选择收报日期" <c-form-item label="帐号" prop="smtp.smtsup.act">
value-format="yyyy-MM-dd" <c-input
></c-date-picker> v-model="model.smtp.smtsup.act"
</c-col> maxlength="40"
<c-col :span="2" style="text-align: center"> placeholder="请输入帐号"
<label style="display: inline-block; width: 100%"></label> ></c-input>
</c-col> </c-form-item>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.enddat"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起息日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatbeg"
style="width: 100%"
placeholder="请选择起息日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%"></label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatend"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col> </c-col>
</el-row>
</el-form> <c-col :span="8">
<el-form-item label="币种" prop="smtp.smtsup.cur">
<c-select
v-model="model.smtp.smtsup.cur"
style="width: 100%"
:code="codes.cur"/>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="对账单参考号" prop="smtp.smtsup.ref">
<c-input
v-model="model.smtp.smtsup.ref"
maxlength="16"
placeholder="请输入对账单参考号"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<c-form-item label="对账单编号" prop="smtp.smtsup.smtno">
<c-input
v-model="model.smtp.smtsup.smtno"
maxlength="16"
placeholder="请输入对账单编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.begdat"
style="width: 100%"
placeholder="请选择收报日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%"></label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.enddat"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起息日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatbeg"
style="width: 100%"
placeholder="请选择起息日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%"></label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatend"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template> </template>
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-left: 0px"> <el-col :span="24" style="margin-left: 0px">
<c-button <c-button
class="medium_bcs" class="medium_bcs"
style="margin-left: 20" style="margin-left: 20"
:disabled="isupdate" size="medium"
size="medium" type="primary"
type="primary" @click="batchupdateAck"
@click="batchupdateAck" >导出</c-button>
>导出
</c-button
>
</el-col> </el-col>
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
<div style="height: 90%"> <div>
<c-col :span="24"> <c-col :span="24">
<el-table <el-table
:span="24" :span="24"
id="infgidSptableRef" id="infgidSptableRef"
:data="tableData" :data="tableData"
:highlight-current-row="true" :highlight-current-row="true"
:border="true" :border="true"
style="width: 100%" v-loading="load"
size="medium" style="width: 100%"
height="calc(100vh - 320px)"
size="medium"
> >
<el-table-column prop="chk" label="" sortable width="80"> <el-table-column prop="chk" width="80">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="recdat" prop="recdat"
label="收报日期" label="收报日期"
sortable width="150"
width="150"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="valdat" prop="valdat"
label="起息日期" label="起息日期"
sortable width="150"
width="150"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="chnnam" prop="chnnam"
label="账户行名称" label="账户行名称"
sortable width="150"
width="150" ></el-table-column>
> <el-table-column prop="bic" label="BIC" width="150">
</el-table-column>
<el-table-column prop="bic" label="BIC" sortable width="150">
</el-table-column> </el-table-column>
<el-table-column prop="acc" label="帐号" sortable width="100"> <el-table-column prop="acc" label="帐号" width="100">
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" sortable width="100"> <el-table-column prop="cur" label="币种" width="100">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="ref" prop="ref"
label="对账单参考号" label="对账单参考号"
sortable width="180"
width="180" ></el-table-column>
> <el-table-column prop="smtno" label="单编号" width="150">
</el-table-column>
<el-table-column prop="smtno" label="单编号" sortable width="150">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="begamt" prop="begamt"
label="期初金额" label="期初金额"
sortable width="150"
width="150" ></el-table-column>
>
</el-table-column>
<el-table-column <el-table-column
prop="endamt" prop="endamt"
label="期末金额" label="期末金额"
sortable width="120"
width="120" ></el-table-column>
>
</el-table-column>
<el-table-column <el-table-column
prop="endvalamt" prop="endvalamt"
label="期末可用金额" label="期末可用金额"
sortable width="180"
width="180" ></el-table-column>
> <el-table-column prop="typ" label="对账单类型" width="180">
</el-table-column>
<el-table-column prop="typ" label="对账单类型" sortable width="180">
</el-table-column> </el-table-column>
<el-table-column prop="pag" label="页数" sortable width="80"> <el-table-column prop="pag" label="页数" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="dtl" label="明细条数" sortable width="150"> <el-table-column prop="dtl" label="明细条数" width="150">
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" min-width="150"> <el-table-column label="操作" fixed="right" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
style="margin-right: 5px" style="margin-right: 5px"
size="small" size="small"
type="primary" type="primary"
:disabled="scope.row.objsub == ''" :disabled="scope.row.objsub == ''"
@click="showMessage(scope.row)" @click="showMessage(scope.row)"
>预览 >预览</c-button>
</c-button
>
<c-button <c-button
style="margin-right: 5px" style="margin-right: 5px"
size="small" size="small"
type="primary" type="primary"
:disabled="scope.row.acksrv.length == 3" :disabled="scope.row.acksrv.length == 3"
@click="updateAck(scope.row)" @click="updateAck(scope.row)"
>更新 >更新</c-button>
</c-button
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination <el-pagination
layout="prev, pager, next, pager, next, jumper" layout="prev, pager, next, pager, next, jumper"
:total="pagenation.total" :total="pagenation.total"
:page-size="pagenation.page - size" :page-size="pagenation.pageSize"
:current-page="pagenation.pageNum" :current-page="pagenation.pageNum"
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="currentChange" @current-change="handleCurrentChange"
> ></el-pagination>
</el-pagination>
</c-col> </c-col>
<!--预览弹框--> <!--预览弹框-->
<message-view ref="msgView" :model="model"></message-view> <message-view ref="msgView" :model="model"></message-view>
...@@ -290,18 +262,20 @@ ...@@ -290,18 +262,20 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "../event"; import Event from "../event";
import MessageView from "~/components/business/docpan/views/MessageView";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [Event],
components: {}, components: {
"message-view": MessageView
},
data() { data() {
return { return {
tableData: [], tableData: [],
statusKey: [], statusKey: [],
load: false,
pagenation: { pagenation: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
...@@ -311,7 +285,6 @@ export default { ...@@ -311,7 +285,6 @@ export default {
}, },
computed: {}, computed: {},
methods: { methods: {
...Event,
formSubmit() { formSubmit() {
this.handleSearch(); this.handleSearch();
}, },
...@@ -319,11 +292,16 @@ export default { ...@@ -319,11 +292,16 @@ export default {
row.smhinr = row.objsub; row.smhinr = row.objsub;
this.$refs.msgView.fileviewDispaly(-1, row); this.$refs.msgView.fileviewDispaly(-1, row);
}, },
updateAck(row) {
},
batchupdateAck() {
},
async currentchange(num) { async currentchange(num) {
this.pagination.pageNum = num; this.pagination.pageNum = num;
this.formsubmit(); this.formsubmit();
}, },
//pageSize改变
handleSizeChange(val) { handleSizeChange(val) {
this.pagenation.pageNum = 1; this.pagenation.pageNum = 1;
this.pagenation.pageSize = val; this.pagenation.pageSize = val;
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :validate-on-rule-change="false">
<!--smtp PD000000 --> <c-content>
<el-tab-pane :label="$t('smtp.对账单查询')" name="smtp01"> <m-smtp01 :model="model" :codes="codes" />
<m-smtp01 :model="model" :codes="codes"/> </c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"
import Smtsel from "../model/index" import Smtsel from "../model/index"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Smtp01 from "./Smtp01" import Smtp01 from "./Smtp01"
import CodeTable from "@/config/CodeTable"; import CodeTable from "@/config/CodeTable";
export default { export default {
name: "Smtsel", name: "Smtsel",
components:{ components: {
"m-smtp01" : Smtp01, "m-smtp01": Smtp01,
}, },
provide() { provide() {
return { return {
root: this root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "smtp01",
trnName: "smtsel",
trnType: "",
model: new Smtsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes:{...CodeTable},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入smtsel交易");
// let rtnmsg = await this.init({})
// if(rtnmsg.respCode == SUCCESS)
// {
// this.updateModel(rtnmsg.data)
// //TODO 处理数据逻辑
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
} }
},
mixins: [],
data() {
return {
trnName: "smtsel",
model: new Smtsel().data,
rules: null,
codes: { ...CodeTable },
}
},
methods: {
},
created: async function () {
console.log("进入smtsel交易");
}
} }
</script> </script>
<style> <style></style>
</style>
...@@ -24,7 +24,8 @@ export default { ...@@ -24,7 +24,8 @@ export default {
this.load = true; this.load = true;
let rtnmsg = await Api.post("/frontend/msgsel/query", { let rtnmsg = await Api.post("/frontend/msgsel/query", {
...this.model.sndp, ...this.model.sndp,
dir: ">", dir: "<",
querytyp: "rsm",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"), rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
......
...@@ -147,6 +147,7 @@ ...@@ -147,6 +147,7 @@
<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" @selection-change="handleSelectionChange"
@row-dblclick="dbClickRow"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
...@@ -310,6 +311,14 @@ export default { ...@@ -310,6 +311,14 @@ export default {
} }
}, },
methods: { methods: {
dbClickRow(row) {
this.routerPush({
path: '/business/msgdtlrsm',
query: {
mpsinr: row.inr
}
})
}
}, },
mounted: function () { mounted: function () {
}, },
......
export default {
data() {
return {
rules: {
}
}
}
}
export default class Infsxf {
constructor() {
this.data = {
ywbh: '',
ywpz: '',
sfrq: '',
sssdh: '',
khh: '',
sfxm: '',
bz: '',
jeqj: '',
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small"
:model="model">
<el-row>
<c-col :span="8">
<el-form-item label="业务编号" style="width: 100%">
<c-input v-model="model.ywbh" maxlength="18" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务品种" style="width: 100%">
<c-select v-model="model.ywpz" style="width: 100%" placeholder="请选择业务品种" :clearable="true" :code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收费日期" style="width: 100%">
<c-date-picker type="date" v-model="model.sfrq" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="所属收单行" style="width: 100%">
<c-select v-model="model.sssdh" style="width: 100%" placeholder="请选择所属收单行" :clearable="true" :code="[]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户号" style="width: 100%">
<c-input v-model="model.khh" maxlength="18" placeholder="请输入客户号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收费项目" style="width: 100%">
<c-input v-model="model.sfxm" maxlength="18" placeholder="请输入收费项目"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" style="width: 100%">
<c-select v-model="model.bz" style="width: 100%" placeholder="请选择所属收单行" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额区间" style="width: 100%">
<c-input v-model="model.jeqj" maxlength="18" placeholder="请输入金额区间"></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
<template v-slot:extendsRight>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 2px">
导出
</c-button>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-col :span="24">
<el-table id='infgidBSTableRef' v-loading="load" :data="tableData" style="width:100%" size="small" :border="true"
height="calc(100vh - 330px)" :highlight-current-row="true">
<el-table-column label="收费日期" prop="sfrq" align="left" min-width="150">
</el-table-column>
<el-table-column label="所属收单行" prop="sssdh" align="left" min-width="150">
</el-table-column>
<el-table-column label="业务归属行" prop="ywgsh" align="left" min-width="150">
</el-table-column>
<el-table-column label="业务归属行名" prop="ywgshm" align="left" min-width="150">
</el-table-column>
<el-table-column label="业务品种" prop="ywpz" align="left" min-width="150">
</el-table-column>
<el-table-column label="业务编号" prop="ywbh" align="left" min-width="150">
</el-table-column>
<el-table-column label="是否代理" prop="sfdl" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户号" prop="khh" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户名称" prop="khmc" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户中文名称" prop="khzwmc" align="left" min-width="150">
</el-table-column>
<el-table-column label="收费项目" prop="sfxm" align="left" min-width="150">
</el-table-column>
<el-table-column label="费用描述" prop="fyms" align="left" min-width="150">
</el-table-column>
<el-table-column label="收费币种" prop="sfbz" align="left" min-width="150">
</el-table-column>
<el-table-column label="收费金额" prop="sfje" align="left" min-width="150">
</el-table-column>
<el-table-column label="收费折美元金额" prop="sfzmyje" align="left" min-width="150">
</el-table-column>
<el-table-column label="收费折人民币金额" prop="sfzrmbje" align="left" min-width="150">
</el-table-column>
<el-table-column label="减免金额" prop="jmje" align="left" min-width="150">
</el-table-column>
<el-table-column label="费用承担方" prop="fycdf" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户经理姓名" prop="khjlxm" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户经理工号" prop="khjlgh" align="left" min-width="150">
</el-table-column>
</el-table>
</c-col>
</el-col>
</div>
</template>
<script>
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [],
components: {
},
data() {
return {
load: false,
tableData: [],
};
},
watch: {
},
computed: {},
mounted() {
},
methods: {
handleReset() {
},
formSubmit() {
},
}
};
</script>
<style scoped lang="less">
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer-search">
<c-tabs ref="elment" type="card" v-model="tabVal">
<el-tab-pane label="手续费明细台账" name="infent">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</el-tab-pane>
</c-tabs>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Infzdy from "../model";
import Infsea from "./Infsea";
import Check from "../model/check"
export default {
name: 'Infzdy',
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this
}
},
mixins: [Check],
data() {
return {
tabVal: "infent",
model: new Infzdy().data,
codes: { ...CodeTable },
}
},
methods: {
},
mounted() {
},
}
</script>
<style scoped></style>
export default {
data() {
return {
rules: {
}
}
}
}
export default class Infzdy {
constructor() {
this.data = {
zlsh: '',
khid: '',
xyh: '',
klrq: '',
jgh: '',
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small"
:model="model">
<el-row>
<c-col :span="8">
<el-form-item label="主流水号" style="width: 100%">
<c-input v-model="model.zlsh" maxlength="18" placeholder="请输入主流水号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户ID" style="width: 100%">
<c-input v-model="model.khid" maxlength="18" placeholder="请输入客户ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="协议号" style="width: 100%">
<c-input v-model="model.xyh" maxlength="18" placeholder="请输入协议号"></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="开立日期" style="width: 100%">
<c-date-picker type="date" v-model="model.klrq"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="机构号" style="width: 100%">
<c-select v-model="model.jgh" placeholder="请选择机构号" :clearable="true" :code="[]">
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
<template v-slot:extendsRight>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 2px">
导出
</c-button>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-col :span="24">
<el-table id='infgidBSTableRef' v-loading="load" :data="tableData" style="width:100%" size="small" :border="true"
height="calc(100vh - 330px)" :highlight-current-row="true">
<el-table-column label="机构号" prop="jgh" align="left" min-width="150">
</el-table-column>
<el-table-column label="机构名称" prop="jgmc" align="left" min-width="150">
</el-table-column>
<el-table-column label="所属分行机构号" prop="ssfhjgh" align="left" min-width="150">
</el-table-column>
<el-table-column label="业务类型" prop="ywlx" align="left" min-width="150">
</el-table-column>
<el-table-column label="主流水号" prop="zlsh" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户ID" prop="khid" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户英文名称" prop="khywmc" align="left" min-width="150">
</el-table-column>
<el-table-column label="客户中文名称" prop="khzwmc" align="left" min-width="150">
</el-table-column>
<el-table-column label="受益人" prop="syr" align="left" min-width="150">
</el-table-column>
<el-table-column label="交易币种" prop="jybz" align="left" min-width="150">
</el-table-column>
<el-table-column label="交易金额" prop="jyje" align="left" min-width="150">
</el-table-column>
<el-table-column label="开立日期" prop="klrq" align="left" min-width="150">
</el-table-column>
</el-table>
</c-col>
</el-col>
</div>
</template>
<script>
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [],
components: {
},
data() {
return {
load: false,
tableData: [],
};
},
watch: {
},
computed: {},
mounted() {
},
methods: {
handleReset() {
},
formSubmit() {
},
}
};
</script>
<style scoped lang="less">
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer-search">
<c-tabs ref="elment" type="card" v-model="tabVal">
<el-tab-pane label="自定义报表" name="infent">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</el-tab-pane>
</c-tabs>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Infsxf from "../model";
import Infsea from "./Infsea";
import Check from "../model/check"
export default {
name: 'Infsxf',
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this
}
},
mixins: [Check],
data() {
return {
tabVal: "infent",
model: new Infsxf().data,
codes: { ...CodeTable },
}
},
methods: {
},
mounted() {
},
}
</script>
<style scoped></style>
...@@ -240,6 +240,8 @@ const StaticsRouter = [ ...@@ -240,6 +240,8 @@ const StaticsRouter = [
{ path: 'infanb', component: Infanb, name: 'Infanb', meta: { keepAlive: true, title: '2120对账'} }, { path: 'infanb', component: Infanb, name: 'Infanb', meta: { keepAlive: true, title: '2120对账'} },
{ path: 'inffxq', component: () => import('./Inffxq/views'), name: 'Inffxq', meta: { keepAlive: true, title: '反洗钱报送'} }, { path: 'inffxq', component: () => import('./Inffxq/views'), name: 'Inffxq', meta: { keepAlive: true, title: '反洗钱报送'} },
{ path: 'infhmd', component: () => import('./Infhmd/views'), name: 'Infhmd', meta: { keepAlive: true, title: '黑名单查询'} }, { path: 'infhmd', component: () => import('./Infhmd/views'), name: 'Infhmd', meta: { keepAlive: true, title: '黑名单查询'} },
{ path: 'infsxf', component: () => import('./Infsxf/views'), name: 'Infsxf', meta: { keepAlive: true, title: '手续费明细台账'} },
{ path: 'infzdy', component: () => import('./Infzdy/views'), name: 'Infzdy', meta: { keepAlive: true, title: '自定义报表'} },
] ]
......
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