mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
搜索功能的完善
This commit is contained in:
parent
b2470f5da9
commit
a38c7b6ba9
@ -836,6 +836,9 @@ export default {
|
|||||||
this.usetmessage(item.title);
|
this.usetmessage(item.title);
|
||||||
},
|
},
|
||||||
selectage(item, index) {
|
selectage(item, index) {
|
||||||
|
if(this.activeIndex=='-1'){
|
||||||
|
this.activeIndex=0;
|
||||||
|
}
|
||||||
// debugger;
|
// debugger;
|
||||||
// this.userishwo1 = !this.userishwo1;
|
// this.userishwo1 = !this.userishwo1;
|
||||||
let tagUsedAge = {};
|
let tagUsedAge = {};
|
||||||
@ -868,6 +871,9 @@ export default {
|
|||||||
this.activeIndexc = index;
|
this.activeIndexc = index;
|
||||||
},
|
},
|
||||||
selectagc(item, index) {
|
selectagc(item, index) {
|
||||||
|
if(this.activeIndex=='-1'){
|
||||||
|
this.activeIndex=0;
|
||||||
|
}
|
||||||
// let tagFunction = {
|
// let tagFunction = {
|
||||||
// petType: this.activeIndex1,
|
// petType: this.activeIndex1,
|
||||||
// tagFunction: item.tagName,
|
// tagFunction: item.tagName,
|
||||||
@ -891,6 +897,9 @@ export default {
|
|||||||
this.activeIndexd = index;
|
this.activeIndexd = index;
|
||||||
},
|
},
|
||||||
selectagd(item, index) {
|
selectagd(item, index) {
|
||||||
|
if(this.activeIndex=='-1'){
|
||||||
|
this.activeIndex=0;
|
||||||
|
}
|
||||||
let tagBreed = {};
|
let tagBreed = {};
|
||||||
if (item.checked == false) {
|
if (item.checked == false) {
|
||||||
item.checked = true;
|
item.checked = true;
|
||||||
@ -921,6 +930,10 @@ export default {
|
|||||||
},
|
},
|
||||||
selectproduct(item, index) {
|
selectproduct(item, index) {
|
||||||
this.activeIndexb = index;
|
this.activeIndexb = index;
|
||||||
|
console.log(this.activeIndex);
|
||||||
|
if(this.activeIndex=='-1'){
|
||||||
|
this.activeIndex=0;
|
||||||
|
}
|
||||||
if (item.checked == false) {
|
if (item.checked == false) {
|
||||||
item.checked = true;
|
item.checked = true;
|
||||||
this.$refs.chosebox[index].className = "active";
|
this.$refs.chosebox[index].className = "active";
|
||||||
|
Loading…
Reference in New Issue
Block a user