提交 714dfdaa 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

增加数据类型切换后的的校验,避免使用错误的查询条件和字典条件。

上级 886d00ba
......@@ -30,6 +30,7 @@
style="width:100%"
placeholder="请选择field数据类型"
clearable
@change="clearOther"
>
<el-option
v-for="item in typeOptions"
......@@ -54,6 +55,7 @@
:key="item.value"
:label="item.label"
:value="item.value"
:disabled="middleDate.fieldType!=='string'&&item.value==='LIKE'"
/>
</el-select>
</el-form-item>
......@@ -174,6 +176,11 @@ const autoFill = () => {
middleDate.value.columnName = toSQLLine(middleDate.value.fieldJson)
}
const clearOther = () => {
middleDate.value.fieldSearchType = ''
middleDate.value.dictType = ''
}
const fieldDialogFrom = ref(null)
defineExpose({ fieldDialogFrom })
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册