import Api from "~/service/Api" import Utils from "~/utils" export default { async onDitpButgetref() { let rtnmsg = await this.executeRule("botp.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 this.model.bodgrp.rec.ownref = rtnmsg.data.bodgrp_rec_ownref this.$message({ type: 'success', message: '获取成功!' }); } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onDrrpDet() { let rtnmsg = await this.executeRule("drrp.det") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onColpDet() { let rtnmsg = await this.executeRule("colp.det") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onDrepDet() { let rtnmsg = await this.executeRule("drep.det") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onColinsButtxmsel() { let rtnmsg = await this.executeRule("colins.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onDftinsButtxmsel() { let rtnmsg = await this.executeRule("dftins.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onProinsButtxmsel() { let rtnmsg = await this.executeRule("proins.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onOthins1Buttxmsel() { let rtnmsg = await this.executeRule("othins1.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onWhinsButtxmsel() { let rtnmsg = await this.executeRule("whins.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onSetinsButtxmsel() { let rtnmsg = await this.executeRule("setins.buttxmsel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onSetmodDet() { let rtnmsg = await this.executeRule("setmod.det") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButshw() { let rtnmsg = await this.executeRule("trndoc.butshw") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButadd() { let rtnmsg = await this.executeRule("trndoc.butadd") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButnew() { let rtnmsg = await this.executeRule("trndoc.butnew") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButattto() { let rtnmsg = await this.executeRule("trndoc.butattto") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButdel() { let rtnmsg = await this.executeRule("trndoc.butdel") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async onTrndocButatt() { let rtnmsg = await this.executeRule("trndoc.butatt") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, async changeDjutyp() { let rtnmsg = await this.executeRule("bodgrp.srm.djutyp") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 this.updateModel(rtnmsg.data); } else { this.$notify.error({ title: '错误', message: '服务请求失败!' }); } }, }