|
|
|
@ -189,6 +189,10 @@
|
|
|
|
|
<el-form-item label="${comment}">
|
|
|
|
|
<imageUpload v-model="form.${field}"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
#elseif($column.htmlType == "fileUpload")
|
|
|
|
|
<el-form-item label="${comment}">
|
|
|
|
|
<fileUpload v-model="form.${field}"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
#elseif($column.htmlType == "editor")
|
|
|
|
|
<el-form-item label="${comment}">
|
|
|
|
|
<editor v-model="form.${field}" :min-height="192"/>
|
|
|
|
@ -280,6 +284,12 @@ import ImageUpload from '@/components/ImageUpload';
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
#foreach($column in $columns)
|
|
|
|
|
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
|
|
|
|
|
import FileUpload from '@/components/FileUpload';
|
|
|
|
|
#break
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
#foreach($column in $columns)
|
|
|
|
|
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
|
|
|
|
|
import Editor from '@/components/Editor';
|
|
|
|
|
#break
|
|
|
|
@ -296,6 +306,12 @@ export default {
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
#foreach($column in $columns)
|
|
|
|
|
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
|
|
|
|
|
FileUpload,
|
|
|
|
|
#break
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
#foreach($column in $columns)
|
|
|
|
|
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "editor")
|
|
|
|
|
Editor,
|
|
|
|
|
#break
|
|
|
|
|