Commit 0c12a8b0 by 唐贵贤

tgx

parent 6b32d03c
import Utils from "~/utils"
/**
* Infltd Check规则
*/
let checkObj = {
"recpan.letp0.recget.sdamod.dadsnd" :null,
"ltdgrp.avt.adrelc" :null,
"ltdgrp.be2.pts.adrblk" :null,
"recpan.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.a2t.adrelc" :null,
"recpan.avtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.avt.namelc" :null,
"ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null,
"recpan.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.opndat" :null,
"ltdgrp.be2.pts.extkey" :null,
"ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.feetxt" :null,
"ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null,
"recpan.usr.extkey" :null,
"ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null,
"ltdgrp.rmt.namelc" :null,
"recpan.adtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.be2.adrelc" :null,
"ltdgrp.blk.dftat" :null,
"recpan.a2tp.ptsget.sdamod.dadsnd" :null,
"recpan.drwp.ptsget.sdamod.dadsnd" :null,
"recpan.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.adt.pts.adrblk" :null,
"ltdgrp.rec.prepers18" :null,
"recpan.conp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null,
"recpan.ledget.sdamod.dadsnd" :null,
"infcon.seaamtto" :null,
"ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null,
"ltdgrp.avt.pts.adrblk" :null,
"mtabut.coninf.conexedat" :null,
"ltdgrp.a2t.pts.adrblk" :null,
"ltdgrp.adt.pts.extkey" :null,
"ltdgrp.blk.mixdet" :null,
"ltdgrp.adt.namelc" :null,
"ltdgrp.drw.adrelc" :null,
"ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null,
"ltdgrp.rec.apprul" :null,
"ltdgrp.rec.tenmaxday" :null,
"ltdgrp.drw.pts.extkey" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null,
"ltdgrp.blk.defdet" :null,
"ltdgrp.adt.adrelc" :null,
"ltdgrp.drw.namelc" :null,
"ltdgrp.drw.pts.adrblk" :null,
"ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null,
"recpan.be1p.ptsget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infltd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.a2t.pts.extkey" :Utils.defaultFunction,
"ltdgrp.a2t.adrelc" :Utils.defaultFunction,
"ltdgrp.a2t.namelc" :Utils.defaultFunction,
"ltdgrp.a2t.dbfadrblkcn" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"ltdgrp.avt.pts.adrblk" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.adrelc" :Utils.defaultFunction,
"ltdgrp.rmt.namelc" :Utils.defaultFunction,
"ltdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.avbwth" :Utils.defaultFunction,
"ltdgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ltdgrp.avt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.avt.adrelc" :Utils.defaultFunction,
"ltdgrp.avt.namelc" :Utils.defaultFunction,
"ltdgrp.avt.dbfadrblkcn" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"ltdgrp.rec.nomtop" :Utils.defaultFunction,
"ltdgrp.adt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.adt.adrelc" :Utils.defaultFunction,
"ltdgrp.adt.namelc" :Utils.defaultFunction,
"ltdgrp.adt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.con.pts.extkey" :Utils.defaultFunction,
"ltdgrp.con.adrelc" :Utils.defaultFunction,
"ltdgrp.con.namelc" :Utils.defaultFunction,
"ltdgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.a2t.pts.adrblk" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"recpan.aamp.aammod.addamtflg" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction,
"ltdgrp.drw.namelc" :Utils.defaultFunction,
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction,
"ltdgrp.be2.dbfadrblkcn" :Utils.defaultFunction,
"recpan.leltb2b.litb2bstm" :Utils.defaultFunction,
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.rec.prepers18" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"recpan.letp0.cnftxt" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"ltdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"ltdgrp.con.pts.adrblk" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction,
"ltdgrp.rec.shppars18" :Utils.defaultFunction,
"ltdgrp.rec.shptrs" :Utils.defaultFunction,
"ltdgrp.rec.shptrss18" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ltdgrp.drw.pts.adrblk" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//console.log("smhstm:",rtnmsg);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//console.log(rtnmsg);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe1pDet() {
let rtnmsg = await this.executeRule("be1p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdtpDet() {
let rtnmsg = await this.executeRule("adtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe2pDet() {
let rtnmsg = await this.executeRule("be2p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAvtpDet() {
let rtnmsg = await this.executeRule("avtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onChariaButtxmsel() {
let rtnmsg = await this.executeRule("charia.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrwpDet() {
let rtnmsg = await this.executeRule("drwp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onA2tpDet() {
let rtnmsg = await this.executeRule("a2tp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmtpDet() {
let rtnmsg = await this.executeRule("rmtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onConpDet() {
let rtnmsg = await this.executeRule("conp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ 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