diff --git a/src/views/Customer/SalesStage.vue b/src/views/Customer/SalesStage.vue index 8cf0efe..a0f9ced 100644 --- a/src/views/Customer/SalesStage.vue +++ b/src/views/Customer/SalesStage.vue @@ -67,7 +67,7 @@ - + @@ -146,7 +146,7 @@ export default { }); }, //删除 - toinifodelete(item) { + toinifodelete(row) { this.$confirm("此操作将永久删除, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", @@ -204,18 +204,18 @@ export default { if (res.code == 0) { this.dialogVisible = false; this.$message.success("编辑成功"); - this.zkhousePage(); + this.findbypage(); } }); } else { // 添加 console.log("添加"); - this.$api.api.lifeTrackDefineAdd(this.ruleForm).then((res) => { + this.$api.api.lifeTrackDefineAdd({houseId:this.houseId,...this.ruleForm,}).then((res) => { console.log(res); if (res.code == 0) { this.dialogVisible = false; this.$message.success("新增成功"); - this.zkhousePage(); + this.findbypage(); } }); }