fix : 修改生成

This commit is contained in:
lwh 2023-05-05 17:20:19 +08:00
parent 9eaaf9e234
commit 5513082a30
2 changed files with 8 additions and 6 deletions

View File

@ -80,6 +80,8 @@
<el-option label="图片上传" value="imageUpload" /> <el-option label="图片上传" value="imageUpload" />
<el-option label="文件上传" value="fileUpload" /> <el-option label="文件上传" value="fileUpload" />
<el-option label="富文本控件" value="editor" /> <el-option label="富文本控件" value="editor" />
<el-option label="switch开关" value="switch" />
<el-option label="评分" value="rate" />
<el-option label="地图" value="map" /> <el-option label="地图" value="map" />
<!-- <el-option label="自定义输入框" value="customInput" /> --> <!-- <el-option label="自定义输入框" value="customInput" /> -->
</el-select> </el-select>
@ -88,7 +90,7 @@
<el-table-column label="字典类型" min-width="140"> <el-table-column label="字典类型" min-width="140">
<template #default="scope"> <template #default="scope">
<el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择" <el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择"
v-if="scope.row.htmlType == 'select' || scope.row.htmlType == 'radio' || scope.row.htmlType == 'checkbox'"> v-if="scope.row.htmlType == 'select' || scope.row.htmlType == 'switch' || scope.row.htmlType == 'checkbox'">
<el-option v-for="dict in dictOptions" :key="dict.dictionary_value" :label="dict.dictionary_name" <el-option v-for="dict in dictOptions" :key="dict.dictionary_value" :label="dict.dictionary_name"
:value="dict.dictionary_value"> :value="dict.dictionary_value">
<span style="float: left">{{ dict.dictionary_name }}</span> <span style="float: left">{{ dict.dictionary_name }}</span>

View File

@ -92,17 +92,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :lg="12"> <el-col :lg="12">
<el-form-item prop="genType"> <el-form-item prop="isSort">
<template #label> <template #label>
生成代码方式 排序处理
<el-tooltip content="默认为zip压缩包下载" placement="top"> <el-tooltip content="加上模型层排序处理,控制器加上事务,列表展示" placement="top">
<el-icon> <el-icon>
<question-filled /> <question-filled />
</el-icon> </el-icon>
</el-tooltip> </el-tooltip>
</template> </template>
<el-radio v-model="info.genType" label="0">zip压缩包</el-radio> <el-radio v-model="info.isSort" label="0">不需要</el-radio>
<el-radio v-model="info.genType" label="1">自定义路径</el-radio> <el-radio v-model="info.isSort" label="1">需要</el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>