Commit d3c19cc7 by wangguangchao

retcod替换respCode

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