import Api from "~/service/Api" import Utils from "~/utils" export default { async onBopbutSav(){ let rtnmsg = await this.executeRule("bopbut.sav") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBopbutMod(){ let rtnmsg = await this.executeRule("bopbut.mod") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBopbutChk(){ let rtnmsg = await this.executeRule("bopbut.chk") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBopbutDel(){ let rtnmsg = await this.executeRule("bopbut.del") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBopbutAdd(){ let rtnmsg = await this.executeRule("bopbut.add") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButpErr(){ let rtnmsg = await this.executeRule("butp.err") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButpExi(){ let rtnmsg = await this.executeRule("bopbut.exi") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Sav(){ let rtnmsg = await this.executeRule("butp1.sav") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Mod(){ let rtnmsg = await this.executeRule("butp1.mod") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBasppGetreftmp(){ let rtnmsg = await this.executeRule("baspp.getreftmp") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onBasppGetref(){ let rtnmsg = await this.executeRule("baspp.getref") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Chk(){ let rtnmsg = await this.executeRule("butp1.chk") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Del(){ let rtnmsg = await this.executeRule("butp1.del") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Err(){ let rtnmsg = await this.executeRule("butp1.err") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onButp1Exi(){ let rtnmsg = await this.executeRule("butp1.exi") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onCodsel1Selbut1(){ let rtnmsg = await this.executeRule("codsel1.selbut1") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onCodsel1Selbut(){ let rtnmsg = await this.executeRule("codsel1.selbut") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onCodsel2Selbut(){ let rtnmsg = await this.executeRule("codsel2.selbut") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, }