| | |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | | v-model="deptcodesWards" |
| | | v-model="form.deptcode" |
| | | @remove-tag="removetag" |
| | | style="width: 400px" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="请选择科室" |
| | | > |
| | |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用病区" prop="region"> |
| | | <el-select |
| | | v-model="leavehospitaldistrictcodes" |
| | | v-model="form.leavehospitaldistrictcode" |
| | | style="width: 400px" |
| | | @remove-tag="removehpsp" |
| | | size="medium" |
| | | multiple |
| | | filterable |
| | | placeholder="请选择病区" |
| | | > |
| | |
| | | this.$modal.msgError("请选择服务类型"); |
| | | return; |
| | | } |
| | | if (this.deptcodesWards[0]||this.leavehospitaldistrictcodes[0]) { |
| | | if (this.form.leavehospitaldistrictcode||this.form.deptcode) { |
| | | } else { |
| | | this.$modal.msgError("请选择科室或病区"); |
| | | return; |
| | |
| | | this.form.type = this.$route.query.type; |
| | | } |
| | | this.form.serviceType = this.serviceType; |
| | | this.form.deptcode = this.deptcodesWards.join(","); |
| | | this.form.leavehospitaldistrictcode = |
| | | this.leavehospitaldistrictcodes.join(","); |
| | | // this.form.deptcode = this.deptcodesWards.join(","); |
| | | // this.form.leavehospitaldistrictcode = |
| | | // this.leavehospitaldistrictcodes.join(","); |
| | | |
| | | Editsingletask(this.form).then((res) => { |
| | | if (res.code == 200) { |