Commit d3c19cc7 by wangguangchao

retcod替换respCode

parent 94b623a9
...@@ -4,7 +4,7 @@ import Utils from "~/utils" ...@@ -4,7 +4,7 @@ import Utils from "~/utils"
export default { export default {
async onAcctagButtxmsel(){ async onAcctagButtxmsel(){
let rtnmsg = await this.executeRule("acctag_buttxmsel") let rtnmsg = await this.executeRule("acctag_buttxmsel")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
}, },
async onRmbpDet(){ async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp_det") let rtnmsg = await this.executeRule("rmbp_det")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
}, },
async onAcbpDet(){ async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp_det") let rtnmsg = await this.executeRule("acbp_det")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
}, },
async onBebpDet(){ async onBebpDet(){
let rtnmsg = await this.executeRule("bebp_det") let rtnmsg = await this.executeRule("bebp_det")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
async onDocdisButtxmsel(){ async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis_buttxmsel") let rtnmsg = await this.executeRule("docdis_buttxmsel")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
}, },
async onShppDet(){ async onShppDet(){
let rtnmsg = await this.executeRule("shpp_det") let rtnmsg = await this.executeRule("shpp_det")
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export default { export default {
async onCptpGetref() { async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
}, },
async onCptpGetinf() { async onCptpGetinf() {
let rtnmsg = await this.executeRule("cptp_getinf") let rtnmsg = await this.executeRule("cptp_getinf")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
}, },
async onCptpGetuetr() { async onCptpGetuetr() {
let rtnmsg = await this.executeRule("cptp_getuetr") let rtnmsg = await this.executeRule("cptp_getuetr")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}, },
async onCptpSelbut() { async onCptpSelbut() {
let rtnmsg = await this.executeRule("cptp_selbut") let rtnmsg = await this.executeRule("cptp_selbut")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
}, },
async onCptpSelbut1() { async onCptpSelbut1() {
let rtnmsg = await this.executeRule("cptp_selbut1") let rtnmsg = await this.executeRule("cptp_selbut1")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
async onSndpDet() { async onSndpDet() {
let rtnmsg = await this.executeRule("sndp_det") let rtnmsg = await this.executeRule("sndp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}, },
async onOripDet() { async onOripDet() {
let rtnmsg = await this.executeRule("orip_det") let rtnmsg = await this.executeRule("orip_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
}, },
async onCptpGetmod() { async onCptpGetmod() {
let rtnmsg = await this.executeRule("cptp_getmod") let rtnmsg = await this.executeRule("cptp_getmod")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}, },
async onOrcpDet() { async onOrcpDet() {
let rtnmsg = await this.executeRule("orcp_det") let rtnmsg = await this.executeRule("orcp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
}, },
async onPyepDet() { async onPyepDet() {
let rtnmsg = await this.executeRule("pyep_det") let rtnmsg = await this.executeRule("pyep_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
}, },
async onCptpSerpty() { async onCptpSerpty() {
let rtnmsg = await this.executeRule("cptp_serpty") let rtnmsg = await this.executeRule("cptp_serpty")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
}, },
async onSetmodDet() { async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
}, },
async onTrndocButshw() { async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc_butshw") let rtnmsg = await this.executeRule("trndoc_butshw")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
}, },
async onTrndocButadd() { async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc_butadd") let rtnmsg = await this.executeRule("trndoc_butadd")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
}, },
async onTrndocButnew() { async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc_butnew") let rtnmsg = await this.executeRule("trndoc_butnew")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
}, },
async onTrndocButattto() { async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc_butattto") let rtnmsg = await this.executeRule("trndoc_butattto")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
}, },
async onTrndocButdel() { async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc_butdel") let rtnmsg = await this.executeRule("trndoc_butdel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
}, },
async onTrndocButatt() { async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc_butatt") let rtnmsg = await this.executeRule("trndoc_butatt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export default { export default {
async onCptpGetref() { async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
}, },
async onCptpGetinf() { async onCptpGetinf() {
let rtnmsg = await this.executeRule("cptp_getinf") let rtnmsg = await this.executeRule("cptp_getinf")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
}, },
async onCptpGetuetr() { async onCptpGetuetr() {
let rtnmsg = await this.executeRule("cptp_getuetr") let rtnmsg = await this.executeRule("cptp_getuetr")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}, },
async onCptpSelbut() { async onCptpSelbut() {
let rtnmsg = await this.executeRule("cptp_selbut") let rtnmsg = await this.executeRule("cptp_selbut")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
}, },
async onCptpSelbut1() { async onCptpSelbut1() {
let rtnmsg = await this.executeRule("cptp_selbut1") let rtnmsg = await this.executeRule("cptp_selbut1")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
async onSndpDet() { async onSndpDet() {
let rtnmsg = await this.executeRule("sndp_det") let rtnmsg = await this.executeRule("sndp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}, },
async onOripDet() { async onOripDet() {
let rtnmsg = await this.executeRule("orip_det") let rtnmsg = await this.executeRule("orip_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
}, },
async onCptpGetmod() { async onCptpGetmod() {
let rtnmsg = await this.executeRule("cptp_getmod") let rtnmsg = await this.executeRule("cptp_getmod")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}, },
async onOrcpDet() { async onOrcpDet() {
let rtnmsg = await this.executeRule("orcp_det") let rtnmsg = await this.executeRule("orcp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
}, },
async onPyepDet() { async onPyepDet() {
let rtnmsg = await this.executeRule("pyep_det") let rtnmsg = await this.executeRule("pyep_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
}, },
async onCptpSerpty() { async onCptpSerpty() {
let rtnmsg = await this.executeRule("cptp_serpty") let rtnmsg = await this.executeRule("cptp_serpty")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
}, },
async onSetmodDet() { async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
}, },
async onTrndocButshw() { async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc_butshw") let rtnmsg = await this.executeRule("trndoc_butshw")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
}, },
async onTrndocButadd() { async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc_butadd") let rtnmsg = await this.executeRule("trndoc_butadd")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
}, },
async onTrndocButnew() { async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc_butnew") let rtnmsg = await this.executeRule("trndoc_butnew")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
}, },
async onTrndocButattto() { async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc_butattto") let rtnmsg = await this.executeRule("trndoc_butattto")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
}, },
async onTrndocButdel() { async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc_butdel") let rtnmsg = await this.executeRule("trndoc_butdel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
}, },
async onTrndocButatt() { async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc_butatt") let rtnmsg = await this.executeRule("trndoc_butatt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
}, },
async onFippDet() { async onFippDet() {
let rtnmsg = await this.executeRule("fipp_det") let rtnmsg = await this.executeRule("fipp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export default { export default {
async onDitpButgetref() { async onDitpButgetref() {
let rtnmsg = await this.executeRule("ditp_butgetref") let rtnmsg = await this.executeRule("ditp_butgetref")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
}, },
async onAplpDet() { async onAplpDet() {
let rtnmsg = await this.executeRule("aplp_det") let rtnmsg = await this.executeRule("aplp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
}, },
async onBenpDet() { async onBenpDet() {
let rtnmsg = await this.executeRule("benp_det") let rtnmsg = await this.executeRule("benp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}, },
async onDefdetButtxmsel() { async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet_buttxmsel") let rtnmsg = await this.executeRule("defdet_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
}, },
async onPreperButtxmsel() { async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel") let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
async onLcrgodButtxmsel() { async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod_buttxmsel") let rtnmsg = await this.executeRule("lcrgod_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}, },
async onLcrdocButtxmsel() { async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc_buttxmsel") let rtnmsg = await this.executeRule("lcrdoc_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
}, },
async onAdlcndButtxmsel() { async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd_buttxmsel") let rtnmsg = await this.executeRule("adlcnd_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}, },
async onInsbnkButtxmsel() { async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk_buttxmsel") let rtnmsg = await this.executeRule("insbnk_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
}, },
async onSav() { async onSav() {
let rtnmsg = await this.executeRule("sav") let rtnmsg = await this.executeRule("sav")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
}, },
async onUsrcon() { async onUsrcon() {
let rtnmsg = await this.executeRule("usrcon") let rtnmsg = await this.executeRule("usrcon")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
}, },
async onChk() { async onChk() {
let rtnmsg = await this.executeRule("chk") let rtnmsg = await this.executeRule("chk")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
}, },
async onUsrchk() { async onUsrchk() {
let rtnmsg = await this.executeRule("usrchk") let rtnmsg = await this.executeRule("usrchk")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
}, },
async onSyswrnButshw() { async onSyswrnButshw() {
let rtnmsg = await this.executeRule("syswrn_butshw") let rtnmsg = await this.executeRule("syswrn_butshw")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
}, },
async onPen() { async onPen() {
let rtnmsg = await this.executeRule("pen") let rtnmsg = await this.executeRule("pen")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
}, },
async onCan() { async onCan() {
let rtnmsg = await this.executeRule("can") let rtnmsg = await this.executeRule("can")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
}, },
async onLcrgodameButtxmsel() { async onLcrgodameButtxmsel() {
let rtnmsg = await this.executeRule("lcrgodame_buttxmsel") let rtnmsg = await this.executeRule("lcrgodame_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
}, },
async onLcrdocameButtxmsel() { async onLcrdocameButtxmsel() {
let rtnmsg = await this.executeRule("lcrdocame_buttxmsel") let rtnmsg = await this.executeRule("lcrdocame_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
}, },
async onAdlcndameButtxmsel() { async onAdlcndameButtxmsel() {
let rtnmsg = await this.executeRule("adlcndame_buttxmsel") let rtnmsg = await this.executeRule("adlcndame_buttxmsel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
}, },
async onLiaallButmisamt() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt") let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
}, },
async onLiaallButmissig() { async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall_butmissig") let rtnmsg = await this.executeRule("liaall_butmissig")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
}, },
async onLiaccvAdd() { async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaccv_add") let rtnmsg = await this.executeRule("liaccv_add")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
}, },
async onLiaccvDel() { async onLiaccvDel() {
let rtnmsg = await this.executeRule("liaccv_del") let rtnmsg = await this.executeRule("liaccv_del")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
}, },
async onSetmodDet() { async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
}, },
async onTrndocButshw() { async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc_butshw") let rtnmsg = await this.executeRule("trndoc_butshw")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
}, },
async onTrndocButadd() { async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc_butadd") let rtnmsg = await this.executeRule("trndoc_butadd")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -262,7 +262,7 @@ export default { ...@@ -262,7 +262,7 @@ export default {
}, },
async onTrndocButnew() { async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc_butnew") let rtnmsg = await this.executeRule("trndoc_butnew")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
}, },
async onTrndocButattto() { async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc_butattto") let rtnmsg = await this.executeRule("trndoc_butattto")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
}, },
async onTrndocButdel() { async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc_butdel") let rtnmsg = await this.executeRule("trndoc_butdel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -292,7 +292,7 @@ export default { ...@@ -292,7 +292,7 @@ export default {
}, },
async onTrndocButatt() { async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc_butatt") let rtnmsg = await this.executeRule("trndoc_butatt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
}, },
async onWrkpDet() { async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp_det") let rtnmsg = await this.executeRule("wrkp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
}, },
async onOthpDet() { async onOthpDet() {
let rtnmsg = await this.executeRule("othp_det") let rtnmsg = await this.executeRule("othp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
}, },
async onLimptsGet1() { async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1") let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -332,7 +332,7 @@ export default { ...@@ -332,7 +332,7 @@ export default {
}, },
async onLimptsGet2() { async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2") let rtnmsg = await this.executeRule("limpts_get2")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -342,7 +342,7 @@ export default { ...@@ -342,7 +342,7 @@ export default {
}, },
async onLimmodTrycal() { async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod_trycal") let rtnmsg = await this.executeRule("limmod_trycal")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export default { export default {
async onInfbutSearow() { async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut_searow") let rtnmsg = await this.executeRule("infbut_searow")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
}, },
async onInfbutDsp() { async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut_dsp") let rtnmsg = await this.executeRule("infbut_dsp")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
}, },
async onInfbutUserow() { async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut_userow") let rtnmsg = await this.executeRule("infbut_userow")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
}, },
async onInfbutClr() { async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut_clr") let rtnmsg = await this.executeRule("infbut_clr")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
}, },
async onInfbutButprt() { async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut_butprt") let rtnmsg = await this.executeRule("infbut_butprt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
async onInfbutExi() { async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut_exi") let rtnmsg = await this.executeRule("infbut_exi")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}, },
async onRecpanLnkinfptm() { async onRecpanLnkinfptm() {
let rtnmsg = await this.executeRule("recpan_lnkinfptm") let rtnmsg = await this.executeRule("recpan_lnkinfptm")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -110,7 +110,7 @@ export default class Request { ...@@ -110,7 +110,7 @@ export default class Request {
// console.log(error.response.status); // console.log(error.response.status);
// console.log(error.response.headers); // console.log(error.response.headers);
// resolve({ // resolve({
// retcod: '500', // respCode: '500',
// retmsg: error.response.status // retmsg: error.response.status
// }); // });
// } else if (error.request) { // } else if (error.request) {
...@@ -119,13 +119,13 @@ export default class Request { ...@@ -119,13 +119,13 @@ export default class Request {
// // http.ClientRequest in node.js // // http.ClientRequest in node.js
// console.log(error.request); // console.log(error.request);
// resolve({ // resolve({
// retcod: '501' // respCode: '501'
// }); // });
// } else { // } else {
// // Something happened in setting up the request that triggered an Error // // Something happened in setting up the request that triggered an Error
// console.log('Error', error.message); // console.log('Error', error.message);
// resolve({ // resolve({
// retcod: '502', // respCode: '502',
// retmsg: error.message // retmsg: error.message
// }); // });
// } // }
...@@ -204,7 +204,7 @@ export default class Request { ...@@ -204,7 +204,7 @@ export default class Request {
console.log(error.response.status); console.log(error.response.status);
console.log(error.response.headers); console.log(error.response.headers);
resolve({ resolve({
retcod: '500', respCode: '500',
retmsg: error.response.status retmsg: error.response.status
}); });
} else if (error.request) { } else if (error.request) {
...@@ -213,13 +213,13 @@ export default class Request { ...@@ -213,13 +213,13 @@ export default class Request {
// http.ClientRequest in node.js // http.ClientRequest in node.js
console.log(error.request); console.log(error.request);
resolve({ resolve({
retcod: '501' respCode: '501'
}); });
} else { } else {
// Something happened in setting up the request that triggered an Error // Something happened in setting up the request that triggered an Error
console.log('Error', error.message); console.log('Error', error.message);
resolve({ resolve({
retcod: '502', respCode: '502',
retmsg: error.message retmsg: error.message
}); });
} }
......
...@@ -396,7 +396,7 @@ export default { ...@@ -396,7 +396,7 @@ export default {
created:async function(){ created:async function(){
console.log("进入cptadv交易"); console.log("进入cptadv交易");
let rtnmsg = await Api.post("cptadv/init",{params:{}}) let rtnmsg = await Api.post("cptadv/init",{params:{}})
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -709,7 +709,7 @@ export default { ...@@ -709,7 +709,7 @@ export default {
console.log('获取申报号码') console.log('获取申报号码')
// const rtnmsg = await Api.post("/cptopn/regmod_getref", { data: this.model }) // const rtnmsg = await Api.post("/cptopn/regmod_getref", { data: this.model })
// if (rtnmsg.retcod == SUCCESS) { // if (rtnmsg.respCode == SUCCESS) {
// // Notification.success({ message: 'cptopn/regmod_getref数据提交成功!' }) // // Notification.success({ message: 'cptopn/regmod_getref数据提交成功!' })
// this.model.bas2_levyno = rtnmsg.data.bas2_levyno; // this.model.bas2_levyno = rtnmsg.data.bas2_levyno;
// } // }
......
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
created:async function(){ created:async function(){
console.log("进入infpta交易"); console.log("进入infpta交易");
let rtnmsg = await Api.post("infpta/init",{params:{}}) let rtnmsg = await Api.post("infpta/init",{params:{}})
if(rtnmsg.retcod == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
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