import Api from "~/service/Api" import Utils from "~/utils" export default { async onKtppAdd(){ let rtnmsg = await this.executeRule("ktpp.add") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onKtppAme(){ let rtnmsg = await this.executeRule("ktpp.ame") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async onKtppDel(){ let rtnmsg = await this.executeRule("ktpp.del") if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, }