-
+
#foreach($column in $columns)
#if($column.query)
#set($dictType=$column.dictType)
@@ -17,30 +17,29 @@
v-model="queryParams.${column.javaField}"
placeholder="请输入${comment}"
clearable
- size="small"
@keyup.enter.native="handleQuery"
/>
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
-
+
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && $dictType)
-
+
#elseif($column.htmlType == "datetime" && $column.queryType != "BETWEEN")
-
新增
+
+ 展开/折叠
+
#foreach($column in $columns)
@@ -105,10 +113,20 @@
{{ parseTime(scope.row.${javaField}, '{y}-{m}-{d}') }}
+#elseif($column.list && $column.htmlType == "imageUpload")
+
+
+
+
+
#elseif($column.list && "" != $column.dictType)
-
+#if($column.htmlType == "checkbox")
+
+#else
+
+#end
#elseif($column.list && "" != $javaField)
@@ -169,12 +187,12 @@
#elseif($column.htmlType == "imageUpload")
-
-
+
+
#elseif($column.htmlType == "fileUpload")
-
-
+
+
#elseif($column.htmlType == "editor")
@@ -184,11 +202,14 @@
@@ -199,42 +220,45 @@
#elseif($column.htmlType == "checkbox" && "" != $dictType)
-
+
- {{dict.dictLabel}}
+ v-for="dict in dict.type.${dictType}"
+ :key="dict.value"
+ :label="dict.value">
+ {{dict.label}}
#elseif($column.htmlType == "checkbox" && $dictType)
-
+
请选择字典生成
#elseif($column.htmlType == "radio" && "" != $dictType)
-
+
{{dict.dictLabel}}
+ v-for="dict in dict.type.${dictType}"
+ :key="dict.value"
+#if($column.javaType == "Integer" || $column.javaType == "Long")
+ :label="parseInt(dict.value)"
+#else
+ :label="dict.value"
+#end
+ >{{dict.label}}
#elseif($column.htmlType == "radio" && $dictType)
-
+
请选择字典生成
#elseif($column.htmlType == "datetime")
-
diff --git a/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm
index d63694e..7bbd2fc 100644
--- a/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm
+++ b/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm
@@ -271,9 +271,9 @@