Commit fed849be by RuoYi

list*.vm模板优化

parent fe296cc8
......@@ -25,7 +25,7 @@
<label>${comment}:</label>
<input type="text" name="${column.javaField}"/>
</li>
#elseif($column.htmlType == "select" || $column.htmlType == "radio" && "" != $dictType)
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
<li>
<label>${comment}:</label>
<select name="${column.javaField}" th:with="type=${@dict.getType('${dictType}')}">
......@@ -33,11 +33,12 @@
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</li>
#elseif($column.htmlType == "select" || $column.htmlType == "radio" && $dictType)
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && $dictType)
<li>
<label>${comment}:</label>
<select name="${column.javaField}">
<option value="">所有</option>
<option value="-1">代码生成请选择字典属性</option>
</select>
</li>
#elseif($column.htmlType == "datetime")
......
......@@ -25,7 +25,7 @@
<label>${comment}:</label>
<input type="text" name="${column.javaField}"/>
</li>
#elseif($column.htmlType == "select" || $column.htmlType == "radio" && "" != $dictType)
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
<li>
<label>${comment}:</label>
<select name="${column.javaField}" th:with="type=${@dict.getType('${dictType}')}">
......@@ -33,11 +33,12 @@
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</li>
#elseif($column.htmlType == "select" || $column.htmlType == "radio" && $dictType)
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && $dictType)
<li>
<label>${comment}:</label>
<select name="${column.javaField}">
<option value="">所有</option>
<option value="-1">代码生成请选择字典属性</option>
</select>
</li>
#elseif($column.htmlType == "datetime")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment