search text fixed..
This commit is contained in:
parent
096d9f29be
commit
e4a461ac89
@ -23,7 +23,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="addNew.status && options.length != 0" class="el-select-dropdown__wrap" slot="empty">
|
<div v-if="addNew.status && options.length != 0 && sortOptions.length == 0" class="el-select-dropdown__wrap" slot="empty">
|
||||||
<p class="el-select-dropdown__empty">
|
<p class="el-select-dropdown__empty">
|
||||||
{{ noMatchingDataText }}
|
{{ noMatchingDataText }}
|
||||||
</p>
|
</p>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-option-group>
|
</el-option-group>
|
||||||
|
|
||||||
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer select-add-new" disabled value="">
|
<el-option v-if="!loading && addNew.status && options.length != 0 && sortOptions.length > 0" class="el-select__footer select-add-new" disabled value="">
|
||||||
<div @click="onAddItem">
|
<div @click="onAddItem">
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
<span>
|
<span>
|
||||||
|
@ -24,13 +24,13 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="!loading && addNew.status && options.length != 0" class="el-select-dropdown__wrap" slot="empty">
|
<div v-if="!loading && addNew.status && options.length != 0 && sortOptions.length == 0" class="el-select-dropdown__wrap" slot="empty">
|
||||||
<p class="el-select-dropdown__empty">
|
<p class="el-select-dropdown__empty">
|
||||||
{{ noMatchingDataText }}
|
{{ noMatchingDataText }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul class="el-scrollbar__view el-select-dropdown__list">
|
<ul class="el-scrollbar__view el-select-dropdown__list">
|
||||||
<li class="el-select-dropdown__item el-select__footer">
|
<li class="el-select-dropdown__item el-select__footer" disabled value="">
|
||||||
<div @click="onAddItem">
|
<div @click="onAddItem">
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
<span>
|
<span>
|
||||||
@ -88,7 +88,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-option-group>
|
</el-option-group>
|
||||||
|
|
||||||
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" :disabled="disabled" value="">
|
<el-option v-if="!loading && addNew.status && options.length != 0 && sortOptions.length > 0" class="el-select__footer" :disabled="disabled" value="">
|
||||||
<div @click="onAddItem">
|
<div @click="onAddItem">
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
<span>
|
<span>
|
||||||
@ -125,13 +125,13 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="!loading && addNew.status && options.length != 0" class="el-select-dropdown__wrap" slot="empty">
|
<div v-if="!loading && addNew.status && options.length != 0 && sortOptions.length == 0" class="el-select-dropdown__wrap" slot="empty">
|
||||||
<p class="el-select-dropdown__empty">
|
<p class="el-select-dropdown__empty">
|
||||||
{{ noMatchingDataText }}
|
{{ noMatchingDataText }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul class="el-scrollbar__view el-select-dropdown__list">
|
<ul class="el-scrollbar__view el-select-dropdown__list">
|
||||||
<li class="el-select-dropdown__item el-select__footer">
|
<li class="el-select-dropdown__item el-select__footer" disabled value="">
|
||||||
<div @click="onAddItem">
|
<div @click="onAddItem">
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
<span>
|
<span>
|
||||||
@ -189,7 +189,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-option-group>
|
</el-option-group>
|
||||||
|
|
||||||
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" disabled value="">
|
<el-option v-if="!loading && addNew.status && options.length != 0 && sortOptions.length > 0" class="el-select__footer" disabled value="">
|
||||||
<div @click="onAddItem">
|
<div @click="onAddItem">
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
<span>
|
<span>
|
||||||
@ -732,6 +732,8 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onModal(value) {
|
onModal(value) {
|
||||||
|
this.setSortOptions();
|
||||||
|
|
||||||
let add_new = this.add_new;
|
let add_new = this.add_new;
|
||||||
|
|
||||||
window.axios.get(this.add_new.path)
|
window.axios.get(this.add_new.path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user