|
@@ -610,6 +610,7 @@ export default {
|
|
isDel: null,
|
|
isDel: null,
|
|
courseMaAppId: null,
|
|
courseMaAppId: null,
|
|
courseMiniAppId: null,
|
|
courseMiniAppId: null,
|
|
|
|
+ packageCateIds:'',
|
|
};
|
|
};
|
|
this.resetForm("form");
|
|
this.resetForm("form");
|
|
},
|
|
},
|
|
@@ -652,7 +653,8 @@ export default {
|
|
this.reset();
|
|
this.reset();
|
|
this.getAppList()
|
|
this.getAppList()
|
|
this.open = true;
|
|
this.open = true;
|
|
- this.doctorIds=[]
|
|
|
|
|
|
+ this.doctorIds=[];
|
|
|
|
+
|
|
this.title = "添加公司";
|
|
this.title = "添加公司";
|
|
},
|
|
},
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
@@ -709,15 +711,20 @@ export default {
|
|
if(this.form.followDoctorIds!=null){
|
|
if(this.form.followDoctorIds!=null){
|
|
this.form.followDoctorIds= JSON.stringify(this.form.followDoctorIds)
|
|
this.form.followDoctorIds= JSON.stringify(this.form.followDoctorIds)
|
|
}
|
|
}
|
|
- // if(this.form.packageCateIds!=null){
|
|
|
|
- // this.form.packageCateIds= JSON.stringify(this.form.packageCateIds)
|
|
|
|
- // }
|
|
|
|
|
|
+ if(this.form.packageCateIds!=null){
|
|
|
|
+ this.form.packageCateIds= JSON.stringify(this.form.packageCateIds)
|
|
|
|
+ }else {
|
|
|
|
+ this.form.packageCateIds='';
|
|
|
|
+ }
|
|
if(this.doctorIds!=null){
|
|
if(this.doctorIds!=null){
|
|
this.form.doctorIds= (this.doctorIds).toString()
|
|
this.form.doctorIds= (this.doctorIds).toString()
|
|
|
|
+ }else {
|
|
|
|
+ this.form.doctorIds=null
|
|
}
|
|
}
|
|
if(this.doctorIds!=null){
|
|
if(this.doctorIds!=null){
|
|
this.form.doctorIds= (this.doctorIds).toString()
|
|
this.form.doctorIds= (this.doctorIds).toString()
|
|
}
|
|
}
|
|
|
|
+ console.log("传参------》",this.form)
|
|
if (this.form.companyId != null) {
|
|
if (this.form.companyId != null) {
|
|
updateCompany(this.form).then(response => {
|
|
updateCompany(this.form).then(response => {
|
|
this.msgSuccess("修改成功");
|
|
this.msgSuccess("修改成功");
|