jiangping
2023-08-21 2837bdd57f72e386bbf9a725e7b3a13e5eb9e930
web_standard/src/components/system/user/OperaSystemRoleNone.vue
@@ -47,7 +47,8 @@
     * @role 角色对象
     */
    open (role) {
      // console.log('1111222')
      console.log(role)
      debugger
      if (this.$refs.permissionTransfer) {
        this.$refs.permissionTransfer.clearQuery('left')
        this.$refs.permissionTransfer.clearQuery('right')
@@ -74,9 +75,12 @@
    // 确认选择权限
    confirm () {
      this.isWorking = true
      console.log(this.selectedIds);
      debugger
      createRolePermission({
        roleId: this.role.id,
        permissionIds: this.selectedIds
        permissionIds: this.selectedIds,
        type: 1
      })
        .then(() => {
          this.$tip.apiSuccess('权限配置成功,用户重新登录后生效')