v2.6.6版本发布 (#1784)
* 前端支持顶部菜单栏模式 * 自动化代码单条获取方法不再需要取data.xxx直接取用data * 自动化代码支持选择索引 * 自动化代码回滚支持自行选择是否删除菜单、API、表 * 日志增加定期清理功能 * 权限配置API部分,支持根据API真实path进行筛选 * 修复了一些已知bug * 修复了一个sql注入漏洞 --------- Co-authored-by: xuedinge <781408517@qq.com> Co-authored-by: Qing Liang <106448173+xue-ding-e@users.noreply.github.com> Co-authored-by: wall-js <wall_js@foxmail.com> Co-authored-by: Wall <307606056@qq.com> Co-authored-by: leooza <leooza@163.com> Co-authored-by: piexlMax(奇淼 <qimiaojiangjizhao@gmail.com> Co-authored-by: hxl <52553624@qq.com> Co-authored-by: zsc1003 <11476303+zsc1003@user.noreply.gitee.com>
This commit is contained in:
@@ -421,6 +421,28 @@
|
||||
</el-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="left"
|
||||
prop="fieldIndexType"
|
||||
label="索引类型"
|
||||
width="160"
|
||||
>
|
||||
<template #default="{row}">
|
||||
<el-select
|
||||
v-model="row.fieldIndexType"
|
||||
style="width:100%"
|
||||
placeholder="请选择字段索引类型"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in typeIndexOptions"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="left"
|
||||
prop="dataTypeLong"
|
||||
@@ -540,6 +562,7 @@
|
||||
:dialog-middle="dialogMiddle"
|
||||
:type-options="typeOptions"
|
||||
:type-search-options="typeSearchOptions"
|
||||
:type-index-options="typeIndexOptions"
|
||||
/>
|
||||
|
||||
</el-drawer>
|
||||
@@ -700,6 +723,17 @@ const typeSearchOptions = ref([
|
||||
}
|
||||
])
|
||||
|
||||
const typeIndexOptions = ref([
|
||||
{
|
||||
label: 'index',
|
||||
value: 'index'
|
||||
},
|
||||
{
|
||||
label: 'uniqueIndex',
|
||||
value: 'uniqueIndex'
|
||||
}
|
||||
])
|
||||
|
||||
const fieldTemplate = {
|
||||
fieldName: '',
|
||||
fieldDesc: '',
|
||||
@@ -717,6 +751,7 @@ const fieldTemplate = {
|
||||
primaryKey: false,
|
||||
clearable: true,
|
||||
fieldSearchType: '',
|
||||
fieldIndexType: '',
|
||||
dictType: '',
|
||||
dataSource: {
|
||||
association:1,
|
||||
@@ -988,6 +1023,7 @@ const getColumnFunc = async() => {
|
||||
errorText: '',
|
||||
clearable: true,
|
||||
fieldSearchType: '',
|
||||
fieldIndexType: '',
|
||||
dictType: '',
|
||||
front: true,
|
||||
dataSource: {
|
||||
|
Reference in New Issue
Block a user