templates.index.vue.ftl Maven / Gradle / Ivy
<#if query?? && queryParams??>
<#list queryParams.columns as column>
:content-nest="false"#if>>
<#assign formData="searchFormData"/>
<@format><#include "input-components.ftl" />@format>
#list>
#if>
<#if query??>
查询
#if>
<#if create??>
新增
#if>
<#list query.columns as column>
<#if column.hasAvailableTag>
#if>
#list>
<#if detail??>
{ id = row.${keys[0].name};$nextTick(() => $refs.viewDialog.openDialog()) }">查看
#if>
<#if update??>
{ id = row.${keys[0].name};$nextTick(() => $refs.updateDialog.openDialog()) }">修改
#if>
<#if hasDelete>
{ deleteRow(row.${keys[0].name}) }">删除
#if>
<#if create??>
#if>
<#if update??>
#if>
<#if detail??>
#if>