You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
826 B
38 lines
826 B
<template>
|
|
<j-select-biz-component
|
|
:value="value"
|
|
|
|
name="角色"
|
|
displayKey="roleName"
|
|
|
|
:returnKeys="returnKeys"
|
|
:listUrl="url.list"
|
|
:columns="columns"
|
|
queryParamText="角色编码"
|
|
|
|
v-on="$listeners"
|
|
v-bind="$attrs"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import JSelectBizComponent from './JSelectBizComponent'
|
|
|
|
export default {
|
|
name: 'JSelectRole',
|
|
components: { JSelectBizComponent },
|
|
props: ['value'],
|
|
data() {
|
|
return {
|
|
returnKeys: ['id', 'roleCode'],
|
|
url: { list: '/sys/role/list' },
|
|
columns: [
|
|
{ title: '角色名称', dataIndex: 'roleName', align: 'center', width: 120 },
|
|
{ title: '角色编码', dataIndex: 'roleCode', align: 'center', width: 120 }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped></style> |