{{$tableComment:=.TableComment}}
    
        
            
                
                    {{range .Columns}}
                        {{- $x := .IsQuery -}}
                        {{- if (eq $x "1") -}}
                            
                                {{- if ne .FkTableName "" -}}
                                
                                    
                                
                                {{- else -}}
                                {{if eq .DictType "" -}}
                                    
                                {{- else -}}
                                    
                                        
                                    
                                {{- end}}
                                {{- end}}
                            
                        {{end}}
                    {{- end }}
                    
                        搜索
                        重置
                    
                
                
                    
                        新增
                        
                    
                    
                        修改
                        
                    
                    
                        删除
                        
                    
                
                
                    
                    {{- range .Columns -}}
                        {{- $x := .IsList -}}
                        {{- if (eq $x "1") }}
                            {{- if ne .FkTableName "" -}}
                            
                                
                                    {{ "{{" }} {{.JsonField}}Format(scope.row) {{"}}"}}
                                
                            
                            {{- else -}}
                            {{- if ne .DictType "" -}}
                                
                                    
                                        {{ "{{" }} {{.JsonField}}Format(scope.row) {{"}}"}}
                                    
                                
                            {{- end -}}
                            {{- if eq .DictType "" -}}
                                {{- if eq .HtmlType "datetime" -}}
                                
                                    
                                    {{ "{{" }} parseTime(scope.row.{{.JsonField}}) {{"}}"}}
                                    
                                
                                {{- else -}}
                                
                                {{- end -}}
                            {{- end -}}
                            {{- end -}}
                        {{- end }}
                    {{- end }}
                    
                        
                         
                           修改
                           
                         
                         
                            删除
                            
                         
                        
                    
                
                
                
                
                    
                        {{ range .Columns }}
                            {{- $x := .IsInsert -}}
                            {{- if (eq $x "1") -}}
                                {{- if (.Pk) }}
                                {{- else if eq .GoField "CreatedAt" -}}
                                {{- else if eq .GoField "UpdatedAt" -}}
                                {{- else if eq .GoField "DeletedAt" -}}
                                {{- else if eq .GoField "UpdateBy" -}}
                                {{- else if eq .GoField "CreateBy" -}}
                                {{- else }}
                                    
                                        {{ if eq "input" .HtmlType -}}
                                            
                                        {{- else if eq "select" .HtmlType -}}
                                            {{- if ne .FkTableName "" -}}
                                            
                                                
                                            
                                            {{- else -}}
                                            
                                                
                                            
                                            {{- end -}}
                                        {{- else if eq "radio" .HtmlType -}}
                                            
                                                {{"{{"}} dict.label {{"}}"}}
                                            
                                        {{- else if eq "file" .HtmlType -}}
                                            
                                            选择文件
                                        {{- else if eq "datetime" .HtmlType -}}
                                            
                                            
                                        {{- else if eq "textarea" .HtmlType -}}
                                            
                                            
                                        {{- end }}
                                    
                                {{- end }}
                            {{- end }}
                        {{- end }}