|
@@ -420,8 +420,9 @@ export default {
|
|
|
this.form.doctorName = data.doctorName;
|
|
this.form.doctorName = data.doctorName;
|
|
|
this.open = true;
|
|
this.open = true;
|
|
|
this.title = "添加客户信息";
|
|
this.title = "添加客户信息";
|
|
|
- }).catch(() => {
|
|
|
|
|
- this.$modal.msgError("获取销售与医生信息失败");
|
|
|
|
|
|
|
+ }).catch(error => {
|
|
|
|
|
+ const msg = error?.message || error?.msg || "获取销售与医生信息失败";
|
|
|
|
|
+ this.$modal.msgError(msg);
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|