Commit 98d944cb authored by liudong1993's avatar liudong1993

1

parent 771564cb
...@@ -177,16 +177,19 @@ ...@@ -177,16 +177,19 @@
this.$emit("closeaddTeamman"); this.$emit("closeaddTeamman");
}, },
addData() { addData() {
this.loading=true;
this.crmapipost( this.crmapipost(
"/api/Customer/CreateMyCustomerContact", "/api/Customer/CreateMyCustomerContact",
this.form, this.form,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.loading=false;
this.$message.success("操作成功"); this.$message.success("操作成功");
this.resetForm("form"); this.resetForm("form");
this.dialogTableVisible = false; this.dialogTableVisible = false;
this.$emit("addTeammanOk"); this.$emit("addTeammanOk");
}else{ }else{
this.loading=false;
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
} }
......
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