RuoYi
2020-06-04 b887f1f946996410bf6b1692b92f5c9da56f2588
去除多余的代码
17 files modified
60 ■■■■■ changed files
ruoyi-modules/ruoyi-gen/src/main/resources/vm/sql/sql.vm patch | view | raw | blame | history
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index-tree.vue.vm 4 ●●●● patch | view | raw | blame | history
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index.vue.vm 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/package.json 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/views/monitor/job/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/config/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/dept/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/dict/data.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/dict/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/menu/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/notice/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/post/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/role/index.vue 6 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/user/index.vue 6 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/user/profile/resetPwd.vue 2 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/user/profile/userAvatar.vue 2 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/user/profile/userInfo.vue 2 ●●●●● patch | view | raw | blame | history
ruoyi-modules/ruoyi-gen/src/main/resources/vm/sql/sql.vm
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index-tree.vue.vm
@@ -375,8 +375,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -385,8 +383,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index.vue.vm
@@ -392,8 +392,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -402,8 +400,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/package.json
@@ -1,6 +1,6 @@
{
  "name": "ruoyi",
  "version": "2.2.0",
  "version": "2.3.0",
  "description": "若依管理系统",
  "author": "若依",
  "license": "MIT",
ruoyi-ui/src/views/monitor/job/index.vue
@@ -438,8 +438,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -448,8 +446,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/config/index.vue
@@ -296,8 +296,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -306,8 +304,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/dept/index.vue
@@ -281,8 +281,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -291,8 +289,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/dict/data.vue
@@ -305,8 +305,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -315,8 +313,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/dict/index.vue
@@ -300,8 +300,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -310,8 +308,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/menu/index.vue
@@ -340,8 +340,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -350,8 +348,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/notice/index.vue
@@ -308,8 +308,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -318,8 +316,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/post/index.vue
@@ -277,8 +277,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -287,8 +285,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/role/index.vue
@@ -482,8 +482,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -493,8 +491,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
@@ -510,8 +506,6 @@
            this.msgSuccess("修改成功");
            this.openDataScope = false;
            this.getList();
          } else {
            this.msgError(response.msg);
          }
        });
      }
ruoyi-ui/src/views/system/user/index.vue
@@ -572,8 +572,6 @@
          resetUserPwd(row.userId, value).then(response => {
            if (response.code === 200) {
              this.msgSuccess("修改成功,新密码是:" + value);
            } else {
              this.msgError(response.msg);
            }
          });
        }).catch(() => {});
@@ -588,8 +586,6 @@
                this.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          } else {
@@ -598,8 +594,6 @@
                this.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              } else {
                this.msgError(response.msg);
              }
            });
          }
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
@@ -59,8 +59,6 @@
            response => {
              if (response.code === 200) {
                this.msgSuccess("修改成功");
              } else {
                this.msgError(response.msg);
              }
            }
          );
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -122,8 +122,6 @@
            this.open = false;
            this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
            this.msgSuccess("修改成功");
          } else {
            this.msgError(response.msg);
          }
          this.$refs.cropper.clearCrop();
        });
ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -64,8 +64,6 @@
          updateUserProfile(this.user).then(response => {
            if (response.code === 200) {
              this.msgSuccess("修改成功");
            } else {
              this.msgError(response.msg);
            }
          });
        }