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

export default {
Eivi committed
5 6 7 8
    async onLiaallButmisamt() {
        let rtnmsg = await this.executeRule("liaall.butmisamt")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
9

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

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

Eivi committed
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

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

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

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

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

Eivi committed
73 74 75 76 77 78
        } else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    onSeainf() {},
    onDetpButgetref() {}
79 80

}