| | |
| | | <el-dialog :title="type" :visible.sync="addDia" width="550px" @closed="closed"> |
| | | <div style="max-height: 550px;overflow-y: auto;padding: 10px 20px;" v-if="addDia"> |
| | | <el-row style="line-height: 42px;"> |
| | | <el-col :span="7" style="font-size: 14px;"><span class="required-span">* </span>角色名</el-col> |
| | | <el-col :span="7" style="font-size: 14px;text-align: left;"><span class="required-span">* </span>角色名</el-col> |
| | | <el-col :span="17"> |
| | | <el-input v-model="addData.roleName" size="medium" placeholder="需唯一角色名" clearable |
| | | :disabled="type=='查看'"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="line-height: 42px;margin-bottom: 20px;"> |
| | | <el-col :span="7" style="font-size: 14px;"><span class="required-span">* </span>角色分类</el-col> |
| | | <el-col :span="7" style="font-size: 14px;text-align: left;"><span class="required-span">* </span>角色分类</el-col> |
| | | <el-col :span="17"> |
| | | <el-select v-model="addData.category" size="medium" :disabled="type=='查看'" style="width: 100%;"> |
| | | <el-option v-for="(a, i) in deaprtEnum" :key="i" :label="a.name" :value="a.id"></el-option> |