Commit b21bcc01 by 严一鸣
parents a9f93a4c ea7b230b
...@@ -363,6 +363,7 @@ export default class Litopn{ ...@@ -363,6 +363,7 @@ export default class Litopn{
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot:"", //面涵 message
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
......
...@@ -4,10 +4,6 @@ import Utils from "~/utils" ...@@ -4,10 +4,6 @@ import Utils from "~/utils"
* Litsel Check规则 * Litsel Check规则
*/ */
let checkObj = { let checkObj = {
"bpdget.sdamod.dadsnd" :null,
"trdget.sdamod.dadsnd" :null,
"lidget.sdamod.dadsnd" :null,
"brdget.sdamod.dadsnd" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -6,43 +6,54 @@ import Api from "~/service/Api"; ...@@ -6,43 +6,54 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction, "trpnttyp" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.shgref" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction, "sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction, "sptpentrbp_descr" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction, "brdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction, "bpdgrp.rec.fintyp" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction, "selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction, "selbut.trnpenlab_descr" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction, "bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction, "cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction, "cfgfil.subtxt11" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction, "brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.rec.shgref" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction, "lidgrp.ben.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"dfdgrp.rec.ownref" :Utils.defaultFunction, "dfdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction, "cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction, "cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction, "cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction, "cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction, "cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction, "cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction, "cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction, "cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction, "cfgfil.subtxt2" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"lidgrp.apl.pts.nam" :Utils.defaultFunction, "lidgrp.apl.pts.nam" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,5 +2,29 @@ import Api from "~/service/Api" ...@@ -2,5 +2,29 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -351,12 +351,14 @@ export default { ...@@ -351,12 +351,14 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotsub2":[ "cfgfil.hotsub2":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotsub3":[ "cfgfil.hotsub3":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -389,6 +391,7 @@ export default { ...@@ -389,6 +391,7 @@ export default {
"cfgfil.hotsub4":[ "cfgfil.hotsub4":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -397,18 +400,21 @@ export default { ...@@ -397,18 +400,21 @@ export default {
"cfgfil.hotsub5":[ "cfgfil.hotsub5":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotsub6":[ "cfgfil.hotsub6":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.regside3":[ "cfgfil.regside3":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -444,16 +450,19 @@ export default { ...@@ -444,16 +450,19 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotsub8":[ "cfgfil.hotsub8":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotsub9":[ "cfgfil.hotsub9":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"cfgfil.hotreg4":[ "cfgfil.hotreg4":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -490,6 +499,8 @@ export default { ...@@ -490,6 +499,8 @@ export default {
"cfgfil.hotsub11":[ "cfgfil.hotsub11":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -498,4 +509,10 @@ export default { ...@@ -498,4 +509,10 @@ export default {
"selbut.syswrn.dsp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
...@@ -15,6 +15,9 @@ export default class Litsel{ ...@@ -15,6 +15,9 @@ export default class Litsel{
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
dsprevnbr:"", // Revolving Done .selbut.dsprevnbr dsprevnbr:"", // Revolving Done .selbut.dsprevnbr
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
syswrn:{
dsp:"", // Display .selbut.syswrn.dsp
},
}, },
dspbrdclsdat:"", // Display Closing Date of Document Set .dspbrdclsdat dspbrdclsdat:"", // Display Closing Date of Document Set .dspbrdclsdat
dsptrdclsdat:"", // Display Closeing Date of Loan .dsptrdclsdat dsptrdclsdat:"", // Display Closeing Date of Loan .dsptrdclsdat
...@@ -24,7 +27,6 @@ export default class Litsel{ ...@@ -24,7 +27,6 @@ export default class Litsel{
trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
lidgrp:{ lidgrp:{
rec:{ rec:{
inr:"",
ownref:"", // L/C Reference .lidgrp.rec.ownref ownref:"", // L/C Reference .lidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .lidgrp.rec.nam nam:"", // Externally Displayed Name to Identify the Contract .lidgrp.rec.nam
avbby:"", // Available by .lidgrp.rec.avbby avbby:"", // Available by .lidgrp.rec.avbby
...@@ -172,7 +174,7 @@ export default class Litsel{ ...@@ -172,7 +174,7 @@ export default class Litsel{
mattxtlab:"", // Label for MATTXT .matp.mattxtlab mattxtlab:"", // Label for MATTXT .matp.mattxtlab
}, },
cfgfil:{ cfgfil:{
btnstm:"", //按钮数据 btnstm: "", //按钮数据
bitmap:"", // Bitmap for folder .cfgfil.bitmap bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1 regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2 regside2:"", // Regside .cfgfil.regside2
...@@ -197,17 +199,6 @@ export default class Litsel{ ...@@ -197,17 +199,6 @@ export default class Litsel{
subtxt9:"", // submenu text 9 .cfgfil.subtxt9 subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10 subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11 subtxt11:"", // submenu text 11 .cfgfil.subtxt11
subtrn1:"", // submenu text 1 .cfgfil.subtxt1
subtrn2:"", // submenu text 2 .cfgfil.subtxt2
subtrn3:"", // submenu text 3 .cfgfil.subtxt3
subtrn4:"", // submenu text 4 .cfgfil.subtxt4
subtrn5:"", // submenu text 5 .cfgfil.subtxt5
subtrn6:"", // submenu text 6 .cfgfil.subtxt6
subtrn7:"", // submenu text 7 .cfgfil.subtxt7
subtrn8:"", // submenu text 8 .cfgfil.subtxt8
subtrn9:"", // submenu text 9 .cfgfil.subtxt9
subtrn10:"", // submenu text 10 .cfgfil.subtxt10
subtrn11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1 regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2 regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3 regtxt3:"", // Register text 3 .cfgfil.regtxt3
...@@ -243,6 +234,17 @@ export default class Litsel{ ...@@ -243,6 +234,17 @@ export default class Litsel{
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10 hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11 hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12 hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
}, },
dfdgrp:{ dfdgrp:{
rec:{ rec:{
......
...@@ -7,15 +7,15 @@ import Utils from "~/utils/index" ...@@ -7,15 +7,15 @@ import Utils from "~/utils/index"
export default { export default {
"trdgrp.fip.pts.extkey" :Utils.defaultFunction, "trdgrp.fip.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.accbch":defaultTrtmodFinmodAccbch, "trtmod.finmod.accbch":Utils.defaultFunction,
"trtmod.finmod.dinjdm" :Utils.defaultFunction, "trtmod.finmod.dinjdm" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction, "trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction, "trdgrp.rec.fintyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction, "trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.act1":defaultTrtmodFinmodAct1, "trtmod.finmod.act1":Utils.defaultFunction,
"trdgrp.rec.pntref" :Utils.defaultFunction, "trdgrp.rec.pntref" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction, "trtmod.finmod.acttyp" :Utils.defaultFunction,
"trtmod.finmod.act3":defaultTrtmodFinmodAct3, "trtmod.finmod.act3":Utils.defaultFunction,
"trtmod.finmod.inttyp" :Utils.defaultFunction, "trtmod.finmod.inttyp" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
"trdgrp.rec.reccountrycode" :Utils.defaultFunction, "trdgrp.rec.reccountrycode" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction, "ledgrp.apl.pts.nam" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction, "trtmod.finmod.intdat" :Utils.defaultFunction,
"trtp.act" :defaultTrtpAct, "trtp.act" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :Utils.defaultFunction, "trtmod.finmod.flttyp" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction, "trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
} }
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"trdgrp.fip.pts.ref":[ "trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"trtp.usr.extkey":[ "trtp.usr.extkey":[
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"trdgrp.fip.pts.extkey":[ "trdgrp.fip.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"trtp.fipp.ptsget.sdamod.seainf":[ "trtp.fipp.ptsget.sdamod.seainf":[
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
"trdgrp.cbs.max.amt":[ "trdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -139,10 +139,10 @@ export default { ...@@ -139,10 +139,10 @@ export default {
{max: 4,message:"长度不能超过4"} {max: 4,message:"长度不能超过4"}
], ],
"trdgrp.rec.matdat":[ "trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: true, message: "输入正确的日期"}
], ],
"trdgrp.rec.tenday":[ "trdgrp.rec.tenday":[
{type: "string", required: false, message: "必输项"}, {required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"} {max: 10,message:"长度不能超过10"}
], ],
"trtmod.finmod.graday":[ "trtmod.finmod.graday":[
...@@ -166,11 +166,11 @@ export default { ...@@ -166,11 +166,11 @@ export default {
"trtmod.finmod.ovdintrat":[ "trtmod.finmod.ovdintrat":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"trdgrp.rec.actrat":[ "trdgrp.rec.actrat":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 12,message:"长度不能超过12"} {max: 12,message:"长度不能超过12"}
], ],
...@@ -203,12 +203,16 @@ export default { ...@@ -203,12 +203,16 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"trtmod.finmod.dinjdm":[ "trtmod.finmod.dinjdm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"trdgrp.rec.mycontno":[ "trdgrp.rec.mycontno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"trdgrp.rec.invtyp":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
...@@ -523,4 +527,16 @@ export default { ...@@ -523,4 +527,16 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"} {max: 26,message:"长度不能超过26"}
], ],
"trdgrp.cbs.max.cur": [
{type: "string", required: true, message: "必选项"}
],
"trtmod.finmod.flttyp": [
{type: "string", required: true, message: "必选项"}
],
"cfatrt.cfaflg": [
{type: "string", required: true, message: "必选项"}
],
"trdgrp.rec.stagod": [
{type: "string", required: true, message: "必选项"}
]
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Trnmod from "../Public/Trnmod"
import Setmod from "../Public/Setmod"
export default class Trtopn{ export default class Trtopn{
constructor () { constructor () {
...@@ -239,29 +241,8 @@ export default class Trtopn{ ...@@ -239,29 +241,8 @@ export default class Trtopn{
rzkx5:"", // 融资款项 .financ.rzkx5 rzkx5:"", // 融资款项 .financ.rzkx5
ref5:"", // 业务编号 .financ.ref5 ref5:"", // 业务编号 .financ.ref5
}, },
setmod:{ setmod:new Setmod().data,
docamttyplab:"", // settled amount description as label .setmod.docamttyplab trnmod:new Trnmod().data,
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -56,7 +56,9 @@ import Litdav from "./Litdav" ...@@ -56,7 +56,9 @@ import Litdav from "./Litdav"
import Litdck from "./Litdck" import Litdck from "./Litdck"
import Inflid from "./Inflid" import Inflid from "./Inflid"
import Inftrd from "./Inftrd" import Inftrd from "./Inftrd"
import Trtopn from "./Trtopn"
import Trtame from "./Trtame" import Trtame from "./Trtame"
import Trtsel from "./Trtsel"
import Lttcan from "./Lttcan" import Lttcan from "./Lttcan"
// import Infdet from "./Infdet" // import Infdet from "./Infdet"
import Botdav from "./Botdav" import Botdav from "./Botdav"
...@@ -142,6 +144,8 @@ import AssetPub from "./AssetPub" ...@@ -142,6 +144,8 @@ import AssetPub from "./AssetPub"
import Fund from "./Fund" import Fund from "./Fund"
import Brtdck from "./Brtdck" import Brtdck from "./Brtdck"
import Litsel from "./Litsel"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
...@@ -236,7 +240,9 @@ const BusRouter = [ ...@@ -236,7 +240,9 @@ const BusRouter = [
{ path: 'litdck', component: Litdck, name: 'Litdck', meta: { title: '进口信用证到单' } }, { path: 'litdck', component: Litdck, name: 'Litdck', meta: { title: '进口信用证到单' } },
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } }, { path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } }, { path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'trtopn', component: Trtopn, name: 'Trtopn', meta: { title: '进口融资开立' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } }, { path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } }, { path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } }, { path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
...@@ -297,6 +303,8 @@ const BusRouter = [ ...@@ -297,6 +303,8 @@ const BusRouter = [
{ path: 'assetpub', component: AssetPub, name: 'AssetPub', meta: { title: '资产发布信息管理' } }, { path: 'assetpub', component: AssetPub, name: 'AssetPub', meta: { title: '资产发布信息管理' } },
{ path: 'fund', component: Fund, name: 'Fund', meta: { title: '资金信息管理' } }, { path: 'fund', component: Fund, name: 'Fund', meta: { title: '资金信息管理' } },
{ path: 'Litsel', component: Litsel, name: 'Litsel', meta: { title: '进口信用证入口' } },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
v-model="model.lidgrp.rec.cnfdet" v-model="model.lidgrp.rec.cnfdet"
style="width: 100%" style="width: 100%"
placeholder="请选择Confirm. Instructions" placeholder="请选择Confirm. Instructions"
:code="codes.cnfdet" :code="codes.cnfflg1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<el-table
:data="tableData"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="label" align="center">
<template slot-scope="scope">
<c-button
@click="onNarBtnClick(scope.row.url, scope.row.label)"
:label="scope.row.label"
:disabled="scope.row.disabled"
>{{ scope.row.label }}</c-button
>
<!-- <el-link
:disabled="scope.row.disabled"
:href="scope.row.url"
v-if="scope.row.title"
>{{ scope.row.title }}</el-link
> -->
</template>
</el-table-column>
</el-table>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
props: ["data", "model"],
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
cellSttyle: { height: "25px" },
meumItem: [],
};
},
methods: {
//各入口按钮请求
async onNarBtnClick(url, label) {
let key = 0;
for(let i = 1; i <= 11 ; i++){
let temp_label = this.model.cfgfil['subtxt'+i];
if(temp_label == label){
key = i;
break;
}
}
let rtnmsg = await this.executeRule("cfgfil.hotsub"+key);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
url = url.toLowerCase();
this.$router.history.push("/business/" + url);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
},
computed: {
tableData() {
const arr = [];
var data = this.data;
for (let i = 0; i < data.length; i++) {
const items = data[i].split("\t");
arr.push({
url: items[0],
label: items[1],
disabled: items[2] == "N" ? true : false,
other: items[3],
});
}
return arr;
},
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Display" prop="selbut.syswrn.dsp">
<c-input v-model="model.selbut.syswrn.dsp" :placeholder="$t('other.please_enter')+'Display'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButok">
{{$t('syswrn.CF000003')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButcan">
{{$t('syswrn.CF000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--litsel PD000058 Menu -->
<!--PD000058 --> <el-tab-pane label="Menu" name="sel">
<el-tab-pane label="PD000058" name="sel"> <c-content>
<m-sel :model="model" :codes="codes"/> <m-sel :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--cfgfil PD000002 -->
<!-- <el-tab-pane :label="$t('cfgfil.PD000002')" name="regp">
<m-regp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--syswrn PD000005 Warnings -->
<!-- <el-tab-pane :label="$t('syswrn.PD000005')" name="syswrndisplay">
<m-syswrndisplay :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -20,11 +29,16 @@ import Check from "~/model/Litsel/Check" ...@@ -20,11 +29,16 @@ import Check from "~/model/Litsel/Check"
import Default from "~/model/Litsel/Default" import Default from "~/model/Litsel/Default"
import Pattern from "~/model/Litsel/Pattern" import Pattern from "~/model/Litsel/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Regp from "./Regp"
import Syswrndisplay from "./Syswrndisplay"
export default { export default {
name: "Litsel",
components:{ components:{
"m-sel" : Sel, "m-sel" : Sel,
"m-regp" : Regp,
"m-syswrndisplay" : Syswrndisplay,
}, },
provide() { provide() {
return { return {
...@@ -34,19 +48,24 @@ export default { ...@@ -34,19 +48,24 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "sel",
trnName: "litsel", trnName: "litsel",
trnType: "",
model: new Litsel().data, model: new Litsel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable
}, },
} }
}, },
methods:{ methods:{
tabClick(){ tabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
} }
}, },
created:async function(){ created:async function(){
...@@ -54,6 +73,7 @@ export default { ...@@ -54,6 +73,7 @@ export default {
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -427,7 +427,9 @@ ...@@ -427,7 +427,9 @@
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
flag: false
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function() {} created: function() {}
......
...@@ -73,6 +73,13 @@ ...@@ -73,6 +73,13 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form> </el-form>
</div> </div>
</c-page> </c-page>
...@@ -83,6 +90,7 @@ ...@@ -83,6 +90,7 @@
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Trtopn from "~/model/Trtopn"; import Trtopn from "~/model/Trtopn";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtopn/Check"; import Check from "~/model/Trtopn/Check";
import Default from "~/model/Trtopn/Default"; import Default from "~/model/Trtopn/Default";
import Pattern from "~/model/Trtopn/Pattern"; import Pattern from "~/model/Trtopn/Pattern";
...@@ -101,6 +109,7 @@ ...@@ -101,6 +109,7 @@
import Dinpan from "./Dinpan"; import Dinpan from "./Dinpan";
export default { export default {
name: 'Trtopn',
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-letinf": Letinf, "m-letinf": Letinf,
...@@ -120,7 +129,7 @@ ...@@ -120,7 +129,7 @@
root: this root: this
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
...@@ -141,6 +150,7 @@ ...@@ -141,6 +150,7 @@
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -54,10 +54,14 @@ export default { ...@@ -54,10 +54,14 @@ export default {
async loadData() { async loadData() {
//统计 业务量 //统计 业务量
const volume = await busvolume(); const volume = await busvolume();
let volumes = Array.from(volume);
//统计 融资量 //统计 融资量
const amount = await finamount(); const amount = await finamount();
let amounts = Array.from(amount);
//统计 费用收益 //统计 费用收益
const income = await expincome(); const income = await expincome();
let incomes = Array.from(income)
let categoryArr = []; let categoryArr = [];
//定义 seriesData数组 金额 category数组 客户名 //定义 seriesData数组 金额 category数组 客户名
// let seriesData = []; // let seriesData = [];
...@@ -107,7 +111,7 @@ export default { ...@@ -107,7 +111,7 @@ export default {
// } // }
// }); // });
const volumeArr = [] const volumeArr = []
volume.forEach((v) => { volumes.forEach((v) => {
for (let i = 0; i < categoryArr.length; i++) { for (let i = 0; i < categoryArr.length; i++) {
if (categoryArr[i] == v.nam1) { if (categoryArr[i] == v.nam1) {
volumeArr.push(v.amount) volumeArr.push(v.amount)
...@@ -117,7 +121,7 @@ export default { ...@@ -117,7 +121,7 @@ export default {
}); });
this.seriesData = volumeArr; this.seriesData = volumeArr;
const amountArr = [] const amountArr = []
amount.forEach((v) => { amounts.forEach((v) => {
for (let i = 0; i < categoryArr.length; i++) { for (let i = 0; i < categoryArr.length; i++) {
if (categoryArr[i] == v.nam1) { if (categoryArr[i] == v.nam1) {
amountArr.push(v.amount); amountArr.push(v.amount);
...@@ -127,7 +131,7 @@ export default { ...@@ -127,7 +131,7 @@ export default {
}); });
this.seriesData1 = amountArr; this.seriesData1 = amountArr;
const incomeArr = [] const incomeArr = []
income.forEach((v) => { incomes.forEach((v) => {
for (let i = 0; i < categoryArr.length; i++) { for (let i = 0; i < categoryArr.length; i++) {
if (categoryArr[i] == v.nam1) { if (categoryArr[i] == v.nam1) {
incomeArr.push(v.amount); incomeArr.push(v.amount);
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
</template> </template>
<script> <script>
import Utils from "~/utils";
import { createNamespacedHelpers } from 'vuex' import { createNamespacedHelpers } from 'vuex'
const { mapState, mapMutations, mapActions } = createNamespacedHelpers('UserContext') const { mapState, mapMutations, mapActions } = createNamespacedHelpers('UserContext')
...@@ -49,7 +50,7 @@ const { setLoginInfo } = mapMutations(["setLoginInfo"]) ...@@ -49,7 +50,7 @@ const { setLoginInfo } = mapMutations(["setLoginInfo"])
submitForm(formName) { submitForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
this.setLoginInfo({userId:this.loginForm.username}) this.setLoginInfo({userId:this.loginForm.username, token: Utils.generateUUID()})
this.$router.push("/home"); this.$router.push("/home");
} else { } else {
console.log('error submit!!'); console.log('error submit!!');
......
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