From 2f1195b055a013e0e208b5567ee5018dac7bf16e Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Mon, 11 Oct 2021 10:42:39 +0800 Subject: [PATCH] init --- src/views/Customer/SalesStage.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); } }); }