修改导出完成没重置状态、检索时间删除报错
This commit is contained in:
parent
5bf7f7bf55
commit
1dd7b9ab75
@ -58,7 +58,10 @@ export default {
|
||||
this.emitActivationDate();
|
||||
},
|
||||
emitActivationDate() {
|
||||
let date = this.localDatePicker.map((date,index) => index===0? this.$TOOL.formatStartTime(date):this.$TOOL.formatEndTime(date));
|
||||
let date = [];
|
||||
if(this.localDatePicker && this.localDatePicker.length>0){
|
||||
date = this.localDatePicker.map((date,index) => index===0? this.$TOOL.formatStartTime(date):this.$TOOL.formatEndTime(date));
|
||||
}
|
||||
this.$emit('update:activation_date', {
|
||||
operator: this.activation_date.operator,
|
||||
value: this.localDatePicker && this.localDatePicker.length > 0? date:[]
|
||||
|
||||
@ -138,6 +138,10 @@ export default {
|
||||
this.$emit('updateShow', item);
|
||||
|
||||
if(res.data.status==1){
|
||||
this.list = this.list.map(item =>
|
||||
item.type === res.data.type ? {} : item
|
||||
);
|
||||
|
||||
this.down(res.data);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user