flowform.js 2.09 KB
//流程环节操作按钮
export function getForm(tabName, djywbm) {
    let form;
    switch (tabName) {
        case "jsydsyqslxx100":
            form = require("@/views/ywbl/jsydsyq/slxx.vue");
            break;
        case "jsydsyqslxx200":
            form = require("@/views/ywbl/jsydsyq/slxx200.vue");
            break;
        case "jsydsyqslxx300":
            form = require("@/views/ywbl/jsydsyq/slxx300.vue");
            break;
        case "fwsyqslxx100":
            form = require("@/views/ywbl/fdcq2/slxx.vue");
            break;
        case "fwsyqslxx200":
            form = require("@/views/ywbl/fdcq2/slxx200.vue");
            break;
        case "fwsyqslxx300":
            form = require("@/views/ywbl/fdcq2/slxx300.vue");
            break;
        case "tdslxxCfdj":
            form = require("@/views/ywbl/cfdj/tdslxx.vue");
            break;
        case "fwslxxCfdj":
            form = require("@/views/ywbl/cfdj/fwslxx.vue");
            break; 
        case "plslxxCfdj":
            form = require("@/views/ywbl/cfdj/plcfslxx.vue");
            break;
        case "jfslxxCfdj":
            form = require("@/views/ywbl/cfdj/jfslxx.vue");
            break;             
        case "clxx":
            form = require("@/views/workflow/components/clxx.vue");
            break;
        case "spyj":
            form = require("@/views/workflow/components/spyj.vue");
            break;
        case "zdjbxx":
            form = require("@/views/registerBook/zdjbxx.vue");
            break;
        case "cfdjxx":
            form = require("@/views/registerBook/cfdj.vue");
            break;    
        case "jsydsyqQlxx":
            form = require("@/views/registerBook/jsydsyq.vue");
            break;
        case "fdcq2Qlxx":
            form = require("@/views/registerBook/fdcq2.vue");
            break;
        case "szxx":
            form = require("@/views/workflow/components/szxx.vue");
            break;
        case "fzxx":
            form = require("@/views/workflow/components/fzxx.vue");
            break;
    }
    return (r) => require.ensure([], () => r(form));
}