| | |
| | | this.ruleForm.isoperation = 2; |
| | | this.ruleForm.tempDetpRelevances = []; |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | if (res.code==200) { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.confirmillness(); |
| | | this.putbelongDepts(this.id); |
| | | this.$modal.closeLoading(); |
| | | // this.$modal.closeLoading(); |
| | | // this.$router.go(-1); |
| | | window.location.reload(); |
| | | }else{ |
| | | this.$modal.closeLoading(); |
| | | } |
| | | |
| | | }); |
| | | } else { |
| | | this.ruleForm.isoperation = 1; |
| | |
| | | : "1.0"; |
| | | this.ruleForm.tempDetpRelevances = []; |
| | | compileFollowup(this.ruleForm).then((res) => { |
| | | if (res.code==200) { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.confirmillness(res.data); |
| | | this.putbelongDepts(res.data); |
| | | this.$modal.closeLoading(); |
| | | this.$router.go(-1); |
| | | }else{ |
| | | this.$modal.closeLoading(); |
| | | } |
| | | |
| | | }); |
| | | } |
| | | }, |