import Api from "~/service/Api" import Utils from "~/utils" export default { async onSav(){ let rtnmsg = await this.executeRule("sav") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onPed(){ let rtnmsg = await this.executeRule("ped") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onOftpRtn(){ let rtnmsg = await this.executeRule("oftp.rtn") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, }