|
@@ -765,6 +765,14 @@ export default {
|
|
|
if(this.doctorIds!=null){
|
|
|
this.form.doctorIds= (this.doctorIds).toString()
|
|
|
}
|
|
|
+ if (this.form.miniAppMaster==null || this.form.miniAppMaster.length ===0 ){
|
|
|
+ return this.$message.error("请选择主小程序")
|
|
|
+ }
|
|
|
+
|
|
|
+ if (this.form.miniAppServer==null || this.form.miniAppServer.length ===0 ){
|
|
|
+ return this.$message.error("请选择备小程序")
|
|
|
+ }
|
|
|
+
|
|
|
if (this.form.companyId != null) {
|
|
|
updateCompany(this.form).then(response => {
|
|
|
this.msgSuccess("修改成功");
|