From e7ac78535d6c7ba126c29ff60285c3ca3be69f3b Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 24 四月 2020 10:49:12 +0800 Subject: [PATCH] 表格树模板去掉多余的) --- ruoyi/src/main/resources/vm/vue/index-tree.vue.vm | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm index 280417a..6c33b9f 100644 --- a/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm +++ b/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm @@ -88,7 +88,7 @@ #elseif($column.list && $column.htmlType == "datetime") <el-table-column label="${comment}" align="center" prop="${javaField}" width="180"> <template slot-scope="scope"> - <span>{{ parseTime(scope.row.${javaField}) }}</span> + <span>{{ parseTime(scope.row.${javaField}, '{y}-{m}-{d}') }}</span> </template> </el-table-column> #elseif($column.list && "" != $column.dictType) @@ -118,7 +118,7 @@ </el-table> <!-- 添加或修改${functionName}对话框 --> - <el-dialog :title="title" :visible.sync="open" width="500px"> + <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> #foreach($column in $columns) #set($field=$column.javaField) @@ -227,8 +227,7 @@ #end #if(${column.dictType} != '') // $comment字典 - ${column.javaField}Options: []#if($velocityCount != $columns.size()),#end - + ${column.javaField}Options: [], #end #end // 查询参数 -- Gitblit v1.9.2