Event.js 1.57 KB
Newer Older
fanyanyan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import Api from "~/service/Api"
import Utils from "~/utils"

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

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
liyixun committed
17 18
        async onRmbpDet(){
                let rtnmsg = await this.executeRule("rmbp.det")
fanyanyan committed
19 20 21 22 23 24 25 26 27 28
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
liyixun committed
29 30
        async onAcwpDet(){
                let rtnmsg = await this.executeRule("acwp.det")
fanyanyan committed
31 32 33 34 35 36 37 38 39 40
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

                }
                else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
            },
liyixun committed
41 42
        async onBebpDet(){
                let rtnmsg = await this.executeRule("bebp.det")
fanyanyan committed
43 44 45 46 47 48 49 50 51 52 53 54
                if(rtnmsg.respCode == SUCCESS)
                {
                //TODO 处理数据逻辑

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

}