Event.js 7.85 KB
Newer Older
孟冬雪 committed
1 2 3 4
import Api from "~/service/Api"
import Utils from "~/utils"

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

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

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

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

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

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

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

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

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

107
        }
108 109 110
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
111 112
        }
    },
113
async onLcrdocButtxmsel(){
114
        let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
115 116 117
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
118

119
        }
120 121 122
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
123 124
        }
    },
125
async onSetmodDet(){
126
        let rtnmsg = await this.executeRule("setmod.det")
127 128 129
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
130

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

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

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

167
        }
168 169 170
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
171 172
        }
    },
173
async onTrndocButattto(){
174
        let rtnmsg = await this.executeRule("trndoc.butattto")
175 176 177
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
178

179
        }
180 181 182
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
183 184
        }
    },
185
async onTrndocButdel(){
186
        let rtnmsg = await this.executeRule("trndoc.butdel")
187 188 189
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
190

191
        }
192 193 194
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
195 196
        }
    },
197
async onTrndocButatt(){
198
        let rtnmsg = await this.executeRule("trndoc.butatt")
199 200 201
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
202

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

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

227
        }
228 229 230
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
231 232
        }
    },
233
async onLiaallButmisamt(){
234
        let rtnmsg = await this.executeRule("liaall.butmisamt")
235 236 237
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
238

239
        }
240 241 242
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
243 244
        }
    },
245
async onLiaallButmissig(){
246
        let rtnmsg = await this.executeRule("liaall.butmissig")
247 248 249
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
250

251
        }
252 253 254
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
255 256
        }
    },
257
async onAdlcndButtxmsel(){
258
        let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
259 260 261
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
262

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

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

287
        }
288 289 290
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
291 292
        }
    },
293
async onChariaButtxmsel(){
294
        let rtnmsg = await this.executeRule("charia.buttxmsel")
295 296 297
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
298

299
        }
300 301 302
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
303 304
        }
    },
305
async onDrwpDet(){
306
        let rtnmsg = await this.executeRule("drwp.det")
307 308 309
        if(rtnmsg.respCode == SUCCESS)
        {
        //TODO 处理数据逻辑
310 311

        }
312 313 314
        else
        {
        this.$notify.error({title: '错误',message: '服务请求失败!'});
315 316
        }
    },
317 318 319
    


320 321 322 323 324 325 326 327 328
    onSeainf() { },
    onBenpDet() { },
    onIsspDet() { },
    onAplpDet() { },
    onAvbpDet() { },
    onAdvpDet() { },
    onA2bpDet() { },
    onApbpDet() { },
    onRmbpDet() { },
329

Wuyuqiu committed
330 331


孟冬雪 committed
332 333

}