flowform.js
2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//流程环节操作按钮
export function getForm(tabName, djywbm) {
let form;
switch (tabName) {
case "jsydsyqslxx100":
form = require("@/views/ywbl/jsydsyq/slxx.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 "fwsyqslxx400":
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "fwsyqslxx900":
form = require("@/views/ywbl/fdcq2/slxx900.vue");
break;
case "nydsyqslxx100":
form = require("@/views/ywbl/nydsyq/slxx.vue");
break;
case "nydsyqslxx200":
form = require("@/views/ywbl/nydsyq/slxx200.vue");
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
case "plslxxCfdj":
form = require("@/views/ywbl/cfdj/plcfslxx.vue");
break;
case "diyaqSlxx":
form = require("@/views/ywbl/diyaq/slxx.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 "ygmm100":
form = require("@/views/ywbl/ygdj/slxx.vue");
break;
case "ygmm300":
form = require("@/views/ywbl/fdcq2/slxx.vue");
break;
case "cfdjxx":
form = require("@/views/registerBook/cfdj.vue");
break;
case "jsydsyqQlxx":
form = require("@/views/registerBook/jsydsyq.vue");
break;
case "nydsyqQlxx":
form = require("@/views/registerBook/nydsyq.vue");
break;
case "fdcq2Qlxx":
form = require("@/views/registerBook/fdcq2.vue");
break;
case "diyaqQlxx":
form = require("@/views/registerBook/diyaq.vue");
break;
case "ygdjQlxx":
form = require("@/views/registerBook/ygdj.vue");
break;
case "szxx":
form = require("@/views/workflow/components/szxx.vue");
break;
case "fzxx":
form = require("@/views/workflow/components/fzxx.vue");
break;
default:
form = require("@/views/error-page/404.vue");
break;
}
return (r) => require.ensure([], () => r(form));
}