|
@ -1,4 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
|
|
|
<div class="box"> |
|
|
<el-dialog :visible.sync="visible" |
|
|
<el-dialog :visible.sync="visible" |
|
|
:title="!dataForm.id ? $t('add') : $t('update')" |
|
|
:title="!dataForm.id ? $t('add') : $t('update')" |
|
|
:close-on-click-modal="false" |
|
|
:close-on-click-modal="false" |
|
@ -99,7 +100,7 @@ |
|
|
class="role-list"> |
|
|
class="role-list"> |
|
|
<el-select v-model="dataForm.roleIdList" |
|
|
<el-select v-model="dataForm.roleIdList" |
|
|
multiple filterable |
|
|
multiple filterable |
|
|
placeholder="可输入进行模糊查询"> |
|
|
placeholder="可输入进行模糊查询" popper-class='roleSelect'> |
|
|
<el-option v-for="role in roleList" |
|
|
<el-option v-for="role in roleList" |
|
|
:key="role.id" |
|
|
:key="role.id" |
|
|
:label="role.name" |
|
|
:label="role.name" |
|
@ -121,6 +122,7 @@ |
|
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
@ -329,20 +331,20 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</style> |
|
|
.roleSelect{ |
|
|
<style scoped> |
|
|
.el-scrollbar__wrap--hidden-default::-webkit-scrollbar { |
|
|
::-webkit-scrollbar { |
|
|
width: 10px; |
|
|
width: 20px; |
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-thumb { |
|
|
|
|
|
background-color: #a1a3a9; |
|
|
|
|
|
border-radius: 3px; |
|
|
|
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-track{ |
|
|
|
|
|
background:#f5f7fa; |
|
|
} |
|
|
} |
|
|
::-webkit-scrollbar-thumb { |
|
|
::-webkit-scrollbar-corner{ |
|
|
background-color: #a1a3a9; |
|
|
background:#f5f7fa; |
|
|
border-radius: 3px; |
|
|
} |
|
|
} |
|
|
} |
|
|
::-webkit-scrollbar-track{ |
|
|
|
|
|
background:#f5f7fa; |
|
|
|
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-corner{ |
|
|
|
|
|
background:#f5f7fa; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|
|
|