Commit 22f30daa by liuxin

调试补充修改

parent 996f1a16
......@@ -31,7 +31,7 @@ export default {
submitUrl: '', // 提交 通过 打回
saveUrl: '', // 暂存
loadUrl: '' // loaddata
}
},
}
},
created: function () {
......
/**
* Office Check规则
*/
export default {
}
\ No newline at end of file
}
/**
* Office Default规则
*/
export default {
"hotavi" :defaultHotavi,
"hotcalc" :defaultHotcalc,
"hotadr" :defaultHotadr,
"hotrat" :defaultHotrat,
"hotdr4l" :defaultHotdr4l,
"hotdr4r" :defaultHotdr4r,
"hotdr5l" :defaultHotdr5l,
"hotdr5r" :defaultHotdr5r,
"hotdr6r" :defaultHotdr6r,
"hotdr1l" :defaultHotdr1l,
"hotdr1r" :defaultHotdr1r,
"hotdr2l" :defaultHotdr2l,
"hotdr2r" :defaultHotdr2r,
"hotdr3l" :defaultHotdr3l,
"hotdr3r" :defaultHotdr3r,
"hotsta" :defaultHotsta,
"hotstd" :defaultHotstd,
"dattd" :defaultDattd,
}
function defaultHotavi()
{
<!--
if(!office.defaultHotaviN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotcalc()
{
<!--
if(!office.defaultHotcalcN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotadr()
{
<!--
if(!office.defaultHotadrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotrat()
{
<!--
if(!office.defaultHotratN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4l()
{
<!--
if(!office.defaultHotdr4lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4r()
{
<!--
if(!office.defaultHotdr4rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5l()
{
<!--
if(!office.defaultHotdr5lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5r()
{
<!--
if(!office.defaultHotdr5rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr6r()
{
<!--
if(!office.defaultHotdr6rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1l()
{
<!--
if(!office.defaultHotdr1lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1r()
{
<!--
if(!office.defaultHotdr1rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2l()
{
<!--
if(!office.defaultHotdr2lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2r()
{
<!--
if(!office.defaultHotdr2rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3l()
{
<!--
if(!office.defaultHotdr3lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3r()
{
<!--
if(!office.defaultHotdr3rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotsta()
{
<!--
if(!office.defaultHotstaN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotstd()
{
<!--
if(!office.defaultHotstdN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDattd()
{
<!--
if(!office.defaultDattdN100(ctx,100) )
{
return false;
}
return true;
-->
}
export default {
"hotavi":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"wlogofil":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"hotreg":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotadr":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrat":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotman":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mlogofil":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"hotsca":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotstd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr1l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr1r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr2l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr2r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr3l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr3r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr4l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr4r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotwdg":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotsta":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr5l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr5r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr6r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotque":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdia":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotexi":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdel":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotcalc":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
}
\ No newline at end of file
export default class Office{
constructor () {
this.data = {
wlogofil:"", // Logofile for Logo on the wall .wlogofil
mlogofil:"", // Logofile for Logo on the manual .mlogofil
cfgfil:{
drwtxt1:"", // Drawer text .cfgfil.drwtxt1
drwtxt2:"", // Drawer text .cfgfil.drwtxt2
drwtxt3:"", // Drawer text .cfgfil.drwtxt3
drwtxt4:"", // Drawer text .cfgfil.drwtxt4
drwtxt5:"", // Drawer text .cfgfil.drwtxt5
drwtxt7:"", // Drawer text .cfgfil.drwtxt7
drwtxt8:"", // Drawer text .cfgfil.drwtxt8
drwtxt9:"", // Drawer text .cfgfil.drwtxt9
drwtxt10:"", // Drawer text .cfgfil.drwtxt10
drwtxt11:"", // Drawer text .cfgfil.drwtxt11
drwtxt12:"", // Drawer text .cfgfil.drwtxt12
},
dattd:"", // date today .dattd
envhost:"", // environment - current Application-Host .envhost
envhost1:"", // environment - current Application-Host 2nd part .envhost1
envcli:"", // environment - current Client .envcli
envcli1:"", // environment - current Client 2nd part .envcli1
envtxt:"", // environment empty when master env used .envtxt
envtxt1:"", // environment - second line for names > 25 char .envtxt1
envtxt2:"", // environment empty when master env used .envtxt2
hotdel:"", // hotspot garbage .hotdel
hotdr1l:"", // hotspot drawer 1 left .hotdr1l
hotexi:"", // Hotspot exit .hotexi
hotfil1:"", // hotspot file for picking up items 1 .hotfil1
hotfil2:"", // hotspot file for picking up items 2 .hotfil2
hotfil3:"", // hotspot file for picking up items 3 .hotfil3
hotdr2l:"", // hotspot drawer 2 left .hotdr2l
hotdr3l:"", // hotspot drawer 3 left .hotdr3l
hotdr4l:"", // hotspot drawer 4 left .hotdr4l
hotdr5l:"", // hotspot drawer 5 left .hotdr5l
hotdr1r:"", // hotspot drawer 1 right .hotdr1r
hotdr2r:"", // hotspot drawer 2 right .hotdr2r
hotdr3r:"", // hotspot drawer 3 right .hotdr3r
hotdr4r:"", // hotspot drawer 4 right .hotdr4r
hotdr5r:"", // hotspot drawer 5 right .hotdr5r
hotdr6r:"", // hotspot drawer 6 right .hotdr6r
hotstd:"", // hotspot static data .hotstd
hotsta:"", // hotspot statistics .hotsta
hotrat:"", // hotspot rates .hotrat
hotadr:"", // hotspot address .hotadr
hotreg:"", // hotspot registration .hotreg
hotinf1:"", // hotspot info .hotinf1
hotinf2:"", // hotspot info .hotinf2
hotinf3:"", // hotspot info .hotinf3
hotman:"", // hotspot manual .hotman
hotcalc:"", // hotspot calculator .hotcalc
hotrel:"", // hotspot release .hotrel
hotrel1:"", // hotspot release .hotrel1
hotrel2:"", // hotspot release .hotrel2
hotrel3:"", // hotspot release .hotrel3
hotdia:"", // hotspot diary .hotdia
hotavi:"", // Hotspot to start video .hotavi
hotwdg:"", // hotspot watchdog .hotwdg
hotque:"", // hotspot queue selection .hotque
hotsca:"", // hotspot Scan image .hotsca
}
}
}
\ No newline at end of file
export default class Pts {
constructor () {
this.data = {
//pts表所需内容
ptyNo: '', //当事人编号
ptyAddrInfoNo: '', //当事人地址信息编号
ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
accNo: '', //账号
ptyCnName: '', //当事人中文名称
ptyEnName: '', //当事人英文名称
ptyCnAddr: '', //当事人中文地址
ptyEnAddr: '', //当事人英文地址
hvPaybankNo:'', // 大额支付行号
paySysBankNm:'',// 大额支付行名(中文)
addr:'', // 大额支付银行地址
postCd:'', // 大额支付银行邮编
tel:'', // 大额支付银行电话
certificateNo:'',// 统一社会信用代码
orgInstCode:'', // 组织机构代码
ptyRelateRefNo:"",//参考号
//其它(暂定)
pubprvtFlagCd: '', //公私标识代码
belongInstNo: '', //所属机构号
withPsbcRelCd: '', //与我行关系代码
blstCustFlag: '', //是否黑名单客户标志
establshTestKeyFlag: '', //是否建立密押标志
partInoutCrClrFlag: '', //是否参与境内外币清算标志
swiftNo: '', //SWIFT编号
countryRegionCode: '' ,//国家地区代码
accnoTypeCode: '',//账号类型代码
outAccno: '',//外部账号
accNoName: '', //账号名称
accNoDesc: '',//账号描述
accBankAccnoTypeCode: '', //账户行账号类型代码
currCode: '',//币种代码
belongPtyNo: '', //所属当事人编号
belongInstName: '',//所属机构名称
belongInstAddr: '', //所属机构地址
validFlag: '', //是否有效标志
}
}
}
\ No newline at end of file
/**
* Sptsel Check规则
*/
export default {
}
\ No newline at end of file
}
/**
* Sptsel Default规则
*/
export default {
"usfmod.labtxt" :defaultUsfmodLabtxt,
"butimg" :defaultButimg,
"dflg" :defaultDflg,
"dlmft" :defaultDlmft,
"yptinf" :defaultYptinf,
"usfmod.flt" :defaultUsfmodFlt,
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.usr.extkey" :defaultUsfmodUsrExtkey,
"usfmod.shwflt" :defaultUsfmodShwflt,
}
function defaultUsfmodLabtxt()
{
<!--
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultButimg()
{
<!--
if(!sptsel.defaultButimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDflg()
{
<!--
if(!sptsel.defaultDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDlmft()
{
<!--
if(!sptsel.defaultDlmftN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultYptinf()
{
<!--
if(!sptsel.defaultYptinfN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodFlt()
{
<!--
if(!sptsel.defaultUsfmodFltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
return true;
-->
}
function defaultSptstm()
{
<!--
if(!sptsel.defaultSptstmN100(ctx,100) )
{
return false;
}
if(!sptsel.defaultSptstmN801(ctx,801) )
{
return false;
}
return true;
-->
}
function defaultDlaxq()
{
<!--
if(!sptsel.defaultDlaxqN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodUsrExtkey()
{
<!--
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultUsfmodShwflt()
{
<!--
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
return true;
-->
}
export default {
onUsfmodShwflt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/usfmod_shwflt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButypt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butypt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlmft(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlmft",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlaxq(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlaxq",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButimg(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butimg",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
tabClick(){
}
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"yptinf":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
export default class Sptsel{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
chkdel:"", // Deleted .chkdel
sptstm:"", // List of SPT records .sptstm
yptinf:"", // 退回原因 .yptinf
chkypt:"", // 云平台 .chkypt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
routxt:"", // 已转报 .routxt
dflg:"", // 国内国际标志 .dflg
chktco:"", // 网银 .chktco
chkcan:"", // 归档 .chkcan
chkdzt:"", // E-Trade .chkdzt
}
}
}
\ No newline at end of file
/**
* Trnrel Check规则
*/
export default {
"trn.inr" :[checkTrnInrN1500,],
"atpget.sdamod.dadsnd" :[checkAtpgetSdamodDadsndN100,],
"trn.inftxt" :[checkTrnInftxtN100,],
"recpan.atpget.sdamod.dadsnd" :[checkRecpanAtpgetSdamodDadsndN100,],
"recpan.recget.sdamod.dadsnd" :[checkRecpanRecgetSdamodDadsndN100,],
}
/**
* source:trnget.@0009.script
* recpan.recget
*/
function checkTrnInrN1500()
{
// checkrule to finally check whether contents in the keyfield has been resolved.
if( ! Utils.isEmpty( model.trn.inr ) && Utils.len( model.trn.inr ) < 8 && Utils.isEmpty( model.dissel ) )
{
Utils.error( model.trn.inr, "#CT000003" );
}
}
/**
* source:atpget.@0001.script
* atpget
*/
function checkAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:txmmod.@0009.script
* recpan.inftxt
*/
function checkTrnInftxtN100()
{
//! Set error, if block contains an Asterisk and is enabled
//! ZL add for swift standards relese 2018
//占位符“*”给为占位符“~”
//add tby
// `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
{
Utils.errorAsterisk( model.txmblock );
}
}
/**
* source:atpget.@0001.script
* recpan.atpget
*/
function checkRecpanAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:trnget.@0001.script
* recpan.recget
*/
function checkRecpanRecgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.trn.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* Trnrel Default规则
*/
export default {
"trn.inftxt" :defaultTrnInftxt,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"recpan.det" :defaultRecpanDet,
"numtrn" :defaultNumtrn,
"trncorco.dflg" :defaultTrncorcoDflg,
"recpan.usr.extkey" :defaultRecpanUsrExtkey,
"atptxt" :defaultAtptxt,
"trn.inr" :defaultTrnInr,
"recpan.ackstm" :defaultRecpanAckstm,
"imgmod.newhisimg" :defaultImgmodNewhisimg,
"recpan.cpltxt" :defaultRecpanCpltxt,
"recpan.butord" :defaultRecpanButord,
"recpan.incben" :defaultRecpanIncben,
"imgmod.hisimg" :defaultImgmodHisimg,
"orddsp" :defaultOrddsp,
"recpan.butspt" :defaultRecpanButspt,
"seaown" :defaultSeaown,
"recpan.inftxt.buttxmsel" :defaultRecpanInftxtButtxmsel,
"usrcon" :defaultUsrcon,
"recpan.inc" :defaultRecpanInc,
"recpan.imgmod.image" :defaultRecpanImgmodImage,
"relcor" :defaultRelcor,
"seajbh" :defaultSeajbh,
"syswrn.butshw" :defaultSyswrnButshw,
"printe" :defaultPrinte,
"trn.infdsp" :defaultTrnInfdsp,
"recpan.con" :defaultRecpanCon,
"recpan.ackgrp.rec.sndref" :defaultRecpanAckgrpRecSndref,
"imgmod.newimg" :defaultImgmodNewimg,
}
function defaultTrnInftxt()
{
<!--
if(!trnrel.getRecpan().defaultTrnInftxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoTrnstm()
{
<!--
if(!trnrel.defaultTrncorcoTrnstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanDet()
{
<!--
if(!trnrel.getRecpan().defaultDetN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultNumtrn()
{
<!--
if(!trnrel.defaultNumtrnN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoDflg()
{
<!--
if(!trnrel.defaultTrncorcoDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanUsrExtkey()
{
<!--
if(!trnrel.getRecpan().defaultUsrExtkeyN900(ctx,900) )
{
return false;
}
if(!trnrel.getRecpan().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultAtptxt()
{
<!--
if(!trnrel.defaultAtptxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInr()
{
<!--
if(!trnrel.defaultRecpanTrnInrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckstm()
{
<!--
if(!trnrel.getRecpan().defaultAckstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewhisimg()
{
<!--
if(!trnrel.defaultImgmodNewhisimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanCpltxt()
{
<!--
if(!trnrel.getRecpan().defaultCpltxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButord()
{
<!--
if(!trnrel.getRecpan().defaultButordN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanIncben()
{
<!--
if(!trnrel.getRecpan().defaultIncbenN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodHisimg()
{
<!--
if(!trnrel.defaultImgmodHisimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
return true;
-->
}
function defaultOrddsp()
{
<!--
if(!trnrel.defaultOrddspN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButspt()
{
<!--
if(!trnrel.getRecpan().defaultButsptN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeaown()
{
<!--
if(!trnrel.defaultSeaownN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInftxtButtxmsel()
{
<!--
if(!trnrel.getRecpan().getInftxt().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
-->
}
function defaultUsrcon()
{
<!--
if(!trnrel.defaultUsrconN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInc()
{
<!--
if(!trnrel.getRecpan().defaultIncN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanImgmodImage()
{
<!--
if(!trnrel.getRecpan().defaultImgmodImageN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRelcor()
{
<!--
if(!trnrel.defaultRelcorN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeajbh()
{
<!--
if(!trnrel.defaultSeajbhN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSyswrnButshw()
{
<!--
if(!trnrel.getRecpan().defaultSyswrnButshwN10000(ctx,10000) )
{
return false;
}
return true;
-->
}
function defaultPrinte()
{
<!--
if(!trnrel.defaultPrinteN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInfdsp()
{
<!--
if(!trnrel.getRecpan().defaultTrnInfdspN100(ctx,100) )
{
return false;
}
if(!trnrel.getRecpan().defaultTrnInfdspN3000(ctx,3000) )
{
return false;
}
return true;
-->
}
function defaultRecpanCon()
{
<!--
if(!trnrel.getRecpan().defaultConN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckgrpRecSndref()
{
<!--
if(!trnrel.getRecpan().defaultAckgrpRecSndrefN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewimg()
{
<!--
if(!trnrel.defaultImgmodNewimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
return true;
-->
}
export default {
"trncorco.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trncorco.inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trncorco.inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"trncorco.trnstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"numtrn":[
{type: "string", required: false, message: "必输项"},
{max: 7,message:"长度不能超过7"}
],
"orddsp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trn.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.con":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "recpan.atp.cod":[
// {type: "string", required: false, message: "必输项"},
// {max: 6,message:"长度不能超过6"}
// ],
"trn.reloricur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.reloriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trn.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.usg":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.relreq":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.relres":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.cortrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.exedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recpan.cretrs.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.cretrs.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recpan.ackgrp.rec.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trn.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.trsstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"wfmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"wfmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evthisstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evtstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.ackstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.trostm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.prtgleblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"recpan.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.docbol.prtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
export default class Trnrel{
constructor () {
this.data = {
trncorco:{
ownref:"", // Reference .trncorco.ownref
relflg:"", // Status .trncorco.relflg
inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
dflg:"", // 国内证标志 .trncorco.dflg
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
numtrn:"", // # of transactions .numtrn
orddsp:"", // >> .orddsp
bchcon:"", // Branch .bchcon
usrcon:"", // User .usrcon
recpan:{
cpltxt:"", // Completion text .recpan.cpltxt
spt:{
sta:"", // Status .recpan.spt.sta
},
ord:{
sta:"", // Status .recpan.ord.sta
},
recget:{
sdamod:{
seainf:"", // Ident No. .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp:{
cod:"", // Transaction ID .recpan.atp.cod
},
atpget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf:"", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm:"", // Documents .recpan.smhstm
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
trsstm:"", // Signatures .recpan.trsstm
con:"", // Reference .recpan.con
cretrs:{
usr:"", // Entered by .recpan.cretrs.usr
dattim:"", // Timestamp .recpan.cretrs.dattim
},
ackgrp:{
rec:{
sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
evthisstm:"", // stream of history of transactions .recpan.evthisstm
evtstm:"", // stream of events .recpan.evtstm
ackstm:"", // ACKs for transaction .recpan.ackstm
trostm:"", // TROs for transaction for display .recpan.trostm
prtgleblk:"", // XMLPanel prtgle的内置block .recpan.prtgleblk
prtpanblk:"", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
trn:{
ownref:"", // Reference .trn.ownref
inr:"", // Transaction Key .trn.inr
objnam:"", // External Readable Object Identification .trn.objnam
reloricur:"", // Relevant Amount .trn.reloricur
reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg:"", // Release Status of Transaction .trn.relflg
usr:"", // Responsible .trn.usr
usg:"", // Responsible Group .trn.usg
relreq:"", // Signatures Required/Obtained .trn.relreq
relres:"", // Applied Signatures .trn.relres
cortrninr:"", // Based on Ident No. .trn.cortrninr
exedat:"", // Execution Date .trn.exedat
inftxt:"", // Infotext .trn.inftxt
infdsp:"", // Infoflag .trn.infdsp
},
wfmmod:{
wfs:{
objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr:"", // Object .wfmmod.wfs.objinr
},
},
docimm:{
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
docbol:{
prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Ditopn{
constructor(){
this.data = {
didgrp: {
rec: {
accusr: "", // \didgrp\rec\accusr 客户经理
adlcnd: "", // \didgrp\rec\adlcnd 附加条款
avbby: "", // \didgrp\rec\avbby 信用证对付方式
cfmflg: "", // \didgrp\rec\cfmflg 保兑标志
conamt: "", // \didgrp\rec\conamt 合同金额
concur: "", // \didgrp\rec\concur 合同币种
conno: "", // \didgrp\rec\conno 合同编号
defdet: "", // \didgrp\rec\defdet 远期付款指示
expdat: "", // \didgrp\rec\expdat 有效日期
expplc: "", // \didgrp\rec\expplc 有效地点
isstyp: "", // \didgrp\rec\isstyp 开证类型
lcrdoc: "", // \didgrp\rec\lcrdoc 单据要求
lcrgod: "", // \didgrp\rec\lcrgod 货物服务描述
nam: "", // \didgrp\rec\nam 概要描述
negflg: "", // \didgrp\rec\negflg 指定议付行
nomton: "", // \didgrp\rec\nomton 下浮
nomtop: "", // \didgrp\rec\nomtop 上浮
opndat: "", // \didgrp\rec\opndat 开立日期
ownbch: "", // \didgrp\rec\ownbch 归属机构
ownref: "", // \didgrp\rec\ownref 业务编号
preper: "", // \didgrp\rec\preper 交单期限
shpdat: "", // \didgrp\rec\shpdat 最迟货物装运/服务提供日期
shpfro: "", // \didgrp\rec\shpfro 货物装运地(港)
shppar: "", // \didgrp\rec\shppar 分批装运货物/分次提供服务
shpper: "", // \didgrp\rec\shpper 分期装运/提供服务
shppro: "", // \didgrp\rec\shppro 服务提供地点
shpto: "", // \didgrp\rec\shpto 货物目的地、交货地(港)
shptrs: "", // \didgrp\rec\shptrs 转运
tenmaxday: "", // \didgrp\rec\tenmaxday 期限
traflg: "", // \didgrp\rec\traflg 是否可转让
tratyp: "", // \didgrp\rec\tratyp 货物运输或交货方式/服务方式
trdapt: "", // \didgrp\rec\trdapt 分期装运/提供服务约定
trdtyp: "", // \didgrp\rec\trdtyp 贸易方式
},
a2b: {
pts: {
adrcn: "", // \didgrp\a2b\pts\adrcn 中文地址
extkey: "", // \didgrp\a2b\pts\extkey 客户编号
namcn: "", // \didgrp\a2b\pts\namcn 客户中文名称
}
},
adv: {
pts: {
adrcn: "", // \didgrp\adv\pts\adrcn 中文地址
extkey: "", // \didgrp\adv\pts\extkey 客户编号
namcn: "", // \didgrp\adv\pts\namcn 客户中文名称
}
},
age: {
pts: {
adrcn: "", // \didgrp\age\pts\adrcn 中文地址
extkey: "", // \didgrp\age\pts\extkey 客户编号
namcn: "", // \didgrp\age\pts\namcn 客户中文名称
}
},
apl: {
pts: {
adrcn: "", // \didgrp\apl\pts\adrcn 中文地址
extact: "", // \didgrp\apl\pts\extact 结算账号
extkey: "", // \didgrp\apl\pts\extkey 客户编号
namcn: "", // \didgrp\apl\pts\namcn 客户中文名称
}
},
ben: {
pts: {
adrcn: "", // \didgrp\ben\pts\adrcn 中文地址
extact: "", // \didgrp\ben\pts\extact 结算账号
extkey: "", // \didgrp\ben\pts\extkey 客户编号
namcn: "", // \didgrp\ben\pts\namcn 客户中文名称
}
},
cbs: {
max: {
amt: "", // \didgrp\cbs\max\amt Balance
cur: "", // \didgrp\cbs\max\cur Currency
},
nom1: {
amt: "", // \didgrp\cbs\nom1\amt Balance
cur: "", // \didgrp\cbs\nom1\cur Currency
},
},
con: {
pts: {
adrcn: "", // \didgrp\con\pts\adrcn 中文地址
extkey: "", // \didgrp\con\pts\extkey 客户编号
namcn: "", // \didgrp\con\pts\namcn 客户中文名称
}
},
neg: {
pts: {
adrcn: "", // \didgrp\neg\pts\adrcn 中文地址
extkey: "", // \didgrp\neg\pts\extkey 客户编号
namcn: "", // \didgrp\neg\pts\namcn 客户中文名称
}
}
},
liaall: {
liaallg: [],
liaccv: {
chgamt: "", // \liaall\liaccv\chgamt 变动金额
concur: "", // \liaall\liaccv\concur 业务结算币种
cshpct: "", // \liaall\liaccv\cshpct 保证金应收比例
liaccvg: [], // \liaall\liaccv\liaccvg
newamt: "", // \liaall\liaccv\newamt 业务金额
pctresamt: "", // \liaall\liaccv\pctresamt 应收/支保证金
relcshpct: "", // \liaall\liaccv\relcshpct 保证金实收比例
totcovamt: "", // \liaall\liaccv\totcovamt 保证金合计
}
},
setmod: {
docamt: "",
doccur: "",
feemac: "",
glemod: {
glelst: []
},
setfeg: {
fegmod: {
feslst: []
}
},
setglg: {
glgmod: {
glslst: []
}
},
setmac: ""
},
sysmod: {
spt: {
inr: ""
}
},
trnmod: {
trndoc: {
cortyp: "",
doccod: "",
docmod: {
doclst: []
},
docpth: ""
}
}
}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Sptsel{
constructor() {
this.data = {}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Trnrel{
constructor() {
this.data = {}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<eibs:Module xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:eibs="http://eibs.brilliance.com"
name="office" table="office" title="Unnamed transaction"/>
const Status = {
nameSpaced: true,
state: {
role: '0',
authMenus: [],
authButtons: [],
mode: 'normal',
highlights: [],
highlightChanges: [],
remark: '', //复核意见
homeStatus: { // 任务列表页状态
listConfig: undefined,
params: undefined,
searchParams: undefined,
activeName: undefined
}
},
mutations: {
setMode(state, value) {
state.mode = value
},
setHighlights(state, value) {
state.highlights = value
},
setHighlightChanges (state, value) {
state.highlightChanges = value
},
setRole(state, value) {
state.role = value
},
setAuthMenus(state, value) {
state.authMenus = value
},
setAuthButtons(state, value) {
state.authButtons = value
},
setRemark(state, value) {
state.remark = value
},
updateRemark(state, id) {
state.remark = state.remark + `\n ${id}:`
},
setHomeListConfig(state, value) {
console.log(value)
console.log('list config save')
state.homeStatus.listConfig = value
},
setHomeActiveName(state, value) {
state.homeStatus.activeName = value
},
setHomeParams(state, value) {
state.homeStatus.params = value
},
setHomeSearchParams(state, value) {
state.homeStatus.searchParams = value
},
resetHomeStatus(state) {
state.homeStatus = { // 任务列表页状态
listConfig: undefined,
params: undefined,
searchParams: undefined,
activeName: undefined
}
}
}
}
export default Status
\ No newline at end of file
const Swift = {
nameSpaced: true,
state: {
code: ''
},
mutations: {
setSwiftCode(state, value) {
state.code = value
}
}
}
export default Swift
\ No newline at end of file
import I18NStore from "./I18NStore"
import UserContext from "./UserContext"
import Status from "./Status"
import Swift from "./Swift"
import Vuex from 'vuex'
import Vue from 'vue'
......@@ -8,7 +10,9 @@ Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
I18n: I18NStore,
UserContext: UserContext
UserContext: UserContext,
Status: Status,
Swift: Swift
}
})
......
......@@ -131,7 +131,7 @@ import Mt202 from "./Mt202"
import Fmt100 from "./Fmt100"
import Cmt100 from "./Cmt100"
import Cptopn,{descriptor,codes} from "~/model/cptopn"
import Cptopn,{descriptor,codes} from "~/model/Cptopn"
import Api from "~/service/Api"
import Utils from "~/utils"
......@@ -162,6 +162,9 @@ export default {
'm-fmt100': Fmt100,
'm-cmt100': Cmt100
},
computed: {
},
data: function () {
return {
activeName: 'basic',
......@@ -263,7 +266,10 @@ export default {
else {
this.$notify.error({title: '错误',message: '服务请求失败!'})
}
}
},
tabClick(){
},
}
}
</script>
......
......@@ -1730,6 +1730,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
computed: {
},
data(){
return {
codes:{
......@@ -2101,7 +2104,8 @@ export default {
"liaall.liaccv.relcshpct":[{type: "string", required: false, len: 5, message: "输入不合法"}],
"liaall.liaccv.pctresamt":[{type: "number", required: false, message: "输入不合法"}],
"liaall.liaccv.totcovamt":[{type: "number", required: false, message: "输入不合法"}],
}
},
declareParams:{"fileName":"ditame.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditame/init"},
}
},
methods:{
......@@ -2537,6 +2541,9 @@ export default {
}
})
},
tabClick(){
},
},
created:async function(){
console.log("进入ditame交易");
......
......@@ -37,7 +37,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -221,7 +221,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -53,7 +53,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -148,7 +148,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -179,7 +179,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -99,7 +99,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -184,7 +184,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -200,7 +200,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -29,7 +29,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -359,7 +359,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default {
......@@ -367,7 +367,7 @@ export default {
mixins: [CommonProcess],
data(){
return {
getElcsRef:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
}
},
methods:{...Event},
......
......@@ -104,7 +104,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -60,7 +60,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -244,7 +244,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -51,7 +51,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -92,7 +92,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ditopn from "~/Model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess"
// import Pattern from "@/Model/Ditopn/Pattern"
import Pattern from "~/model/Ditopn/Pattern"
import Ovwp from "./Ovwp"
import Revp from "./Revp"
import Tk from "./Tk"
......@@ -132,6 +132,9 @@ export default {
"m-ccvpan" : Ccvpan,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Ditopn().data,
......@@ -139,10 +142,13 @@ export default {
rules:Pattern,
codes:{
},
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/init"},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入ditopn交易");
......
......@@ -113,6 +113,9 @@ import s_todo from "./TodoItem"
export default {
components:{"s-todo":s_todo},
computed: {
},
data(){
return {
todoActive:"WAT",
......@@ -162,12 +165,14 @@ export default {
},
},
rules:{}
}
},
methods:{
handleClick(index, row){
console.log(index)
},
tabClick(){
}
},
mounted:async function(){
......
......@@ -176,7 +176,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Sptsel/Event"
import Event from "~/model/Sptsel/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default {
......@@ -184,7 +184,7 @@ export default {
mixins: [CommonProcess],
data(){
return {
onUsfmodShwflt:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"},
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"},
}
},
......
......@@ -14,14 +14,18 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptsel from "~/Model/Sptsel"
import CommonProcess from "~/mixin/CommonProcess.js"
// import Pattern from "@/Model/Sptsel/Pattern"
import Pattern from "~/model/Sptsel/Pattern"
import Menu from "./Menu"
import Event from "~/model/Sptsel/Event"
export default {
components:{
"m-menu" : Menu,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Sptsel().data,
......@@ -29,12 +33,10 @@ export default {
rules:Pattern,
codes:{
},
init:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
}
},
methods:{
},
methods:{...Event},
mounted:async function(){
console.log("进入sptsel交易");
let rtnmsg = await Api.post(this,"init",{params:{}})
......
......@@ -346,17 +346,17 @@
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
mixins: [CommonProcess],
components: {
},
data(){
return {
seaown:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/seaown"},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/seaown"},
}
},
methods:{...Event},
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -282,6 +282,9 @@ export default {
components:{
"m-pager":PaperShow
},
computed: {
},
data(){
return {
codes:{
......@@ -539,6 +542,9 @@ export default {
}
})
},
tabClick(){
},
},
mounted:async function(){
console.log("进入trndtl交易");
......
......@@ -241,7 +241,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -17,7 +17,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -30,7 +30,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -16,7 +16,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trnrel from "~/Model/Trnrel"
import CommonProcess from "~/mixin/CommonProcess"
//import Pattern from "@/Model/Trnrel/Pattern"
import Pattern from "~/Model/Trnrel/Pattern"
import Inftrnps from "./Inftrnps"
import Trnp0 from "./Trnp0"
import Trnpwfm from "./Trnpwfm"
......@@ -32,6 +32,7 @@ import Prtp from "./Prtp"
// import * as poinMessage from '@/util/poin-common/messageManage.js'
import { TabPane,Col,Table,Form,FormItem,Upload,TableColumn,Card,Input,Button,Dialog,Select,Tabs,Option,DatePicker,Row} from 'element-ui'
import Event from "~/model/Trnrel/Event";
export default {
......@@ -39,18 +40,23 @@ export default {
"m-inftrnps" : Inftrnps,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Trnrel().data,
rules:Pattern,
codes:{
},
init:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
}
},
methods:{
tabClick(){
}
},
mounted:async function(){
console.log("进入trnrel交易");
......
......@@ -22,6 +22,9 @@ export default {
compb:CompB,
compc:CompC
},
computed: {
},
data(){
return {
model:{
......
<template>
<div class="loginContainer">
<div id="loginForamWrapper">
<h2>欢迎银行国际结算系统</h2>
<div id="loginForm">
<p style="text-align:left;font-size:1.2em;color:#888">用户登录 / LOGIN IN</p>
<el-form :model="loginForm" status-icon :rules="rules" ref="loginForm" size="small" >
<el-form-item prop="username" >
<el-input prefix-icon="el-icon-user" placeholder="请输入登录名" v-model="loginForm.username"></el-input>
</el-form-item>
<el-form-item prop="password" >
<el-input prefix-icon="el-icon-lock" placeholder="请输入密码" type="password" v-model="loginForm.password" autocomplete="off"></el-input>
</el-form-item>
<el-form-item>
<el-button style="width:100%;margin-top:1em;" type="primary" @click="submitForm('loginForm')">登录</el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</template>
<script>
import { createNamespacedHelpers } from 'vuex'
const { mapState, mapMutations, mapActions } = createNamespacedHelpers('UserContext')
const { setLoginInfo } = mapMutations(["setLoginInfo"])
export default {
data() {
return {
loginForm: {
password: '',
username: ''
},
rules:{
username:[
{type: "string", required: true, message: "请填写用户名"}
],
password:[
{type: "string", required: true, message: "请填写密码"}
]
}
};
},
methods: {
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.setLoginInfo({userId:this.loginForm.username})
this.$router.push("/business/office");
} else {
console.log('error submit!!');
return false;
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
setLoginInfo
}
}
</script>
<style>
.loginContainer{
flex: 1;
background-image: url("../../assets/login_bg.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
#loginForamWrapper{
width: 340px;
/* height:280px; */
}
#loginForm{
background-color: white;
padding:1em 2em;
border: 1px solid #d9d9d9;
box-shadow: 5px 5px 5px 0px #d9d9d9;
border-radius: 3px;
}
#loginForamWrapper h2{
color:#d9d9d9;
font-family: 宋体;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment