index.js 5.44 KB
import commonFunctions from '../../../../mixin/commonFunctions.js';

export default {
    mixins: [commonFunctions],
    methods: {
        async onAttpGetref() {
            let rtnmsg = await this.executeRule("attp.getref");
            if (rtnmsg.respCode === SUCCESS) {
                //TODO 处理数据逻辑

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    },
}