flowform.js 1.02 KB
//流程环节操作按钮
export function getForm(tabName) {
    let form;
    switch (tabName) {
        case "slxx":
            form = require("@/views/ywbl/fqsq/components/slxx.vue");
            break;
        case "slxxCfdj":
            form = require("@/views/ywbl/fqsq/components/slxxCfdj.vue");
            break;
        case "clxx":
            form = require("@/views/ywbl/fqsq/components/clxx.vue");
            break;
        case "spyj":
            form = require("@/views/ywbl/fqsq/components/spyj.vue");
            break;
        case "zdjbxx":
            form = require("@/views/zhcx/djbcx/components/zdxx.vue");
            break;
        case "qlxx":
            form = require("@/views/zhcx/djbcx/components/jsydsyq.vue");
            break;
        case "szxx":
            form = require("@/views/ywbl/fqsq/components/szxx.vue");
            break;
        case "fzxx":
            form = require("@/views/ywbl/fqsq/components/fzxx.vue");
            break;
    }

    return (r) => require.ensure([], () => r(form));
}