Browse Source

init

newStyle
lancer 3 years ago
parent
commit
2f1195b055
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/views/Customer/SalesStage.vue

+ 5
- 5
src/views/Customer/SalesStage.vue View File

@@ -67,7 +67,7 @@
<el-input v-model="ruleForm.stageName"></el-input>
</el-form-item>
<el-form-item label="顺序:" prop="sort">
<el-input v-model="ruleForm.sort"></el-input>
<el-input v-model="ruleForm.sort" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));"></el-input>
</el-form-item>
<el-form-item label="备注:">
<el-input v-model="ruleForm.remarks"></el-input>
@@ -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();
}
});
}


Loading…
Cancel
Save