|
@@ -292,7 +292,7 @@ export default {
|
|
|
activeName: {
|
|
activeName: {
|
|
|
handler() {
|
|
handler() {
|
|
|
if (this.activeName) {
|
|
if (this.activeName) {
|
|
|
- // this.where.status = this.statusOpt[this.activeName][0].value;
|
|
|
|
|
|
|
+ this.where.status = this.statusOpt[this.activeName][0].value;
|
|
|
this.reset();
|
|
this.reset();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -311,13 +311,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // where.status = where.status.split(',');
|
|
|
|
|
|
|
+ where.status = where.status.split(',');
|
|
|
this.$emit('search', where);
|
|
this.$emit('search', where);
|
|
|
},
|
|
},
|
|
|
/* 重置 */
|
|
/* 重置 */
|
|
|
reset() {
|
|
reset() {
|
|
|
this.where = { ...this.defaultWhere };
|
|
this.where = { ...this.defaultWhere };
|
|
|
- // this.where.status = this.statusOpt[this.activeName][0].value;
|
|
|
|
|
|
|
+ this.where.status = this.statusOpt[this.activeName][0].value;
|
|
|
this.search();
|
|
this.search();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|