import Api from "~/service/Api"
import Utils from "~/utils"

export default {
                async onCfabutSav(){
                let rtnmsg = await this.executeRule("cfabut.sav")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutMod(){
                let rtnmsg = await this.executeRule("cfabut.mod")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutChk(){
                let rtnmsg = await this.executeRule("cfabut.chk")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutDel(){
                let rtnmsg = await this.executeRule("cfabut.del")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCutpErr(){
                let rtnmsg = await this.executeRule("cutp.err")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutExt(){
                let rtnmsg = await this.executeRule("cfabut.ext")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutSav(){
                let rtnmsg = await this.executeRule("cfabut.sav")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutChk(){
                let rtnmsg = await this.executeRule("cfabut.chk")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCouselCrehqselbut(){
                let rtnmsg = await this.executeRule("cousel.crehqselbut")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCutpErr(){
                let rtnmsg = await this.executeRule("cutp.err")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCouselOperselbut(){
                let rtnmsg = await this.executeRule("cousel.operselbut")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCfabutExt(){
                let rtnmsg = await this.executeRule("cfabut.ext")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCousel1Cgcouncodbut(){
                let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
        async onCousel1Isscoucodbut(){
                let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },

}