字段信息管理修改

This commit is contained in:
shidongli 2024-06-21 13:57:19 +08:00
parent bd3724fcb5
commit 1ca3aada43

View File

@ -25,9 +25,9 @@
> >
<el-option <el-option
v-for="item in options" v-for="item in options"
:key="item.value" :key="item.dictValue"
:label="item.label" :label="item.dictLabel"
:value="item.value" :value="item.dictValue"
> >
</el-option> </el-option>
</el-select> </el-select>
@ -126,9 +126,11 @@
<el-table-column label="字段类型" align="center" prop="fieldType"> <el-table-column label="字段类型" align="center" prop="fieldType">
<template slot-scope="scope"> <template slot-scope="scope">
{{ {{
scope.row.fieldType == "PORTRAIT_LABEL_FIELD" ? "画像标签" : "" scope.row.fieldType == "STRING" ? "默认字符串" : ""
}} }}
{{ scope.row.fieldType == "KNOWLEDGE_FIELD" ? "知识库字段" : "" }} {{ scope.row.fieldType == "INT" ? "整型" : "" }}
{{ scope.row.fieldType == "DECIMAL" ? "数值" : "" }}
{{ scope.row.fieldType == "ENUM" ? "枚举" : "" }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="字段排序" align="center" prop="fieldSort" /> <el-table-column label="字段排序" align="center" prop="fieldSort" />