|
@@ -315,7 +315,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="科室" prop="deptId">
|
|
|
- <el-select v-model="form.deptId" placeholder="请选择所属科室">
|
|
|
+ <el-select v-model="form.deptId" multiple placeholder="请选择所属科室">
|
|
|
<el-option
|
|
|
v-for="dict in depList"
|
|
|
:key="dict.dictValue"
|
|
@@ -1371,10 +1371,13 @@ export default {
|
|
|
if(this.form.packageIds!=null){
|
|
|
this.form.packageIds=(this.form.packageIds).toString()
|
|
|
}
|
|
|
- if(this.form.storeIds!=null){
|
|
|
- this.form.storeIds=(this.form.storeIds).toString()
|
|
|
- }
|
|
|
-
|
|
|
+ if(this.form.storeIds!=null){
|
|
|
+ this.form.storeIds=(this.form.storeIds).toString()
|
|
|
+ }
|
|
|
+ if(this.form.deptId!=null){
|
|
|
+ this.form.deptId=this.form.deptId.join(",");
|
|
|
+ console.log(this.form.deptId)
|
|
|
+ }
|
|
|
this.form.cityIds=(this.form.cityIds).toString()
|
|
|
if (this.form.doctorId != null) {
|
|
|
this.form.doctorType=1;
|