Commit a4d30c0a by xionglin

smh修改

parent f68c80c3
......@@ -4698,8 +4698,8 @@ const CodeTable = {
{ label: "10", value: "10" },
],
msgdir: [
{ label: "接收", value: "<" },
{ label: "发送", value: ">" },
{ label: "incoming", value: "<" },
{ label: "outgoing", value: ">" },
],
msgsta: [
{ label: "已拒绝", value: "RJCT" },
......@@ -7761,6 +7761,33 @@ const CodeTable = {
{ label: 'Stop Transaction', value: '3' },
{ label: 'Stop Processing', value: '9' },
],
smhCortyp:[
{label:'Bolero',value:'BOL'},
{label:'Bolero Att',value:'BOA'},
{label:'DTA/EA',value:'DTE'},
{label:'DTA/LCR',value:'DTA'},
{label:'DTAUS/IZV',value:'IZV'},
{label:'ELC',value:'ELC'},
{label:'FXPS Msg',value:'FMT'},
{label:'Fax',value:'FAX'},
{label:'File Att',value:'FIL'},
{label:'Image',value:'IMG'},
{label:'internal',value:'INT'},
{label:'Letter',value:'LET'},
{label:'Memo',value:'MEM'},
{label:'Paper Docs',value:'DOC'},
{label:'RTGSplus',value:'RTG'},
{label:'Registration',value:'RIM'},
{label:'SWIFT',value:'SWT'},
{label:'SWIFT Score',value:'SCO'},
{label:'TCO Att',value:'TCA'},
{label:'Target',value:'TAR'},
{label:'Telex',value:'TLX'},
{label:'Trade Xml',value:'ERX'},
{label:'TradeConnect',value:'TCO'},
{label:'eMail',value:'EML'},
{label:'eMail Att',value:'FMA'}
],
}
export default CodeTable;
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/smh/queryByPage", data)
return Api.post("/service/smh/queryByPage", data)
}
export function queryOwnrefDetail(ownref) {
return Api.post(`/manager/smh/queryOwnrefDetail?ownref=${ownref}`)
return Api.post(`/service/smh/queryOwnrefDetail?ownref=${ownref}`)
}
export function queryById(inr) {
return Api.post(`/service/smh/queryById?inr=${inr}`)
}
......@@ -272,6 +272,9 @@ import Dbaact from "~/views/Statics/Act/views/Dbaact";
import Dbeact from "~/views/Statics/Act/views/Dbeact";
import Dbdact from "~/views/Statics/Act/views/Dbdact";
import Infsmh from "~/views/Statics/Smh/views/Infsmh";
import Dbismh from "~/views/Statics/Smh/views/Dbismh"
import Infatp from "~/views/Statics/Atp/views/Infatp";
import Dbiatp from "~/views/Statics/Atp/views/Dbiatp";
import Dbaatp from "~/views/Statics/Atp/views/Dbaatp";
......@@ -290,11 +293,11 @@ import Dbacty from "~/views/Statics/cty/views/Dbacty";
import Dbecty from "~/views/Statics/cty/views/Dbecty";
import Dbdcty from "~/views/Statics/cty/views/Dbdcty";
// import Infoit from "~/views/Statics/Oit/views/Infoit"
// import Dbioit from "~/views/Statics/Oit/views/Dbioit"
// import Dbaoit from "~/views/Statics/Oit/views/Dbaoit"
// import Dbdoit from "~/views/Statics/Oit/views/Dbdoit"
// import Dbeoit from "~/views/Statics/Oit/views/Dbeoit"
import Infoit from "~/views/Statics/Oit/views/Infoit"
import Dbioit from "~/views/Statics/Oit/views/Dbioit"
import Dbaoit from "~/views/Statics/Oit/views/Dbaoit"
import Dbdoit from "~/views/Statics/Oit/views/Dbdoit"
import Dbeoit from "~/views/Statics/Oit/views/Dbeoit"
import Infptm from "~/views/Statics/Ptm/views/Infptm"
import Dbiptm from "~/views/Statics/Ptm/views/Dbiptm"
......@@ -689,19 +692,22 @@ const BusRouter = [
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
// { path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
// { path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
// { path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
// { path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
// { path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'infsmh', component: Infsmh, name: 'StaticsInfsmh', meta: { title: 'Message索引信息查询' } },
{ path: 'dbismh/:inr', component: Dbismh, name: 'StaticsDbismh', meta: { title: (tag) => { return 'Message索引信息详情: ' + tag.params.inr } } },
{ path: 'dbiptm/:inr', component:Dbiptm, name: 'StaticsDbiptm', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
{ path: 'infptm', component:Infptm, name: 'StaticsInfptm', meta: { title: '银行密押查询' } },
{ path: 'dbeptm/:inr', component: Dbeptm, name: 'StaticsDbeptm', meta: { title: (tag) => { return '银行密押更新: ' + tag.params.inr } } },
// { path: 'Infpts', component: Infpts, name: 'StaticsInfpts', meta: { title: '客户管户机构管理查询' } },
// { path: 'dbipts/:extkey', component: Dbipts, name: 'StaticsDbipts', meta: { title: (tag) => { return '客户更新详情: ' + tag.params.extkey } } },
// { path: 'dbepts/:extkey', component: Dbipts, name: 'StaticsDbepts', meta: { title: (tag) => { return '客户信息修改: ' + tag.params.extkey } } },
{ path: 'Infpts', component: Infpts, name: 'StaticsInfpts', meta: { title: '客户管户机构管理查询' } },
{ path: 'dbipts/:extkey', component: Dbipts, name: 'StaticsDbipts', meta: { title: (tag) => { return '客户更新详情: ' + tag.params.extkey } } },
{ path: 'dbepts/:extkey', component: Dbipts, name: 'StaticsDbepts', meta: { title: (tag) => { return '客户信息修改: ' + tag.params.extkey } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
......
......@@ -194,6 +194,7 @@ export default {
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: 'infoit', ininam: '消息信息查询OIT', pntmiu: '10' },
{ inifrm: 'infsmh', ininam: 'Message索引信息查询', pntmiu: '10' },
{ inifrm: 'infptm', ininam: '银行密押查询', pntmiu: '10' },
// { inifrm: 'infpts', ininam: '客户管户机构管理查询', pntmiu: '10' },
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
......
......@@ -82,13 +82,13 @@
@click="ptmInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
<!-- <c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="ptmEdit(scope.$index, scope.row)"
>更新</c-button
>
> -->
<!--
<c-button
size="small"
......
export default class Pty {
export default class Adr {
constructor() {
this.data = {
inr: "",
......
export default class Smh {
constructor() {
this.data= {
inr: "",
objtyp: "",
objinr: "",
trntyp: "",
trninr: "",
trnsub: "",
extkey: "",
nam: "",
creusr: "",
crefrm: "",
credattim: "",
dir: "",
docpth: "",
docfil: "",
docfxt: "",
docmac: "",
msgpos: "",
msglen: "",
grpinr: "",
grpseq: "",
cortyp: "",
cortypsub: "",
apf: "",
sndkey: "",
apfcnt: "",
ptainr: "",
oriflg: "",
orismhinr: "",
partflg: "",
msgtyp: "",
relcur: "",
relamt: "",
sysno: "",
staflg: "",
clndat: "",
f20: "",
stp: "",
etyextkey: "",
chlflg: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"objtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"objinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"trntyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"trninr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"trnsub": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 50, "message": "最大长度50个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 50, "message": "最大长度50个字符", "trigger": "blur" }
],
"creusr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"crefrm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"credattim": [
],
"dir": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"docpth": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"docfil": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 32, "message": "最大长度32个字符", "trigger": "blur" }
],
"docfxt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"docmac": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"msgpos": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,10}$/, "message": "整数不能超过10位", "trigger": "blur" }
],
"msglen": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,10}$/, "message": "整数不能超过10位", "trigger": "blur" }
],
"grpinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"grpseq": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,2}$/, "message": "整数不能超过2位", "trigger": "blur" }
],
"cortyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"cortypsub": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"apf": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"sndkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"apfcnt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 50, "message": "最大长度50个字符", "trigger": "blur" }
],
"ptainr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"oriflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"orismhinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"partflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"msgtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 20, "message": "最大长度20个字符", "trigger": "blur" }
],
"relcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"sysno": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
],
"staflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"clndat": [
{ "type": "date", "trigger": "blur" }
],
"f20": [
{ "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"stp": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"etyextkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
}
\ No newline at end of file
export default class Trn {
constructor() {
this.data ={
inr: "",
inidattim: "",
inifrm: "",
iniusr: "",
ininam: "",
ownref: "",
objtyp: "",
objinr: "",
objnam: "",
ssninr: "",
smhnxt: "",
usg: "",
usr: "",
cpldattim: "",
infdsp: "",
inftxt: "",
relflg: "",
comflg: "",
comdat: "",
cortrninr: "",
xreflg: "",
xrecurblk: "",
relcur: "",
relamt: "",
reloricur: "",
reloriamt: "",
relreq: "",
relres: "",
cnfflg: "",
evttxt: "",
rprusr: "",
ordinr: "",
exedat: "",
etyextkey: "",
bchkeyinr: "",
accbchinr: "",
relreq0: "",
relreq1: "",
relreq2: "",
relres0: "",
relres1: "",
relres2: "",
relusr1: "",
relusr2: "",
relusr3: "",
imginr: "",
branchinr: "",
orgflg: "",
addtxt: "",
clndat: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"inidattim": [
],
"inifrm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"iniusr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ininam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"ownref": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"objtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"objinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"objnam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"ssninr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"smhnxt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,3}$/, "message": "整数不能超过3位", "trigger": "blur" }
],
"usg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"usr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cpldattim": [
],
"infdsp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"inftxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 264, "message": "最大长度264个字符", "trigger": "blur" }
],
"relflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"comflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"comdat": [
{ "type": "date", "trigger": "blur" }
],
"cortrninr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"xreflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"xrecurblk": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"relcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"reloricur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"reloriamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"relreq": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relres": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"cnfflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"evttxt": [
],
"rprusr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ordinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"exedat": [
{ "type": "date", "trigger": "blur" }
],
"etyextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"bchkeyinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"accbchinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"relreq0": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relreq1": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relreq2": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relres0": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relres1": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relres2": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relusr1": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 100, "message": "最大长度100个字符", "trigger": "blur" }
],
"relusr2": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"relusr3": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"imginr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"branchinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"orgflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"addtxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 264, "message": "最大长度264个字符", "trigger": "blur" }
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Message参考号" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入Message参考号"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="基本信息描述" prop="nam">
<c-input v-model="model.nam" placeholder="请输入基本信息描述"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="方向" prop="dir">
<c-input v-model="model.dir" placeholder="请输入方向"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="cortyp">
<c-input v-model="model.cortyp" placeholder="请输入类型"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="存储位置" prop="docpth">
<c-input v-model="model.docpth" placeholder="请输入存储位置"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Message的文件名称" prop="docfil">
<c-input v-model="model.docfil" placeholder="请输入Message的文件名称"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="文件后缀" prop="docfxt">
<c-input v-model="model.docfxt" placeholder="请输入文件后缀"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="文件后缀" prop="docfxt">
<c-input v-model="model.docfxt" placeholder="请输入文件后缀"> </c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="所在Message的位置" prop="msgpos">
<c-input v-model="model.msgpos" placeholder="请输入所在Message的位置"> </c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="在Message的长度" prop="msglen">
<c-input v-model="model.msglen" placeholder="请输入在Message的长度"> </c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item >
<label>INR of the First Message of Split Messages/Secondary MessagesSequence Number of Split Messages (1=First Message)Number of Split Message (lf Message is not complete)</label>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="用户" prop="creusr">
<c-input v-model="model.creusr" placeholder="请输入用户"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建日期" prop="credattim">
<c-input v-model="model.credattim" placeholder="请输入创建日期"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="复制的类型" prop="oriflg">
<c-input v-model="model.oriflg" placeholder="请输入复制的类型"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input v-model="model.etyextkey" placeholder="请输入关联实体拥有的PTM">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="关联的表名称" prop="objtyp">
<c-input v-model="model.objtyp" placeholder="请输入关联的表名称">
</c-input>
</el-form-item>
<el-form-item label="关联的表inr" prop="objinr">
<c-input v-model="model.objinr" placeholder="请输入关联的表inr">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易类型" prop="trntyp">
<c-input v-model="model.trntyp" placeholder="请输入交易类型">
</c-input>
</el-form-item>
<el-form-item label="交易inr" prop="trninr">
<c-input v-model="model.trninr" placeholder="请输入交易inr">
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: "",
props: ["model"],
data() {
return {};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="160px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="smh">
<c-content>
<m-smh-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Smh, { Pattern } from "../../model/Smh.js";
import SmhInfo from "./SmhInfo.vue";
import { add, edit, deleteById, queryDetailById,queryById} from "~/service/test/smh.js";
export default {
name: "StaticsDbismh",
components: {
"m-smh-info": SmhInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbismh"
}
},
data() {
return {
model: new Smh().data,
tabVal: "smh",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
// this.model.inr = this.$route.params.inr;
queryById(inr).then((res) => {
if (res.inr) {
console.log("=========")
console.log(res)
if(res.dir == '<'){
res.dir='incoming'
}
res.dir='outgoing'
console.log(res)
this.model = res;
} else {
this.$message.error("不存在")
}
});
}
},
methods: {
/**
* update 是否更新infptm的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfsmh", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Message参考号" prop="entkey">
<c-input v-model="model.entkey" placeholder="请输入Message参考号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="cortyp">
<c-select
v-model="model.cortyp"
style="width: 100%"
placeholder="请选择类型"
:code="getCodesByKey('smhCortyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="基本信息描述" prop="nam">
<c-input v-model="model.nam" placeholder="请输入基本信息描述"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Message的文件名称" prop="docfil">
<c-input v-model="model.docfil" placeholder="请输入Message的文件名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="唯一ID" prop="inr">
<c-input v-model="model.inr" placeholder="请输入唯一ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易名称" prop="cod">
<c-input v-model="model.cod" placeholder="请输入交易名称"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="创建日期" prop="credattim" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.beginDate" 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.endDate" style="width:100%"
placeholder="请选择"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建用户">
<c-input disabled placeholder="请输入创建用户"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
</template>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="方向" prop="dir">
<c-select
v-model="model.dir"
style="width: 100%"
placeholder="请选择类型"
:code="getCodesByKey('msgdir')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="文件后缀" prop="docfxt">
<c-input v-model="model.docfxt" placeholder="请输入文件后缀"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="存储位置" prop="docpth">
<c-input v-model="model.docpth" placeholder="请输入存储位置"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="smhData"
:columns="smhColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="swmInfo(scope.$index, scope.row)"
>详情</c-button
>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
import { queryByPage } from "~/service/test/smh.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
smhData: [],
smhColumns: [
{ label: "Message参考号", prop: "extkey", width: "auto" },
{ label: "基本信息描述", prop: "nam", width: "auto" },
{ label: "类型", prop: "cortyp", width: "auto" },
{ label: "Message的文件名称", prop: "docfil", width: "auto" },
{ label: "文件后缀", prop: "docfxt", width: "auto" },
{ label: "所在Message的位置", prop: "msgpos", width: "auto" },
{ label: "在Message的长度", prop: "msglen", width: "auto" },
{ label: "创建时间", prop: "credattim", width: "auto" },
{ label: "创建的用户", prop: "creusr", width: "auto" }
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInfswmSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfswmSearch();
},
getCodesByKey(key) {
return codes[key] ?? [];
},
onInfswmSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
this.smhData = list;
this.model.pageNum = res.pageNumber;
this.model.pageSize = res.pageSize;
this.model.total = res.total;
});
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber;
this.model.pageSize = pageSize;
this.onInfswmSearch();
},
swmInfo(index, row) {
this.$router.push(`/statics/dbismh/${row.inr}`);
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
<template>
<div class="eContainer">
<c-page title="Message索引信息查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="Message索引信息查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfsmh",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
extkey:'',
cortyp:'',
nam:'',
dir:'',
docfil:'',
docfxt:'',
docpth:'',
inr:'',
cod:'',
beginDate:'',
endDate:'',
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
};
</script>
<style></style>
......@@ -21,11 +21,11 @@ import Dbacty from "./cty/views/Dbacty";
import Dbecty from "./cty/views/Dbecty";
import Dbdcty from "./cty/views/Dbdcty";
// import Infoit from "./Oit/views/Infoit"
// import Dbioit from "./Oit/views/Dbioit"
// import Dbaoit from "./Oit/views/Dbaoit"
// import Dbdoit from "./Oit/views/Dbdoit"
// import Dbeoit from "./Oit/views/Dbeoit"
import Infoit from "./Oit/views/Infoit"
import Dbioit from "./Oit/views/Dbioit"
import Dbaoit from "./Oit/views/Dbaoit"
import Dbdoit from "./Oit/views/Dbdoit"
import Dbeoit from "./Oit/views/Dbeoit"
import Infety from "./ety/views/Infety";
import Dbiety from "./ety/views/Dbiety";
import Dbaety from "./ety/views/Dbaety";
......@@ -41,11 +41,11 @@ import Dbddia from "./dia/views/Dbddia";
import InfBtb from "./btb/views/Infbtb";
import DbiBtb from "./btb/views/Dbibtb";
import Infoit from "./Oit/views/Infoit"
import Dbioit from "./Oit/views/Dbioit"
import Dbaoit from "./Oit/views/Dbaoit"
import Dbdoit from "./Oit/views/Dbdoit"
import Dbeoit from "./Oit/views/Dbeoit"
// import Infoit from "./Oit/views/Infoit"
// import Dbioit from "./Oit/views/Dbioit"
// import Dbaoit from "./Oit/views/Dbaoit"
// import Dbdoit from "./Oit/views/Dbdoit"
// import Dbeoit from "./Oit/views/Dbeoit"
import Infptm from "./Ptm/views/Infptm"
import Dbiptm from "./Ptm/views/Dbiptm"
......@@ -148,6 +148,9 @@ import Dbiusr from "./Usr/views/Dbiusr";
import Dbeusr from "./Usr/views/Dbeusr";
import Dbdusr from "./Usr/views/Dbdusr";
import Infsmh from "./Smh/views/Infsmh";
import Dbismh from "./Smh/views/Dbismh"
// import Infucl from "./Ucl/views/Infucl";
const StaticsRouter = [
......@@ -228,11 +231,11 @@ const StaticsRouter = [
{ path: 'dbeswm/:inr', component: Dbeswm, name: 'StaticsDbeswm', meta: { title: (tag) => { return '修改报文栏位映射信息: ' + tag.params.inr } } },
{ path: 'dbdswm/:inr', component: Dbdswm, name: 'StaticsDbdswm', meta: { title: (tag) => { return '删除报文栏位映射信息: ' + tag.params.inr } } },
// { path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
// { path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
// { path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
// { path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
// { path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'inffee', component: Inffee, name: 'StaticsInffee', meta: { title: '费用代码查询' } },
{ path: 'dbafee', component: Dbafee, name: 'StaticsDbafee', meta: { title: '费用代码新增' } },
......@@ -306,6 +309,9 @@ const StaticsRouter = [
{ path: 'infbtb', component: InfBtb, name: 'StaticsInfbtb', meta: { title: '查询清算代理行' } },
{ path: 'dbibtb/:inr', component: DbiBtb, name: 'StaticsDbibtb', meta: { title: (tag) => { return '清算代理行详情: ' + tag.params.inr } } },
{ path: 'infsmh', component: Infsmh, name: 'StaticsInfsmh', meta: { title: 'Message索引信息查询' } },
{ path: 'dbismh/:inr', component: Dbismh, name: 'StaticsDbismh', meta: { title: (tag) => { return 'Message索引信息详情: ' + tag.params.inr } } },
]
export default StaticsRouter
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