WXL
2024-11-09 bf6643a35299f19ae9147864e6f3b6b4670da98a
src/views/repositoryai/templateku/configurat/index.vue
@@ -1828,12 +1828,17 @@
        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;
@@ -1842,11 +1847,16 @@
          : "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();
          }
        });
      }
    },