11
WXL
2023-12-08 78cbeb0c6e136b8cf3116264c546cfd320813d4c
src/views/project/fund/performancedetails/index.vue
@@ -1310,17 +1310,25 @@
          addorupdateFund(this.form).then(response => {
            console.log(response, "保存返参");
            if (response.code === 200) {
              this.$modal.msgSuccess("申请单保存成功!");
              this.$store.dispatch("tagsView/delView", this.$route);
              this.$router.push({
                path: "/finance/performancedetails/",
                query: {
                  id: response.data,
                  businessType: "5",
                  operationType: "update"
                }
              });
              if (this.form.id) {
                this.$modal.msgSuccess("申请单修改成功!");
                this.$router.go(-1);
              } else {
                this.$modal.msgSuccess("申请单保存成功!");
                this.$store.dispatch("tagsView/delView", this.$route);
                this.$router.push({
                  path: "/finance/performancedetails/",
                  query: {
                    id: response.data,
                    businessType: "5",
                    operationType: "update"
                  }
                });
              }
              this.Routinglevel++;
              this.form.id = response.data;
              this.curId = response.data;
              this.handleUpdate();
            } else {
              this.$modal.msgError("申请单保存失败:" + response.msg);
            }