|
|
@ -108,7 +108,11 @@ |
|
|
|
#elseif($column.list && "" != $column.dictType) |
|
|
|
#elseif($column.list && "" != $column.dictType) |
|
|
|
<el-table-column label="${comment}" align="center" prop="${javaField}"> |
|
|
|
<el-table-column label="${comment}" align="center" prop="${javaField}"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
#if($column.htmlType == "checkbox") |
|
|
|
|
|
|
|
<dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField} ? scope.row.${javaField}.split(',') : []"/> |
|
|
|
|
|
|
|
#else |
|
|
|
<dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField}"/> |
|
|
|
<dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField}"/> |
|
|
|
|
|
|
|
#end |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
#elseif($column.list && "" != $javaField) |
|
|
|
#elseif($column.list && "" != $javaField) |
|
|
|