| | |
| | | </div> |
| | | <!--分页--> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="form.page" |
| | | :limit.sync="form.rows" |
| | |
| | | </el-table> |
| | | <!--分页--> |
| | | <pagination |
| | | v-show="RoleTypeCodeArrLength>0" |
| | | :total="RoleTypeCodeArrLength" |
| | | :page.sync="formSetting.page" |
| | | :limit.sync="formSetting.rows" |
| | |
| | | |
| | | <!--分页--> |
| | | <pagination |
| | | v-show="dialogFormUserTableLength>0" |
| | | :total="dialogFormUserTableLength" |
| | | :page.sync="dialogFormUser.page" |
| | | :limit.sync="dialogFormUser.rows" |
| | |
| | | type: '' |
| | | } |
| | | const { data: res } = await RoleAssociationRight(data)// 接口获取数据 |
| | | |
| | | // console.log(res, 111) |
| | | this.dialogFormRight.rightPCArr = res[0][0].is_delete === '0' ? res[0] : [] |
| | | this.dialogFormRight.rightAPPArr = res[1][0].is_delete === '0' ? res[1] : [] |
| | | |
| | |
| | | } |
| | | |
| | | if (this.APPTrue) { |
| | | this.dialogFormRight.rightAPPArr[0].children = this.dialogFormRight.rightAPPArr[0].children.filter(item => item.is_delete === '0') |
| | | this.dialogFormRight.rightAPPArr[0].children = this.dialogFormRight.rightAPPArr[0].children.filter(item => item.is_delete === '0' || it.is_delete === null) |
| | | this.dialogFormRight.rightAPPArr[0].children.forEach(item => { |
| | | item.children = item.children.filter(it => it.is_delete === '0') |
| | | item.children = item.children.filter(it => it.is_delete === '0' || it.is_delete === null) |
| | | // item.children = item.children.filter(it => it.is_delete !== '1') |
| | | }) |
| | | } |
| | | |
| | | // console.log(this.dialogFormRight.rightAPPArr[0], 234) |
| | | // 判断哪个是高亮 |
| | | let pcIsSelected1 = false |
| | | let pcIsSelected2 = false |
| | |
| | | .el-table .custom-row { |
| | | background: #f8f8fa; |
| | | } |
| | | .el-form-item__label{ |
| | | font-weight: 400 !important |
| | | } |
| | | </style> |