Event.js 10.2 KB
Newer Older
1 2
import Api from "~/service/Api"
export default {
3 4
    async onDitpButgetref() {
        let rtnmsg = await this.executeRule("ditp_butgetref")
wangguangchao committed
5
        if (rtnmsg.respCode == SUCCESS) {
6 7 8 9 10 11 12 13 14
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onAplpDet() {
        let rtnmsg = await this.executeRule("aplp_det")
wangguangchao committed
15
        if (rtnmsg.respCode == SUCCESS) {
16 17 18 19 20 21 22 23 24
            //TODO 处理数据逻辑

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLcrgodameButtxmsel() {
        let rtnmsg = await this.executeRule("lcrgodame_buttxmsel")
wangguangchao committed
165
        if (rtnmsg.respCode == SUCCESS) {
166 167 168 169 170 171 172 173 174
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLcrdocameButtxmsel() {
        let rtnmsg = await this.executeRule("lcrdocame_buttxmsel")
wangguangchao committed
175
        if (rtnmsg.respCode == SUCCESS) {
176 177 178 179 180 181 182 183 184
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onAdlcndameButtxmsel() {
        let rtnmsg = await this.executeRule("adlcndame_buttxmsel")
wangguangchao committed
185
        if (rtnmsg.respCode == SUCCESS) {
186 187 188 189 190 191 192 193 194
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaallButmisamt() {
        let rtnmsg = await this.executeRule("liaall_butmisamt")
wangguangchao committed
195
        if (rtnmsg.respCode == SUCCESS) {
196 197 198 199 200 201 202 203 204
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaallButmissig() {
        let rtnmsg = await this.executeRule("liaall_butmissig")
wangguangchao committed
205
        if (rtnmsg.respCode == SUCCESS) {
206 207 208 209 210 211 212 213 214
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaccvAdd() {
        let rtnmsg = await this.executeRule("liaccv_add")
wangguangchao committed
215
        if (rtnmsg.respCode == SUCCESS) {
216 217 218 219 220 221 222 223 224
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLiaccvDel() {
        let rtnmsg = await this.executeRule("liaccv_del")
wangguangchao committed
225
        if (rtnmsg.respCode == SUCCESS) {
226 227 228 229 230 231 232 233 234
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onSetmodDet() {
        let rtnmsg = await this.executeRule("setmod_det")
wangguangchao committed
235
        if (rtnmsg.respCode == SUCCESS) {
236 237 238 239 240 241 242 243 244
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButshw() {
        let rtnmsg = await this.executeRule("trndoc_butshw")
wangguangchao committed
245
        if (rtnmsg.respCode == SUCCESS) {
246 247 248 249 250 251 252 253 254
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButadd() {
        let rtnmsg = await this.executeRule("trndoc_butadd")
wangguangchao committed
255
        if (rtnmsg.respCode == SUCCESS) {
256 257 258 259 260 261 262 263 264
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButnew() {
        let rtnmsg = await this.executeRule("trndoc_butnew")
wangguangchao committed
265
        if (rtnmsg.respCode == SUCCESS) {
266 267 268 269 270 271 272 273 274
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButattto() {
        let rtnmsg = await this.executeRule("trndoc_butattto")
wangguangchao committed
275
        if (rtnmsg.respCode == SUCCESS) {
276 277 278 279 280 281 282 283 284
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButdel() {
        let rtnmsg = await this.executeRule("trndoc_butdel")
wangguangchao committed
285
        if (rtnmsg.respCode == SUCCESS) {
286 287 288 289 290 291 292 293 294
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onTrndocButatt() {
        let rtnmsg = await this.executeRule("trndoc_butatt")
wangguangchao committed
295
        if (rtnmsg.respCode == SUCCESS) {
296 297 298 299 300 301 302 303 304
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onWrkpDet() {
        let rtnmsg = await this.executeRule("wrkp_det")
wangguangchao committed
305
        if (rtnmsg.respCode == SUCCESS) {
306 307 308 309 310 311 312 313 314
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onOthpDet() {
        let rtnmsg = await this.executeRule("othp_det")
wangguangchao committed
315
        if (rtnmsg.respCode == SUCCESS) {
316 317 318 319 320 321 322 323 324
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimptsGet1() {
        let rtnmsg = await this.executeRule("limpts_get1")
wangguangchao committed
325
        if (rtnmsg.respCode == SUCCESS) {
326 327 328 329 330 331 332 333 334
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimptsGet2() {
        let rtnmsg = await this.executeRule("limpts_get2")
wangguangchao committed
335
        if (rtnmsg.respCode == SUCCESS) {
336 337 338 339 340 341 342 343 344
            //TODO 处理数据逻辑

        }
        else {
            this.$notify.error({ title: '错误', message: '服务请求失败!' });
        }
    },
    async onLimmodTrycal() {
        let rtnmsg = await this.executeRule("limmod_trycal")
wangguangchao committed
345
        if (rtnmsg.respCode == SUCCESS) {
346 347 348 349 350 351 352
            //TODO 处理数据逻辑

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

}