Commit 581bbf47 by wangyanjiao

bdtdck 新增event

parent 2a1cbcf6
...@@ -2,137 +2,128 @@ import Api from "~/service/Api" ...@@ -2,137 +2,128 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onOthpDet(){ async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det") let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
}
} else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onDocdisButtxmsel() {
}, let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onDocdisButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("docdis.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{ }
//TODO 处理数据逻辑 else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
else },
{ async onLiaallButmisamt() {
this.$notify.error({title: '错误',message: '服务请求失败!'}); let rtnmsg = await this.executeRule("liaall.butmisamt")
} if (rtnmsg.respCode == SUCCESS) {
}, //TODO 处理数据逻辑
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt") }
if(rtnmsg.respCode == SUCCESS) else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
//TODO 处理数据逻辑 }
},
} async onLiaallButmissig() {
else let rtnmsg = await this.executeRule("liaall.butmissig")
{ if (rtnmsg.respCode == SUCCESS) {
this.$notify.error({title: '错误',message: '服务请求失败!'}); //TODO 处理数据逻辑
}
}, }
async onLiaallButmissig(){ else {
let rtnmsg = await this.executeRule("liaall.butmissig") this.$notify.error({ title: '错误', message: '服务请求失败!' });
if(rtnmsg.respCode == SUCCESS) }
{ },
//TODO 处理数据逻辑 async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
} if (rtnmsg.respCode == SUCCESS) {
else //TODO 处理数据逻辑
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); }
} else {
}, this.$notify.error({ title: '错误', message: '服务请求失败!' });
async onSetmodDet(){ }
let rtnmsg = await this.executeRule("setmod.det") },
if(rtnmsg.respCode == SUCCESS) async onWrkpDet() {
{ let rtnmsg = await this.executeRule("wrkp.det")
//TODO 处理数据逻辑 if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else }
{ else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onWrkpDet(){ async onOthp1Det() {
let rtnmsg = await this.executeRule("wrkp.det") let rtnmsg = await this.executeRule("othp1.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
}
} else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimptsGet1() {
}, let rtnmsg = await this.executeRule("limpts.get1")
async onOthp1Det(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("othp1.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{ }
//TODO 处理数据逻辑 else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
else },
{ async onLimptsGet2() {
this.$notify.error({title: '错误',message: '服务请求失败!'}); let rtnmsg = await this.executeRule("limpts.get2")
} if (rtnmsg.respCode == SUCCESS) {
}, //TODO 处理数据逻辑
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1") }
if(rtnmsg.respCode == SUCCESS) else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
//TODO 处理数据逻辑 }
},
} async onLimmodTrycal() {
else let rtnmsg = await this.executeRule("limmod.trycal")
{ if (rtnmsg.respCode == SUCCESS) {
this.$notify.error({title: '错误',message: '服务请求失败!'}); //TODO 处理数据逻辑
}
}, }
async onLimptsGet2(){ else {
let rtnmsg = await this.executeRule("limpts.get2") this.$notify.error({ title: '错误', message: '服务请求失败!' });
if(rtnmsg.respCode == SUCCESS) }
{ },
//TODO 处理数据逻辑 async bocprbrol() {
let rtnmsg = await this.executeRule("bddgrp.rec.docprbrol")
} if (rtnmsg.respCode == SUCCESS) {
else //TODO 处理数据逻辑
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.updateModel(rtnmsg.data);
} }
}, else {
async onLimmodTrycal(){ this.$notify.error({ title: '错误', message: '服务请求失败!' });
let rtnmsg = await this.executeRule("limmod.trycal") }
if(rtnmsg.respCode == SUCCESS) },
{ onSeainf() {
//TODO 处理数据逻辑
},
} onBenpDet() {
else
{ },
this.$notify.error({title: '错误',message: '服务请求失败!'}); onAplpDet() {
}
}, },
onSeainf(){
onSndpDet() {
},
onBenpDet(){ },
},
onAplpDet(){
},
onSndpDet(){
},
} }
\ No newline at end of file
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"mhtyp":[ "mhtyp":[
{type:"string ", required:true,message:"请选择交易类别"} {type:"string", required:true,message:"请选择交易类别"}
], ],
"tzdat":[ "tzdat":[
......
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