字典增加扩展值字段,优化自动化生成搜索条件默认语句。

This commit is contained in:
piexlMax
2023-09-13 21:33:36 +08:00
parent 2247f34b89
commit 08494834c2
3 changed files with 13 additions and 2 deletions
@@ -42,9 +42,9 @@
{{- if eq .FieldType "float64" "int"}}
{{if eq .FieldSearchType "BETWEEN" "NOT BETWEEN"}}
<el-input v-model.number="searchInfo.start{{.FieldName}}" placeholder="搜索条件(起)" />
<el-input v-model.number="searchInfo.start{{.FieldName}}" placeholder="最小值" />
<el-input v-model.number="searchInfo.end{{.FieldName}}" placeholder="搜索条件(止)" />
<el-input v-model.number="searchInfo.end{{.FieldName}}" placeholder="最大值" />
{{- else}}
{{- if .DictType}}
<el-select v-model="searchInfo.{{.FieldJson}}" placeholder="请选择" style="width:100%" :clearable="true" >