|
@@ -644,13 +644,18 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="索引" prop="tag">
|
|
|
- <el-select v-model="form.tag" clearable placeholder="请选择索引">
|
|
|
- <el-option
|
|
|
- v-for="dict in tagOptions"
|
|
|
- :key="dict.tag"
|
|
|
- :label="dict.tag"
|
|
|
- :value="dict.tag"
|
|
|
- ></el-option>
|
|
|
+ <el-select v-model="form.tag" clearable filterable clearable placeholder="请选择索引">
|
|
|
+ <el-option-group
|
|
|
+ v-for="group in tagOptions"
|
|
|
+ :key="group.tag"
|
|
|
+ :label="group.tag">
|
|
|
+ <el-option
|
|
|
+ v-for="item in group.children"
|
|
|
+ :key="item.tag"
|
|
|
+ :label="item.tag"
|
|
|
+ :value="item.tag">
|
|
|
+ </el-option>
|
|
|
+ </el-option-group>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="$t('备注')" prop="remarks">
|