style:getForm修改
Showing
3 changed files
with
11 additions
and
9 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 13:51:43 | 4 | * @LastEditTime: 2024-01-22 14:59:51 |
5 | */ | 5 | */ |
6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
7 | export function getForm (tabName) { | 7 | export function getForm (tabName) { |
8 | let form; | 8 | let form; |
9 | if (tabName == 0) return | ||
9 | switch (tabName) { | 10 | switch (tabName) { |
10 | case "zdjbxx": | 11 | case "zdjbxx": |
11 | form = require("@/views/registerBook/zdjbxx.vue"); | 12 | form = require("@/views/registerBook/zdjbxx.vue"); |
... | @@ -87,9 +88,9 @@ export function getForm (tabName) { | ... | @@ -87,9 +88,9 @@ export function getForm (tabName) { |
87 | case "spyj": | 88 | case "spyj": |
88 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); | 89 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); |
89 | break; | 90 | break; |
90 | // default: | 91 | default: |
91 | // form = require("@/views/error-page/404.vue"); | 92 | form = require("@/views/error-page/404.vue"); |
92 | // break; | 93 | break; |
93 | } | 94 | } |
94 | return (r) => require.ensure([], () => r(form)); | 95 | return (r) => require.ensure([], () => r(form)); |
95 | } | 96 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 13:52:36 | 4 | * @LastEditTime: 2024-01-22 14:56:43 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * @description: 流程环节操作按钮 | 7 | * @description: 流程环节操作按钮 |
... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
10 | */ | 10 | */ |
11 | export function getForm (tabName) { | 11 | export function getForm (tabName) { |
12 | let form; | 12 | let form; |
13 | if (tabName == 0) return | ||
13 | switch (tabName) { | 14 | switch (tabName) { |
14 | case "tdsyqslxx": | 15 | case "tdsyqslxx": |
15 | form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue"); | 16 | form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue"); |
... | @@ -128,9 +129,9 @@ export function getForm (tabName) { | ... | @@ -128,9 +129,9 @@ export function getForm (tabName) { |
128 | case "zdjbxxImg": | 129 | case "zdjbxxImg": |
129 | form = require("@/views/workflow/components/zdt.vue"); | 130 | form = require("@/views/workflow/components/zdt.vue"); |
130 | break; | 131 | break; |
131 | // default: | 132 | default: |
132 | // form = require("@/views/error-page/404.vue"); | 133 | form = require("@/views/error-page/404.vue"); |
133 | // break; | 134 | break; |
134 | } | 135 | } |
135 | return (r) => require.ensure([], () => r(form)); | 136 | return (r) => require.ensure([], () => r(form)); |
136 | } | 137 | } | ... | ... |
-
Please register or sign in to post a comment