[update] ASMS接口管理完善
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
:wrapperCol="wrapperCol"
|
||||
prop="apiType"
|
||||
label="数据字典id">
|
||||
<a-select v-model="model.dictId" placeholder="请选择数据字典id">
|
||||
<a-select v-model="model.dictId" placeholder="请选择数据字典id"
|
||||
show-search :filter-option="filterOption">
|
||||
<a-select-option v-for="item in dictList" :value="item.id" :key="item.id">{{ item.dictName }}</a-select-option>
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
@@ -126,6 +127,11 @@ export default {
|
||||
this.visible = false
|
||||
this.$refs.form.resetFields()
|
||||
},
|
||||
filterOption (input, option) {
|
||||
return (
|
||||
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
)
|
||||
},
|
||||
getDictList () {
|
||||
getAction('/sys/dict/page', {
|
||||
pageNo: -1,
|
||||
|
||||
Reference in New Issue
Block a user