|
|
|
@ -356,26 +356,20 @@
|
|
|
|
|
let that = this;
|
|
|
|
|
http.addStoreWX(request, function (data) {
|
|
|
|
|
data = data.data;
|
|
|
|
|
if (data.code == "0000") {
|
|
|
|
|
if (data.results == "0000") {
|
|
|
|
|
that.$Message.success('添加成功!');
|
|
|
|
|
that.listOfStore();
|
|
|
|
|
this.handleAdd(this.formValidate);
|
|
|
|
|
}else if (data.code == "0001") {
|
|
|
|
|
}else if (data.results == "0001") {
|
|
|
|
|
that.$Message.error('系统错误');
|
|
|
|
|
that.listOfStore();
|
|
|
|
|
this.handleAdd(this.formValidate);
|
|
|
|
|
}else if (data.code == "0002") {
|
|
|
|
|
that.$Message.error('添加失败!该账号已存在');
|
|
|
|
|
that.listOfStore();
|
|
|
|
|
this.handleAdd(this.formValidate);
|
|
|
|
|
}else if (data.code == "0004") {
|
|
|
|
|
}else if (data.results == "0002") {
|
|
|
|
|
that.$Message.error('添加失败!该账号已存在');
|
|
|
|
|
that.listOfStore();
|
|
|
|
|
this.handleAdd(this.formValidate);
|
|
|
|
|
}else if (data.code == "0003") {
|
|
|
|
|
}else if (data.results == "0003") {
|
|
|
|
|
that.$Message.error('添加失败!该手机号已存在');
|
|
|
|
|
that.listOfStore();
|
|
|
|
|
this.handleAdd(this.formValidate);
|
|
|
|
|
}else if (data.results == "0004") {
|
|
|
|
|
that.$Message.error('添加失败!该账号已存在');
|
|
|
|
|
}else if (data.results == "0005") {
|
|
|
|
|
that.$Message.error('添加失败!该企业微信已被店铺绑定,请先解绑');
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|