-
+
#foreach($column in $columns)
#if($column.query)
#set($dictType=$column.dictType)
@@ -17,14 +17,14 @@
v-model="queryParams.${column.javaField}"
placeholder="请输入${comment}"
clearable
- @keyup.enter.native="handleQuery"
+ @keyup.enter="handleQuery"
/>
#elseif(($column.htmlType == "select" || $column.htmlType == "radio") && "" != $dictType)
#elseif($column.htmlType == "datetime" && $column.queryType == "BETWEEN")
-
+
- 搜索
- 重置
+ 搜索
+ 重置
@@ -72,8 +71,7 @@
新增
@@ -82,12 +80,11 @@
展开/折叠
-
+
-
+
{{ parseTime(scope.row.${javaField}, '{y}-{m}-{d}') }}
#elseif($column.list && $column.htmlType == "imageUpload")
-
+
#elseif($column.list && "" != $column.dictType)
-
+
#if($column.htmlType == "checkbox")
-
+
#else
-
+
#end
@@ -138,35 +135,17 @@
#end
#end
-
- 修改
- 新增
- 删除
+
+ 修改
+ 新增
+ 删除
-
-
+
+
#foreach($column in $columns)
#set($field=$column.javaField)
#if($column.insert && !$column.pk)
@@ -180,7 +159,14 @@
#set($dictType=$column.dictType)
#if("" != $treeParentCode && $column.javaField == $treeParentCode)
-
+
#elseif($column.htmlType == "input")
@@ -202,7 +188,7 @@
{{dict.label}}
@@ -240,7 +226,7 @@
@@ -274,65 +260,51 @@
#end
#end
-
+
+
+
-
diff --git a/lzbi-generator/src/main/resources/vm/vue/index.vue.vm b/lzbi-generator/src/main/resources/vm/vue/index.vue.vm
index 6296014..22c1d7f 100644
--- a/lzbi-generator/src/main/resources/vm/vue/index.vue.vm
+++ b/lzbi-generator/src/main/resources/vm/vue/index.vue.vm
@@ -1,6 +1,6 @@