|
|
@@ -403,8 +403,6 @@ export default { |
|
|
|
}, |
|
|
|
handleClear() { |
|
|
|
console.log("清空数据"); |
|
|
|
this.set_lock_gongshi(false); |
|
|
|
this.set_lock_gongshi_getold(false); |
|
|
|
let time = this.month.replace("年", "-").replace("月", ""); |
|
|
|
gongshimodel.manhours({ time }).then((res) => { |
|
|
|
if (res.data.code != 200) { |
|
|
@@ -412,10 +410,13 @@ export default { |
|
|
|
return; |
|
|
|
} else { |
|
|
|
this.$Message.success("清空成功"); |
|
|
|
this.set_lock_gongshi(false); |
|
|
|
this.set_shengEnable(false); |
|
|
|
this.set_lock_gongzi(false); |
|
|
|
this.set_lock_gongshi_getold(false); |
|
|
|
this.setGongshi([]) |
|
|
|
} |
|
|
|
this.set_lock_gongshi(false); |
|
|
|
this.set_shengEnable(false); |
|
|
|
this.set_lock_gongzi(false); |
|
|
|
|
|
|
|
// this.$refs.reflock.doClose(); |
|
|
|
}); |
|
|
|
}, |