import Api from "~/service/Api" import Utils from "~/utils" export default { async onSerbut() { let rtnmsg = await this.executeRule("serbut") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onButprt() { let rtnmsg = await this.executeRule("butprt") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onDtlbut() { let rtnmsg = await this.executeRule("dtlbut") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onExi() { let rtnmsg = await this.executeRule("exi") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async handleSearch() { let rtnmsg = await this.executeRule("serbut") if(rtnmsg.respCode == SUCCESS) { this.stmData.data = rtnmsg.data.cnystm.rows; } else { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, async handleReset() { this.model.cnytyp = "" this.model.ownref = "" this.model.frmdat = "" this.model.tildat = "" this.model.ownextkey = "" this.stmData.data = "" } }