Event.js 3.56 KB
Newer Older
1 2 3 4
import Api from "~/service/Api"
import Utils from "~/utils"

export default {
5 6 7 8
    async onPrbpDet() {
        let rtnmsg = await this.executeRule("prbp.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
9

10 11 12 13 14 15 16 17
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onDocdisButtxmsel() {
        let rtnmsg = await this.executeRule("docdis.buttxmsel")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
18

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

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

37 38 39 40 41 42 43 44
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaallButmisamt() {
        let rtnmsg = await this.executeRule("liaall.butmisamt")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
45

46 47 48 49 50 51 52 53
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaallButmissig() {
        let rtnmsg = await this.executeRule("liaall.butmissig")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
54

55 56 57 58 59 60 61 62
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onSetmodDet() {
        let rtnmsg = await this.executeRule("setmod.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
63

64 65 66 67 68 69 70 71
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onWrkpDet() {
        let rtnmsg = await this.executeRule("wrkp.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
72

73 74 75 76 77 78 79 80
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onOthp1Det() {
        let rtnmsg = await this.executeRule("othp1.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
81

82 83 84 85 86 87 88 89
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimptsGet1() {
        let rtnmsg = await this.executeRule("limpts.get1")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
90

91 92 93 94 95 96 97 98
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimptsGet2() {
        let rtnmsg = await this.executeRule("limpts.get2")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
99

100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimmodTrycal() {
        let rtnmsg = await this.executeRule("limmod.trycal")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑

        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    onSeainf() {},
    onDetpButgetref() {},
    onBenpDet() {},
    onAplpDet() {},
117 118 119


}