+
+
+ {{- range .Fields}}
+
+ {{- if eq .FieldType "bool" }}
+
+ {{ end -}}
+ {{- if eq .FieldType "string" }}
+
+ {{ end -}}
+ {{- if eq .FieldType "int" }}
+ {{- if .DictType}}
+
+
+
+ {{ else -}}
+
+ {{ end -}}
+ {{ end -}}
+ {{- if eq .FieldType "time.Time" }}
+
+ {{ end -}}
+ {{- if eq .FieldType "float64" }}
+
+ {{ end -}}
+
+ {{ end -}}
+
+
+ 启动
+ // complete传入流转参数 决定下一步会流转到什么位置 此处可以设置多个按钮来做不同的流转
+ 提交
+ 返回
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/service/sys_auto_code.go b/server/service/sys_auto_code.go
index d6fdf0b3..b673de11 100644
--- a/server/service/sys_auto_code.go
+++ b/server/service/sys_auto_code.go
@@ -201,6 +201,8 @@ func addAutoMoveFile(data *tplData) {
} else if strings.Contains(data.autoCodePath, "web") {
if strings.Contains(data.autoCodePath, "js") {
data.autoMoveFilePath = filepath.Join("../", "web", "src", dir, base)
+ } else if strings.Contains(data.autoCodePath, "workflowForm") {
+ data.autoMoveFilePath = filepath.Join("../", "web", "src", "view", filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), strings.TrimSuffix(base, filepath.Ext(base))+"WorkflowForm.vue")
} else if strings.Contains(data.autoCodePath, "form") {
data.autoMoveFilePath = filepath.Join("../", "web", "src", "view", filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), strings.TrimSuffix(base, filepath.Ext(base))+"Form.vue")
} else if strings.Contains(data.autoCodePath, "table") {