| | |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="lm_date" |
| | | prop="is_user" |
| | | label="关联用户" |
| | | width="120" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <i class="el-icon-user-solid" @click="userClick(row)" /> |
| | | <i v-if="row.is_user==='Y'" class="el-icon-user-solid" @click="userClick(row)" /> |
| | | <i v-if="row.is_user==='N'" class="el-icon-user-solid" style="color: #E4E7ED" @click="userClick(row)" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="lm_date" |
| | | prop="is_right" |
| | | label="分配权限" |
| | | sortable="custom" |
| | | width="120" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <i class="el-icon-share" @click="rightClick(row)" /> |
| | | <i v-if="row.is_right==='Y'" class="el-icon-share" @click="rightClick(row)" /> |
| | | <i v-if="row.is_right==='N'" class="el-icon-share" style="color: #E4E7ED" @click="rightClick(row)" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | const res = await SaveRoleAssoctUser(userMultipleArr, this.dialogFormUser.rolecode) |
| | | if (res.code === '200') { |
| | | this.$message.success('保存成功!') |
| | | await this.getRoleSearch() |
| | | this.userDialogVisible = false |
| | | } |
| | | }, |
| | |
| | | const res = await SaveUserAssoctRight(rightSubmit, rolecode, usercode) |
| | | if (res.code === '200') { |
| | | this.$message.success('保存成功!') |
| | | await this.getRoleSearch() |
| | | this.dialogVisibleRight = false |
| | | } |
| | | }, |