Event.js 4.75 KB
Newer Older
zhengxiaokui committed
1
import Api from "~/service/Api"
zhengxiaokui committed
2 3
import Utils from "~/utils"

zhengxiaokui committed
4
export default {
zhengxiaokui committed
5 6 7 8
    async onAcctagButtxmsel() {
        let rtnmsg = await this.executeRule("acctag.buttxmsel")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
9

zhengxiaokui committed
10 11 12 13 14
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28

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

    onSeainf() {
    },

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

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

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

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

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

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

zhengxiaokui committed
93 94 95 96 97 98 99 100 101
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onWrkpDet() {
        let rtnmsg = await this.executeRule("wrkp.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
102

zhengxiaokui committed
103 104 105 106 107 108 109 110 111
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onOthpDet() {
        let rtnmsg = await this.executeRule("othp.det")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
112

zhengxiaokui committed
113 114 115 116 117
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
118 119 120 121
    async onLimptsGet1() {
        let rtnmsg = await this.executeRule("limpts.get1")
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
122

zhengxiaokui committed
123 124 125 126
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
zhengxiaokui committed
127
    },
zhengxiaokui committed
128 129
    async onLimptsGet2() {
        let rtnmsg = await this.executeRule("limpts.get2")
zhengxiaokui committed
130 131
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
132

zhengxiaokui committed
133 134 135 136 137
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
138 139
    async onLimmodTrycal() {
        let rtnmsg = await this.executeRule("limmod.trycal")
zhengxiaokui committed
140 141
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
142

zhengxiaokui committed
143 144 145 146 147
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
148 149
    async onAcbpDet() {
        let rtnmsg = await this.executeRule("acbp.det")
zhengxiaokui committed
150 151
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
152

zhengxiaokui committed
153 154 155 156 157
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
158 159
    async onBebpDet() {
        let rtnmsg = await this.executeRule("bebp.det")
zhengxiaokui committed
160 161
        if (rtnmsg.respCode == SUCCESS) {
            //TODO 处理数据逻辑
zhengxiaokui committed
162

zhengxiaokui committed
163 164 165 166 167
        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
zhengxiaokui committed
168 169

}