$foreach(column in genTable.Columns)
$set(labelName = "")
$set(columnName = "")
$set(numLabel = "")
$if(column.IsQuery == true)
$set(columnName = column.CsharpFieldFl)
$if(column.ColumnComment != "")
$set(labelName = column.ColumnComment)
$else
$set(labelName = column.CsharpFieldFl)
$end
$if(column.CsharpType == "int" || column.CsharpType == "long")
$set(numLabel = ".number")
$end
$if(column.HtmlType == "datetime")
$elseif(column.HtmlType == "select" || column.HtmlType == "radio" || column.HtmlType == "selectMulti")
{{ item.dictLabel }}
{{ item.dictValue }}
$else
$end
$end
$end
{{ ${t}t('btn.search') }}
{{ ${t}t('btn.reset') }}
$if(replaceDto.ShowBtnAdd)
{{ ${t}t('btn.add') }}
$end
展开/折叠
$if(replaceDto.ShowBtnMultiDel)
{{ ${t}t('btn.delete') }}
$end
$if(replaceDto.ShowBtnExport)
{{ ${t}t('btn.export') }}
$end
$foreach(column in genTable.Columns)
$set(labelName = "")
$set(showToolTipHtml = "")
$set(columnName = column.CsharpFieldFl)
$if(column.CsharpType == "string" || column.HtmlType == "datetime")
$set(showToolTipHtml = " :show-overflow-tooltip=\"true\"")
$end
$if(column.ColumnComment != "")
$set(labelName = column.ColumnComment)
$else
$set(labelName = column.CsharpFieldFl)
$end
$if(column.IsList == true)
$if(column.HtmlType == "customInput" && column.IsPk == false)
{{scope.row.${columnName}}}
$elseif(column.HtmlType == "imageUpload")
$elseif(column.HtmlType == "checkbox" || column.HtmlType == "select" || column.HtmlType == "radio")
$if(column.HtmlType == "checkbox")
$else
$end
$else
$end
$end
$end
$if(replaceDto.ShowBtnEdit)
$end
$if(replaceDto.ShowBtnDelete)
$end
$foreach(column in genTable.Columns)
$set(labelName = "")
$set(labelDisabled = "")
$set(columnName = column.CsharpFieldFl)
$set(value = "item.dictValue")
$if(column.ColumnComment != "")
$set(labelName = column.ColumnComment)
$else
$set(labelName = column.CsharpFieldFl)
$end
$if(column.IsPk == true)
$set(labelDisabled = ":disabled=true")
$end
$if(column.CsharpType == "int" || column.CsharpType == "long")
$set(value = "parseInt(item.dictValue)")
$end
$if(column.IsInsert == false && column.IsEdit == false)
{{form.${columnName}}}
$elseif(tool.CheckTree(genTable ,column.CsharpField))
{{ data.${treeName} }}
({{ data.children.length }})
$elseif(column.IsPK || column.IsIncrement)
$if(column.IsIncrement == false)
$else
$end
$else
$if(column.HtmlType == "inputNumber")
$elseif(column.HtmlType == "datetime")
$elseif(column.HtmlType == "imageUpload")
$elseif(column.HtmlType == "fileUpload")
$elseif(column.HtmlType == "radio")
{{item.dictLabel}}
$elseif(column.HtmlType == "textarea")
$elseif(column.HtmlType == "editor")
$elseif(column.HtmlType == "select" || column.HtmlType == "selectMulti")
$elseif(column.HtmlType == "checkbox")
{{item.dictLabel}}
$else
$end
$end
$end