Commit 89b0e5a3 by wangweidong

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

parents ac4ff3ed 802b1af3
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// 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;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--ktlp PD000000 查询交易面板 --> :rules="rules"
<el-tab-pane :label="$t('ktlp.PD000000')" name="selp"> ref="modelForm"
<m-selp :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-selp :model="model" :codes="codes" ref="selp"/>
</c-content>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dblktl from "../model" import Dblktl from "../model";
import commonProcess from "~/mixin/commonProcess" import event from "../event"
import Check from "../model/Check" import Selp from "./Selp.vue"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Selp from "./Selp"
export default { export default {
name: "Dblktl", name: "Dblktl",
components:{ components:{
"m-selp" : Selp, "m-selp" : Selp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "selp", tabVal: "selp",
trnName: "dblktl", trnName: "dblktl",
trnType: "",
model: new Dblktl().data, model: new Dblktl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { codes:{...CodeTable},
area:CodeTable.area, };
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created:async function(){ methods:{},
console.log("进入dblktl交易"); created:async function() {},
let rtnmsg = {}; // await this.init({}) };
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style scoped>
</style> </style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// 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;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--dotp PD000000 待对账信息录入dotopn --> :rules="rules"
<el-tab-pane :label="$t('dotp.PD000000')" name="dotp01"> ref="modelForm"
<m-dotp01 :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-dotp01 :model="model" :codes="codes" ref="dotp01"/>
</c-content>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dotopn from "../model" import Dotopn from "../model";
import commonProcess from "~/mixin/commonProcess" import event from "../event"
import Check from "../model/Check" import Dotp01 from "./Dotp01.vue"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Dotp01 from "./Dotp01"
export default { export default {
name: "Dotopn", name: "Dotopn",
components:{ components:{
"m-dotp01" : Dotp01, "m-dotp01" : Dotp01,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "dotp01", tabVal: "dotp01",
trnName: "dotopn", trnName: "dotopn",
trnType: "",
model: new Dotopn().data, model: new Dotopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { codes:{...CodeTable},
area:CodeTable.area, };
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created:async function(){ methods:{},
console.log("进入dotopn交易"); created:async function() {},
let rtnmsg = {}; // await this.init({}) };
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style scoped>
</style> </style>
...@@ -43,5 +43,6 @@ const BusRouter = [ ...@@ -43,5 +43,6 @@ const BusRouter = [
// 报文管理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: 'msgrtm',component: ()=>import("./Msgrtm/views"),name: 'Msgrtm',meta: { keepAlive: true, title: '人工清分' }},
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.sndp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.sndp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", {
...this.model.sndp,
dir: ">",
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
rcvdatend: moment(rcvdatend).format("YYYY-MM-DD"),
});
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() {
this.model.sndp.msgtyp = "";
this.model.sndp.rcvdatsta = new Date();
this.model.sndp.rcvdatend = new Date();
this.model.sndp.subtyp = "";
this.model.sndp.sndbak = "";
this.model.sndp.revbak = "";
this.model.sndp.actbic = "";
this.model.sndp.othref = "";
this.model.sndp.ownref = "";
this.model.sndp.cur = "";
this.model.sndp.act = "";
this.model.sndp.amtmin = "";
this.model.sndp.amtmax = "";
this.model.sndp.chnipt = "";
this.model.sndp.rspsta = "";
this.model.sndp.dtlchg = "";
this.model.sndp.sta = "";
},
// 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 Utils from "~/utils" import Utils from "~/utils"
/** /**
* Smtame Check规则 * Sndsel Check规则
*/ */
let checkObj = { let checkObj = {
"smtp.smtsup.ptpmod.pty.extkey" :null, "sndp.rcvdatend" :null,
"sndp.othref" :null,
"sndp.amtmax" :null,
"sndp.msgtyp" :null,
"sndp.ownref" :null,
"sndp.revbak" :null,
"sndp.sndbak" :null,
"sndp.actbic" :null,
"sndp.amtmin" :null,
"sndp.rcvdatsta" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
/** /**
* Smtame Default规则 * Sndsel Default规则
*/ */
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
......
export default { export default {
"sndp.rcvdatsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sndp.rcvdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smtp.smtsup.ptpmod.pty.extkey":[
"sndp.sndbak":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"} {max: 0,message:"长度不能超过0"}
], ],
"sndp.revbak":[
"smtp.smtsup.ptpmod.pty.chnnam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"} {max: 0,message:"长度不能超过0"}
], ],
"smtp.smtsup.act":[ "sndp.actbic":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"} {max: 0,message:"长度不能超过0"}
], ],
"sndp.ownref":[
"smtp.smtsup.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"} {max: 0,message:"长度不能超过0"}
], ],
"smtp.smtsup.smtno":[ "sndp.othref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"} {max: 0,message:"长度不能超过0"}
], ],
"smtp.smtsup.begdat":[
{type: "date", required: false, message: "输入正确的日期"} "sndp.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
], ],
"smtp.smtsup.enddat":[
{type: "date", required: false, message: "输入正确的日期"} "sndp.amtmin":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
], ],
"smtp.smtsup.valdatbeg":[ "sndp.amtmax":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
], ],
"smtp.smtsup.valdatend":[
{type: "date", required: false, message: "输入正确的日期"}
"sndp.usrnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
], ],
...@@ -43,4 +58,8 @@ export default { ...@@ -43,4 +58,8 @@ export default {
} }
\ No newline at end of file
import Api from "~/service/Api"
export default class Sndsel{
constructor () {
this.data = {
sndp:{
rcvdatsta:"", // : 起始日期
rcvdatend:"", // : 截止日期
msgtyp:"", // : 报文标准
subtyp:"", // : 报文类型
sndbak:"", // : 发报行BIC
revbak:"", // : 收报行BIC
actbic:"", // : 账户行
othref:"", // : 21域编号
ownref:"", // : 20域编
cur:"", // : 币种
act:"", // : 账号
amtmin:"", // : 金额下限
amtmax:"", // : 金额上限
chnipt:"", // 行内系统 .sndp.chnipt
rspsta:"", // 回执状态 .sndp.rspsta
tblrsp:"", // 回执状态标签 .sndp.tblrsp
tblrsm:"", // 回执状态标签 .sndp.tblrsm
usrnam:"", // 操作员 .sndp.usrnam
starsp:"", // 处理状态标签 .sndp.starsp
starsm:"", // 处理状态标签 .sndp.starsm
sta:"", // 处理状态 .sndp.sta
dtlchg:"", // : 费用明细
starsp1:"", // 处理状态标签1 .sndp.starsp1
starsm1:"", // 处理状态标签1 .sndp.starsm1
sta1:"", // 处理状态1 .sndp.sta1
expexl:"", // 导出 .sndp.expexl
expexl2:"", // 3910导出 .sndp.expexl2
},
msggrp:{
rcvlst:[], // .msggrp.rcvlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Sndsel from "../model";
import event from "../event"
import Schpnl from "./Schpnl.vue"
export default {
name: "Sndsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "sndsel",
model: new Sndsel().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// 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 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 onSmtsupTz(){
let rtnmsg = await this.executeRule("smtsup.tz")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onHtymodHty(){
let rtnmsg = await this.executeRule("htymod.hty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--smtp PD000019 --> :rules="rules"
<el-tab-pane :label="$t('smtp.PD000019')" name="smtp03"> ref="modelForm"
<m-smtp03 :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-smtp03 :model="model" :codes="codes" ref="smtp03"/>
</c-content>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Smtame from "../model" import CodeTable from "~/config/CodeTable";
import commonProcess from "~/mixin/commonProcess" import Smtame from "../model";
import Check from "../model/Check" import event from "../event"
import Default from "../model/Default" import Smtp03 from "./Smtp03.vue"
import Pattern from "../model/Pattern"
import Smtp03 from "./Smtp03"
export default { export default {
name: "Smtame", name: "Smtame",
components:{ components:{
"m-smtp03" : Smtp03, "m-smtp03" : Smtp03,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "smtp03", tabVal: "smtp03",
trnName: "smtame", trnName: "smtame",
trnType: "",
model: new Smtame().data, model: new Smtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { codes:{...CodeTable},
msgdrt:CodeTable.msgdrt, };
blksta:CodeTable.blksta,
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
smttyp:CodeTable.smttyp,
gpicod:CodeTable.gpicod,
mgssta:CodeTable.mgssta,
ljschk:CodeTable.ljschk,
offtyp:CodeTable.offtyp,
msgrng:CodeTable.msgrng,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
errtyp:CodeTable.errtyp,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
cassta:CodeTable.cassta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
cipsstatus:CodeTable.cipsstatus,
curcod:CodeTable.curcod,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
cipsmsgtype:CodeTable.cipsmsgtype,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
}, },
} methods:{},
}, created:async function() {},
methods:{ };
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入smtame交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style scoped>
</style> </style>
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