Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
ca88185a
Commit
ca88185a
authored
May 06, 2020
by
ZhengJie
Browse files
[代码完善](v2.5): v2.5 beta update index.ftl
Closes #335 2.5 Beta 详情:
https://www.ydyno.com/archives/1225.html
parent
796ee4bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/resources/template/generator/front/index.ftl
View file @
ca88185a
...
@@ -44,13 +44,13 @@
...
@@ -44,13 +44,13 @@
<#elseif column.formType = 'Textarea'>
<#elseif column.formType = 'Textarea'>
<el-input :rows="3" v-model="form.$
{
column
.changeColumnName
}
" type="textarea" style="width: 370px;" />
<el-input :rows="3" v-model="form.$
{
column
.changeColumnName
}
" type="textarea" style="width: 370px;" />
<#elseif column.formType = 'Radio'>
<#elseif column.formType = 'Radio'>
<#if column.dictName??>
<#if
(
column.dictName
)
??
&& (column.dictName)!=""
>
<el-radio v-for="item in dict.$
{
column
.dictName
}
" :key="item.id" v-model="form.$
{
column
.changeColumnName
}
" :label="item.value">
{{
item
.label
}}
</el-radio>
<el-radio v-for="item in dict.$
{
column
.dictName
}
" :key="item.id" v-model="form.$
{
column
.changeColumnName
}
" :label="item.value">
{{
item
.label
}}
</el-radio>
<#else>
<#else>
未设置字典,请手动设置 Radio
未设置字典,请手动设置 Radio
</#if>
</#if>
<#elseif column.formType = 'Select'>
<#elseif column.formType = 'Select'>
<#if column.dictName??>
<#if
(
column.dictName
)
??
&& (column.dictName)!=""
>
<el-select v-model="form.$
{
column
.changeColumnName
}
" filterable placeholder="请选择">
<el-select v-model="form.$
{
column
.changeColumnName
}
" filterable placeholder="请选择">
<el-option
<el-option
v-for="item in dict.$
{
column
.dictName
}
"
v-for="item in dict.$
{
column
.dictName
}
"
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<#if columns??>
<#if columns??>
<#list columns as column>
<#list columns as column>
<#if column.columnShow>
<#if column.columnShow>
<#if column.dictName??>
<#if
(
column.dictName
)
??
&& (column.dictName)!=""
>
<el-table-column prop="$
{
column
.changeColumnName
}
" label="<#if column.remark != ''>$
{
column
.remark
}
<#else>$
{
column
.changeColumnName
}
</#if>">
<el-table-column prop="$
{
column
.changeColumnName
}
" label="<#if column.remark != ''>$
{
column
.remark
}
<#else>$
{
column
.changeColumnName
}
</#if>">
<template slot-scope="scope">
<template slot-scope="scope">
{{
dict
.label
.$
{
column
.dictName
}
[
scope
.row
.$
{
column
.changeColumnName
}
]
}}
{{
dict
.label
.$
{
column
.dictName
}
[
scope
.row
.$
{
column
.changeColumnName
}
]
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment