| | |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.confirmillness(); |
| | | this.putbelongDepts(); |
| | | this.putbelongDepts(this.id); |
| | | this.$modal.closeLoading(); |
| | | // this.$router.go(-1); |
| | | window.location.reload(); |
| | |
| | | }, |
| | | // 保存科室/病区 |
| | | putbelongDepts(id) { |
| | | this.tempDetpRelevanceslistform.forEach(item=>{ |
| | | if (!item.tempid) item.tempid=id; |
| | | }) |
| | | |
| | | this.tempbelongWardsform.forEach(item=>{ |
| | | if (!item.tempid) item.tempid=id; |
| | | }) |
| | | if (this.tempDetpRelevanceslistform.length > 0) { |
| | | depthospgetson(this.tempDetpRelevanceslistform).then((res) => { |
| | | if (res.code == 200) { |