+{{$lens := .table.Columns|len}}
+{{$businessName := .table.BusinessName | CaseCamelLower}}
+{{$treeParentCode := .table.TreeParentCode}}
+{{$treeCode := .table.TreeCode}}
+{{$treeName := .table.TreeName}}
+
+
+ {{range $index, $column := .table.Columns}}
+ {{if and (eq $column.IsQuery "1") (ne $column.ColumnName "created_by") (ne $column.ColumnName "updated_by") (ne $column.ColumnName "created_at") (ne $column.ColumnName "updated_at") (ne $column.ColumnName "deleted_at")}}
+ {{if eq $column.HtmlType "input" "textarea"}}
+
+
+
+ {{else if and (eq $column.HtmlType "select" "radio" "checkbox") (ne $column.DictType "") }}
+
+
+
+
+
+ {{else if eq $column.HtmlType "datetime"}}
+
+
+
+
+ {{else if and (eq $column.HtmlType "select" "radio" "checkbox") (ne $column.LinkTableName "")}}
+
+
+
+
+
+ {{else}}
+
+
+
+
+
+ {{end}}
+ {{end}}
+ {{end}}
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+ {{range $index, $column := .table.Columns}}
+ {{if eq $column.IsPk "1"}}
+
+ {{else if and (eq $column.IsList "1") (eq $column.HtmlType "datetime")}}
+
+
+ {{VueTag "{{"}} parseTime(scope.row.{{$column.HtmlField}}, '{y}-{m}-{d}') {{VueTag "}}"}}
+
+
+ {{else if and (eq $column.IsList "1") (HasSuffix $column.ColumnName "status")}}
+
+
+
+
+
+ {{else if ne $column.LinkTableName ""}}
+
+
+ {{VueTag "{{" }} {{$column.HtmlField}}Format(scope.row) {{VueTag "}}" }}
+
+
+ {{else if and (eq $column.IsList "1") (ne $column.DictType "")}}
+
+ {{else if and (eq $column.IsList "1") (ne $column.HtmlField "")}}
+
+ {{end}}{{end}}
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+ {{range $index, $column := .table.Columns}}
+ {{if and (eq $column.IsInsert "1") (ne $column.IsPk "1")}}
+ {{if and (ne $treeParentCode "") (eq $column.HtmlField $treeParentCode)}}
+
+
+
+ {{else if eq $column.HtmlType "input"}}
+
+
+
+ {{else if eq $column.HtmlType "select" }}
+ {{if ne $column.LinkTableName ""}}
+
+
+
+
+
+ {{else if ne $column.DictType ""}}
+
+
+
+
+
+ {{else}}
+
+
+
+
+
+ {{end}}
+ {{else if eq $column.HtmlType "radio" }}
+ {{if ne $column.DictType ""}}
+
+
+ {{ VueTag "{{" }}dict.value {{VueTag "}}"}}
+
+
+ {{else}}
+
+
+ 请选择字典生成
+
+
+ {{end}}
+ {{else if eq $column.HtmlType "datetime"}}
+
+
+
+
+ {{else if eq $column.HtmlType "textarea"}}
+
+
+
+ {{else if eq $column.HtmlType "checkbox" }}
+
+
+ {{ VueTag "{{" }}dict.value {{VueTag "}}"}}
+
+
+ {{end}}
+ {{end}}
+ {{end}}
+
+
+
+
+
+
+
\ No newline at end of file