RuoYi
2026-04-02 19cb8327f006f12403ea8591a22debd0ea26d43f
ruoyi-ui/src/views/system/role/index.vue
@@ -547,12 +547,12 @@
      this.title = "分配数据权限"
    },
    /** 分配用户操作 */
    handleAuthUser: function(row) {
    handleAuthUser(row) {
      const roleId = row.roleId
      this.$router.push("/system/role-auth/user/" + roleId)
    },
    /** 提交按钮 */
    submitForm: function() {
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.roleId != undefined) {
@@ -574,7 +574,7 @@
      })
    },
    /** 提交按钮(数据权限) */
    submitDataScope: function() {
    submitDataScope() {
      if (this.form.roleId != undefined) {
        this.form.deptIds = this.getDeptAllCheckedKeys()
        dataScope(this.form).then(() => {