Commit de222313 authored by 周远喜's avatar 周远喜

ok

parent 85ee3070
......@@ -171,7 +171,7 @@ export default {
});
},
updatepart() {
if (this.status != this.entity.status) {
if (this.status != this.entity.status) {
let params = {
id: this.eid,
status: this.status,
......@@ -185,15 +185,14 @@ export default {
}
});
}
ApiRecord.create(this.entitysave)
.then((res) => {
if (res.success) {
this.$Message.success("工时汇报成功");
this.$emit("on-ok");
} else {
this.$Message.error("保存失败");
}
})
ApiRecord.create(this.entitysave).then((res) => {
if (res.success) {
this.$Message.success("工时汇报成功");
this.$emit("on-ok");
} else {
this.$Message.error("保存失败");
}
});
},
handleClose() {
this.$emit("on-close");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment